/* Precision Letterpress. Copied from the Pacific Copy rebuild (itself the sierrabg.com redesign, cut down),
   2026-10-28; recoloured to the new logo's charcoal and gold. */

/* ---------- tokens ---------- */
:root{
  --brand:#1F1F22;          /* logo charcoal */
  --brand-deep:#151517;
  --brand-soft:#3A3A40;
  --footer:#151517;
  --accent:#B8913A;         /* logo gold. FILL ONLY - 2.9:1 on white */
  --accent-dark:#7A5C1C;    /* 6.2:1 on white - safe for text */
  --accent-light:#D9B864;   /* small text on charcoal */
  --on-accent:#1F1F22;      /* 5.6:1 on --accent */
  --on-brand:#D6D2C8;       /* body text on charcoal */
  --ink:#1C1C1F;
  --ink-soft:#45443F;
  --ink-faint:#6B6960;
  --paper:#FFFFFF;
  --paper-2:#F6F4EF;
  --line:#E4E0D6;
  --radius:14px;
  --shadow:0 10px 30px rgba(31,31,34,.10);
  --wrap:1240px;
}
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%; scroll-padding-top:90px;}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font:400 16px/1.65 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block;}
a{color:var(--accent-dark);}
h1,h2,h3{line-height:1.15; letter-spacing:-.02em; margin:0 0 .5em;}
h2{font-size:clamp(1.65rem, 1.35rem + 1.3vw, 2.4rem); color:var(--brand);}
h3{font-size:1.06rem; color:var(--brand);}
p{margin:0 0 1rem;}
.container{width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:20px;}
.skip{position:absolute; left:-9999px;}
.skip:focus{left:12px; top:12px; z-index:200; background:var(--brand); color:#fff; padding:.7rem 1rem; border-radius:8px;}
:focus-visible{outline:3px solid var(--accent-dark); outline-offset:2px;}
.eyebrow{display:inline-block; font-size:.76rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--accent-dark); margin-bottom:.6rem;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem; white-space:nowrap;
  font-weight:700; font-size:.97rem; text-decoration:none; cursor:pointer;
  padding:.85rem 1.5rem; border-radius:999px; border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn--primary{background:var(--accent); color:var(--on-accent); box-shadow:0 6px 18px rgba(184,145,58,.35);}
.btn--primary:hover{background:#C9A24C;}
.btn--onbrand-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.45);}
.btn--onbrand-ghost:hover{border-color:#fff; background:rgba(255,255,255,.10);}
.btn--ghost{background:transparent; color:var(--brand); border-color:var(--line);}
.btn--ghost:hover{border-color:var(--brand); background:var(--paper-2);}
.btn[disabled]{opacity:.65; cursor:progress; transform:none;}

/* ---------- header ---------- */
.site-header{position:sticky; top:env(safe-area-inset-top, 0px); z-index:100;
  background:rgba(255,255,255,.96); backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);}
.site-header .container{display:flex; align-items:center; gap:1.25rem; min-height:88px;}
.brand{display:flex; align-items:center; text-decoration:none; margin-right:auto; flex:none;
  --logo-w:300px; width:var(--logo-w); overflow:hidden; transition:width .3s ease;}
.brand img{width:var(--logo-w); max-width:none; height:auto; flex:none; transition:width .3s ease;}
/* compact header: after a short scroll (foot.php adds .compact) the logo crops to its square mark,
   which is the first 25.7% of logo.svg (558 of 2188 px) */
