/* Ridgeline Roofing & Exteriors: example site (Growth package)
   Palette
   --night    #0B1419  dusk sky after sundown
   --shingle  #1E2B33  deep slate, wet architectural shingles
   --pine     #2E5A4C  ridge-line forest green
   --amber    #F0B23A  safety-ladder amber, the one action color
   --ember    #C8642B  last light on the horizon (backgrounds only)
   --stone    #F2EFE9  limestone, light sections
   --brick    #8C3B2E  alerts / damage markers only
*/
:root {
  --night: #0B1419;
  --night-2: #101C22;
  --shingle: #1E2B33;
  --shingle-2: #2A3943;
  --pine: #2E5A4C;
  --pine-dark: #234539;
  --pine-light: #9CCDB9;
  --amber: #F0B23A;
  --amber-dark: #D99A1F;
  --amber-ink: #8A5A00;
  --ember: #C8642B;
  --flashing: #C7D2D6;
  --stone: #F2EFE9;
  --stone-2: #E8E3D9;
  --line: #D9D2C4;
  --paper: #FFFFFF;
  --brick: #8C3B2E;
  --ink: #17232A;
  --ink-soft: #4A5860;
  --on-dark: #D5DEE2;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1220px;
  --radius: 14px;
  --radius-sm: 10px;
  --ridge-h: clamp(150px, 22vw, 300px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-lg: 0 40px 80px -40px rgba(8, 14, 18, .55), 0 18px 36px -24px rgba(8, 14, 18, .35);
  --tex-shingle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='44'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.35' stroke-width='1.5'%3E%3Cpath d='M0 21.5h80M0 43.5h80M20 0v22M60 0v22M0 22v22M40 22v22M80 22v22'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.05'%3E%3Cpath d='M0 1h80M0 23h80'/%3E%3C/g%3E%3C/svg%3E");
  --tex-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--stone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-dark); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  margin: 0 0 .45em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); font-weight: 900; line-height: .92; }
