/* =========================================================
   FOX ROOFING v2 — Completely custom design
   Warm earth tones, bold editorial layout, distinct from TDC.
   Fraunces (display) + Inter (body) + JetBrains Mono (labels)
   ========================================================= */
:root{
  --cream:       #FFFFFF;
  --cream-dark:  #F0F0F2;
  --sand:        #E2E2E6;
  --ink:         #0A0A0A;
  --ink-soft:    #4A4A4A;
  --ink-faint:   #8C8C8C;
  --line:        rgba(10,10,10,0.08);
  --line-2:      rgba(10,10,10,0.16);

  --terracotta:     #F5821F;
  --terracotta-deep:#D6690A;
  --terracotta-pale:#FDE7D0;
  --terracotta-ink: #FFFFFF;

  --charcoal:     #0A0A0A;
  --charcoal-soft:#1A1A1A;
  --warm-line:    rgba(255,255,255,0.12);
  --warm-line-2:  rgba(255,255,255,0.24);
  --warm-text:    #C9C9C9;
  --warm-text-2:  #E4E4E4;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  overflow-x:hidden;
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4{
  font-family:'Inter', sans-serif;
  margin:0;
  font-weight:650;
  letter-spacing:-0.02em;
  color:var(--ink);
}
h1{
  font-family:'Fraunces', serif;
  font-weight:520;
  letter-spacing:-0.015em;
}
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

.mono{
  font-family:'JetBrains Mono', monospace;
  letter-spacing:0.06em;
  text-transform:uppercase;
}
.wrap{ max-width:1180px; margin:0 auto; padding:0 40px; }
@media (max-width:720px){ .wrap{ padding:0 22px; } }

a:focus-visible, button:focus-visible{ outline:2px solid var(--terracotta); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Scroll reveal */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay:.1s; }
.reveal-delay-2{ transition-delay:.2s; }
.reveal-delay-3{ transition-delay:.3s; }

/* ========================= Buttons ========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 32px;
  font-family:'Inter',sans-serif; font-weight:600; font-size:15px;
  letter-spacing:0;
  border-radius:999px; border:1.5px solid transparent; cursor:pointer;
  transition:transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 8px 24px -8px rgba(28,25,21,0.2); }
.btn-primary{ background:var(--terracotta); color:var(--terracotta-ink); border-color:var(--terracotta); }
.btn-primary:hover{ background:var(--terracotta-deep); border-color:var(--terracotta-deep); }
.btn-outline-light{ border-color:rgba(247,245,240,0.45); color:var(--warm-text-2); background:transparent; }
.btn-outline-light:hover{ border-color:var(--warm-text-2); background:rgba(247,245,240,0.08); }
.btn-outline-dark{ border-color:var(--line-2); color:var(--ink); background:transparent; }
.btn-outline-dark:hover{ border-color:var(--ink); background:var(--ink); color:var(--cream); }

/* ========================= Nav ========================= */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  background:rgba(247,245,240,0.85);
  backdrop-filter:blur(16px) saturate(1.2);
  -webkit-backdrop-filter:blur(16px) saturate(1.2);
  border-bottom:1px solid var(--line);
}
body.nav-open .site-nav{ backdrop-filter:none; -webkit-backdrop-filter:none; }
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{
  width:42px; height:42px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.logo-mark-img{ width:100%; height:100%; object-fit:contain; display:block; }
.logo-text{ display:flex; flex-direction:column; line-height:1; }
.logo-text .name{ font-family:'Fraunces',serif; font-weight:600; font-size:19px; letter-spacing:-0.01em; color:var(--ink); }
.logo-text .sub{ font-family:'JetBrains Mono',monospace; font-size:8px; letter-spacing:0.18em; color:var(--ink-faint); margin-top:3px; text-transform:uppercase; }

nav.links{ display:flex; align-items:center; gap:36px; font-size:14px; font-weight:500; }
nav.links a{ position:relative; padding:4px 0; color:var(--ink-soft); transition:color .2s ease; }
nav.links a.active{ color:var(--ink); font-weight:600; }
nav.links a::after{ content:""; position:absolute; left:50%; right:50%; bottom:-3px; height:2px; background:var(--terracotta); border-radius:1px; transition:left .3s var(--ease), right .3s var(--ease); }
nav.links a:hover{ color:var(--ink); }
nav.links a:hover::after, nav.links a.active::after{ left:0; right:0; }

.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-phone{ font-family:'JetBrains Mono',monospace; font-weight:500; font-size:13px; color:var(--ink-soft); display:flex; align-items:center; gap:7px; }
.nav-phone svg{ width:14px; height:14px; }

/* Mobile nav */
.nav-toggle{ display:none; }
@media (max-width:940px){
  .nav-row{ padding:16px 0; }
  .nav-cta{ gap:0; }
  .nav-toggle{
    display:flex; align-items:center; justify-content:center;
    width:42px; height:42px; margin-left:16px; flex:none;
    background:none; border:none; cursor:pointer; position:relative; z-index:101;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
    content:""; display:block; width:20px; height:2px; background:var(--ink); border-radius:1px;
    transition:transform .3s var(--ease), opacity .2s ease, background .3s ease;
  }
  .nav-toggle span::before{ position:absolute; transform:translateY(-6px); }
  .nav-toggle span::after{ position:absolute; transform:translateY(6px); }
  body.nav-open .nav-toggle span{ background:transparent; }
  body.nav-open .nav-toggle span::before{ transform:rotate(45deg); background:var(--cream); }
  body.nav-open .nav-toggle span::after{ transform:rotate(-45deg); background:var(--cream); }

  nav.links{
    position:fixed; inset:0; z-index:99;
    display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
    background:var(--charcoal);
    padding:calc(env(safe-area-inset-top,0px) + 96px) 8vw calc(env(safe-area-inset-bottom,0px) + 40px);
    gap:2px;
    overflow-y:auto; -webkit-overflow-scrolling:touch;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .35s ease, visibility 0s linear .35s;
  }
  body.nav-open nav.links{
    opacity:1; visibility:visible; pointer-events:auto;
    transition:opacity .35s ease;
  }
  nav.links > *{
    flex:none; opacity:0; transform:translateY(14px);
    transition:opacity .45s var(--ease), transform .45s var(--ease);
  }
  body.nav-open nav.links > *{ opacity:1; transform:none; }
  body.nav-open nav.links > *:nth-child(1){ transition-delay:.08s; }
  body.nav-open nav.links > *:nth-child(2){ transition-delay:.14s; }
  body.nav-open nav.links > *:nth-child(3){ transition-delay:.20s; }
  body.nav-open nav.links > *:nth-child(4){ transition-delay:.26s; }
  body.nav-open nav.links > *:nth-child(5){ transition-delay:.32s; }

  nav.links > a{
    display:block; text-align:center; padding:9px 0; width:100%;
    font-family:'Fraunces',serif; font-weight:480;
    font-size:clamp(20px,5.6vw,25px); color:var(--warm-text-2);
  }
  nav.links > a.active{ color:var(--cream); }
  nav.links > a::after{ display:none; }

  body.nav-open{ overflow:hidden; }
  .nav-phone, .nav-cta > .btn{ display:none; }
  .nav-panel-actions{
    display:flex; flex-direction:column; align-items:center; gap:12px;
    margin-top:24px; padding-top:20px; border-top:1px solid var(--warm-line);
    width:100%;
  }
  .nav-panel-actions .nav-phone{
    display:flex; justify-content:center; font-size:14px; color:var(--warm-text);
  }
  .nav-panel-actions .btn{
    background:none; border:none; padding:0 0 4px; width:auto;
    border-bottom:2px solid var(--terracotta); border-radius:0;
    color:var(--warm-text-2); font-weight:600; font-size:15px;
  }
  .nav-panel-actions .btn:hover{ transform:none; background:none; color:var(--cream); border-color:var(--warm-text-2); }
}
@media (min-width:941px){ .nav-panel-actions{ display:none; } .nav-cta > .nav-phone{ display:none; } }

/* Phone-only: guarantee real breathing room in the header so the logo and
   hamburger never crowd the screen edges */
@media (max-width:720px){
  .site-nav .wrap.nav-row{
    padding-left:22px !important;
    padding-right:22px !important;
  }
  .nav-toggle{ margin-left:10px; }
}

/* ========================= Hero — Centered, Bold ========================= */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center;
  background:var(--charcoal); color:var(--cream); overflow:hidden; text-align:center;
  padding:160px 32px 100px;
}
@media (max-width:720px){ .hero{ min-height:auto; padding:120px 22px 80px; } }