.site-header .container{transition:min-height .25s ease;}
.site-header.compact .container{min-height:64px;}
.site-header.compact .brand{width:calc(var(--logo-w) * .275 * .8);}
.site-header.compact .brand img{width:calc(var(--logo-w) * .8);}   /* the press mark is the first 27.5% of the logo */
@media (max-width:980px){ .site-header.compact .nav{top:64px; max-height:calc(100dvh - 64px);} }
.nav{display:flex; align-items:center; gap:1.5rem;}
.nav a{color:var(--ink-soft); text-decoration:none; font-weight:500; font-size:.95rem; white-space:nowrap;}
.nav a:hover,.nav a[aria-current="page"]{color:var(--brand);}
.nav a[aria-current="page"]{font-weight:700;}
.header-cta{display:flex; align-items:center; gap:.9rem;}
.header-tel{color:var(--brand); font-weight:700; text-decoration:none; font-size:.97rem; white-space:nowrap;}
.nav-toggle{display:none; background:none; border:1px solid var(--line); border-radius:10px;
  padding:.5rem .7rem; cursor:pointer; color:var(--brand); font-size:1.1rem; line-height:1;}
/* small laptops: the logo shrinks and the phone number waits for the hero and footer */
@media (min-width:981px) and (max-width:1200px){
  .brand{--logo-w:250px;} .nav{gap:1.1rem;} .header-tel{display:none;}
}

/* ---------- hero ---------- */
.hero{background:linear-gradient(160deg,var(--brand) 0%, var(--brand-deep) 60%, #0E0E10 100%);
  color:#fff; padding:clamp(3rem,7vw,5rem) 0 0;}
.hero h1{font-size:clamp(2rem, 1.45rem + 2.5vw, 3.3rem); font-weight:800; max-width:18ch; color:#fff;}
.hero .lede{font-size:clamp(1.02rem, .98rem + .38vw, 1.2rem); color:var(--on-brand); max-width:52ch; margin-bottom:1.9rem;}
.hero .eyebrow,.page-hero .eyebrow{color:var(--accent-light); border:1px solid rgba(217,184,100,.5);
  padding:.4rem .9rem; border-radius:999px; margin-bottom:1.4rem;}
.hero-actions{display:flex; flex-wrap:wrap; gap:.85rem;}
/* service tiles beside the headline (the Pacific Copy mosaic): three across, diecutting wide on top; 4:3 overall
   to match the text beside it */
.hero-mosaic{display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(3,1fr); aspect-ratio:4/3; gap:.6rem;
  grid-template-areas:"dc dc fo" "em dm gl" "sa sw pp";}
.hero-mosaic a{position:relative; display:block; overflow:hidden; border-radius:14px; text-decoration:none;
  border:1px solid rgba(255,255,255,.12); box-shadow:0 10px 24px rgba(0,0,0,.22);}
.hero-mosaic .m-dc{grid-area:dc;} .hero-mosaic .m-fo{grid-area:fo;} .hero-mosaic .m-em{grid-area:em;}
.hero-mosaic .m-dm{grid-area:dm;} .hero-mosaic .m-gl{grid-area:gl;} .hero-mosaic .m-sa{grid-area:sa;}
.hero-mosaic .m-sw{grid-area:sw;} .hero-mosaic .m-pp{grid-area:pp;}
.hero-mosaic img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%;
  transition:transform .35s;}   /* 30%: wide crops keep people's heads */
.hero-mosaic a::after{content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,15,17,0) 35%, rgba(15,15,17,.88) 100%);}
.hero-mosaic span{position:absolute; left:.8rem; right:.7rem; bottom:.6rem; z-index:1; color:#fff; font-weight:700;
  font-size:.92rem; line-height:1.2; text-shadow:0 1px 3px rgba(0,0,0,.4);}
.hero-mosaic a.big span{font-size:1.1rem;}
.hero-mosaic a:hover img{transform:scale(1.05);}
.hero-mosaic a:hover,.hero-mosaic a:focus-visible{border-color:rgba(217,184,100,.85);}
.hero-strip{display:flex; flex-wrap:wrap; gap:0; margin:clamp(2.5rem,5vw,3.6rem) 0 0;
  border-top:1px solid rgba(255,255,255,.16);}
