/* ============================================================
   PRO-CON CONSTRUCTION — shared styles
   Palette pulled directly from the logo mark:
     red    #B32018  (crescent + wordmark)
     black  #0A0A0A  (site ground)
     white  #F6F4F0  (warm paper white, not pure #fff)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --black: #0a0a0a;
  --panel: #131313;
  --panel-2: #1a1a1a;
  --white: #f6f4f0;
  --dim: #b9b6b0;
  --dimmer: #7a7773;
  --red: #b32018;
  --red-bright: #d6291d;
  --red-deep: #7c1610;
  --line: rgba(246,244,240,0.14);
  --line-soft: rgba(246,244,240,0.08);

  --display: 'Playfair Display', Georgia, serif;
  --body: 'Jost', -apple-system, sans-serif;

  --container: 1240px;
  --edge: clamp(22px, 6vw, 96px);
  --card-pad: clamp(26px, 3vw, 42px);
}

*{ box-sizing:border-box; margin:0; padding:0; }

/* Horizontal-overflow containment.
   `overflow-x:hidden` on <body> alone does NOT work: the viewport scroll
   container is <html>, so anything positioned outside it still scrolls into
   view (this is what produced the black "second page" on phones). `clip`
   contains it without creating a scroll container of its own. */
html, body{
  overflow-x:clip;
  overscroll-behavior-x:none;
}
@supports not (overflow:clip){
  html, body{ overflow-x:hidden; }
}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;   /* stop iOS inflating type on rotate */
  text-size-adjust:100%;
}
body{
  background:var(--black);
  color:var(--white);
  font-family:var(--body);
  font-weight:300;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  width:100%;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

::selection{ background:var(--red); color:var(--white); }

:focus-visible{
  outline:2px solid var(--red-bright);
  outline-offset:3px;
}

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.08;
  overflow-wrap:break-word;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--body);
  font-size:12.5px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--dim);
  font-weight:500;
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--red);
}

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding-left:var(--edge);
  padding-right:var(--edge);
}

.section{ padding:clamp(64px,10vw,140px) 0; position:relative; }
.section-tight{ padding:clamp(40px,6vw,80px) 0; }

/* ---------- signature swoosh divider ----------
   A single quiet echo of the logo's crescent, used sparingly. */
.swoosh{
  position:relative;
  width:100%;
  height:clamp(60px,12vw,160px);
  overflow:hidden;
  pointer-events:none;
}
.swoosh svg{ width:100%; height:100%; display:block; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(10,10,10,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.site-header.menu-open{
  backdrop-filter:none;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px var(--edge);
}
.nav-logo-img{ height:54px; width:auto; }
.nav-links{
  display:flex;
  align-items:center;
  gap:clamp(18px,2.4vw,38px);
  font-size:13.5px;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-weight:500;
}
.nav-links a{
  position:relative;
  padding:6px 0;
  color:var(--dim);
  transition:color .25s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--red);
}
/* Written as `.nav-links a.nav-cta` on purpose: plain `.nav-cta` (0,1,0) loses
   to `.nav-links a` (0,1,1), which was stripping this button's padding down to
   `6px 0` and squashing it to a 29px-tall box on every page. */
.nav-links a.nav-cta{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line);
  padding:11px 22px;
  border-radius:2px;
  color:var(--white);
  transition:background .25s ease, border-color .25s ease;
}
.nav-links a.nav-cta:hover{ background:var(--red); border-color:var(--red); }
.nav-links a.nav-cta.active::after{ display:none; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none;
}
.nav-toggle span{ width:24px; height:2px; background:var(--white); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:16px 30px;
  font-family:var(--body);
  font-size:13px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:500;
  border-radius:2px;
  transition:all .3s ease;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--red);
  color:var(--white);
}
.btn-primary:hover{ background:var(--red-bright); transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--white);
}
.btn-ghost:hover{ border-color:var(--red); color:var(--red-bright); }
.btn-light{
  background:var(--white);
  color:var(--black);
}
.btn-light:hover{ background:var(--red); color:var(--white); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:flex-end;
  padding-bottom:clamp(50px,8vw,100px);
  border-bottom:1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 900px 500px at 82% 10%, rgba(179,32,24,0.16), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 60%, #0a0a0a 100%);
}
/* Secondary-page hero heights. These were inline styles, which beat media
   queries and so could not be tuned for phones. svh = the *small* viewport
   height, so content never hides under mobile Safari's address bar. */
