/* ===== A Simple Idea v24: home page. No column grid, no hairlines. ===== */
:root{
  --cream:#F4EFE3; --sand:#E6DEC8; --paper:#FFFDF6; --navy:#14302A; --soft:#46594E; --gold:#E49A5C; --gold-ink:#8A3F12; --gold-lt:#F0B887; --mist:#B5CBBE; --edge:#D6CFB8;
  --lift:0 1px 2px rgba(20,48,42,.08),0 12px 32px -8px rgba(20,48,42,.22);
  --deep:0 2px 6px rgba(20,48,42,.1),0 32px 64px -20px rgba(20,48,42,.38);
  --r-band:clamp(28px,4vw,56px); --ease:cubic-bezier(.2,.7,.2,1);
  --font-display:'Jost',system-ui,sans-serif; --font-body:'Work Sans',system-ui,sans-serif; --font-mono:'IBM Plex Mono',ui-monospace,monospace;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--cream); color:var(--navy); font-family:var(--font-body); font-size:1.0625rem; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }
h1,h2,h3{ font-family:var(--font-display); margin:0; color:var(--navy); }
p{ margin:0; }
.mono{ font-family:var(--font-mono); font-size:.8rem; letter-spacing:.02em; }
.small{ font-size:.9rem; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--navy); color:var(--cream); padding:10px 16px; z-index:200; border-radius:8px; }
.skip:focus{ left:8px; }
:focus-visible{ outline:3px solid var(--navy); outline-offset:3px; border-radius:4px; }
.wrap{ width:100%; max-width:1200px; margin-inline:auto; padding-inline:clamp(20px,5vw,48px); }
.wrap.narrow{ max-width:808px; }
section[id]{ scroll-margin-top:96px; }