h2 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
h3 { font-size: 1.6rem; line-height: 1.02; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .bg-stone :focus-visible, .bg-paper :focus-visible { outline-color: var(--pine); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--shingle); padding: 12px 18px; font-weight: 700; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pine);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 14px; background: currentColor; clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 36%, 18% 100%); flex: none; }
.dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .build .eyebrow, .nevermiss .eyebrow, .cta-band .eyebrow, .bg-shingle .eyebrow { color: var(--amber); }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 38em; }
.dark .lede, .on-dark .lede { color: var(--on-dark); }
.dark, .on-dark { color: #fff; }
.dark h2, .dark h3, .on-dark h2, .on-dark h3 { color: #fff; }
[hidden] { display: none !important; }
main, .site-footer { overflow-x: clip; }
.gs { transition: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amber { color: var(--amber); }

/* Kinetic words: the h1/h2 text is wrapped word by word */
.kin .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.kin .w > span { display: inline-block; will-change: transform; }
.kin em { font-style: normal; color: var(--amber); }
.light .kin em, .bg-stone .kin em { color: var(--pine); }
.motion .kin .w > span { transform: translateY(112%) rotate(4deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px;
  font: 700 1.02rem/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-amber {
  background: linear-gradient(180deg, #F7C863 0%, #F0B23A 52%, #E5A52E 100%); color: #1A2228;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(120,70,0,.22), 0 14px 30px -14px rgba(240,178,58,.75);
}
.btn-amber:hover { color: #1A2228; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(120,70,0,.22), 0 22px 40px -16px rgba(240,178,58,.9); }
.btn-ghost { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-pine { background: linear-gradient(180deg, #386B5B, #2E5A4C 60%, #284F43); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 30px -16px rgba(46,90,76,.8); }
.btn-pine:hover { color: #fff; }
.btn-dark { background: var(--shingle); color: #fff; }
.btn-dark:hover { color: #fff; background: #12202A; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; color: #fff;
  background: rgba(9, 16, 20, .82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand:hover { color: #fff; }
.brand svg { width: 46px; height: 32px; transition: transform .5s var(--ease); }
.brand:hover svg { transform: translateY(-3px); }
.brand b { font-family: var(--display); font-weight: 900; font-size: 1.62rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; display: block; }
.brand small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #B9C6CC; margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap; color: #DCE4E8; text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: 8px; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--amber); }
.header-phone { color: #fff; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; padding: 0 4px; }
.header-phone:hover { color: var(--amber); }
.header-phone svg { width: 18px; height: 18px; }
.header-cta { min-height: 44px; padding: 0 18px; white-space: nowrap; font-size: .95rem; }
.menu-btn { display: none; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.3); color: #fff; min-height: 44px; min-width: 44px; border-radius: 10px; cursor: pointer; font: 700 .9rem var(--body); padding: 0 12px; gap: 8px; align-items: center; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn .bars::before { top: 2px; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1140px) { .header-phone span { display: none; } }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #0A1216; border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 10px 20px 24px; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility 0s linear .45s;
    box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .45s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a { min-height: 56px; font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; padding: 0 4px; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none !important; } }
@media (max-width: 560px) {
  .site-header .wrap { gap: 8px; min-height: 64px; }
  .brand small { display: none; }
  .brand b { font-size: 1.32rem; }
  .brand svg { width: 38px; height: 26px; }
  .header-cta { padding: 0 12px; font-size: .88rem; }
  .header-phone { min-width: 44px; justify-content: center; }
  .menu-btn .lbl { display: none; }
}
@media (max-width: 370px) { .brand svg { display: none; } }

/* ---------- Background systems ---------- */
.bg-stone {
  background-color: var(--stone);
  background-image: var(--tex-noise), linear-gradient(180deg, #F5F2EC, #EEEAE2);
}
.bg-paper { background-color: #FBFAF7; background-image: var(--tex-noise); }
.bg-shingle {
  color: #fff;
  background-color: var(--shingle);
  background-image: linear-gradient(180deg, rgba(11,20,25,.35), rgba(11,20,25,0) 30%, rgba(11,20,25,.5)), var(--tex-shingle);
}
.bg-night { color: #fff; background: var(--night); }
.bg-blueprint {
  color: #fff;
  background-color: #10202A;
  background-image:
    linear-gradient(rgba(156, 205, 185, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 205, 185, .11) 1px, transparent 1px),
    linear-gradient(rgba(156, 205, 185, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 205, 185, .05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.bg-blueprint .eyebrow { color: var(--amber); }
.bg-blueprint .lede { color: var(--on-dark); }
.light { color: var(--ink); }

/* Peaked edge that reads like a roofline between sections */
.peak-top { position: relative; }
.peak-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: inherit; background-color: inherit;
  clip-path: polygon(0 100%, 50% 0, 100% 100%); pointer-events: none;
}
.bg-stone.peak-top::before { background: #F5F2EC; }
.bg-paper.peak-top::before { background: #FBFAF7; }

/* Rain, hail and lightning (decorative, transform/opacity only) */
.weather { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.rain { position: absolute; left: -10%; right: -10%; top: -100%; height: 200%; opacity: .75;
  background-image: repeating-linear-gradient(103deg, transparent 0 22px, rgba(200, 220, 228, .28) 22px 23px, transparent 23px 61px);
  background-size: 100% 140px;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 38px, transparent 38px 70px, #000 70px 96px, transparent 96px 140px);
          mask-image: repeating-linear-gradient(180deg, #000 0 38px, transparent 38px 70px, #000 70px 96px, transparent 96px 140px);
  animation: rain .55s linear infinite;
}
.rain.r2 { opacity: .32; background-size: 100% 90px; animation-duration: .8s; transform: translateX(3%); }
.hail { position: absolute; left: 0; right: 0; top: -100%; height: 200%; opacity: .8;
  background-image:
    radial-gradient(circle, rgba(235, 242, 245, .95) 0 2.4px, transparent 3px),
    radial-gradient(circle, rgba(235, 242, 245, .7) 0 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(235, 242, 245, .85) 0 2px, transparent 2.6px),
    radial-gradient(circle, rgba(235, 242, 245, .5) 0 1.2px, transparent 1.8px);
  background-size: 173px 211px, 97px 143px, 251px 167px, 61px 89px; background-position: 0 0, 45px 60px, 120px 20px, 30px 140px;
  animation: hail 1.1s linear infinite;
}
.bolt-flash { position: absolute; inset: 0; background: #E8F0F4; opacity: 0; animation: flash 9s infinite; mix-blend-mode: overlay; }
@keyframes rain { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-32px, 50%, 0); } }
@keyframes hail { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-20px, 50%, 0); } }
@keyframes flash { 0%, 86%, 100% { opacity: 0; } 87% { opacity: .55; } 88% { opacity: .05; } 89.5% { opacity: .4; } 92% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rain, .hail, .bolt-flash { animation: none; } .bolt-flash { display: none; } }
.in-preview .rain, .in-preview .hail, .in-preview .bolt-flash { animation: none; }

/* ---------- Dusk sky + ridge layers (hero, page heroes, CTA) ---------- */
.sky { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 27% 8%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 22%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 78% 26%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 9%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 6% 34%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 55% 36%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, #060D11 0%, #0B161C 45%, #15232A 100%);
}
.sky-glow { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--ridge-h) + 260px); z-index: -2;
  background: linear-gradient(180deg, rgba(21,35,42,0) 0%, rgba(74, 58, 44, .55) 42%, rgba(160, 88, 40, .85) 70%, #D9893A 88%, #EFAA4A 100%);
}
.ridges { position: absolute; left: 0; right: 0; bottom: -1px; height: calc(var(--ridge-h) + 90px); z-index: -1; pointer-events: none; }
.ridges .layer { position: absolute; inset: 0; will-change: transform; }
.ridges .layer > svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.ridges .l1 > svg { height: 92%; }
.ridges .l2 > svg { height: 78%; }
.ridges .l3 > svg { height: 62%; }
.ridges .l4 > svg { height: 40%; }
.motion .hero .ridges .layer > svg { transform: translateY(45%); }
.win { animation: win 6s ease-in-out infinite alternate; }
@keyframes win { from { opacity: .95; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .win { animation: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: calc(100svh - 74px);
  padding: clamp(36px, 4vw, 64px) 0 calc(var(--ridge-h) * .38 + 24px);
  display: flex; align-items: center;
}
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero .lede { color: var(--on-dark); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 10px; border-radius: 999px; background: rgba(8, 14, 18, .55); border: 1px solid rgba(255,255,255,.12); color: #EEF3F5; font-weight: 700; font-size: .93rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trust svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.motion .hero .eyebrow, .motion .hero .lede, .motion .hero-actions, .motion .trust li { opacity: 0; transform: translateY(26px); }
.motion .hero-card { opacity: 0; transform: perspective(1200px) rotateY(-24deg) rotateX(10deg) translateY(80px) scale(.92); }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero > .wrap { grid-template-columns: 1fr; }
}

/* Hero card: a sample inspection photo report */
.hero-card {
  position: relative; border-radius: 22px; padding: 18px; color: #fff;
  background: linear-gradient(160deg, rgba(30, 43, 51, .88), rgba(10, 18, 23, .92));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); max-width: 470px; justify-self: end; width: 100%;
}
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #C2CDD2; font-weight: 700; }
.hero-card .hc-top span:last-child { background: rgba(240,178,58,.16); color: var(--amber); padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; }
.hero-card .hc-art { border-radius: 14px; overflow: hidden; background: #1A2830; }
.hero-card .hc-art svg { width: 100%; height: auto; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pin 2.2s var(--ease) infinite; }
@keyframes pin { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin-pulse { animation: none; opacity: 0; } }
.findings { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.findings li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: .95rem; }
.findings .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #1A2228; font-weight: 700; font-size: .85rem; }
.findings .sev { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(156, 205, 185, .16); color: var(--pine-light); }
.findings .sev.fix { background: rgba(240,178,58,.16); color: var(--amber); }
.inspect-tag { margin: 12px 0 0; padding: 11px 14px; border-radius: 12px; background: var(--paper); color: var(--ink); font-size: .95rem; line-height: 1.4; display: grid; gap: 2px; border-left: 6px solid var(--amber); }
.inspect-tag b { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.hero-card .sample { font-size: .78rem; color: #AEBBC1; margin: 10px 0 0; text-align: right; }
@media (max-width: 960px) { .hero-card { justify-self: start; } }

/* ---------- Stats strip ---------- */
.stats { background: #0B1317; color: #fff; padding: 8px 0 clamp(56px, 8vw, 96px); position: relative; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stats li { padding: 30px 26px 4px 0; position: relative; }
.stats li + li { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.12); }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 6vw, 5.2rem); line-height: .9; color: #fff; letter-spacing: -.01em; }
.stats b small { font-size: .42em; color: var(--amber); margin-left: 4px; letter-spacing: .02em; }
.stats li > span { display: block; margin-top: 10px; color: #B8C5CB; font-size: .98rem; max-width: 18em; }
@media (max-width: 860px) {
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; }
}

/* ---------- Signature: build-a-roof scroll sequence ---------- */
.build { position: relative; color: #fff; background: #0B1317; padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.build::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(rgba(156,205,185,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(156,205,185,.06) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 80%, transparent); }
.build > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.build h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.build .lede { color: var(--on-dark); margin-bottom: 26px; }
.scene { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08); background: #1D272C; }
.scene svg { width: 100%; height: auto; }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: b; }
.build-steps li { counter-increment: b; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.build-steps li::before { content: "0" counter(b); font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--amber); }
.build-steps h3 { font-size: 1.35rem; color: #fff; margin: 2px 0 4px; }
.build-steps p { margin: 0; color: #C4CFD4; font-size: .98rem; }
.build-meter { display: none; }
/* Pinned mode (JS adds .is-seq): one caption at a time, a progress rail */
.build.is-seq { height: 100vh; height: 100svh; padding: 0; display: flex; align-items: center; }
.build.is-seq > .wrap { width: min(var(--wrap), 100% - 40px); }
.build.is-seq .build-steps { position: relative; display: grid; gap: 0; }
.build.is-seq .build-steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); background: rgba(255,255,255,.05); }
.build.is-seq .build-steps li.active { opacity: 1; transform: none; }
.build.is-seq .build-meter { display: flex; gap: 6px; margin-top: 18px; }
.build-meter i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.build-meter i b { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.rain-g line { stroke: rgba(200,220,228,.55); stroke-width: 1.6; stroke-linecap: round; }
.rain-anim { animation: svgrain .45s linear infinite; }
@keyframes svgrain { from { transform: translate(0, -60px); } to { transform: translate(-14px, 0); } }
@media (prefers-reduced-motion: reduce) { .rain-anim { animation: none; } }
@media (max-width: 900px) {
  .build > .wrap { grid-template-columns: 1fr; }
  .build .scene { order: -1; }
  .build.is-seq > .wrap { gap: 14px; align-content: center; }
  .build.is-seq .lede { display: none; }
  .build.is-seq h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 10px; }
  .build.is-seq .build-steps li { padding: 12px 14px; }
  .build.is-seq .build-steps p { font-size: .92rem; }
}
@media (max-width: 900px) and (max-height: 700px) { .build.is-seq .eyebrow { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 90px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 20px 56px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.12rem; }
.section-head .btn, .section-head .link-arrow { justify-self: start; }
.dark .section-head p, .bg-blueprint .section-head p, .bg-shingle .section-head p { color: var(--on-dark); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Services bento (home) */
.svc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; perspective: 1400px; }
.svc-feature {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: clamp(26px, 3.5vw, 40px); min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; background: #0E181D;
  box-shadow: var(--shadow-lg);
}
.svc-feature .art { position: absolute; inset: 0; z-index: -1; }
.svc-feature .art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.svc-feature:hover .art svg { transform: scale(1.05); }
.svc-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,16,20,0) 25%, rgba(9,16,20,.88) 55%, rgba(9,16,20,.97)); }
.svc-feature .eyebrow { color: var(--amber); }
.svc-feature h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); color: #fff; margin-bottom: 12px; }
.svc-feature p { color: var(--on-dark); max-width: 30em; }
.svc-feature .more { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 700; margin-top: 6px; }
.svc-feature .more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc-feature:hover { color: #fff; }
.svc-feature:hover .more svg { transform: translateX(6px); }
.svc-list { display: grid; gap: 20px; }
.svc-row {
  position: relative; display: grid; grid-template-columns: 76px 1fr 28px; gap: 20px; align-items: center; padding: 26px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 20px 40px -32px rgba(23,35,42,.5);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.svc-row:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--pine); box-shadow: 0 30px 50px -30px rgba(23,35,42,.55); }
.svc-row .ic { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: var(--stone); color: var(--pine); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.svc-row:hover .ic { background: var(--amber); color: var(--shingle); transform: rotate(-6deg); }
.svc-row .ic svg { width: 44px; height: 44px; }
.svc-row h3 { margin-bottom: 6px; font-size: 1.6rem; }
.svc-row p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.svc-row > svg { width: 24px; height: 24px; color: var(--pine); transition: transform .35s var(--ease); }
.svc-row:hover > svg { transform: translateX(5px); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc-feature { min-height: 500px; } }
@media (max-width: 480px) { .svc-row { grid-template-columns: 60px 1fr; padding: 20px; gap: 16px; } .svc-row .ic { width: 60px; height: 60px; } .svc-row .ic svg { width: 36px; height: 36px; } .svc-row > svg { display: none; } }

/* Kinetic marquee strip */
.marquee { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0; border-block: 1px solid var(--line); background: #F7F4EE; }
.marquee .row { display: flex; gap: 0; white-space: nowrap; will-change: transform; }
.marquee .row span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; padding-right: .35em; color: var(--ink); }
.marquee .row span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee .row span i { font-style: normal; color: var(--amber); }
.marquee .row + .row { margin-top: 8px; transform: translateX(-30%); }

/* Credentials: designed list */
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.creds li { position: relative; padding: 28px 24px 26px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.creds li:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(23,35,42,.5); }
.creds li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--amber), var(--pine)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.creds li:hover::after { transform: scaleX(1); }
.creds .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--shingle); color: var(--amber); display: grid; place-items: center; margin-bottom: 20px; }
.creds .ic svg { width: 28px; height: 28px; }
.creds b { display: block; font-family: var(--display); font-size: 1.65rem; text-transform: uppercase; line-height: 1.02; margin-bottom: 8px; }
.creds span { color: var(--ink-soft); font-size: .98rem; display: block; }
@media (max-width: 960px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Placeholder photos (illustrated) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; margin: 0;
  background:
    linear-gradient(180deg, transparent 80%, #4E6A4C 80%, #3E5A3E 100%),
    linear-gradient(180deg, #9FB6C0 0%, #C9D4D6 55%, #E2D9C6 80%);
  display: flex; align-items: flex-end; isolation: isolate;
}
.ph::before { /* walls */
  content: ""; position: absolute; left: 20%; right: 20%; top: 50%; bottom: 20%; z-index: -1;
  background: repeating-linear-gradient(180deg, #E4E8E7 0 7px, #C3CCCE 7px 8px);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.06);
}
.ph::after { /* roof */
  content: ""; position: absolute; left: 13%; right: 13%; top: 20%; height: 32%; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.32) 0 1.5px, transparent 1.5px 9px), repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1px, transparent 1px 18px), #3A4A53;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.ph.after::after { background: repeating-linear-gradient(180deg, rgba(0,0,0,.38) 0 1.5px, transparent 1.5px 9px), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 18px), linear-gradient(180deg, #2E3B43, #3E4E57); }
.ph.before::after { background:
    radial-gradient(circle at 34% 40%, #8C3B2E 0 4%, transparent 5%),
    radial-gradient(circle at 58% 62%, #8C3B2E 0 3%, transparent 4%),
    radial-gradient(circle at 71% 30%, #8C3B2E 0 3.5%, transparent 4.5%),
    linear-gradient(90deg, transparent 44%, #5B4A3A 44% 52%, transparent 52%),
    repeating-linear-gradient(180deg, rgba(0,0,0,.25) 0 1.5px, transparent 1.5px 9px), repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 1px, transparent 1px 18px), #847A6E; }
.ph.before { background: linear-gradient(180deg, transparent 80%, #5E6A4E 80%, #4C5840 100%), linear-gradient(180deg, #7D8D96 0%, #A9B2B4 60%, #C3BCAE 80%); }
.ph.gutter::before { left: 6%; right: 6%; top: 34%; bottom: 20%; background: repeating-linear-gradient(180deg, #DDE3E2 0 9px, #BAC5C7 9px 10px); }
.ph.gutter::after { left: 4%; right: 4%; top: 22%; height: 14%; clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); }
.ph.gutter.before::before { background: repeating-linear-gradient(180deg, #C9C6BC 0 9px, #A9A69C 9px 10px); }
.ph.gutter.after::before { background: linear-gradient(180deg, #E9EEEF 0 7%, #9FAEB4 7% 9%, transparent 9%), linear-gradient(90deg, transparent 88%, #E9EEEF 88% 91%, transparent 91%), repeating-linear-gradient(180deg, #DDE3E2 0 9px, #BAC5C7 9px 10px); }
.ph.pine-roof::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 2px, transparent 2px 22px), linear-gradient(180deg, #2E5A4C, #24493D); }
.ph-label {
  position: relative; z-index: 2; margin: 12px; background: rgba(14, 22, 27, .86); color: #fff; font-size: .82rem; font-weight: 700;
  padding: 7px 11px; border-radius: 8px; letter-spacing: .02em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); line-height: 1.3;
}
.ph-label.ba { position: absolute; top: 0; left: 0; background: var(--amber); color: #1A2228; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }

/* Before/after slider */
.compare { position: relative; --pos: 50%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #222; touch-action: pan-y; }
.compare .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.compare .ph.layer-after { clip-path: inset(0 0 0 var(--pos)); }
.compare .ph.layer-after .ph-label.ba { left: auto; right: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317232A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.compare:focus-within { outline: 3px solid var(--pine); outline-offset: 3px; }
.ba-cap { position: absolute; left: 12px; bottom: 12px; z-index: 3; }

/* Projects slice (home) */
.proj-feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.proj-feature .compare { aspect-ratio: 16 / 11; border-radius: 22px; box-shadow: var(--shadow-lg); }
.proj-side { display: grid; gap: 20px; grid-template-rows: 1fr 1fr; }
.proj-side figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.proj-side .ph { height: 100%; aspect-ratio: auto; min-height: 200px; border-radius: 18px; transition: transform 1s var(--ease); }
.proj-side figure:hover .ph { transform: scale(1.04); }
.proj-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.proj-strip .ph { border-radius: 18px; aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .proj-feature { grid-template-columns: 1fr; } .proj-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .proj-side .ph { min-height: 160px; aspect-ratio: 4/3; } }
@media (max-width: 520px) { .proj-strip, .proj-side { grid-template-columns: 1fr; } }

/* ---------- Never miss us (AI lead package) ---------- */
.nevermiss { overflow: hidden; color: #fff;
  background-color: #12202A;
  background-image: linear-gradient(112deg, rgba(18,32,42,0) 0 56%, rgba(46,90,76,.92) 56% 100%), var(--tex-shingle);
}
.nevermiss .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 90px); align-items: center; }
.nevermiss h2 { color: #fff; }
.nevermiss .lede { color: var(--on-dark); }
.lead-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; counter-reset: ls; }
.lead-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.lead-steps .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--amber); color: var(--shingle); display: grid; place-items: center; box-shadow: 0 12px 24px -12px rgba(240,178,58,.8); }
.lead-steps .ic svg { width: 26px; height: 26px; }
.lead-steps h3 { font-size: 1.45rem; margin-bottom: 4px; color: #fff; }
.lead-steps p { margin: 0; color: var(--on-dark); }
.phone-stage { perspective: 1400px; position: relative; }
.phone {
  width: 100%; max-width: 360px; margin-inline: auto; background: linear-gradient(160deg, #1C272E, #070C0F); border-radius: 48px; padding: 13px;
  box-shadow: 0 70px 100px -40px rgba(0,0,0,.85), inset 0 0 0 2px #3A4A54, inset 0 0 0 6px #0A1014; transform-style: preserve-3d;
}
.phone-screen { background: #F3F5F4; color: var(--ink); border-radius: 36px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone-top { background: rgba(255,255,255,.96); padding: 12px 16px 12px; text-align: center; border-bottom: 1px solid #DCE3E5; }
.phone-top .notch { width: 96px; height: 26px; border-radius: 14px; background: #0A1014; margin: 0 auto 10px; }
.phone-top .av { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 6px; background: var(--shingle); display: grid; place-items: center; }
.phone-top .av svg { width: 26px; height: 18px; }
.phone-top b { display: block; font-size: 1rem; }
.phone-top span { font-size: .8rem; color: var(--ink-soft); }
.thread { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.4; }
.msg.sys { align-self: center; max-width: 100%; background: #FBEDEA; color: var(--brick); font-weight: 700; font-size: .84rem; text-align: center; padding: 6px 12px; border-radius: 999px; display: flex; gap: 6px; align-items: center; }
.msg.sys svg { width: 16px; height: 16px; }
.msg.out { align-self: flex-start; background: var(--pine); color: #fff; border-bottom-left-radius: 5px; }
.msg.in { align-self: flex-end; background: #DFE6E8; color: var(--ink); border-bottom-right-radius: 5px; }
.msg.note { align-self: center; background: var(--amber); color: #1A2228; font-weight: 700; font-size: .84rem; border-radius: 999px; padding: 7px 14px; box-shadow: 0 10px 20px -10px rgba(240,178,58,.9); }
.msg small { display: block; font-size: .74rem; opacity: .85; margin-top: 3px; }
.typing { align-self: flex-start; background: #DFE6E8; border-radius: 18px; padding: 12px 14px; display: none; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6F7F87; display: block; }
.js-anim .msg { opacity: 0; transform: translateY(16px) scale(.92); transform-origin: left bottom; transition: opacity .5s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.js-anim .msg.in { transform-origin: right bottom; }
.js-anim .msg.sys, .js-anim .msg.note { transform-origin: center; }
.js-anim .msg.show { opacity: 1; transform: none; }
.js-anim .typing.show { display: flex; }
.typing i { animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
.replay { margin: 18px auto 0; display: flex; }
.notif {
  position: absolute; left: 50%; top: 34px; z-index: 5; width: min(320px, 88%); transform: translate(-50%, -30px); opacity: 0;
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px;
  background: rgba(20, 30, 36, .94); color: #fff; font-size: .85rem; line-height: 1.3; box-shadow: 0 20px 40px -16px rgba(0,0,0,.7); pointer-events: none;
}
.notif .ni { width: 34px; height: 34px; border-radius: 9px; background: var(--pine); display: grid; place-items: center; }
.notif .ni svg { width: 18px; height: 18px; }
.notif b { display: block; font-size: .8rem; color: #C9D3D7; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .msg { opacity: 1; transform: none; transition: none; }
  .typing { display: none !important; }
  .replay { display: none; }
}
@media (max-width: 960px) {
  .nevermiss { background-image: linear-gradient(180deg, rgba(18,32,42,0) 0 58%, rgba(46,90,76,.92) 58% 100%), var(--tex-shingle); }
  .nevermiss .wrap { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: stretch; }
.review { position: relative; margin: 0; padding: 30px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px -44px rgba(23,35,42,.5); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.review.big { grid-row: span 2; padding: clamp(30px, 4vw, 52px); background: var(--shingle); color: #fff; border: 0; justify-content: space-between; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(160deg, rgba(30,43,51,.2), rgba(9,16,20,.9)), var(--tex-shingle); }
.review.big::before { content: "\201C"; position: absolute; right: 24px; top: -6px; z-index: -1; font-family: var(--display); font-weight: 900; font-size: 22rem; line-height: 1; color: var(--amber); opacity: .18; }
.review.big blockquote p { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: .005em; }
.review.big blockquote p::first-letter { color: var(--amber); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; color: #C58A12; }
.review.big .stars svg { color: var(--amber); width: 26px; height: 26px; }
.reviewer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.reviewer .av { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.2rem; background: var(--stone-2); color: var(--ink); }
.review.big .reviewer .av { background: var(--amber); color: #1A2228; }
.reviewer b { display: block; font-size: 1rem; }
.reviewer span { display: block; font-size: .92rem; color: var(--ink-soft); }
.review.big .reviewer span { color: #C3CED3; }
.job-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #E3EEE9; color: var(--pine-dark); align-self: flex-start; }
.review.big .job-chip { background: rgba(240,178,58,.16); color: var(--amber); }
.sample-note svg { width: 18px; height: 18px; flex: none; color: var(--amber-ink); }
.sample-note { font-size: .92rem; color: var(--ink-soft); margin-top: 26px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(23,35,42,.06); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review.big { grid-row: auto; } .review.big::before { font-size: 14rem; } }

/* ---------- CTA band (dusk) ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(80px, 10vw, 130px) 0 calc(var(--ridge-h) * .7 + 40px); }
.cta-band .sky-glow { height: calc(var(--ridge-h) + 160px); }
.cta-band .ridges { height: calc(var(--ridge-h) * .85); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 32px 48px; }
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.cta-band p { margin: 14px 0 0; color: var(--on-dark); font-size: 1.15rem; max-width: 34em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 96px) 0 calc(var(--ridge-h) * .75 + 40px); }
.page-hero .ridges { height: calc(var(--ridge-h) * .9); }
.page-hero .sky-glow { height: calc(var(--ridge-h) + 180px); }
.page-hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.page-hero .lede { color: var(--on-dark); }
.page-hero.storm .sky { background: linear-gradient(180deg, #070C0F, #101A1F 60%, #1A2428); }
.page-hero.storm .sky-glow { background: linear-gradient(180deg, rgba(21,35,42,0), rgba(60, 70, 72, .6) 55%, rgba(120, 104, 80, .9) 85%, #9A7A52); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .9rem; margin-bottom: 22px; color: #C2CDD2; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.crumbs a { color: #fff; display: inline-flex; min-height: 32px; align-items: center; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 12px; background: rgba(8,14,18,.55); border: 1px solid rgba(255,255,255,.12); font-weight: 700; font-size: .95rem; color: #EEF3F5; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facts svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
.motion .page-hero .crumbs, .motion .page-hero .lede, .motion .page-hero .facts li, .motion .page-hero .hero-art { opacity: 0; transform: translateY(26px); }
@media (max-width: 900px) { .page-hero > .wrap { grid-template-columns: 1fr; } .page-hero .hero-art { max-width: 420px; } }
@media (max-width: 560px) { .page-hero .hero-art { display: none; } }

/* ---------- Service page body ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-card { position: sticky; top: 104px; padding: 30px; border-radius: 22px; color: #fff; overflow: hidden; isolation: isolate; background: var(--shingle); background-image: linear-gradient(170deg, rgba(46,90,76,.55), rgba(9,16,20,.6)), var(--tex-shingle); box-shadow: var(--shadow-lg); }
.aside-card::before { content: ""; position: absolute; left: -10%; right: -10%; top: -1px; height: 70px; z-index: -1; background: var(--amber); clip-path: polygon(0 0, 100% 0, 100% 20%, 50% 100%, 0 20%); opacity: .95; }
.aside-card h2 { font-size: 2rem; color: #fff; margin-top: 54px; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card p { color: var(--on-dark); }
.aside-card .note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .95rem; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.aside-card .note svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }

.block-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.block-title h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.block-title .count { font-family: var(--display); font-weight: 900; color: var(--amber-ink); font-size: 1.1rem; letter-spacing: .1em; }
.included { list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.included li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; line-height: 1.4; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.included li:hover { transform: translateY(-3px); border-color: var(--pine); box-shadow: 0 24px 40px -30px rgba(23,35,42,.5); }
.included li::before { content: ""; width: 44px; height: 44px; border-radius: 12px; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.included li span { padding-top: 10px; display: block; }
.included li small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; margin-top: 2px; }
.included.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }
.split-lists { display: grid; grid-template-columns: 1fr; gap: 22px; }
.split-lists .panel { padding: 28px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.split-lists .panel h2 { font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.split-lists .panel h2 svg { width: 34px; height: 34px; color: var(--pine); }
.split-lists .included { margin: 0; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .split-lists .included { grid-template-columns: 1fr; } }
.split-lists .included li { background: var(--stone); border-color: transparent; }
@media (max-width: 760px) { .split-lists { grid-template-columns: 1fr; } }

.callout { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: #FBEDEA; border: 1px solid #EBC9C1; padding: 20px 22px; border-radius: 18px; margin: 0 0 40px; }
.callout .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brick); color: #fff; display: grid; place-items: center; }
.callout .ic svg { width: 26px; height: 26px; }
.callout strong { color: var(--brick); }
.callout p { margin: 0; }
.callout a { color: var(--brick); font-weight: 700; }

/* Process timeline (blueprint section) */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, rgba(156,205,185,.4) 0 6px, transparent 6px 12px); }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: linear-gradient(180deg, var(--amber), #F7D07C); transform-origin: top; border-radius: 2px; box-shadow: 0 0 18px rgba(240,178,58,.45); }
.timeline li { counter-increment: t; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 88px; padding: 0 0 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: 50%; top: 0; width: 64px; height: 64px; margin-left: -32px; border-radius: 18px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: #1A2228; background: var(--amber);
  box-shadow: 0 0 0 8px #10202A, 0 14px 30px -10px rgba(240,178,58,.7); z-index: 1;
}
.timeline .tl-card { grid-column: 1; text-align: right; padding: 22px 24px; border-radius: 18px; background: rgba(16, 32, 42, .85); border: 1px solid rgba(156,205,185,.18); }
.timeline li:nth-of-type(even) .tl-card { grid-column: 2; text-align: left; }
.timeline h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--on-dark); }
@media (max-width: 760px) {
  .timeline::before, .timeline .tl-fill { left: 30px; }
  .timeline li { grid-template-columns: 1fr; padding: 0 0 28px 84px; }
  .timeline li::before { left: 0; margin-left: 0; width: 60px; height: 60px; }
  .timeline .tl-card, .timeline li:nth-of-type(even) .tl-card { grid-column: 1; text-align: left; }
}

/* Materials / signs: swatch cards with specs */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.material { position: relative; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.material:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(23,35,42,.6); }
.material .swatch { height: 170px; position: relative; background: repeating-linear-gradient(180deg, rgba(0,0,0,.42) 0 2px, transparent 2px 24px), repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 2px, transparent 2px 46px), linear-gradient(160deg, #3B4B55, #24323A); }
.material .swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 40%); }
.material .swatch.metal { background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 3px, rgba(0,0,0,.25) 3px 5px, transparent 5px 44px), linear-gradient(160deg, #5E7480, #3D505B); }
.material .swatch.cedar { background: repeating-linear-gradient(180deg, rgba(0,0,0,.35) 0 2px, transparent 2px 24px), repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 2px, transparent 2px 30px), linear-gradient(160deg, #9A7653, #6E5038); }
.material .swatch.alum { background: linear-gradient(180deg, #F2F5F6 0 18%, #C4CED2 18% 22%, #E3E8EA 22% 70%, #A7B4B9 70% 74%, #D5DCDF 74%); }
.material .swatch.vinyl { background: repeating-linear-gradient(180deg, #D3DCD4 0 20px, #AEBBB0 20px 22px), #C8D2C9; }
.material .swatch.fiber { background: repeating-linear-gradient(180deg, rgba(0,0,0,.4) 0 2px, transparent 2px 24px), repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 2px, transparent 2px 38px), linear-gradient(160deg, #3A6F5E, #234539); }
.material .swatch.hail { background: radial-gradient(circle at 22% 38%, #191F22 0 7px, transparent 8px), radial-gradient(circle at 62% 30%, #191F22 0 9px, transparent 10px), radial-gradient(circle at 44% 70%, #191F22 0 6px, transparent 7px), radial-gradient(circle at 80% 66%, #191F22 0 8px, transparent 9px), repeating-linear-gradient(180deg, rgba(0,0,0,.42) 0 2px, transparent 2px 24px), linear-gradient(160deg, #4F5E66, #36444B); }
.material .swatch .tag-n { position: absolute; left: 14px; top: 14px; z-index: 1; font-family: var(--display); font-weight: 900; font-size: 1.1rem; color: #1A2228; background: var(--amber); border-radius: 8px; padding: 4px 9px; }
.material .m-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.material h3 { font-size: 1.6rem; margin-bottom: 8px; }
.material p { margin: 0; color: var(--ink-soft); }
.specs { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .92rem; }
.specs li { display: flex; justify-content: space-between; gap: 12px; }
.specs li span:first-child { color: var(--ink-soft); }
.specs li span:last-child { font-weight: 700; text-align: right; }
@media (max-width: 900px) { .materials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .materials { grid-template-columns: 1fr; } }

.local { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.local .prose p { color: var(--ink-soft); font-size: 1.1rem; }
@media (max-width: 900px) { .local { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease); }
.faq details[open] { border-color: var(--pine); box-shadow: 0 24px 40px -32px rgba(23,35,42,.5); }
.faq summary { cursor: pointer; padding: 20px 70px 20px 22px; font-weight: 700; font-size: 1.08rem; min-height: 64px; display: flex; align-items: center; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 12px; background: var(--stone)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5A4C' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--amber); }
.faq summary:hover { color: var(--pine); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-soft); }
.faq details > div p { margin: 0; }
.faq details[open] > div { animation: faqin .45s var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq details[open] > div { animation: none; } }

/* ---------- Projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; padding: 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.chip { min-height: 46px; padding: 0 18px; border-radius: 11px; border: 0; background: transparent; color: var(--ink); font: 700 .98rem var(--body); cursor: pointer; transition: background-color .25s, color .25s; }
.chip:hover { background: var(--stone); }
.chip[aria-pressed="true"] { background: var(--shingle); color: #fff; }
.chip[aria-pressed="true"]:hover { background: var(--shingle-2); }
.chip:focus-visible { outline-color: var(--pine); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; grid-auto-flow: dense; }
.job { grid-column: span 4; background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: 0 30px 50px -44px rgba(23,35,42,.6); transition: box-shadow .5s var(--ease); }
.job:hover { box-shadow: 0 40px 70px -40px rgba(23,35,42,.6); }
.job.feature { grid-column: span 8; grid-row: span 2; }
.job.feature .compare { aspect-ratio: auto; flex: 1; min-height: 420px; }
.job.wide { grid-column: span 6; }
.job[hidden] { display: none; }
.job .compare { border-radius: 0; }
.job .body { padding: 20px 22px 24px; }
.job h3 { font-size: 1.55rem; margin-bottom: 6px; }
.job.feature h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.job p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.tag { display: inline-flex; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pine-dark); background: #E3EEE9; padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); margin: 0 0 18px 14px; }
.drag-hint svg { width: 18px; height: 18px; color: var(--pine); }
@media (max-width: 1000px) { .job, .job.wide { grid-column: span 6; } .job.feature { grid-column: 1 / -1; grid-row: auto; } .job.feature .compare { min-height: 0; aspect-ratio: 16 / 10; flex: none; } }
@media (max-width: 640px) { .job, .job.wide, .job.feature { grid-column: 1 / -1; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { position: relative; background: var(--paper); border-radius: 22px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(23,35,42,.6); }
.post-card .post-art { aspect-ratio: 16 / 8; overflow: hidden; background: #15232A; }
.post-card .post-art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.post-card:hover .post-art svg { transform: scale(1.06); }
.post-card .pc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .88rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 10px; }
.post-meta .tag { margin: 0; }
.post-card time { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.post-card h3 { font-size: 1.75rem; margin: 4px 0 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { color: var(--pine); }
.post-card h3 a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--pine); outline-offset: 3px; }
.post-card p { color: var(--ink-soft); margin-bottom: 0; }
.post-card .read { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--pine); }
.post-card .read svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.post-card:hover .read svg { transform: translateX(5px); }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--shingle); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.post-card.featured .post-art { aspect-ratio: auto; min-height: 380px; }
.post-card.featured .pc-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post-card.featured h3 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.post-card.featured h3 a { color: #fff; }
.post-card.featured h3 a:hover { color: var(--amber); }
.post-card.featured p { color: var(--on-dark); font-size: 1.12rem; }
.post-card.featured time, .post-card.featured .post-meta { color: #C3CED3; }
.post-card.featured .tag { background: rgba(240,178,58,.16); color: var(--amber); }
.post-card.featured .read { color: var(--amber); }
.post-card.featured:focus-within { outline-color: var(--amber); }
@media (max-width: 860px) { .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .post-art { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 700px) { .posts { grid-template-columns: 1fr; } }

.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 70; background: var(--amber); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.article { position: relative; max-width: 800px; margin-inline: auto; background: var(--paper); padding: clamp(32px, 6vw, 72px) clamp(20px, 6vw, 80px); border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 50px 90px -60px rgba(23,35,42,.6); }
.article h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.article .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .95rem; margin-bottom: 2em; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article .meta .av { width: 44px; height: 44px; border-radius: 50%; background: var(--shingle); color: var(--amber); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.article .intro { font-size: 1.22rem; line-height: 1.6; }
.article .intro::first-letter { float: left; font-family: var(--display); font-weight: 900; font-size: 5.2rem; line-height: .8; margin: 6px 12px 0 0; color: var(--pine); }
.tips { list-style: none; margin: 2em 0; padding: 0; display: grid; gap: 14px; counter-reset: tip; }
.tips li { counter-increment: tip; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px; border-radius: 18px; background: var(--stone); }
.tips li::before { content: counter(tip); width: 64px; height: 64px; border-radius: 16px; background: var(--shingle); color: var(--amber); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 2.2rem; }
.tips h3 { font-size: 1.45rem; margin: 4px 0 6px; }
.tips p { margin: 0; color: var(--ink-soft); }
.article .when { padding: 26px; border-radius: 18px; background: var(--shingle); color: #fff; background-image: linear-gradient(160deg, rgba(46,90,76,.5), rgba(9,16,20,.5)), var(--tex-shingle); }
.article .when h3 { color: #fff; font-size: 1.8rem; }
.article .when p { color: var(--on-dark); }
.article .when p:last-child { margin: 0; }
@media (max-width: 520px) { .tips li { grid-template-columns: 1fr; } .tips li::before { width: 52px; height: 52px; font-size: 1.8rem; } }

/* ---------- Estimate form ---------- */
.explain { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: var(--shingle); color: #fff; padding: 18px 22px; border-radius: 18px; font-weight: 700; margin-bottom: 30px; box-shadow: var(--shadow-lg); }
.explain .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--amber); color: #1A2228; display: grid; place-items: center; }
.explain svg { width: 28px; height: 28px; }
.explain span { color: var(--on-dark); font-weight: 400; display: block; font-size: .96rem; }
.est-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .est-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--line); box-shadow: 0 50px 90px -60px rgba(23,35,42,.6); overflow: hidden; }
.progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 34px; counter-reset: pg; }
.progress::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: var(--line); border-radius: 2px; }
.progress li { counter-increment: pg; position: relative; text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; display: grid; justify-items: center; gap: 8px; }
.progress li::before { content: counter(pg); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--line); color: var(--ink-soft); font-family: var(--display); font-weight: 900; font-size: 1.25rem; position: relative; z-index: 1; transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.progress li + li::after { content: ""; position: absolute; right: 50%; width: 100%; top: 21px; height: 3px; background: var(--pine); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.progress li.done + li::after, .progress li.done + li.current::after, .progress li.done + li.done::after { transform: scaleX(1); }
.progress li.done::before { content: "\2713"; background: var(--pine); border-color: var(--pine); color: #fff; }
.progress li.current::before { border-color: var(--amber); background: var(--amber); color: #1A2228; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(240,178,58,.25); }
.progress li.current { color: var(--ink); }
@media (max-width: 480px) { .progress li span { display: none; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; text-transform: uppercase; margin-bottom: 22px; padding: 0; }
legend:focus { outline: none; }
legend:focus-visible { outline: 3px solid var(--pine); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 8px; }
.field .hint { display: block; font-size: .92rem; color: var(--ink-soft); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; color: var(--ink); background: #FAF9F6;
  border: 1.5px solid #8D9DA5; border-radius: 12px; transition: border-color .2s, box-shadow .3s, background-color .2s;
}
input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--pine); background: #fff; box-shadow: 0 0 0 4px rgba(46,90,76,.22); }
[aria-invalid="true"] { border-color: var(--brick) !important; background: #FFF7F5 !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid #8D9DA5; border-radius: 12px; cursor: pointer; font-weight: 700; background: #FAF9F6; transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease); }
.opt span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8D9DA5; flex: none; transition: all .25s; }
.opt input[type="checkbox"] + span::before { border-radius: 5px; }
.opt span:hover { border-color: var(--pine); }
.opt input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.opt input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5A4C' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.opt input:checked + span { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.06); } }
.opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .opt input:checked + span { animation: none; } }
.file-drop { display: grid !important; justify-items: center; gap: 4px; border: 2px dashed #8D9DA5; border-radius: 16px; padding: 26px 18px; text-align: center; background: #FAF9F6; transition: border-color .2s, background-color .2s; }
.file-drop:hover { border-color: var(--pine); background: #F2F7F5; }
.file-drop .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--shingle); color: var(--amber); display: grid; place-items: center; margin-bottom: 6px; }
.file-drop .ic svg { width: 26px; height: 26px; }
.file-drop input { display: block; margin: 12px auto 0; max-width: 100%; font: inherit; min-height: 44px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.form-nav .btn-ghost:hover { background: var(--ink); color: #fff; }
.form-msg { background: #E2EFEA; border-left: 6px solid var(--pine); padding: 18px 20px; border-radius: 0 14px 14px 0; margin-top: 18px; }
.err { color: var(--brick); font-weight: 700; font-size: .95rem; margin: 6px 0 0; }

/* PDF preview on a clipboard */
.sheet-wrap { position: sticky; top: 104px; }
@media (max-width: 980px) { .sheet-wrap { position: static; } }
.sheet-label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 10px; }
.clipboard { position: relative; padding: 46px 18px 18px; border-radius: 22px; background: linear-gradient(160deg, #3C4A52, #1E2B33); box-shadow: 0 60px 90px -50px rgba(9,16,20,.9), inset 0 1px 0 rgba(255,255,255,.14); }
.clipboard::before { content: ""; position: absolute; left: 50%; top: 12px; width: 150px; height: 46px; margin-left: -75px; z-index: 2; border-radius: 10px 10px 16px 16px; background: linear-gradient(180deg, #E1E7EA, #9AA8AE); box-shadow: 0 8px 14px -6px rgba(0,0,0,.6), inset 0 -3px 0 rgba(0,0,0,.15); }
.clipboard::after { content: ""; position: absolute; left: 50%; top: 20px; width: 40px; height: 10px; margin-left: -20px; z-index: 3; border-radius: 6px; background: #46555E; }
.sheet {
  position: relative; background: #FFFEFB; aspect-ratio: 8.5 / 11; padding: 8% 7% 6%;
  box-shadow: 0 2px 0 #E2DED4, 0 4px 0 #EEEBE3, 0 20px 30px -20px rgba(0,0,0,.6);
  font-family: "Courier New", ui-monospace, monospace; font-size: .82rem; color: #222; display: flex; flex-direction: column; gap: 10px;
  border-radius: 4px; overflow: hidden;
  background-image: linear-gradient(transparent 0 0), var(--tex-noise);
}
.sheet header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 3px solid var(--shingle); padding-bottom: 8px; font-family: var(--body); }
.sheet header b { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; display: block; line-height: 1; color: var(--shingle); }
.sheet header span { font-size: .72rem; color: #555; }
.sheet h4 { font-family: var(--body); font-size: .7rem; letter-spacing: .14em; color: #fff; background: var(--shingle); padding: 4px 7px; margin: 4px 0 0; border-radius: 2px; }
.sheet dl { margin: 0; display: grid; grid-template-columns: 38% 1fr; }
.sheet dt { font-family: var(--body); font-size: .72rem; color: #555; padding: 4px 0; border-bottom: 1px solid #DDD; }
.sheet dd { margin: 0; padding: 4px 0; border-bottom: 1px solid #DDD; min-height: 1.6em; color: #1A4BA0; word-break: break-word; }
.sheet dd:empty::after { content: "____________"; color: #BBB; }
.sheet .boxes { font-family: var(--body); font-size: .75rem; display: flex; gap: 8px 14px; flex-wrap: wrap; padding: 4px 0; }
.sheet .box { display: inline-flex; align-items: center; gap: 5px; }
.sheet .box i { width: 13px; height: 13px; border: 1.5px solid #333; display: inline-grid; place-items: center; font-style: normal; font-size: .7rem; line-height: 1; color: #1A4BA0; font-weight: 700; }
.sheet .sig { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font-family: var(--body); font-size: .7rem; color: #555; border-top: 1px solid #999; padding-top: 6px; }
.sheet .flash { animation: inkflash .7s ease; }
@keyframes inkflash { 0% { opacity: .2; background: rgba(240,178,58,.35); } 100% { opacity: 1; background: transparent; } }
.stamp { position: absolute; right: 8%; top: 38%; z-index: 4; padding: 10px 18px; border: 4px solid #2E7A4C; color: #2E7A4C; border-radius: 10px; font-family: var(--display); font-weight: 900; font-size: 2rem; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg); opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.stamp.on { opacity: .9; animation: stamp .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.6); } to { opacity: .9; transform: rotate(-12deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .sheet .flash, .stamp.on { animation: none; } }
@media (max-width: 480px) { .sheet { aspect-ratio: auto; font-size: .78rem; } .clipboard { padding: 40px 10px 10px; } }
.est-aside { display: grid; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.est-aside li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.est-aside svg { width: 20px; height: 20px; color: var(--pine); flex: none; margin-top: 2px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { font-size: 1.08rem; }
.pull { margin: 34px 0; padding: 0 0 0 28px; border-left: 6px solid var(--amber); }
.pull p { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.02; margin: 0 0 10px; color: var(--ink); }
.pull cite { font-style: normal; font-weight: 700; color: var(--ink-soft); }
.license-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.license-table th, .license-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.license-table tr:last-child td { border-bottom: 0; }
.license-table th { background: var(--shingle); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.license-table td:first-child { font-weight: 700; }
.license-table td:last-child { font-family: "Courier New", ui-monospace, monospace; color: var(--pine-dark); }
.license-table tbody tr:hover td { background: #F7F5F0; }
.gbp { background: #fff; border-radius: 18px; border: 1px solid #DADCE0; padding: 20px; font-family: Arial, Helvetica, sans-serif; color: #202124; box-shadow: 0 50px 80px -50px rgba(23,35,42,.55); }
.gbp .map { height: 160px; border-radius: 12px; margin: -4px -4px 16px; background:
  linear-gradient(90deg, transparent 48%, #FFF 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 58%, #FFF 58% 62%, transparent 62%),
  linear-gradient(35deg, transparent 70%, #F7E2A0 70% 73%, transparent 73%),
  #DDE8DC; position: relative; }
.gbp .map::after { content: ""; position: absolute; left: 50%; top: 40%; width: 24px; height: 24px; background: #C5221F; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); }
.gbp h3 { font-family: Arial, Helvetica, sans-serif; text-transform: none; font-weight: 400; font-size: 1.4rem; margin-bottom: 4px; }
.gbp .rating { display: flex; align-items: center; gap: 6px; font-size: .95rem; color: #3C4043; }
.gbp .rating b { font-weight: 400; }
.gbp .rating .s { color: #B06000; letter-spacing: 1px; }
.gbp .cat { color: #5F6368; font-size: .95rem; margin: 2px 0 12px; }
.gbp .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.gbp .btns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #DADCE0; color: #1A57C6; text-decoration: none; font-size: .95rem; }
.gbp .btns a:hover { background: #F1F5FE; }
.gbp dl { margin: 0; font-size: .95rem; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; }
.gbp dt { font-weight: 700; }
.gbp dd { margin: 0; color: #3C4043; }
.gbp .demo-note { font-size: .85rem; color: #5F6368; margin: 12px 0 0; }
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1400px; }
.crew figure { margin: 0; background: var(--paper); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.crew figure:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(23,35,42,.6); }
.crew .portrait { aspect-ratio: 4 / 5; position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #2A3943 0%, #3D4D55 60%, #C8642B 130%); }
.crew figure:nth-child(2) .portrait { background: linear-gradient(180deg, #234539, #3A6F5E 70%, #C8642B 140%); }
.crew figure:nth-child(3) .portrait { background: linear-gradient(180deg, #4A3A2E, #7A5A40 70%, #F0B23A 150%); }
.crew figure:nth-child(4) .portrait { background: linear-gradient(180deg, #1E2B33, #46555E 70%, #9CCDB9 150%); }
.crew .portrait::before { content: ""; position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); transform: translateX(-50%); z-index: -1; }
.crew .portrait::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 68%; height: 36%; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.22); transform: translateX(-50%); z-index: -1; }
.crew figcaption { padding: 16px 18px 20px; }
.crew figcaption b { display: block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.crew figcaption span { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 960px) { .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .crew { grid-template-columns: 1fr; } }
.area-map { position: relative; overflow: hidden; isolation: isolate; background: var(--pine); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); background-image: linear-gradient(160deg, rgba(46,90,76,.6), rgba(23,52,43,.95)), var(--tex-shingle); }
.area-map h2 { color: #fff; }
.area-map p { color: #E2EFEA; }
.area-map svg.map-art { width: 100%; height: auto; margin: 6px 0 22px; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.towns li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-weight: 700; }
.towns li::before { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--amber); flex: none; }
.mini-form { display: grid; gap: 4px; padding: clamp(22px, 3.5vw, 34px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 50px 90px -60px rgba(23,35,42,.6); }
.mini-form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; color: #C9D3D7; padding: 0 0 110px; background: #0B1317; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--tex-shingle); opacity: .7; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.site-footer .f-ridge { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; }
.f-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 48px; }
.f-cta p { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .95; color: #fff; margin: 0; }
.f-cta p span { color: var(--amber); }
.f-cta .phone-big { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--amber); text-decoration: none; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.f-cta .phone-big svg { width: .8em; height: .8em; }
.f-cta .phone-big:hover { color: #fff; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .18em; color: var(--amber); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #D5DEE2; text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.site-footer li a:hover { color: #fff; transform: translateX(4px); }
.site-footer a:hover { color: var(--amber); }
.site-footer p { margin-bottom: .7em; }
.site-footer p a { color: #D5DEE2; }
.site-footer .brand { margin-bottom: 16px; }
.f-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.f-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); font-size: .82rem; font-weight: 700; color: #D5DEE2; }
.f-badges svg { width: 16px; height: 16px; color: var(--amber); }
.legal { grid-column: 1 / -1; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #AFBCC2; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-cta { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }

/* Iframe previews: keep things still and fully visible */
.in-preview .js-anim .msg { opacity: 1; transform: none; }
.in-preview .typing { display: none !important; }

/* Gutter hero: water running along the gutter and dripping */
.flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.drip { transform-box: fill-box; animation: drip 1.05s ease-in infinite; opacity: 0; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(80px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow, .drip { animation: none; } .drip { opacity: 1; } }
.in-preview .flow, .in-preview .drip { animation: none; }
.page-hero.no-art > .wrap { grid-template-columns: 1fr; }