.hero--xs{ min-height:44svh; }
.hero--sm{ min-height:48svh; }
.hero--md{ min-height:56svh; }
.hero--lg{ min-height:60svh; }
.hero--xl{ min-height:64svh; }
@supports not (min-height:1svh){
  .hero--xs{ min-height:44vh; } .hero--sm{ min-height:48vh; }
  .hero--md{ min-height:56vh; } .hero--lg{ min-height:60vh; }
  .hero--xl{ min-height:64vh; }
}

.hero-grid-lines{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity:.5;
  mask-image:linear-gradient(180deg, transparent, black 40%, black 80%, transparent);
}
.hero-content{ position:relative; z-index:2; max-width:920px; }
.hero-content .eyebrow{ margin-bottom:22px; }
.hero-content h1{
  font-size:clamp(2.6rem, 6.4vw, 5.4rem);
  color:var(--white);
  margin-bottom:26px;
}
.hero-content h1 em{
  font-style:italic;
  color:var(--red-bright);
}
.hero-content p{
  font-size:clamp(1rem,1.5vw,1.2rem);
  color:var(--dim);
  max-width:560px;
  margin-bottom:36px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-mark{
  position:absolute;
  right:var(--edge);
  bottom:clamp(30px,6vw,70px);
  z-index:1;
  opacity:.9;
}
.hero-mark svg{ width:clamp(140px,22vw,320px); height:auto; }

/* ---------- Stat strip ---------- */
.stat-strip{
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:var(--panel);
}
.stat-strip .wrap{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}
.stat{
  padding:34px 28px;
  border-right:1px solid var(--line-soft);
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family:var(--display);
  font-size:clamp(1.8rem,3vw,2.6rem);
  color:var(--white);
  font-weight:700;
}
.stat .num span{ color:var(--red-bright); }
.stat .label{
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--dimmer);
  margin-top:6px;
}

/* ---------- Two column feature ---------- */
.feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(40px,6vw,90px);
  align-items:center;
}
/* order:2 was a no-op — the panel is already the second child, so every
   "reverse" row still rendered copy-left / photo-right. -1 pulls the photo
   to the left so the page actually alternates. */
.feature.reverse .feature-panel{ order:-1; }
.feature h2{
  font-size:clamp(2rem,3.6vw,3.1rem);
  color:var(--white);
  margin:18px 0 22px;
}
.feature p{ color:var(--dim); font-size:1.02rem; margin-bottom:16px; max-width:520px; }
.feature-list{ margin-top:26px; display:flex; flex-direction:column; gap:12px; }
.feature-list li{
  display:flex; gap:12px; align-items:flex-start;
  color:var(--dim); font-size:.96rem;
}
.feature-list li::before{
  content:'';
  min-width:6px; height:6px; margin-top:9px;
  background:var(--red);
  border-radius:50%;
}

.feature-panel{
  position:relative;
  aspect-ratio:4/5;
  border:1px solid var(--line);
  background:
    linear-gradient(155deg, var(--panel) 0%, #0d0d0d 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.feature-panel .panel-frame{
  position:absolute; inset:18px;
  border:1px solid var(--line-soft);
}
.feature-panel .panel-num{
  font-family:var(--display);
  font-style:italic;
  font-size:clamp(5rem,10vw,9rem);
  color:transparent;
  -webkit-text-stroke:1px var(--line);
}
.feature-panel .panel-glyph{ width:38%; opacity:.85; }

/* ---------- Card grids ---------- */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
}
.card{
  background:var(--black);
  padding:var(--card-pad);
}
.card .card-index{
  font-family:var(--display);
  font-style:italic;
  color:var(--red);
  font-size:.95rem;
  margin-bottom:16px;
  display:block;
}
.card h3{
  font-size:1.3rem;
  color:var(--white);
  margin-bottom:12px;
}
.card p{ color:var(--dim); font-size:.94rem; }
.card .card-icon{ margin-bottom:20px; }