.hero-strip div{flex:1 1 200px; padding:1.4rem 1.2rem 1.6rem; border-right:1px solid rgba(255,255,255,.16);}
.hero-strip div:last-child{border-right:none;}
.hero-strip dt{font-size:clamp(1.4rem, 1.2rem + .9vw, 1.9rem); font-weight:800; color:#fff; line-height:1.1;}
.hero-strip dt a{color:#fff; text-decoration:none; white-space:nowrap;}
.hero-strip dd{margin:.45rem 0 0; font-size:.86rem; color:#B9B5AC;}
@media (min-width:981px){
  .hero .container{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); column-gap:clamp(2rem,4vw,4rem);}
  .hero .container > *{grid-column:1;}
  .hero .container > .eyebrow{justify-self:start;}
  /* the mosaic is taller than the text: the 1fr rows above and below take the extra height, so the text stays
     together and centred beside it instead of the eyebrow and buttons stretching */
  .hero .container{grid-template-rows:1fr auto auto auto auto 1fr auto;}
  .hero .container > .eyebrow{grid-row:2;} .hero .container > h1{grid-row:3;}
  .hero .container > .lede{grid-row:4;} .hero .container > .hero-actions{grid-row:5;}
  .hero .container > .hero-mosaic{grid-column:2; grid-row:1 / 7; align-self:center;}
  .hero .container > .hero-strip{grid-column:1 / -1; grid-row:7;}
}
@media (max-width:980px){
  .hero-mosaic{grid-template-columns:1fr 1fr; grid-template-rows:none; grid-auto-rows:150px;
    grid-template-areas:none; aspect-ratio:auto; gap:.5rem; margin-top:2rem;}
  .hero .hero-mosaic a{grid-area:auto;}   /* must outrank the .m-* areas, or every tile lands in one cell */
  .hero .hero-mosaic a.big,.hero .hero-mosaic a:last-child{grid-column:span 2;}   /* 7 small tiles: the last one fills the row */
  .hero-mosaic span,.hero-mosaic a.big span{font-size:.86rem;}
}
@media (max-width:599px){ .hero-mosaic{grid-auto-rows:118px;}
  .hero-mosaic span{font-size:.78rem; left:.55rem; right:.45rem; bottom:.45rem;} }

/* ---------- sections ---------- */
section{padding:clamp(3rem,6vw,4.75rem) 0;}
.sec-head{max-width:62ch; margin-bottom:2.4rem;}
.sec-head .eyebrow{display:block;}
.sec-head p{color:var(--ink-faint); font-size:1.03rem; margin:0;}
.alt{background:var(--paper-2);}

/* ---------- service cards ---------- */
.services{display:grid; gap:1.1rem; grid-template-columns:repeat(3,minmax(0,1fr));}
.card{
  display:flex; flex-direction:column; gap:.55rem; text-decoration:none;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.5rem 1.4rem 1.6rem; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{transform:translateY(-3px); box-shadow:var(--shadow); border-color:#D6CDB8;}
.card h3{margin:0;}
.card p{color:var(--ink-faint); font-size:.92rem; margin:0;}
.card .ico{width:42px; height:42px; border-radius:11px; background:rgba(184,145,58,.16);
  display:grid; place-items:center; margin-bottom:.35rem;}
.card .ico svg{width:22px; height:22px; stroke:var(--accent-dark); fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;}
.card .more{margin-top:auto; padding-top:.9rem; font-weight:700; font-size:.87rem; color:var(--accent-dark);}
/* photo cards: the service photo on top, the text below */
.card--feat{padding:0; overflow:hidden; gap:0;}
.card--feat img{width:100%; aspect-ratio:16/10; height:auto; object-fit:cover; display:block;}
.card--feat .card-body{display:flex; flex-direction:column; gap:.55rem; padding:1.3rem 1.4rem 1.5rem; flex:1;}
/* phones: a thumbnail, the name and the link (the description is on the services page) */
@media (max-width:600px){
  .services--photo{gap:.7rem;}
  .services--photo .card--feat{display:grid; grid-template-columns:104px minmax(0,1fr);}
  .services--photo .card--feat img{height:100%; aspect-ratio:auto; min-height:84px;}
  .services--photo .card-body{padding:.85rem 1rem; gap:.15rem; justify-content:center;}
  .services--photo .card p{display:none;}
  .services--photo .card .more{padding-top:.3rem;}
}

/* ---------- feature band ---------- */
.feature{display:grid; gap:clamp(1.8rem,4vw,3.2rem); align-items:center; grid-template-columns:1.05fr .95fr;}
.feature--flip > :first-child{order:2;}
.feature h2{margin-top:0;}
.feature-media{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.feature-media img{width:100%; aspect-ratio:4/3; object-fit:cover;}
.caps{list-style:none; margin:1.2rem 0 1.8rem; padding:0;
  display:grid; gap:.6rem 1.4rem; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));}
.caps li{position:relative; padding-left:1.8rem; color:var(--ink-soft); font-size:.95rem;}
.caps li::before{content:""; position:absolute; left:0; top:.36em; width:1rem; height:.52rem;
  border-left:3px solid var(--accent); border-bottom:3px solid var(--accent);
  transform:rotate(-45deg); border-radius:1px;}
.caps-head{margin:2rem 0 .4rem; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-faint); font-weight:700;}
.equip{margin:.4rem 0 0; padding:.85rem 1.1rem; background:var(--paper-2); border:1px solid var(--line);
  border-radius:10px; font-size:.93rem; color:var(--ink-soft);}
.equip strong{color:var(--brand);}
.prose{max-width:68ch;}
.steps{margin:1rem 0 1.6rem; padding-left:1.3rem; color:var(--ink-soft);}
.steps li{margin-bottom:.55rem; padding-left:.2rem;}
.prose p{color:var(--ink-soft); font-size:1.03rem;}

/* services page: one block per service, photo beside the first few */
.svc{padding:clamp(2rem,4vw,3rem) 0; border-top:1px solid var(--line);}
.svc:first-child,.sec-head + .svc{border-top:0; padding-top:0;}
.svc h3{font-size:clamp(1.4rem,1.2rem + .9vw,1.9rem);}
.svc p{color:var(--ink-soft); max-width:68ch;}

/* ---------- equipment ---------- */
.machines{display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fill,minmax(270px,1fr));}
.machine{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column;}
.machine img{width:100%; aspect-ratio:4/3; object-fit:cover;}
.machine div{padding:1.1rem 1.25rem 1.3rem;}
.machine h3{margin:0 0 .3rem;}
.machine p{margin:0; color:var(--ink-soft); font-size:.93rem;}
.machine .size{display:inline-block; margin-bottom:.45rem; font-size:.78rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-dark);}
.kit{list-style:none; margin:0; padding:0; display:grid; gap:.7rem; grid-template-columns:repeat(auto-fill,minmax(270px,1fr));}
.kit li{background:#fff; border:1px solid var(--line); border-radius:10px; padding:.85rem 1rem; color:var(--ink-soft); font-size:.94rem;}
.kit strong{display:block; color:var(--brand);}

/* ---------- quote / CTA band ---------- */
.quote{background:linear-gradient(160deg,var(--brand) 0%, var(--brand-deep) 100%); color:#fff;}
.quote h2{color:#fff;}
.quote p{color:var(--on-brand);}
.quote strong{color:#fff;}
.quote .tel-big{color:var(--accent-light); font-weight:800; text-decoration:none; font-size:1.25rem;}
.cta{display:flex; flex-wrap:wrap; gap:1.4rem 3rem; align-items:center; justify-content:space-between;}
.cta > div{max-width:60ch;}
.cta p{margin:0;}

/* ---------- forms ---------- */
.quote-grid{display:grid; gap:clamp(1.8rem,4vw,3.4rem); grid-template-columns:.8fr 1.2fr; align-items:start;}
.form{background:#fff; border-radius:var(--radius); padding:clamp(1.4rem,3vw,2rem); box-shadow:var(--shadow);
  border:1px solid var(--line);}
.form-head{font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint);
  margin:1.6rem 0 .9rem;}
.form-head:first-of-type{margin-top:0;}
.field{margin-bottom:1rem; min-width:0;}
.field label,.field legend{display:block; font-weight:600; font-size:.86rem; color:var(--brand); margin-bottom:.35rem;}
.req,.hint{font-weight:400; color:var(--ink-faint);}
.field input,.field select,.field textarea{
  width:100%; font:inherit; font-size:1rem; color:var(--ink); background:#fff;
  border:1px solid var(--line); border-radius:10px; padding:.72rem .85rem;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--brand-soft); outline:none; box-shadow:0 0 0 3px rgba(184,145,58,.28);}
.field textarea{min-height:120px; resize:vertical;}
.field textarea.short{min-height:76px;}
.radios{border:0; padding:0; margin:0 0 1rem;}
.radios label{display:inline-flex; align-items:center; gap:.4rem; font-weight:500; color:var(--ink); margin:.55rem 1.4rem 0 0;}
.radios input{width:auto; margin:0;}
.checks{border:0; padding:0; margin:0 0 1rem; display:grid; grid-template-columns:1fr 1fr; gap:.15rem 1rem;}
.checks legend{grid-column:1 / -1;}
.checks label{display:flex; align-items:center; gap:.5rem; font-weight:500; color:var(--ink); font-size:.95rem; padding:.3rem 0;}
.checks input{width:1.05rem; height:1.05rem; margin:0; accent-color:var(--accent-dark);}
@media (max-width:460px){ .checks{grid-template-columns:1fr;} }
.grid2{display:grid; gap:0 1rem; grid-template-columns:1fr 1fr;}
.specs{border:1px solid var(--line); border-radius:10px; padding:0 1rem; margin:0 0 1rem; background:var(--paper-2);}
.specs[open]{padding-bottom:.2rem;}
.specs summary{cursor:pointer; padding:.85rem 0; font-weight:700; color:var(--brand); font-size:.95rem;}
.specs summary span{font-weight:400; color:var(--ink-faint);}
.specs .field input,.specs .field select,.specs .field textarea{background:#fff;}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.form .btn{width:100%; justify-content:center; margin-top:.4rem;}
.form .fineprint{margin:.9rem 0 0; font-size:.8rem; color:var(--ink-faint); text-align:center;}
.form-note{margin:.9rem 0 0; font-size:.9rem; border-radius:10px; padding:.7rem .9rem;}
.form-note.err{color:#8B3A1F; background:#FFF4EC; border:1px solid #F3D3BE;}
.form-note.ok{color:#1F4A2E; background:#EEF8F1; border:1px solid #C3E3CC;}
.files{border:1px dashed #D6CDB8; border-radius:10px; padding:.85rem .95rem;}
.files p{margin:0 0 .65rem; font-size:.88rem; color:var(--ink-soft);}
.link-pill{display:inline-block; font-weight:700; font-size:.9rem; color:var(--brand); text-decoration:none;
  border:1px solid var(--line); border-radius:999px; padding:.45rem .95rem; background:var(--paper-2);}
.link-pill:hover{border-color:var(--brand);}
.side p{color:var(--ink-soft);}
.side .feature-media{margin-top:1.6rem;}
@media (max-width:980px){ .side .feature-media{display:none;} }   /* the form comes sooner on phones */

/* ---------- interior pages ---------- */
.page-hero{background:linear-gradient(160deg,var(--brand) 0%, var(--brand-deep) 100%); color:#fff;
  padding:clamp(2.2rem,5vw,3.6rem) 0 clamp(2.4rem,5vw,3.4rem);}
.page-hero h1{font-size:clamp(1.9rem, 1.5rem + 1.9vw, 2.9rem); font-weight:800; color:#fff; margin:.25rem 0 .6rem;}
.page-hero .eyebrow{padding:.35rem .85rem; margin-bottom:0;}
.page-hero .lede{color:var(--on-brand); font-size:clamp(1rem, .96rem + .35vw, 1.15rem); max-width:58ch; margin:0 0 1.6rem;}
.page-hero .lede:last-child{margin-bottom:0;}
.crumb{font-size:.84rem; color:#B9B5AC; margin-bottom:1rem;}
.crumb a{color:var(--on-brand); text-decoration:none;}
.crumb a:hover{text-decoration:underline;}

/* ---------- contact ---------- */
.contact-grid{display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fit,minmax(230px,1fr));}
.contact-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem 1.4rem 1.5rem;}
.contact-card .ico{width:42px; height:42px; border-radius:11px; background:rgba(184,145,58,.16);
  display:grid; place-items:center; margin-bottom:.7rem;}
.contact-card .ico svg{width:22px; height:22px; stroke:var(--accent-dark); fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;}
.contact-card h3{margin:0 0 .35rem;}
.contact-card p{margin:0; color:var(--ink-soft); font-size:.95rem;}
.contact-card a{color:var(--accent-dark); text-decoration:none; font-weight:600;}
.contact-card a:hover{text-decoration:underline;}

/* ---------- footer ---------- */
.site-footer{background:var(--footer); color:#B9B5AC;
  padding:clamp(2.5rem,5vw,3.5rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size:.9rem;}
.foot-grid{display:grid; gap:2rem; grid-template-columns:1.5fr 1fr 1fr 1.1fr; margin-bottom:2.2rem;}
.site-footer h4{color:#fff; font-size:.8rem; letter-spacing:.13em; text-transform:uppercase; margin:0 0 .9rem;}
.site-footer ul{list-style:none; margin:0; padding:0; display:grid; gap:.5rem;}
.site-footer ul + h4{margin-top:1.6rem;}
.site-footer a{color:#DAD6CD; text-decoration:none;}
.site-footer a:hover{color:#fff; text-decoration:underline;}
.site-footer img{width:250px; max-width:100%; height:auto; margin-bottom:1rem;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12); padding-top:1.4rem;
  display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; justify-content:space-between; font-size:.83rem;}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .feature,.quote-grid{grid-template-columns:1fr;}
  .feature--flip > :first-child{order:0;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .nav{display:none; position:absolute; top:78px; left:0; right:0; background:#fff;
    flex-direction:column; align-items:stretch; gap:0; padding:.5rem 20px 1rem;
    border-bottom:1px solid var(--line); box-shadow:var(--shadow);
    max-height:calc(100vh - 78px); max-height:calc(100dvh - 78px); overflow-y:auto;}
  .nav.open{display:flex;}
  .nav a{padding:.8rem 0; border-bottom:1px solid var(--line);}
  .nav-toggle{display:block;}
  .header-tel{display:none;}
  .hero-strip div{flex:1 1 45%; border-right:none;}
  .services{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px){
  .grid2,.services{grid-template-columns:1fr;}
  .hero-strip dt{font-size:1.25rem;} .hero-strip div{padding:1.1rem .8rem 1.3rem;}
  .site-header .container{gap:.6rem; min-height:66px;}
  .nav{top:66px; max-height:calc(100dvh - 66px);}
  .brand{--logo-w:210px;}
  .header-cta .btn{padding:.6rem .95rem; font-size:.88rem;}
}
@media (max-width:460px){
  .foot-grid{grid-template-columns:1fr;}
  .hero-actions .btn{width:100%; justify-content:center;}
  .brand{--logo-w:185px;}
}
@media (max-width:389px){ .brand{--logo-w:160px;} }   /* small Android phones */
@media (max-width:340px){ .brand{--logo-w:135px;} .site-header .container{gap:.45rem;} .header-cta .btn{padding:.5rem .7rem; font-size:.8rem;} }
@media (prefers-reduced-motion:reduce){
  *{animation:none !important; transition:none !important;}
  .btn:hover,.card:hover,.hero-mosaic a:hover img{transform:none;}
}