.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; opacity:0.4; }
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(28,25,21,0.5) 0%, rgba(28,25,21,0.75) 50%, var(--charcoal) 100%);
}

.hero-content{ position:relative; z-index:2; max-width:780px; display:flex; flex-direction:column; align-items:center; }

.hero-eyebrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:0.18em;
  color:var(--warm-text); margin-bottom:32px;
}
.hero-eyebrow::before, .hero-eyebrow::after{
  content:""; width:24px; height:1px; background:var(--terracotta);
}

.hero h1{
  font-size:clamp(40px, 6vw, 76px); line-height:1.05; color:var(--cream);
  max-width:13ch; font-weight:520; margin:0 auto;
}
.hero h1 em{ font-style:italic; color:var(--warm-text-2); }

.hero-lead{
  margin:28px auto 0; font-size:18px; line-height:1.7; max-width:48ch;
  color:var(--warm-text); font-weight:400;
}

.hero-actions{ display:flex; gap:14px; margin-top:44px; flex-wrap:wrap; justify-content:center; }
@media (max-width:480px){ .hero-actions{ flex-direction:column; width:100%; } .hero-actions .btn{ width:100%; } }

.hero-scroll{
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-family:'JetBrains Mono',monospace; font-size:9px; letter-spacing:0.15em;
  color:var(--warm-text); opacity:0.7;
}
.hero-scroll .line{
  width:1px; height:40px; background:linear-gradient(to bottom, var(--warm-text), transparent);
  animation:scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%,100%{ transform:scaleY(1); opacity:0.6; }
  50%{ transform:scaleY(0.5); opacity:1; }
}
@media (max-width:720px){ .hero-scroll{ display:none; } }

/* Phone hero: photo shown in full color as a framed top band that fades into the dark text area below
   (before, the 40% opacity + dark gradient over the whole hero made it read as black). */
.hero-bg picture{ display:block; width:100%; height:100%; }
@media (max-width:720px){
  .hero{ display:block; padding:0 22px 56px; }
  .hero-bg{ position:relative; inset:auto; height:400px; margin:0 -22px; }
  .hero-bg img{ opacity:1; object-position:50% 40%; }
  /* photo stays clear down to the roofline, then fades to dark right where the headline starts */
  .hero-bg::after{
    background:linear-gradient(180deg,
      rgba(10,10,10,0.15) 0%,
      rgba(10,10,10,0) 16%,
      rgba(10,10,10,0) 46%,
      rgba(10,10,10,0.82) 58%,
      rgba(10,10,10,0.95) 72%,
      var(--charcoal) 86%);
  }
  .hero-content{ margin-top:-160px; }
  .hero-eyebrow{ margin-bottom:16px; font-size:10.5px; letter-spacing:0.14em; white-space:nowrap; color:var(--warm-text-2); }
  .hero-eyebrow::before, .hero-eyebrow::after{ display:none; }
  .hero h1{ font-size:38px; max-width:none; }
  .hero h1 br{ display:none; }
  .hero-lead{ font-size:16px; line-height:1.6; margin-top:18px; }
  .hero-actions{ margin-top:28px; gap:10px; }
}

/* ========================= Stats Bar ========================= */
.stats-bar{
  background:var(--cream-dark); border-bottom:1px solid var(--line); padding:48px 0;
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:32px;
}
@media (max-width:820px){ .stats-grid{ grid-template-columns:repeat(2, 1fr); gap:28px; } }
@media (max-width:480px){ .stats-grid{ grid-template-columns:1fr 1fr; gap:20px; } }