/* ---- buttons ---- */
.btn{ display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:0 26px; border-radius:12px; border:2px solid transparent; font:600 .95rem/1 var(--font-body); text-decoration:none; cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s; }
.btn:hover{ transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ background:var(--navy); color:var(--gold-lt); }
.btn-ghost{ border-color:var(--navy); color:var(--navy); background:transparent; }
.btn-ghost:hover{ background:var(--navy); color:var(--cream); }
.btn-ghost-light{ border-color:var(--cream); color:var(--cream); background:transparent; }
.btn-ghost-light:hover{ background:var(--cream); color:var(--navy); }
.btn-navy{ background:var(--navy); color:var(--cream); }
.btn-navy:hover{ background:#0A201B; color:var(--gold-lt); }
.btn-sm{ min-height:44px; padding:0 20px; }
.btns{ display:flex; flex-wrap:wrap; gap:14px; }

/* ---- the S, at three scales: mark, logo, monument ---- */
.mark{ display:inline-block; width:18px; height:8px; margin-right:12px; vertical-align:middle; flex:none;
  background:linear-gradient(currentColor 0 0) 0 0/100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 3px/100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 6px/100% 2px no-repeat; }
.eyebrow{ display:flex; align-items:center; font:500 .95rem/1.2 var(--font-body); color:var(--gold-ink); }
.eyebrow.gold{ color:var(--gold-lt); }
.eyebrow.dark{ color:var(--navy); }
.brand{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; font:600 1.15rem/1 var(--font-display); color:inherit; }
.brand .s{ width:28px; height:36px; color:inherit; }
.ghost{ position:absolute; pointer-events:none; fill:none; z-index:0; }
.g-work{ top:-6%; right:-4%; height:62%; width:auto; color:var(--navy); opacity:.055; }
.g-foot{ right:-3%; bottom:-14%; height:90%; width:auto; color:var(--gold-lt); opacity:.1; }
.ghost use{ stroke:currentColor; }
.stitch{ display:flex; justify-content:center; gap:3px; padding:clamp(24px,4vw,48px) 0 0; }
.stitch i{ width:48px; height:2px; background:var(--gold); border-radius:2px; transform:skewX(-20deg); }
.stitch{ flex-direction:column; align-items:center; gap:3px; }

/* ---- header ---- */
.hdr{ position:sticky; top:0; z-index:100; background:color-mix(in srgb,var(--cream) 92%,transparent); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid transparent; transition:border-color .25s; }
.hdr.scrolled{ border-bottom-color:var(--sand); }
.hdr-in{ display:flex; align-items:center; gap:24px; min-height:72px; }
.hdr .nav{ margin-left:auto; }
.hdr .nav ul{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.hdr .nav a{ font:500 .95rem/1 var(--font-body); text-decoration:none; padding:8px 0; background:linear-gradient(var(--gold),var(--gold)) 0 100%/0 2px no-repeat; transition:background-size .25s var(--ease); }
.hdr .nav a:hover{ background-size:100% 2px; }
.hdr-call{ font:500 .9rem/1 var(--font-mono); text-decoration:none; white-space:nowrap; }
.menu-btn{ display:none; background:none; border:0; width:44px; height:44px; padding:0; cursor:pointer; flex-direction:column; justify-content:center; align-items:center; gap:5px; }
.menu-btn i{ display:block; width:24px; height:2px; background:var(--navy); border-radius:2px; }

/* ---- hero ---- */
.hero{ position:relative; z-index:3; overflow-x:clip; padding-top:12px; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:stretch; height:clamp(480px,calc(100svh - 112px),640px); }
.hero-copy{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:clamp(14px,2.2vh,22px); padding:0 clamp(20px,3vw,40px) 40px max(clamp(20px,5vw,48px),calc((100vw - 1200px)/2 + 48px)); }
.hero h1{ text-wrap:balance; font-weight:700; font-size:clamp(2.5rem,min(4.6vw,8.2vh),4.5rem); line-height:1; letter-spacing:-.03em; }
.hero h1 .hl{ color:var(--gold-ink); display:block; }
.lead{ font-size:1.25rem; line-height:1.5; color:var(--soft); max-width:42ch; }
.byline{ display:flex; align-items:center; gap:14px; margin-top:8px; }
.byline img{ width:48px; height:48px; border-radius:50%; object-fit:cover; filter:grayscale(1); }
.byline p{ display:flex; flex-direction:column; line-height:1.3; }
.byline strong{ font-weight:600; }
.byline .mono{ color:var(--soft); }
.stage{ position:relative; background:var(--gold); border-radius:32px 0 0 32px; margin-bottom:-40px; box-shadow:var(--lift); }
.stage-s{ position:absolute; right:3%; bottom:-4%; height:64%; width:auto; color:var(--navy); z-index:0; }
.car{ position:absolute; inset:0; }
.slide{ position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity 1.2s ease,visibility 0s 1.2s; }
.slide.is-active{ opacity:1; visibility:visible; transition:opacity 1.2s ease; }
.b-hero{ position:absolute; top:11%; left:8%; width:84%; z-index:1; }
.car-bar{ position:absolute; top:3%; left:8%; right:8%; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.car-cap{ color:var(--navy); margin:0; font-family:var(--font-body); font-weight:600; font-size:.95rem; letter-spacing:0; }
.car-ctl{ display:flex; align-items:center; gap:8px; }
.car-dot{ width:12px; height:12px; padding:0; border-radius:50%; border:2px solid var(--navy); background:transparent; cursor:pointer; }
.car-dot.is-on{ background:var(--navy); }
.car-pause{ display:inline-flex; gap:3px; align-items:center; justify-content:center; width:28px; height:28px; padding:0; margin-left:4px; border-radius:50%; border:2px solid var(--navy); background:transparent; cursor:pointer; }
.car-pause i{ width:3px; height:10px; background:var(--navy); border-radius:1px; }
.car-pause.is-paused i:first-child{ width:0; height:0; background:none; border-left:9px solid var(--navy); border-top:5px solid transparent; border-bottom:5px solid transparent; border-radius:0; }
.car-pause.is-paused i:last-child{ display:none; }
.car-dot:focus-visible,.car-pause:focus-visible{ outline:3px solid var(--navy); outline-offset:3px; }
.p-hero{ position:absolute; left:2%; bottom:10%; width:26%; z-index:2; transform:rotate(-3deg); }
.stage-cap{ position:absolute; left:34%; bottom:6%; color:var(--navy); z-index:2; }

/* ---- device frames (real screenshots in CSS frames) ---- */
.browser{ display:block; background:var(--paper); border-radius:14px; padding:0 10px 10px; box-shadow:var(--deep); text-decoration:none; }
.browser .bar{ height:30px; display:flex; align-items:center; gap:6px; padding-left:4px; }
.browser .bar i{ width:8px; height:8px; border-radius:50%; background:var(--edge); }
.browser img{ width:100%; border-radius:4px; outline:1px solid var(--sand); }
.phone{ border:8px solid var(--navy); border-radius:32px; background:#fff; box-shadow:var(--deep); overflow:hidden; aspect-ratio:400/720; }
.phone img{ width:100%; height:100%; object-fit:cover; object-position:top; border-radius:0; }
.p-map{ aspect-ratio:864/1567; border-color:var(--navy); outline:1px solid rgba(240,184,135,.35); outline-offset:0; }
.p-map img{ object-position:top; }

/* ---- bands ---- */
.band{ position:relative; margin-top:-1px; border-radius:var(--r-band) var(--r-band) 0 0; padding-block:clamp(48px,6vw,88px); }
.band.navy{ background:var(--navy); color:var(--cream); }
.band.sand{ background:var(--sand); overflow:hidden; }
.band.gold{ background:var(--gold); padding-bottom:clamp(120px,14vw,200px); }
.sec-head{ display:flex; flex-direction:column; gap:12px; margin-bottom:clamp(32px,5vw,64px); max-width:62ch; }
.sec-head h2,.map h2,.contact h2{ font-weight:600; font-size:clamp(2rem,3.6vw,3.2rem); line-height:1.05; letter-spacing:-.02em; }
.sec-head p{ color:var(--soft); font-size:1.1rem; }
.row-head{ flex-direction:row; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; max-width:none; }

/* ---- map band ---- */
.map{ padding-top:clamp(100px,10vw,128px); padding-bottom:0; z-index:1; }
.map-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:clamp(32px,6vw,96px); align-items:start; }
.map-copy{ display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding-bottom:clamp(48px,7vw,96px); }
.map h2{ color:var(--cream); font-size:clamp(2.2rem,4.2vw,3.8rem); font-weight:700; line-height:1; letter-spacing:-.025em; }
.map .lead{ color:var(--cream); max-width:44ch; }
.map .lead em{ font-style:normal; color:var(--gold-lt); font-weight:600; }
.map p{ color:var(--mist); max-width:48ch; }
.map .cap{ color:var(--mist); font-size:.75rem; max-width:48ch; }
.map-art{ position:relative; margin-bottom:-120px; z-index:2; }
.map-art::before{ content:""; position:absolute; inset:10% -20% -5% -20%; background:radial-gradient(closest-side,rgba(240,184,135,.2),transparent); z-index:-1; }
.p-map{ width:100%; max-width:360px; margin-inline:auto; }

/* ---- features ---- */
.features{ padding-block:clamp(48px,6vw,88px); padding-top:clamp(64px,6vw,88px); }
.cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.card{ background:var(--paper); border-radius:20px; overflow:hidden; box-shadow:var(--lift); display:flex; flex-direction:column; transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.card:hover{ transform:translateY(-4px); box-shadow:var(--deep); }
.card-img{ aspect-ratio:4/3; overflow:hidden; background:var(--sand); }
.card-img img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.card-img.tint{ background:var(--gold); display:flex; justify-content:center; align-items:flex-end; padding-top:20px; }
.p-card{ width:38%; border-bottom:0; border-radius:26px 26px 0 0; box-shadow:none; aspect-ratio:400/560; }
.card-body{ padding:24px 28px 32px; display:flex; flex-direction:column; gap:12px; flex:1; }
.card ul{ list-style:none; margin:auto 0 0; padding:16px 0 0; display:flex; flex-direction:column; gap:0; }
.card li{ padding:10px 0; border-top:1px solid var(--sand); font-weight:500; font-size:.95rem; display:flex; align-items:center; gap:12px; color:var(--navy); }
.card li::before{ content:""; width:8px; height:8px; border-radius:2px; background:var(--gold); flex:none; transform:skewX(-20deg); }
.feat-head{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:clamp(24px,5vw,80px); align-items:end; margin-bottom:clamp(32px,5vw,56px); }
.feat-head h2{ text-wrap:balance; font-weight:600; font-size:clamp(2rem,3.6vw,3.2rem); line-height:1.05; letter-spacing:-.02em; }
.feat-head p{ color:var(--soft); font-size:1.1rem; }
.card h3{ font-size:1.4rem; font-weight:600; }
.card p{ color:var(--soft); }

/* ---- work ---- */
.work .wrap{ position:relative; z-index:1; }
.proj{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(32px,5vw,72px); align-items:center; margin-top:clamp(56px,8vw,96px); }
.proj.flip{ grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
.proj.flip .proj-art{ order:2; }
.proj-art{ position:relative; padding-bottom:6%; }
.p-proj{ position:absolute; bottom:0; width:26%; transition:transform .5s var(--ease); }
.tilt-r{ right:-3%; transform:rotate(2.5deg); }
.tilt-l{ left:-3%; transform:rotate(-2.5deg); }
.proj-art:hover .p-proj{ transform:none; }
.proj-copy{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.proj-copy .mono{ color:var(--gold-ink); }
.proj-copy h3{ font-size:2rem; font-weight:600; letter-spacing:-.01em; }
.proj-copy p{ color:var(--soft); }
.proj-copy .note{ color:var(--navy); }

/* ---- reviews ---- */
.reviews{ padding-block:clamp(48px,6vw,88px) clamp(24px,3vw,40px); }
.rev-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rev{ position:relative; margin:0; background:var(--paper); border-radius:20px; box-shadow:var(--lift); padding:48px 36px 32px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; }
.rev .q{ position:absolute; left:30px; top:6px; font:700 5rem/1 var(--font-display); color:var(--gold); }
.rev blockquote{ margin:0; padding-top:16px; }
.rev blockquote p{ font:400 1.35rem/1.4 var(--font-display); color:var(--navy); }
.rev figcaption{ display:flex; flex-direction:column; gap:2px; }
.rev figcaption strong{ font-weight:600; }
.rev figcaption span{ color:var(--soft); }
.rev figcaption em{ font-style:normal; color:var(--gold-ink); margin-top:8px; }
.reviews .small{ margin-top:20px; color:var(--soft); }

/* ---- faq ---- */
.faq{ padding-block:clamp(32px,4vw,56px) clamp(48px,6vw,88px); }
.faq-list details{ border-bottom:1px solid var(--sand); }
.faq-list details:first-child{ border-top:1px solid var(--sand); }
.faq-list summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 4px; font:500 1.2rem/1.3 var(--font-display); }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list .ind{ position:relative; width:18px; height:18px; flex:none; }
.faq-list .ind::before,.faq-list .ind::after{ content:""; position:absolute; left:0; right:0; top:8px; height:2px; background:var(--gold-ink); transition:transform .25s var(--ease); }
.faq-list .ind::after{ transform:rotate(90deg); }
.faq-list details[open] .ind::after{ transform:rotate(0); }
.faq-list .answer{ color:var(--soft); max-width:60ch; padding:0 4px 24px; }
.faq-list .answer a{ color:var(--gold-ink); }

/* ---- contact ---- */
.contact{ z-index:1; }
.contact-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,96px); align-items:start; }
.contact-copy{ display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
.contact .lead{ color:var(--navy); }
.bigcall a{ font:600 clamp(1.8rem,3.2vw,2.6rem)/1.1 var(--font-display); text-decoration:none; letter-spacing:-.01em; }
.contact .mono a{ text-decoration:underline; text-underline-offset:3px; }
.qform{ background:var(--paper); border-radius:20px; box-shadow:var(--deep); padding:clamp(24px,3vw,36px); display:flex; flex-direction:column; gap:18px; margin-top:-176px; }
.qform label{ display:block; font-weight:500; font-size:.95rem; }
.qform label input[type=text],.qform label input[type=tel]{ display:block; width:100%; margin-top:6px; }
.qform .opt{ font-weight:400; color:var(--soft); }
.qform input[type=text],.qform input[type=tel]{ height:48px; border:1.5px solid rgba(20,48,42,.18); border-radius:10px; padding:0 14px; font:400 1rem var(--font-body); background:#fff; color:var(--navy); }
.qform input:focus{ outline:3px solid var(--gold); outline-offset:1px; border-color:var(--navy); }
.qform fieldset{ border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px; }
.qform legend{ font-weight:500; font-size:.95rem; margin-bottom:8px; padding:0; }
.chip{ position:relative; display:inline-block !important; }
.chip input{ position:absolute; opacity:0; inset:0; }
.chip span{ display:inline-block; padding:10px 18px; border:1.5px solid rgba(20,48,42,.18); border-radius:999px; font-weight:500; cursor:pointer; transition:background .2s,border-color .2s; }
.chip input:checked + span{ background:var(--navy); color:var(--cream); border-color:var(--navy); }
.chip input:focus-visible + span{ outline:3px solid var(--gold); outline-offset:2px; }
.qform .small{ color:var(--soft); }

/* ---- footer ---- */
.foot{ position:relative; overflow:hidden; background:var(--navy); color:var(--cream); margin-top:calc(-1 * var(--r-band)); border-radius:var(--r-band) var(--r-band) 0 0; padding:clamp(56px,7vw,88px) 0 32px; z-index:2; }
.foot .wrap{ position:relative; z-index:1; }
.foot-grid{ display:grid; grid-template-columns:1.1fr .7fr 1.4fr 1.2fr; gap:clamp(24px,4vw,56px); }
.foot .brand .s{ color:var(--gold-lt); }
.foot-brand{ display:flex; flex-direction:column; gap:8px; }
.foot-brand p{ color:var(--mist); }
.foot h3{ font:600 1rem/1 var(--font-display); margin-bottom:16px; color:var(--cream); }
.foot nav{ display:flex; flex-direction:column; gap:8px; }
.foot .trades nav{ display:grid; grid-template-columns:1fr 1fr; gap:8px 20px; }
.foot a{ color:var(--mist); text-decoration:none; font-size:.95rem; }
.foot a:hover{ color:var(--gold-lt); }
.foot-base{ display:flex; justify-content:space-between; gap:16px; margin-top:48px; padding-top:20px; border-top:1px solid rgba(181,203,190,.18); color:var(--mist); }

/* ---- motion ---- */
@media (prefers-reduced-motion:no-preference){
  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease),transform .8s var(--ease); transition-delay:calc(var(--i,0) * 90ms); }
  .reveal.in-view{ opacity:1; transform:none; }
  .stage .browser,.stage .phone{ animation:rise .9s var(--ease) both; }
  .stage .p-hero{ animation-delay:.14s; }
  @keyframes rise{ from{ opacity:0; translate:0 28px; } to{ opacity:1; translate:0 0; } }
  .stage-s .stripe{ stroke-dasharray:1; }
  .stage-s .stripe{ animation:draw 1.4s var(--ease) both; }
  .stage-s .stripe:nth-child(2){ animation-delay:.08s } .stage-s .stripe:nth-child(3){ animation-delay:.16s } .stage-s .stripe:nth-child(4){ animation-delay:.24s } .stage-s .stripe:nth-child(5){ animation-delay:.32s } .stage-s .stripe:nth-child(6){ animation-delay:.4s }
  @keyframes draw{ from{ stroke-dashoffset:1; } to{ stroke-dashoffset:0; } }
}

/* ---- phone and tablet ---- */
@media (max-width:900px){
  .hdr-in{ gap:12px; }
  .hdr .btn-sm{ display:none; }
  .hdr-call{ margin-left:auto; font-size:.8rem; }
  .menu-btn{ display:flex; }
  .hdr .nav{ position:absolute; left:0; right:0; top:100%; margin:0; background:var(--cream); border-bottom:1px solid var(--sand); display:none; padding:8px clamp(20px,5vw,48px) 20px; }
  .hdr .nav.open{ display:block; }
  .hdr .nav ul{ flex-direction:column; gap:0; }
  .hdr .nav a{ display:block; padding:14px 0; font-size:1.1rem; }
  .hero-grid{ grid-template-columns:minmax(0,1fr); height:auto; }
  .hero-copy{ padding:24px clamp(20px,5vw,48px) 40px; }
  .stage{ border-radius:28px 28px 0 0; min-height:0; margin-bottom:-56px; padding:64px 20px 130px; display:block; }
  .car-bar{ top:18px; left:20px; right:20px; }
  .car{ position:relative; inset:auto; aspect-ratio:1.36; }
  .stage-s{ right:6%; bottom:3%; height:34%; }
  .b-hero{ position:relative; top:0; left:0; width:100%; }
  .p-hero{ left:4%; bottom:-80px; width:32%; }
  .stage-cap{ display:none; }
  .map{ padding-top:120px; }
  .map-grid{ grid-template-columns:minmax(0,1fr); }
  .map-art{ margin-bottom:-72px; }
  .p-map{ max-width:300px; }
  .features{ padding-top:116px; }
  .feat-head{ grid-template-columns:minmax(0,1fr); gap:12px; }
  .cards,.rev-grid{ grid-template-columns:minmax(0,1fr); }
  .proj,.proj.flip{ grid-template-columns:minmax(0,1fr); }
  .proj.flip .proj-art{ order:0; }
  .p-proj{ width:30%; }
  .tilt-r{ right:-1%; } .tilt-l{ left:-1%; }
  .contact-grid{ grid-template-columns:minmax(0,1fr); }
  .qform{ margin-top:0; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .foot-brand{ grid-column:1/-1; }
  .row-head{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px){
  .foot-grid{ grid-template-columns:minmax(0,1fr); }
  .foot .trades nav{ grid-template-columns:1fr 1fr; }
  .btns .btn{ width:100%; justify-content:center; }
}
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } .reveal{ opacity:1; transform:none; } }

/* ===== v24 sub pages: older markup (row / lab / head / body / cgrid / card) re-skinned to match the landing page ===== */
:root{ --pad:clamp(20px,5vw,48px); --ink:var(--navy); --ink-soft:var(--soft); --stone:var(--cream); --stone-deep:var(--sand); --accent:var(--gold); --accent-ink:var(--gold-ink); --rule:var(--edge); }
main > section{ position:relative; padding-block:clamp(40px,5vw,64px); }
main > section:first-child{ padding-block:clamp(36px,5vw,72px) clamp(40px,5vw,72px); overflow:hidden; }
main > section.paper{ background:var(--sand); border-radius:var(--r-band) var(--r-band) 0 0; margin-top:-1px; }
main > section.dark{ background:var(--navy); color:var(--cream); border-radius:var(--r-band) var(--r-band) 0 0; margin-top:-1px; }
main > section.band.contact{ margin-top:-1px; }
main > section:first-child::after{ content:""; position:absolute; right:-3%; top:-25%; width:36%; height:150%; pointer-events:none; opacity:.06;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cg fill='none' stroke='%2314233F' stroke-width='7'%3E%3Cpath d='M170 70 H100 A15 15 0 0 0 100 100 A75 75 0 0 1 100 250 H30'/%3E%3Cpath d='M170 58 H100 A27 27 0 0 0 100 112 A63 63 0 0 1 100 238 H30'/%3E%3Cpath d='M170 46 H100 A39 39 0 0 0 100 124 A51 51 0 0 1 100 226 H30'/%3E%3Cpath d='M170 34 H100 A51 51 0 0 0 100 136 A39 39 0 0 1 100 214 H30'/%3E%3Cpath d='M170 22 H100 A63 63 0 0 0 100 148 A27 27 0 0 1 100 202 H30'/%3E%3Cpath d='M170 10 H100 A75 75 0 0 0 100 160 A15 15 0 0 1 100 190 H30'/%3E%3C/g%3E%3C/svg%3E") no-repeat right center/contain; }
main > section:first-child > *{ position:relative; z-index:1; }

.row{ max-width:1200px; margin-inline:auto; padding-inline:clamp(20px,5vw,48px); }
.row[style*="border-top"]{ border-top:0 !important; }
.span2{ grid-column:1/-1; }
.reveal.in-view{ opacity:1; }

/* hero (page head) */
.phead{ display:flex; flex-direction:column; gap:20px; }
.phead > div:first-child{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; order:0; }
.crumbs{ font:400 .8rem/1.4 var(--font-mono); color:var(--soft); margin:0; }
.crumbs a{ text-underline-offset:3px; }
.caption{ display:flex; align-items:center; font:500 .95rem/1.2 var(--font-body); color:var(--gold-ink); margin:0; text-transform:none; letter-spacing:0; }
.caption::before,.lab::before{ content:""; display:inline-block; width:18px; height:8px; margin-right:12px; flex:none;
  background:linear-gradient(currentColor 0 0) 0 0/100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 3px/100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 6px/100% 2px no-repeat; }
.stack{ display:flex; flex-direction:column; align-items:flex-start; gap:20px; max-width:860px; }
h1{ font-weight:700; font-size:clamp(2.3rem,4.4vw,3.9rem); line-height:1.02; letter-spacing:-.03em; text-wrap:balance; }
h1 .hl{ color:var(--gold-ink); }
.intro{ font-size:1.25rem; line-height:1.5; color:var(--soft); max-width:62ch; }
.btn-row,.also-row{ display:flex; flex-wrap:wrap; gap:14px; }
.btn-primary{ background:var(--gold); color:var(--navy); }
.btn-primary:hover{ background:var(--navy); color:var(--gold-lt); }
.dark .btn-ghost{ border-color:var(--cream); color:var(--cream); }
.dark .btn-ghost:hover{ background:var(--cream); color:var(--navy); }
.arrow{ display:inline-block; }
.byline{ display:flex; align-items:center; gap:14px; }
.byline div{ display:flex; flex-direction:column; line-height:1.3; }
.byline strong{ font-weight:600; }
.byline span{ color:var(--soft); font:400 .8rem var(--font-mono); }
.avatar{ width:48px; height:48px; border-radius:50%; object-fit:cover; filter:grayscale(1); }

/* section intros */
.row.sec-intro{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:12px clamp(24px,5vw,80px); align-items:start; margin-bottom:clamp(28px,4vw,48px); }
.sec-intro > .lab{ grid-column:1/-1; }
.sec-intro > .head h2,.sec-intro h2,.side-h h2{ font-weight:600; font-size:clamp(2rem,3.4vw,3rem); line-height:1.05; letter-spacing:-.02em; text-wrap:balance; }
.sec-intro > .body{ color:var(--soft); font-size:1.1rem; }
.sec-intro > .head.span2{ grid-column:1/-1; }
.sec-intro .lead{ margin-top:12px; }
.lab{ display:flex; align-items:center; font:500 .95rem/1.2 var(--font-body); color:var(--gold-ink); margin:0; text-transform:none; letter-spacing:0; }
.dark .lab{ color:var(--gold-lt); }
.lab .ln{ display:none; }
.dark h2,.dark h3,.dark .num{ color:var(--cream); }
.dark p,.dark li{ color:var(--mist); }
.dark .body{ color:var(--mist); }

/* cards */
.cgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1200px; margin-inline:auto; padding-inline:clamp(20px,5vw,48px); }
.cgrid > div{ display:flex; }
.card{ flex:1; display:flex; flex-direction:column; gap:12px; background:var(--paper); border-radius:20px; box-shadow:var(--lift); padding:28px; color:var(--navy); transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.card:hover{ transform:translateY(-4px); box-shadow:var(--deep); }
.card h3{ font-size:1.4rem; font-weight:600; }
.card .b{ color:var(--soft); }
.card .stage,.note .stage{ position:static; display:block; padding:0; background:none; box-shadow:none; border-radius:0; margin:0; min-height:0; font:500 .8rem/1.3 var(--font-mono); color:var(--gold-ink); }
.card .badge{ align-self:flex-start; background:var(--gold); color:var(--navy); border-radius:999px; padding:4px 12px; font:600 .75rem var(--font-body); }
.card .get{ list-style:none; margin:auto 0 0; padding:16px 0 0; display:flex; flex-direction:column; }
.card .get li{ padding:10px 0; border-top:1px solid var(--sand); font-weight:500; font-size:.95rem; display:flex; align-items:flex-start; gap:12px; color:var(--navy); }
.card .get li::before{ content:""; width:8px; height:8px; margin-top:.55em; border-radius:2px; background:var(--gold); flex:none; transform:skewX(-20deg); }
.card.plainc{ box-shadow:none; background:var(--paper); }
.card.plainc:hover{ transform:none; box-shadow:none; }
.paper .card{ background:var(--paper); }
.hl .card, .card.hl{ outline:2px solid var(--gold); }
/* dark-first card (google help, first of three) */
.dark .card{ background:var(--navy); color:var(--cream); }
.more-details,.shopline{ max-width:1200px; margin:24px auto 0; padding-inline:clamp(20px,5vw,48px); color:var(--soft); font-size:1rem; }
.more-details a,.shopline a{ color:var(--gold-ink); font-weight:500; }
.also-row{ max-width:1200px; margin:32px auto 0; padding-inline:clamp(20px,5vw,48px); }

/* three-step blocks */
.row.three{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,56px); }
.row.three > div{ display:flex; flex-direction:column; gap:10px; }
.num{ font:300 3.6rem/1 var(--font-display); color:var(--gold-ink); }
.dark .num{ color:var(--gold-lt); }
.row.three h3{ font-size:1.4rem; font-weight:600; }
.row.three p{ margin:0; }

/* services teaser */
.g22{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:center; max-width:1200px; margin-inline:auto; padding-inline:clamp(20px,5vw,48px); }
.g22 img{ width:100%; height:auto; border-radius:14px; box-shadow:var(--deep); }
.g22 ul{ list-style:none; margin:0 0 24px; padding:0; display:grid; gap:0; }
.g22 li{ display:flex; gap:16px; padding:14px 0; border-top:1px solid var(--edge); }
.g22 li strong{ font:600 1.1rem var(--font-display); min-width:8.5em; }
.g22 li span{ color:var(--soft); }
.g22 .btn-row{ margin-top:8px; }

/* about */
.founder-copy{ max-width:56ch; display:flex; flex-direction:column; gap:14px; color:var(--soft); }
.founder-copy em{ font-style:normal; color:var(--navy); font-weight:600; }
.founder-copy a{ color:var(--gold-ink); }
.founder-card{ display:flex; align-items:center; gap:14px; margin-top:12px; padding:16px 20px; background:var(--paper); border-radius:16px; box-shadow:var(--lift); max-width:360px; }
.founder-card .avatar{ width:64px; height:64px; }
.founder-card div{ display:flex; flex-direction:column; }
.founder-card span{ color:var(--soft); font:400 .8rem var(--font-mono); }
.founder-card strong{ color:var(--navy); }

/* faq (side-by-side header and list) */
.row.faq-side{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr); gap:clamp(24px,5vw,80px); align-items:start; }
.faq-side .side-h{ display:flex; flex-direction:column; gap:12px; position:sticky; top:104px; }
.faq-side .faq-list{ padding-top:0 !important; }
.faq-list summary::marker{ content:""; }

/* plumbers */
.ptable{ max-width:1200px; margin:clamp(28px,4vw,48px) auto 0; padding:0 clamp(20px,5vw,48px); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; position:relative; z-index:1; }
.ptable > div{ background:var(--paper); border-radius:16px; box-shadow:var(--lift); padding:20px 22px; display:flex; flex-direction:column; gap:4px; }
.ptable dt{ font:500 .8rem var(--font-mono); color:var(--gold-ink); }
.ptable dd{ margin:0; color:var(--navy); font-weight:500; }
.ptable-cap{ max-width:1200px; margin:14px auto 0; padding-inline:clamp(20px,5vw,48px); font:400 .8rem var(--font-mono); color:var(--soft); position:relative; z-index:1; }
.chips{ list-style:none; margin:8px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.chips li,.pchip{ border:1.5px solid rgba(240,184,135,.5); color:var(--cream); border-radius:999px; padding:6px 14px; font-size:.9rem; text-decoration:none; }
.tipline{ margin:8px 0 0; padding:18px 22px; border-radius:14px; background:rgba(244,239,227,.08); border-left:4px solid var(--gold-lt); color:var(--cream); max-width:70ch; }
.row.fixrow{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr); gap:20px clamp(20px,3vw,40px); align-items:start; padding-block:24px; margin-bottom:0; border-top:1px solid rgba(20,48,42,.14); }
.row.fixrow:last-child{ border-bottom:1px solid rgba(20,48,42,.14); }
.fx-h .n{ font:500 .8rem var(--font-mono); color:var(--gold-ink); margin:0 0 6px; }
.fx-h h3{ font-size:1.35rem; font-weight:600; }
.fx-t,.fx-f{ display:flex; flex-direction:column; gap:8px; color:var(--soft); }
.fx-f{ color:var(--navy); }
.tag{ align-self:flex-start; border-radius:999px; padding:3px 12px; font:600 .75rem var(--font-body); background:var(--paper); color:var(--soft); }
.fx-f .tag{ background:var(--gold); color:var(--navy); }
.tick{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.tick li{ padding:12px 0; border-top:1px solid var(--edge); display:flex; gap:12px; align-items:flex-start; }
.tick li::before{ content:""; width:8px; height:8px; margin-top:.55em; border-radius:2px; background:var(--gold); transform:skewX(-20deg); flex:none; }
.linklist{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.linklist a,.flinks a{ display:inline-block; border:1.5px solid var(--navy); border-radius:999px; padding:6px 16px; text-decoration:none; font-size:.95rem; transition:background .2s,color .2s; }
.linklist a:hover,.flinks a:hover{ background:var(--navy); color:var(--cream); }
.flinks{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.flinks > span{ font-weight:600; margin-right:6px; }

/* guide / article */
.gh1{ font-size:clamp(2rem,3.8vw,3.2rem); max-width:22ch; }
.gmeta{ font:400 .8rem var(--font-mono); color:var(--soft); }
article > .row[style*="border-top"]{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr); gap:clamp(24px,5vw,72px); align-items:start; padding-block:clamp(24px,4vw,48px); }
.toc-wrap{ position:sticky; top:104px; padding:0 !important; }
.toc{ background:var(--paper); border-radius:16px; box-shadow:var(--lift); padding:20px 24px; }
.toc .lab{ margin-bottom:10px; }
.toc ol{ margin:0; padding-left:1.2em; display:grid; gap:6px; font-size:.95rem; }
.toc a{ text-underline-offset:3px; }
.prose{ max-width:68ch; }
.prose > * + *{ margin-top:16px; }
.prose h2{ font-weight:600; font-size:clamp(1.6rem,2.4vw,2.1rem); letter-spacing:-.02em; margin-top:40px; line-height:1.1; }
.prose h3{ font-size:1.3rem; font-weight:600; margin-top:28px; }
.prose p,.prose li{ color:var(--soft); }
.prose a{ color:var(--gold-ink); }
.prose ul,.prose ol{ padding-left:1.3em; display:grid; gap:8px; }
.lede{ font-size:1.3rem; line-height:1.5; color:var(--navy) !important; }
.cmpt{ width:100%; border-collapse:separate; border-spacing:0; background:var(--paper); border-radius:16px; box-shadow:var(--lift); overflow:hidden; font-size:.95rem; }
.cmpt th,.cmpt td{ text-align:left; padding:14px 18px; border-top:1px solid var(--sand); vertical-align:top; }
.cmpt thead th{ background:var(--navy); color:var(--cream); border-top:0; font-weight:600; }
.cmpt tbody th{ font-weight:600; color:var(--navy); }
.callout{ margin-top:24px; padding:20px 24px; background:var(--sand); border-left:4px solid var(--gold); border-radius:0 14px 14px 0; color:var(--navy); }

/* 404 */
.nf{ min-height:60vh; display:flex; flex-direction:column; justify-content:center; gap:16px; max-width:760px; margin:0 auto; padding:clamp(48px,8vw,120px) clamp(20px,5vw,48px); }
.nf .num{ font-size:6rem; }
.nf .row{ display:flex; gap:20px; flex-wrap:wrap; align-items:center; padding:0; max-width:none; }
.nf .link{ font-family:var(--font-mono); }

/* phone and tablet */
@media (max-width:900px){
  .card .stage,.note .stage{ padding:0; margin:0; border-radius:0; display:block; min-height:0; }
  .row.sec-intro,.row.faq-side,.row.fixrow,article > .row[style*="border-top"],.g22{ grid-template-columns:minmax(0,1fr); }
  .cgrid,.row.three,.ptable{ grid-template-columns:minmax(0,1fr); }
  .faq-side .side-h,.toc-wrap{ position:static; }
  main > section:first-child::after{ width:60%; right:-20%; }
  .g22 li{ flex-direction:column; gap:2px; }
  .cmpt{ font-size:.85rem; }
  .cmpt th,.cmpt td{ padding:10px 12px; }
}

.notes{ max-width:1200px; margin:32px auto 0; padding-inline:clamp(20px,5vw,48px); }
.note{ background:var(--paper); border-radius:20px; box-shadow:var(--lift); padding:28px 32px; display:flex; flex-direction:column; gap:10px; max-width:780px; }
.note h3{ font-size:1.4rem; font-weight:600; }
.note p{ color:var(--soft); }
.note a{ color:var(--gold-ink); font-weight:500; }

article .row .span2.prose{ grid-column:auto; }

/* review cards section (google help page) */
.nfc{ max-width:1120px; margin:0 auto; padding:0 clamp(20px,5vw,48px) clamp(48px,6vw,88px); display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(24px,5vw,64px); align-items:center; }
.nfc-copy .ticks{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-direction:column; gap:14px; }
.nfc-copy .ticks li{ padding-left:28px; position:relative; }
.nfc-copy .ticks li::before{ content:""; position:absolute; left:0; top:.55em; width:14px; height:3px; background:var(--gold); border-radius:2px; box-shadow:0 5px 0 var(--gold); }
.nfc-fig{ margin:0; }
.nfc-fig .ph{ aspect-ratio:1.586; border:2px dashed var(--gold-ink); border-radius:18px; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; color:var(--gold-ink); background:var(--paper); font:500 .95rem var(--font-mono); }
@media (max-width:820px){ .nfc{ grid-template-columns:1fr; } }

.nfc{ display:block; padding-bottom:clamp(40px,5vw,72px); }
.nfc-fig{ margin:0 auto; max-width:360px; text-align:center; }
.nfc-fig img{ width:100%; height:auto; border-radius:18px; background:#fff; }
.nfc-fig figcaption{ margin-top:10px; color:var(--soft); }

/* tighter gaps between sections on sub pages, to match the home page */
.faq-side .faq-list{ padding-bottom:0 !important; }


.tailor-grid{ max-width:1000px; margin:0 auto; padding-inline:clamp(20px,5vw,48px); display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(28px,4vw,48px); }
.tailor-fig{ margin:0; }
.tailor-fig img{ display:block; width:100%; height:auto; border-radius:18px; }
.tailor-fig figcaption{ margin-top:12px; color:var(--soft); font-size:.98rem; }
.tailor-fig figcaption a{ color:var(--gold-ink); font-weight:500; }
.tailor-pair{ display:flex; gap:clamp(12px,2vw,24px); align-items:center; }
.tailor-pair img:first-child{ flex:0 0 66%; width:66%; }
.tailor-pair img:last-child{ flex:1 1 0; width:auto; min-width:0; box-shadow:0 8px 24px rgba(0,0,0,.18); }
.tailor-grid > .tailor-fig:first-child{ max-width:640px; margin-inline:auto; }