/* ---------- Photo banner (wide, full-bleed within wrap) ---------- */
.photo-banner{
  width:100%;
  aspect-ratio:3/2;
  overflow:hidden;
  border:1px solid var(--line);
}
.photo-banner img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- Card with image ---------- */
/* Bleeds to the card's edges at ANY viewport — the old hard-coded 42px
   offsets overshot the card whenever 3vw padding was smaller than 42px,
   which pushed images past the grid lines between ~940px and 1400px. */
.card-img{
  width:calc(100% + (var(--card-pad) * 2));
  margin:calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 26px;
  aspect-ratio:3/2;
  overflow:hidden;
}
.card-img img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- Process rail (used for services steps) ---------- */
.process-rail{ position:relative; }
.process-item{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:clamp(20px,4vw,50px);
  padding:clamp(30px,4vw,48px) 0;
  border-top:1px solid var(--line-soft);
}
.process-item:last-child{ border-bottom:1px solid var(--line-soft); }
.process-num{
  font-family:var(--display);
  font-size:2.6rem;
  font-style:italic;
  color:var(--red);
  opacity:.85;
}
.process-body h3{
  font-size:1.5rem;
  color:var(--white);
  margin-bottom:12px;
}
.process-body p{ color:var(--dim); max-width:640px; }

/* ---------- Section head ---------- */
.section-head{ max-width:680px; margin-bottom:clamp(40px,5vw,70px); }
.section-head h2{
  font-size:clamp(2rem,3.6vw,3.2rem);
  color:var(--white);
  margin-top:16px;
}
.section-head p{ color:var(--dim); margin-top:16px; font-size:1.02rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Testimonials ---------- */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
}
.testimonial-card{
  background:var(--black);
  padding:var(--card-pad);
  display:flex;
  flex-direction:column;
}
.testimonial-stars{
  color:var(--red-bright);
  font-size:.85rem;
  letter-spacing:2px;
  margin-bottom:16px;
}
.testimonial-card blockquote{
  font-family:var(--display);
  font-style:italic;
  font-size:1.15rem;
  color:var(--white);
  line-height:1.5;
  margin-bottom:20px;
}
.testimonial-meta{
  margin-top:auto;
  font-size:12.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--dimmer);
}
.testimonial-meta strong{
  display:block;
  color:var(--dim);
  font-size:13px;
  letter-spacing:0.04em;
  text-transform:none;
  font-weight:500;
  margin-bottom:3px;
}
@media (max-width:760px){
  .testimonial-grid{ grid-template-columns:1fr; }
}

/* ---------- Quote / callout band ---------- */
.callout{
  background:var(--panel);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  position:relative;
  overflow:hidden;
}
.callout blockquote{
  font-family:var(--display);
  font-style:italic;
  font-weight:600;
  font-size:clamp(1.6rem,3.4vw,2.6rem);
  color:var(--white);
  max-width:900px;
  line-height:1.35;
}
.callout blockquote .accent{ color:var(--red-bright); }
.callout cite{
  display:block;
  margin-top:26px;
  font-style:normal;
  font-size:13px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--dimmer);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item{
  border-top:1px solid var(--line-soft);
}
.accordion-item:last-child{ border-bottom:1px solid var(--line-soft); }
.accordion-q{
  width:100%;
  background:none; border:none; color:var(--white);
  display:flex; justify-content:space-between; align-items:center;
  gap:20px;
  padding:26px 0;
  font-family:var(--display);
  font-size:clamp(1.05rem,1.8vw,1.4rem);
  text-align:left;
}
.accordion-q .plus{
  font-family:var(--body);
  font-size:1.6rem;
  color:var(--red);
  transition:transform .3s ease;
  flex-shrink:0;
}
.accordion-item.open .plus{ transform:rotate(45deg); }
.accordion-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}
.accordion-a p{
  color:var(--dim);
  padding-bottom:26px;
  max-width:760px;
  font-size:.98rem;
}