.stat-item{ text-align:center; }
.stat-num{
  font-family:'Fraunces',serif; font-weight:560; font-size:clamp(32px,4vw,48px);
  color:var(--terracotta); line-height:1; margin-bottom:8px;
}
.stat-label{
  font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.12em;
  color:var(--ink-faint); text-transform:uppercase;
}

/* ========================= Sections ========================= */
.section{ padding:120px 0; }
@media (max-width:720px){ .section{ padding:80px 0; } }

.section-header{ text-align:center; max-width:600px; margin:0 auto 64px; }
@media (max-width:720px){ .section-header{ margin-bottom:44px; } }
.section-header .tag{ justify-content:center; margin-bottom:18px; }
.section-header h2{ font-size:clamp(28px,3.2vw,42px); line-height:1.15; font-weight:620; }
.section-header p{ color:var(--ink-soft); font-size:16px; line-height:1.7; margin-top:16px; }

.tag{ font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:0.16em; color:var(--terracotta-deep); display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.tag::before{ content:""; width:20px; height:1.5px; background:var(--terracotta); border-radius:1px; }
.tag.light{ color:var(--warm-text-2); }
.tag.light::before{ background:var(--terracotta); }

/* ========================= Services — Asymmetric Grid ========================= */
.services-grid{
  display:grid; grid-template-columns:1.2fr 1fr; gap:20px;
}
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr; } }

.service-card{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--cream-dark); border:1px solid var(--line);
  transition:transform .4s var(--ease), box-shadow .4s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:0 24px 48px -20px rgba(28,25,21,0.18); }

.service-card .sc-media{ position:relative; width:100%; overflow:hidden; }
.service-card .sc-media img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.service-card:hover .sc-media img{ transform:scale(1.05); }

.service-card.large{ grid-row:span 2; }
.service-card.large .sc-media{ aspect-ratio:3/4; }
@media (max-width:900px){ .service-card.large{ grid-row:auto; } .service-card.large .sc-media{ aspect-ratio:16/10; } }

.service-card.small{ display:flex; flex-direction:column; }
.service-card.small .sc-media{ aspect-ratio:16/9; }
.service-card.small .sc-body{ flex:1; display:flex; flex-direction:column; justify-content:center; padding:28px 32px; }

.service-card .sc-body{ padding:28px 32px; text-align:center; display:flex; flex-direction:column; align-items:center; }
.service-card .sc-tag{
  font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.1em;
  color:var(--terracotta-deep); text-transform:uppercase; margin-bottom:10px;
}
.service-card h3{ font-size:22px; font-weight:620; margin-bottom:10px; }
.service-card p{ color:var(--ink-soft); font-size:14.5px; line-height:1.6; }

@media (max-width:720px){
  .service-card .sc-body, .service-card.small .sc-body{ padding:22px 24px; }
  .service-card h3{ font-size:19px; }
}

/* Phone only: compact image cards with just a centered title on the photo (description hidden for now) */
@media (max-width:720px){
  .services-grid{ gap:14px; }
  .service-card.large .sc-media, .service-card.small .sc-media{ aspect-ratio:16/9; }
  .service-card.large .sc-media img{ object-position:50% 55%; }
  .service-card .sc-body, .service-card.small .sc-body{
    position:absolute; left:0; right:0; bottom:0;
    padding:48px 16px 16px; justify-content:flex-end; align-items:center;
    background:linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.72) 100%);
  }
  .service-card .sc-tag, .service-card .sc-body p{ display:none; }
  .service-card h3{ margin:0; font-size:18px; color:#fff; text-align:center; letter-spacing:0.01em; }
}

/* ========================= Emergency Banner ========================= */
.emergency-banner{
  position:relative; background:var(--charcoal); color:var(--cream);
  border-radius:var(--radius-lg); overflow:hidden; margin:0 40px;
}
@media (max-width:720px){ .emergency-banner{ margin:0 22px; border-radius:var(--radius); } }

.emergency-banner .eb-media{ position:relative; width:100%; aspect-ratio:21/9; }
.emergency-banner .eb-media img{ width:100%; height:100%; object-fit:cover; opacity:0.6; }
.emergency-banner .eb-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(28,25,21,0.85) 0%, rgba(28,25,21,0.4) 60%, rgba(28,25,21,0.2) 100%);
}
@media (max-width:900px){
  .emergency-banner .eb-media{ aspect-ratio:16/10; }
  .emergency-banner .eb-media::after{
    background:linear-gradient(180deg, rgba(28,25,21,0.3) 0%, rgba(28,25,21,0.88) 70%);
  }
}

.emergency-banner .eb-content{
  position:absolute; inset:0; z-index:2; display:flex; align-items:center;
  padding:0 64px;
}
@media (max-width:900px){ .emergency-banner .eb-content{ align-items:flex-end; padding:40px 28px; } }

.emergency-banner .eb-text{ max-width:480px; }
.emergency-banner h2{ color:var(--cream); font-size:clamp(26px,3vw,36px); margin-bottom:16px; }
.emergency-banner p{ color:var(--warm-text); font-size:15.5px; line-height:1.65; margin-bottom:28px; }

/* Phone-only: the fixed aspect-ratio box was too short for the tag + heading +
   paragraph + button, so the top of the text (the "Hail doesn't wait" heading)
   was getting clipped off. Let the card's height come from its content instead,
   with the photo as a full-bleed background behind it. */
@media (max-width:720px){
  .emergency-banner{ position:relative; }
  .emergency-banner .eb-media{
    position:absolute; inset:0;
    width:100%; height:100%;
    aspect-ratio:auto;
  }
  .emergency-banner .eb-content{
    position:relative; inset:auto;
    flex-direction:column; align-items:center; justify-content:center;
    padding:36px 26px;
  }
  .emergency-banner .eb-text{ max-width:100%; text-align:center; }
  .emergency-banner .eb-text .tag{ justify-content:center; }
}

/* ========================= Process ========================= */
.process-grid{
  display:flex; gap:24px; justify-content:center;
}
@media (max-width:820px){ .process-grid{ flex-direction:column; align-items:center; gap:32px; } }

.process-step{
  flex:1; max-width:300px; text-align:center; position:relative;
}
@media (max-width:820px){ .process-step{ max-width:360px; } }

.process-step:not(:last-child)::after{
  content:""; position:absolute; top:28px; right:-12px; width:24px; height:1px;
  background:var(--line-2);
}
@media (max-width:820px){ .process-step:not(:last-child)::after{ display:none; } }

.process-num{
  width:56px; height:56px; border-radius:50%;
  background:var(--terracotta-pale); color:var(--terracotta-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-weight:600; font-size:20px;
  margin:0 auto 20px;
}
.process-step h3{ font-size:18px; font-weight:620; margin-bottom:10px; }
.process-step p{ color:var(--ink-soft); font-size:14px; line-height:1.6; }

/* ========================= Quote ========================= */
.quote-block{
  background:var(--cream-dark); border-radius:var(--radius-lg); padding:80px 60px;
  text-align:center; max-width:900px; margin:0 auto;
}
.quote-block blockquote{
  font-family:'Fraunces',serif; font-style:italic; font-weight:480;
  font-size:clamp(22px, 2.6vw, 32px); line-height:1.45; color:var(--ink); margin:0;
}
.quote-block .quote-attrib{
  margin-top:32px; font-size:14px; color:var(--ink-soft);
}
.quote-block .quote-attrib strong{ color:var(--ink); font-weight:600; }

/* Phone-only: drop the boxed card so the quote sits directly on the page
   background, centered like the rest of the mobile content, with short
   terracotta accent lines above and below the quote marking it as a
   distinct block instead of a bordered card. */
@media (max-width:720px){
  .quote-block{
    background:none; border-radius:0; padding:0;
    text-align:center; max-width:none;
  }
  .quote-block blockquote{
    font-size:clamp(20px, 5.5vw, 24px);
    position:relative; padding:28px 0;
  }
  .quote-block blockquote::before,
  .quote-block blockquote::after{
    content:""; display:block; width:28px; height:2px;
    background:var(--terracotta); margin:0 auto;
    position:absolute; left:50%; transform:translateX(-50%);
  }
  .quote-block blockquote::before{ top:0; }
  .quote-block blockquote::after{ bottom:0; }
  .quote-block .quote-attrib{ margin-top:24px; }
}

/* ========================= CTA ========================= */
.cta-section{
  background:var(--terracotta); color:var(--terracotta-ink); padding:100px 0; text-align:center;
}
@media (max-width:720px){ .cta-section{ padding:72px 0; } }

.cta-section h2{ color:var(--terracotta-ink); font-size:clamp(28px,3.2vw,40px); margin-bottom:16px; }
.cta-section p{ color:rgba(250,246,243,0.8); font-size:16px; line-height:1.65; max-width:44ch; margin:0 auto 32px; }
.cta-section .btn-outline-light:hover{ background:rgba(247,245,240,0.12); }

/* ========================= Footer ========================= */
.site-footer{
  background:var(--charcoal); color:var(--warm-text); padding:80px 0 28px;
}
@media (max-width:720px){ .site-footer{ padding:56px 0 24px; } }

.footer-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:56px; padding-bottom:48px;
  border-bottom:1px solid var(--warm-line);
}
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width:540px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px 24px; padding-bottom:28px; }
  .footer-brand{ grid-column:1 / -1; }
  .footer-brand p{ max-width:none; }
}