/* ---------- CTA band ---------- */
.cta-band{
  text-align:center;
  padding:clamp(70px,10vw,130px) 0;
  position:relative;
}
.cta-band h2{
  font-size:clamp(2.2rem,5vw,4rem);
  color:var(--white);
  max-width:820px;
  margin:20px auto 36px;
}
.cta-band .actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-band.compact{
  padding:34px 0;
  background:var(--panel);
  border-bottom:1px solid var(--line-soft);
}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--line-soft);
  padding:clamp(50px,7vw,80px) 0 30px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
}
.footer-brand .nav-logo-img{ height:36px; margin-bottom:20px; }
.footer-brand p{ color:var(--dimmer); font-size:.92rem; max-width:280px; }
.footer-col h4{
  font-family:var(--body);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--dim);
  font-weight:500;
  margin-bottom:18px;
}
.footer-col a, .footer-col p{
  display:block;
  color:var(--dimmer);
  font-size:.92rem;
  margin-bottom:10px;
  transition:color .2s ease;
}
.footer-col a:hover{ color:var(--red-bright); }
.footer-bottom{
  border-top:1px solid var(--line-soft);
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  letter-spacing:0.04em;
  color:var(--dimmer);
}

/* ---------- Contact / form ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(50px,6vw,100px);
}
.field{ margin-bottom:22px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field label{
  display:block;
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--dim);
  margin-bottom:9px;
}
.field label .req{ color:var(--red-bright); }
.field input, .field select, .field textarea{
  width:100%;
  background:transparent;
  border:1px solid var(--line);
  color:var(--white);
  padding:14px 16px;
  font-family:var(--body);
  font-size:.95rem;
  border-radius:2px;
  transition:border-color .2s ease;
}
.field select{
  background-color:var(--black);
  color-scheme:dark;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--red);
  outline:none;
}
.field select option{
  background-color:var(--black);
  color:var(--white);
}
.field textarea{ min-height:130px; resize:vertical; }
.info-list{ display:flex; flex-direction:column; gap:28px; margin-top:34px; }
.info-list .row{ display:flex; gap:18px; }
.info-list .k{
  font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--dimmer);
  min-width:110px; padding-top:2px;
}
.info-list .v{ color:var(--white); font-size:1.02rem; }
.info-list .v a:hover{ color:var(--red-bright); }

/* ---------- Utility ---------- */
.text-red{ color:var(--red-bright); }
.mt-lg{ margin-top:60px; }

/* ---------- Portfolio ---------- */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2px;
  background:var(--line-soft);
}
.portfolio-card{
  position:relative;
  aspect-ratio:4/5;
  overflow:hidden;
  cursor:pointer;
  background:var(--black);
}
.portfolio-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s ease, filter .6s ease;
  filter:grayscale(0.15) brightness(0.92);
}
.portfolio-card:hover img{ transform:scale(1.045); filter:grayscale(0) brightness(1); }
.portfolio-card-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:26px;
  opacity:0; transition:opacity .35s ease;
}
.portfolio-card:hover .portfolio-card-overlay{ opacity:1; }
.portfolio-card-overlay .eyebrow{ margin-bottom:8px; }
.portfolio-card-overlay h3{
  font-size:1.4rem;
  color:var(--white);
}
.portfolio-empty{
  text-align:center;
  padding:80px 20px;
  color:var(--dim);
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background:rgba(6,6,6,0.96);
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:clamp(16px,4vw,60px);
}
.lightbox.open{ display:flex; }
.lightbox-inner{
  max-width:1100px; width:100%;
  display:flex; flex-direction:column; gap:18px;
  align-items:center;
}
.lightbox-stage{
  position:relative;
  width:100%;
  display:flex; align-items:center; justify-content:center;
  max-height:78vh;
}
.lightbox-stage img{
  max-width:100%; max-height:78vh;
  object-fit:contain;
  border:1px solid var(--line);
}
.lightbox-meta{ text-align:center; }
.lightbox-meta h3{ font-size:1.3rem; color:var(--white); margin-bottom:6px; }
.lightbox-meta p{ color:var(--dimmer); font-size:.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--line);
  color:var(--white);
  width:44px; height:44px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  transition:background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background:var(--red); border-color:var(--red); }