.footer-brand .flogo{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand .flogo-mark{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.footer-brand .flogo-mark .logo-mark-img{ width:100%; height:100%; object-fit:contain; display:block; }
.footer-brand .flogo-name{ font-family:'Fraunces',serif; font-weight:600; font-size:20px; color:var(--cream); }
.footer-brand p{ font-size:14px; line-height:1.7; max-width:32ch; color:var(--warm-text); }

.footer-col h5{
  font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.14em;
  color:var(--warm-text-2); margin-bottom:20px; text-transform:uppercase;
}
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a, .footer-col li{ font-size:14px; color:var(--warm-text); transition:color .2s ease; }
.footer-col a:hover{ color:var(--cream); }

.footer-bottom{
  padding-top:24px; display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px; font-size:12px; color:var(--ink-faint);
}
@media (max-width:540px){ .footer-bottom{ flex-direction:column; align-items:flex-start; gap:6px; } }

/* ========================= Emergency Float ========================= */
.emergency-float{
  position:fixed; bottom:24px; right:24px; z-index:55;
  display:flex; align-items:center; gap:10px;
  background:var(--terracotta); color:var(--terracotta-ink);
  padding:14px 22px; border-radius:999px;
  font-family:'Inter',sans-serif; font-weight:600; font-size:13px;
  box-shadow:0 10px 30px -8px rgba(166,93,60,0.5);
  transition:transform .25s var(--ease), box-shadow .25s ease;
}
.emergency-float:hover{ transform:translateY(-3px); box-shadow:0 14px 36px -10px rgba(166,93,60,0.6); }
.emergency-float svg{ width:18px; height:18px; flex-shrink:0; }
@media (max-width:720px){ .emergency-float{ bottom:16px; right:16px; padding:12px 18px; font-size:12px; } .emergency-float svg{ width:16px; height:16px; } }

/* ========================= Page Header ========================= */
.page-header{
  background:var(--charcoal); color:var(--cream); padding:140px 0 80px;
  text-align:center; position:relative; overflow:hidden;
}
@media (max-width:720px){ .page-header{ padding:120px 0 64px; } }

.page-header .tag{ color:var(--warm-text-2); justify-content:center; margin:0 auto 20px; }
.page-header .tag::after{ content:""; width:20px; height:1.5px; background:var(--terracotta); border-radius:1px; }
.page-header h1{ color:var(--cream); font-size:clamp(34px,5vw,56px); max-width:14ch; margin:0 auto; line-height:1.1; }
.page-header p{ color:var(--warm-text); margin:18px auto 0; max-width:50ch; font-size:16px; line-height:1.7; }
.page-header br.mobile-break{ display:none; }
@media (max-width:720px){
  .page-header h1{ font-size:clamp(28px,8vw,34px); line-height:1.18; }
  .page-header br.mobile-break{ display:inline; }
  .page-header p{ font-size:14.5px; max-width:34ch; }
}

/* ========================= Services Page — Editorial List ========================= */
.service-editorial{ padding:100px 0; border-bottom:1px solid var(--line); }
.service-editorial:last-child{ border-bottom:none; }
@media (max-width:720px){ .service-editorial{ padding:64px 0; } }

.se-grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:center;
}
@media (max-width:900px){ .se-grid{ grid-template-columns:1fr; gap:36px; } }

.se-media{ border-radius:var(--radius-lg); overflow:hidden; }
.se-media img{ width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .7s var(--ease); }
.se-media:hover img{ transform:scale(1.03); }
@media (max-width:900px){ .se-media{ order:-1; } }

.se-content .tag{ margin-bottom:16px; }
.se-content h2{ font-size:clamp(26px,3vw,36px); line-height:1.15; margin-bottom:18px; }
.se-content p{ color:var(--ink-soft); font-size:16px; line-height:1.75; margin-bottom:24px; }
.se-content ul{ display:flex; flex-direction:column; gap:10px; }
.se-content li{
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; color:var(--ink-soft);
}
.se-content li::before{
  content:""; width:6px; height:6px; border-radius:50%; background:var(--terracotta); flex-shrink:0;
}

/* ========================= Projects Page — Masonry ========================= */
.project-masonry{
  column-count:3; column-gap:20px;
}
@media (max-width:900px){ .project-masonry{ column-count:2; column-gap:14px; } }
/* Phones: bento grid — 2 squares, 1 wide, 2 squares, 2 squares, 1 wide, 2 squares... repeating.
   Order is set here (phone only) so the wide slots land on the landscape roofing shots. */
@media (max-width:560px){
  .project-masonry{
    column-count:unset; display:grid; grid-template-columns:repeat(2, 1fr); gap:10px;
    -webkit-tap-highlight-color:transparent;
  }
  .project-masonry .pm-card img{ aspect-ratio:1/1; object-fit:cover; }
  .project-masonry .pm-card.pm-wide{ grid-column:span 2; }
  .project-masonry .pm-card.pm-wide img{ aspect-ratio:2/1; }
  .project-masonry .pm-card:nth-child(1){ order:1; }
  .project-masonry .pm-card:nth-child(2){ order:2; }
  .project-masonry .pm-card:nth-child(4){ order:3; }
  .project-masonry .pm-card:nth-child(3){ order:4; }
  .project-masonry .pm-card:nth-child(6){ order:5; }
  .project-masonry .pm-card:nth-child(7){ order:6; }
  .project-masonry .pm-card:nth-child(12){ order:7; }
  .project-masonry .pm-card:nth-child(11){ order:8; }
  .project-masonry .pm-card:nth-child(9){ order:9; }
  .project-masonry .pm-card:nth-child(5){ order:10; }
  .project-masonry .pm-card:nth-child(8){ order:11; }
  .project-masonry .pm-card:nth-child(10){ order:12; }

  /* soft entrance + press feedback */
  .project-masonry.pm-anim .pm-card{ opacity:0; transform:translateY(16px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
  .project-masonry.pm-anim .pm-card.pm-in{ opacity:1; transform:none; }
  .project-masonry .pm-card:active img{ transform:scale(1.03); filter:brightness(1); }
  @media (prefers-reduced-motion:reduce){
    .project-masonry.pm-anim .pm-card{ opacity:1; transform:none; transition:none; }
  }
}

.project-masonry .project-card:nth-child(1){ grid-row:span 2; }
.project-masonry .project-card:nth-child(1) img{ aspect-ratio:3/4; }
@media (max-width:900px){ .project-masonry .project-card:nth-child(1){ grid-row:auto; } .project-masonry .project-card:nth-child(1) img{ aspect-ratio:4/3; } }

.pm-card{
  position:relative; border-radius:var(--radius); overflow:hidden;
  background:var(--cream-dark);
  break-inside:avoid; -webkit-column-break-inside:avoid; margin:0 0 20px;
}
@media (max-width:900px){ .pm-card{ margin-bottom:14px; } }
@media (max-width:560px){ .pm-card{ margin-bottom:0; border-radius:12px; } }
.pm-card img{ display:block; width:100%; height:auto; transition:transform .7s var(--ease), filter .5s ease; filter:brightness(0.92); }
@media (max-width:560px){ .pm-card img{ aspect-ratio:1/1; object-fit:cover; } }
.pm-card:hover img{ transform:scale(1.04); filter:brightness(1); }
.pm-card .pm-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(28,25,21,0.82) 100%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:20px;
}
@media (max-width:560px){ .pm-card .pm-overlay{ padding:6px 6px 8px; align-items:center; text-align:center; background:linear-gradient(180deg, transparent 62%, rgba(28,25,21,0.85) 100%); } }
.pm-card .pm-tag{
  font-family:'JetBrains Mono',monospace; font-size:9px; letter-spacing:0.12em;
  text-transform:uppercase; color:rgba(247,245,240,0.7); margin-bottom:6px;
}
@media (max-width:560px){ .pm-card .pm-tag{ display:none; } }
.pm-card h3{ color:var(--cream); font-size:17px; font-weight:600; }
@media (max-width:560px){ .pm-card h3{ font-size:11px; font-weight:500; line-height:1.2; } }
.pm-card p{ color:rgba(247,245,240,0.75); font-size:13px; margin-top:4px; }
@media (max-width:560px){ .pm-card p{ display:none; } }

/* ========================= Testimonials — Horizontal Scroll ========================= */
.testi-track{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; padding:8px 4px 24px; margin:0 -4px;
  scrollbar-width:none;
}
.testi-track::-webkit-scrollbar{ display:none; }

.testi-card-wide{
  flex:0 0 380px; scroll-snap-align:start;
  background:var(--cream); border:1px solid var(--line); border-radius:var(--radius);
  padding:36px 30px 30px;
  transition:transform .35s var(--ease), box-shadow .35s ease;
}
.testi-card-wide:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -16px rgba(28,25,21,0.15); }
@media (max-width:480px){ .testi-card-wide{ flex:0 0 85vw; } }

.testi-card-wide .stars{ display:flex; gap:3px; margin-bottom:18px; color:var(--terracotta); }
.testi-card-wide .stars svg{ width:14px; height:14px; }
.testi-card-wide p{ font-size:15px; line-height:1.7; color:var(--ink); margin-bottom:24px; }
.testi-card-wide .name{ font-weight:600; font-size:14px; color:var(--ink); }
.testi-card-wide .loc{ font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.08em; color:var(--ink-faint); margin-top:4px; }

/* ========================= About Page ========================= */
.about-hero{
  display:grid; grid-template-columns:1fr 1fr; gap:0; align-items:stretch;
  min-height:80vh;
}
@media (max-width:900px){ .about-hero{ grid-template-columns:1fr; min-height:auto; } }

.about-hero-media{ position:relative; min-height:400px; }
.about-hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .about-hero-media{ min-height:300px; order:-1; } }

/* Desktop: give the image breathing room and make it a centered square, sitting left */
@media (min-width:901px){
  .about-hero{ min-height:auto; align-items:center; padding-top:140px; }
  .about-hero-media{
    min-height:0;
    display:flex; align-items:center; justify-content:center;
    padding:64px 48px 64px 64px;
  }
  .about-hero-media img{
    position:static;
    width:100%; height:auto;
    aspect-ratio:4/5;
    max-width:440px;
    object-fit:cover; object-position:50% 20%;
    border-radius:24px;
    box-shadow:0 30px 60px -28px rgba(10,10,10,0.35);
  }
}

.about-hero-text{
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center;
  padding:80px 64px; background:var(--cream-dark);
}
@media (max-width:900px){ .about-hero-text{ padding:56px 32px; } }
@media (min-width:901px){
  .about-hero-text{ background:transparent; padding:40px 48px; }
}
.about-hero-text .tag{ margin-bottom:16px; }
.about-hero-text h1{ font-size:clamp(32px,4vw,48px); line-height:1.1; margin-bottom:20px; }
.about-hero-text p{ color:var(--ink-soft); font-size:16px; line-height:1.75; margin-bottom:16px; }
.about-hero-text p:last-child{ margin-bottom:0; }

/* Phone/tablet: name + bio first, portrait card below, same tone as the text block so it reads as one section */
@media (max-width:900px){
  .about-hero-media{
    order:2; min-height:0; background:var(--cream-dark);
    display:flex; justify-content:center;
    padding:0 24px 64px;
  }
  .about-hero-media img{
    position:static; inset:auto;
    width:100%; height:auto; max-width:340px;
    aspect-ratio:4/5; object-fit:cover; object-position:50% 20%;
    border-radius:20px;
    box-shadow:0 24px 48px -24px rgba(10,10,10,0.35);
  }
  .about-hero-text{ order:1; padding:112px 28px 36px; }
}

.values-row{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
@media (max-width:820px){ .values-row{ grid-template-columns:1fr; } }

.value-box{
  background:var(--cream-dark); border-radius:var(--radius); padding:40px 32px;
  border:1px solid var(--line); transition:transform .3s var(--ease), box-shadow .3s ease;
}
.value-box:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -16px rgba(28,25,21,0.12); }
.value-box .num{
  font-family:'Fraunces',serif; font-weight:600; font-size:28px; color:var(--terracotta);
  margin-bottom:16px; display:block;
}
.value-box h3{ font-size:18px; font-weight:620; margin-bottom:10px; }
.value-box p{ color:var(--ink-soft); font-size:14px; line-height:1.65; }

/* ========================= Misc ========================= */
.text-center{ text-align:center; }
.max-w-lg{ max-width:700px; margin-left:auto; margin-right:auto; }

::selection{ background:var(--terracotta); color:var(--terracotta-ink); }

/* ========================= Service card pop-up (phone only) ========================= */
.sc-plus, .sc-modal{ display:none; }
@media (max-width:720px){
  /* make it obvious the cards are tappable */
  .service-card{ cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  .service-card:hover{ transform:none; box-shadow:none; }
  .service-card:active{ transform:scale(0.98); transition-duration:.15s; }
  .service-card:hover .sc-media img{ transform:none; }
  .sc-plus{
    display:block; position:absolute; top:12px; right:12px; z-index:2;
    width:34px; height:34px; border-radius:50%;
    background:rgba(255,255,255,0.2);
    -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.55);
    animation:scPulse 2.6s ease-out infinite;
  }
  .sc-plus::before, .sc-plus::after{
    content:""; position:absolute; left:50%; top:50%; background:#fff; border-radius:1px;
    transform:translate(-50%,-50%);
  }
  .sc-plus::before{ width:14px; height:2px; }
  .sc-plus::after{ width:2px; height:14px; }
  @keyframes scPulse{
    0%{ box-shadow:0 0 0 0 rgba(255,255,255,0.5); }
    70%,100%{ box-shadow:0 0 0 12px rgba(255,255,255,0); }
  }
  @media (prefers-reduced-motion:reduce){ .sc-plus{ animation:none; } }

  html.sc-lock, html.sc-lock body{ overflow:hidden; }
  .sc-modal{
    display:flex; position:fixed; inset:0; z-index:200;
    align-items:center; justify-content:center; padding:20px;
    visibility:hidden; opacity:0; pointer-events:none;
    transition:opacity .28s ease, visibility 0s linear .28s;
  }
  .sc-modal.is-open{ visibility:visible; opacity:1; pointer-events:auto; transition:opacity .28s ease; }
  .sc-modal-backdrop{
    position:absolute; inset:0; background:rgba(10,10,10,0.6);
    -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  }
  .sc-modal-panel{
    position:relative; width:100%; max-width:400px; max-height:calc(100vh - 40px); max-height:calc(100dvh - 40px);
    overflow-y:auto; background:var(--cream); border-radius:22px;
    box-shadow:0 40px 80px -30px rgba(0,0,0,0.6);
    transform:translateY(24px) scale(0.96); opacity:0;
    transition:transform .38s var(--ease), opacity .3s ease;
  }
  .sc-modal.is-open .sc-modal-panel{ transform:none; opacity:1; }
  .sc-modal-media{ aspect-ratio:16/10; overflow:hidden; }
  .sc-modal-media img{ width:100%; height:100%; object-fit:cover; display:block; }
  .sc-modal-close{
    position:absolute; top:12px; right:12px; z-index:3;
    width:38px; height:38px; border-radius:50%; border:0; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.92); color:var(--ink);
    box-shadow:0 4px 14px -4px rgba(0,0,0,0.35);
  }
  .sc-modal-body{ padding:26px 26px 28px; text-align:center; display:flex; flex-direction:column; align-items:center; }
  .sc-modal-tag{
    font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.1em;
    color:var(--terracotta-deep); text-transform:uppercase; margin-bottom:12px;
  }
  .sc-modal-body h3{ font-size:24px; font-weight:620; line-height:1.2; margin-bottom:14px; }
  .sc-modal-body p{ color:var(--ink-soft); font-size:15.5px; line-height:1.7; margin-bottom:24px; }
  .sc-modal-cta{ width:100%; justify-content:center; text-align:center; }
}