.lightbox-close{ top:0; right:0; }
.lightbox-prev{ left:-56px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:-56px; top:50%; transform:translateY(-50%); }
@media (max-width:860px){
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
  .lightbox-close{ top:-46px; right:0; }
}
@media (max-width:860px){
  .portfolio-grid{ grid-template-columns:repeat(2,1fr); }
  .portfolio-card-overlay{ opacity:1; background:linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.9) 100%); }
  .portfolio-card img{ filter:grayscale(0) brightness(0.9); }
}
@media (max-width:560px){
  .portfolio-grid{ grid-template-columns:1fr; }
}
@media (max-width:960px){
  /* Off-canvas menu.
     It is deliberately NOT parked off-screen with translateX(100%): a
     fixed-position element sitting outside the viewport still counts toward
     the document's scrollable width in mobile Safari, which is what let the
     page slide sideways to a blank black panel. Fading in place has no
     geometry outside the viewport at all. */
  .nav-links{
    position:fixed;
    inset:0;
    width:100%;
    max-width:100%;
    background:var(--black);
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:88px var(--edge) 40px;
    gap:4px;
    font-size:20px;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    opacity:0;
    transform:translateY(-8px);
    visibility:hidden;
    pointer-events:none;
    transition:opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
    z-index:200;
  }
  .nav-links.open{
    opacity:1;
    transform:none;
    visibility:visible;
    pointer-events:auto;
    transition:opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
  }
  .nav-links li{ width:100%; }
  .nav-links a{
    display:inline-block;
    padding:14px 0;          /* ~52px tap target */
  }
  .nav-links .nav-cta{
    margin-top:14px;
    padding:14px 26px;
  }

  /* Logo stays above the open panel so branding never disappears */
  .site-header.menu-open .nav > a{ position:relative; z-index:210; }

  .nav-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:210;
    width:44px; height:44px;   /* real tap target, was 24x16 */
    margin-right:-10px;
  }
  .nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .nav-toggle span{ transition:transform .25s ease, opacity .25s ease; }

  .nav-logo-img{ height:44px; }

  .stat-strip .wrap{ grid-template-columns:1fr 1fr; }
  .stat{ border-bottom:1px solid var(--line-soft); padding:26px 20px; }
  .stat:nth-child(2n){ border-right:none; }
  .stat:nth-last-child(-n+2){ border-bottom:none; }

  .feature, .contact-grid{ grid-template-columns:1fr; }
  .feature.reverse .feature-panel{ order:0; }
  .grid-3, .grid-4{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}

@media (max-width:640px){
  .grid-3, .grid-4{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .process-item{ grid-template-columns:1fr; gap:10px; }
  .footer-top{ grid-template-columns:1fr; gap:34px; }
  .hero-mark{ display:none; }

  .section{ padding:56px 0; }
  .section-tight{ padding:36px 0; }
  .mt-lg{ margin-top:34px; }

  .hero{ min-height:76svh; padding-bottom:52px; }
  .hero--xs, .hero--sm, .hero--md, .hero--lg, .hero--xl{
    min-height:auto;
    padding-top:54px;
    padding-bottom:54px;
  }
  .hero-content h1{ font-size:clamp(2.1rem, 9.2vw, 3rem); }
  .hero-content p{ margin-bottom:28px; }

  /* Stacked full-width buttons read better than two cramped pills */
  .hero-actions{ gap:12px; }
  .hero-actions .btn,
  .cta-band .actions .btn{
    flex:1 1 220px;
    justify-content:center;
  }

  .stat-strip .wrap{ padding-left:0; padding-right:0; }
  .stat{ padding:22px var(--edge); }

  .feature-panel{ aspect-ratio:4/3; }
  .feature p{ max-width:none; }

  .section-head{ margin-bottom:30px; }

  .accordion-q{ padding:20px 0; gap:14px; }

  .info-list{ gap:22px; }
  .info-list .row{ flex-direction:column; gap:5px; }
  .info-list .k{ min-width:0; }

  .footer-bottom{ flex-direction:column; gap:8px; }
}

/* Phone held sideways: a full-height centred menu doesn't fit, and a 76svh
   hero eats the whole screen. Scoped to <=960px so a merely SHORT desktop
   window never picks these up (it was collapsing the desktop nav gap to 0). */
@media (max-width:960px) and (max-height:560px) and (orientation:landscape){
  .nav-links{
    justify-content:flex-start;
    padding-top:62px;
    padding-bottom:24px;
    gap:0;
    font-size:16px;
  }
  .nav-links a{ padding:8px 0; }
  .nav-links .nav-cta{ margin-top:8px; padding:10px 22px; }
  .hero, .hero--xs, .hero--sm, .hero--md, .hero--lg, .hero--xl{
    min-height:auto; padding-top:56px; padding-bottom:44px;
  }
}

[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}