/* ===== SEO / lead-gen additions ===== */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.wrap.narrow, .narrow{ max-width:820px; margin-left:auto; margin-right:auto; }
.crumbs{ background:var(--cream-dark); border-bottom:1px solid var(--line); font-size:13px; color:var(--ink-faint); padding:12px 0; }
.crumbs a{ color:var(--ink-soft); } .crumbs a:hover{ color:var(--terracotta-deep); } .crumbs span{ margin:0 4px; }

.lead-section{ background:var(--charcoal); color:var(--warm-text-2); padding:100px 0; scroll-margin-top:70px; }
.lead-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.lead-copy h2{ color:#fff; font-size:clamp(30px,3.6vw,46px); line-height:1.12; margin-bottom:18px; font-family:'Fraunces',serif; font-weight:520; }
.lead-copy p{ color:var(--warm-text); font-size:17px; line-height:1.65; max-width:44ch; margin-bottom:24px; }
.lead-points{ list-style:none; padding:0; margin:0 0 28px; display:grid; gap:10px; }
.lead-points li{ padding-left:28px; position:relative; color:var(--warm-text-2); font-size:15px; }
.lead-points li::before{ content:""; position:absolute; left:0; top:6px; width:14px; height:8px; border-left:2px solid var(--terracotta); border-bottom:2px solid var(--terracotta); transform:rotate(-45deg); }
.lead-call{ display:inline-flex; align-items:center; gap:10px; color:#fff; font-weight:600; border-bottom:1.5px solid var(--terracotta); padding-bottom:3px; }
.lead-call svg{ width:18px; height:18px; }
.lead-card{ background:#fff; color:var(--ink); border-radius:var(--radius-lg); padding:32px; box-shadow:0 30px 60px -30px rgba(0,0,0,.6); }
.lead-field{ margin-bottom:16px; flex:1; min-width:0; }
.lead-field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--ink); }
.lead-field .opt{ font-weight:400; color:var(--ink-faint); }
.lead-field input, .lead-field select, .lead-field textarea{
  width:100%; font:inherit; font-size:16px; padding:13px 14px; border:1.5px solid var(--line-2); border-radius:var(--radius-sm);
  background:#fff; color:var(--ink); box-sizing:border-box; }
.lead-field textarea{ resize:vertical; min-height:84px; }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus{ outline:none; border-color:var(--terracotta); box-shadow:0 0 0 3px var(--terracotta-pale); }
.lead-row{ display:flex; gap:14px; }
.lead-submit{ width:100%; justify-content:center; padding:16px 22px; font-size:16px; cursor:pointer; }
.lead-fine{ font-size:12px; color:var(--ink-faint); margin:14px 0 0; text-align:center; }
.lead-fine a{ text-decoration:underline; }
@media (max-width:900px){ .lead-grid{ grid-template-columns:1fr; gap:40px; } .lead-section{ padding:72px 0; } }
@media (max-width:480px){ .lead-row{ flex-direction:column; gap:0; } .lead-card{ padding:24px 20px; } }

.footer-grid.footer-grid-5{ grid-template-columns:1.5fr 1.2fr 1fr 1fr 1.2fr; gap:36px; }
@media (max-width:1000px){ .footer-grid.footer-grid-5{ grid-template-columns:1fr 1fr 1fr; } .footer-grid-5 .footer-brand{ grid-column:1 / -1; } }
@media (max-width:540px){ .footer-grid.footer-grid-5{ grid-template-columns:1fr 1fr; } }
.footer-bottom a{ text-decoration:underline; }

.link-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.link-card{ display:flex; flex-direction:column; gap:6px; padding:20px 22px; background:var(--cream-dark); border:1px solid var(--line); border-radius:var(--radius); transition:transform .25s var(--ease), border-color .2s; }
.link-card:hover{ transform:translateY(-3px); border-color:var(--terracotta); }
.link-card span{ font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--terracotta-deep); }
.link-card em{ font-style:normal; font-weight:600; font-size:16px; line-height:1.3; }
.area-line{ text-align:center; margin-top:32px; color:var(--ink-soft); font-size:15px; }
.chip{ display:inline-block; padding:5px 14px; margin:3px 2px; border:1px solid var(--line-2); border-radius:999px; font-size:14px; color:var(--ink); }
.chip:hover{ border-color:var(--terracotta); color:var(--terracotta-deep); }

.faq-section{ background:var(--cream); }
.faq-list details{ border-bottom:1px solid var(--line-2); padding:20px 0; }
.faq-list summary{ cursor:pointer; font-weight:600; font-size:17px; list-style:none; display:flex; justify-content:space-between; gap:18px; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; font-size:24px; line-height:1; color:var(--terracotta); }
.faq-list details[open] summary::after{ content:"–"; }
.faq-list details p{ margin:14px 0 0; color:var(--ink-soft); line-height:1.75; font-size:16px; }

.plain-links{ list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px 24px; }
.plain-links a{ text-decoration:underline; text-underline-offset:3px; }
.prose h2{ font-size:22px; margin:32px 0 10px; } .prose p{ color:var(--ink-soft); line-height:1.75; }
.value-box h3:empty, .value-box h3{ min-height:0; }
.page-header h1{ max-width:20ch; }

.quick-band{ background:var(--cream-dark); border-bottom:1px solid var(--line); padding:16px 0; }
.quick-form{ display:grid; grid-template-columns:auto 1fr 1fr 1.2fr 1fr auto; gap:10px; align-items:center; }
.quick-title{ font-size:14px; white-space:nowrap; padding-right:6px; }
.quick-form input, .quick-form select{ font:inherit; font-size:16px; padding:12px 12px; border:1.5px solid var(--line-2); border-radius:var(--radius-sm); background:#fff; min-width:0; width:100%; box-sizing:border-box; }
.quick-form input:focus, .quick-form select:focus{ outline:none; border-color:var(--terracotta); }
.quick-form .btn{ cursor:pointer; white-space:nowrap; }
@media (max-width:1050px){ .quick-form{ grid-template-columns:1fr 1fr; } .quick-title{ grid-column:1 / -1; } .quick-form .btn{ grid-column:1 / -1; justify-content:center; } }
@media (max-width:480px){ .quick-form{ grid-template-columns:1fr; } }
.owner-note{ display:flex; gap:14px; align-items:center; margin:0 0 26px; padding:14px 16px; background:rgba(255,255,255,.06); border:1px solid var(--warm-line); border-radius:var(--radius); max-width:460px; }
.owner-note img{ width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:50% 20%; flex-shrink:0; }
.owner-note p{ margin:0; font-size:14.5px; line-height:1.5; color:var(--warm-text-2); max-width:none; }

.depth h2{ font-size:clamp(24px,3vw,32px); margin:6px 0 18px; } .depth h3{ font-size:19px; margin:26px 0 8px; } .depth ul, .guide ul{ padding-left:20px; color:var(--ink-soft); line-height:1.8; }
.guide h2{ font-size:clamp(22px,2.6vw,28px); margin:36px 0 12px; } .guide p, .guide li{ font-size:17px; line-height:1.75; }
.guide-img{ width:100%; border-radius:var(--radius-lg); margin-bottom:12px; aspect-ratio:16/8; object-fit:cover; }
.guide-note{ margin-top:36px; padding:16px 18px; background:var(--cream-dark); border-radius:var(--radius); font-size:14px !important; color:var(--ink-soft); }
.guide ul, .depth ul{ list-style:disc !important; padding-left:22px !important; margin:10px 0 18px; display:block !important; }
.guide li, .depth li{ margin-bottom:8px; color:var(--ink-soft); }
.guide p, .depth p{ margin:0 0 16px; color:var(--ink-soft); }
.guide-img{ height:300px !important; aspect-ratio:auto !important; width:100%; object-fit:cover; }
@media (max-width:720px){ .guide-img{ height:200px !important; } }
.se-media img{ height:auto !important; max-height:560px; object-fit:cover; }

/* About: portrait first on phones/tablets */
@media (max-width:900px){
  .about-hero-media{ order:-1 !important; padding:104px 24px 20px !important; }
  .about-hero-media img{ max-width:300px !important; }
  .about-hero-text{ order:1 !important; padding:24px 28px 48px !important; }
}

/* Centered card groups: incomplete last rows center instead of hugging the left */
.link-grid{ display:flex !important; flex-wrap:wrap; justify-content:center; gap:16px; }
.link-card{ flex:0 1 calc(25% - 12px); min-width:0; box-sizing:border-box; text-align:center; align-items:center; }
@media (max-width:1100px){ .link-card{ flex-basis:calc(33.333% - 11px); } }
@media (max-width:760px){ .link-card{ flex-basis:calc(50% - 8px); padding:18px 14px; } }
@media (max-width:440px){ .link-card{ flex-basis:100%; } }
.plain-links{ display:flex !important; flex-wrap:wrap; justify-content:center; gap:10px 28px; text-align:center; }
.plain-links li{ flex:0 1 auto; }
.chip{ margin:4px 3px; }
.area-line, .faq-section .section-header{ text-align:center; }

/* ===== Phone redesign: compact tiles instead of an endless stack ===== */
@media (max-width:760px){
  .link-grid{ gap:8px !important; }
  .link-card{ flex-basis:calc(50% - 4px) !important; padding:0 10px !important; min-height:56px; border-radius:12px; justify-content:center; gap:0; }
  .link-card.svc em{ display:none; }
  .link-card.svc span{ font-family:'Inter',sans-serif; font-size:14px; line-height:1.25; letter-spacing:0; text-transform:none; color:var(--ink); font-weight:600; }
  .link-card.gd{ flex-basis:100% !important; min-height:0; padding:14px 16px !important; text-align:left; align-items:flex-start; }
  .link-card.gd span{ display:none; }
  .link-card.gd em{ font-size:15px; line-height:1.35; }
  .link-card.gd::after{ content:"Read guide →"; font-size:12px; color:var(--terracotta-deep); margin-top:6px; font-family:'JetBrains Mono',monospace; letter-spacing:.06em; }
  .section-header{ margin-bottom:28px !important; }
  .area-line{ margin-top:20px; }
}
@media (max-width:360px){ .link-card.svc{ flex-basis:100% !important; } }
