:root{
  /* Big Nick K9 brand. --mid and --accent are sampled straight from the logo
     artwork; --ground and --warm are the same hue taken darker. */
  --ground:#251B0E;      /* deep coffee — page ground, dark bars */
  --mid:#553C1D;         /* logo brown — section bands */
  --accent:#A29062;      /* logo tan/gold — CTAs, accents */
  --warm:#2F2011;        /* dark brown — story cards */
  --accent-lt:#C6B183;   /* lighter tint of the tan, for use on --mid */
  --oat:#F2ECE0;         /* warm cream — body text on dark */
  /* rgb triplets mirror the hexes above — keep in sync when recolouring */
  --ground-rgb:37,27,14;
  --accent-rgb:162,144,98;
  --oat-rgb:242,236,224;

  --display:'Clash Display',system-ui,sans-serif;
  --serif:'Instrument Serif',Georgia,serif;
  --body:'Golos Text',system-ui,sans-serif;

  --r:22px;
  --gut:clamp(16px,3vw,32px);

  /* hand-drawn ellipse, used as a mask so it inherits --accent */
  --ellipse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64' preserveAspectRatio='none'%3E%3Cpath d='M133 7C71 2 15 15 10 32c-5 16 44 27 104 25 55-2 100-14 98-28C209 17 168 8 118 6c-16-1-31 0-43 4' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

*{box-sizing:border-box}
/* author display rules beat the UA [hidden] rule, so restate it */
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ground);
  color:var(--oat);
  font-family:var(--body);
  font-size:17px;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
/* height:auto stops the width/height attributes (set to avoid layout shift)
   from beating the aspect-ratio rules below */
img{display:block;max-width:100%;height:auto}

/* ---------- nav : floating dark pill ---------- */
.nav{
  position:absolute;
  z-index:10;
  top:var(--gut); left:var(--gut); right:var(--gut);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  padding:14px 26px;
  border-radius:999px;
  background:rgba(var(--ground-rgb),.88);
  backdrop-filter:blur(10px);
  border:1px solid rgba(var(--oat-rgb),.14);
}

.nav__links{display:flex;gap:26px;font-size:15px}
.nav__links a{opacity:.85;transition:opacity .2s,color .2s}
.nav__links a:hover{opacity:1;color:var(--accent)}

.nav__mark{
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
}
.nav__logo{width:auto;height:38px;flex:none}
.nav__wordmark{
  font-family:var(--display);
  font-weight:700;
  font-size:21px;
  letter-spacing:-.01em;
}
/* scoped to the inner span so it doesn't also catch .nav__wordmark itself */
.nav__wordmark span{color:var(--accent)}

.nav__cta{
  justify-self:end;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-thickness:1px;
  transition:color .2s;
}
.nav__cta:hover{color:var(--accent)}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  /* fallback if the photo is missing */
  background:linear-gradient(150deg,var(--mid),var(--ground));
}
.hero__img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center var(--focus,50%);
}
.hero__scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(to top,rgba(var(--ground-rgb),.92) 0%,rgba(var(--ground-rgb),.45) 45%,rgba(var(--ground-rgb),.35) 100%),
    linear-gradient(to right,rgba(var(--ground-rgb),.6) 0%,transparent 60%);
}

.hero__body{
  position:relative;
  padding:0 var(--gut) clamp(56px,9vh,110px);
  max-width:min(880px,92vw);
}

.hero__title{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.9rem,8.2vw,6.4rem);
  line-height:.94;
  letter-spacing:-.025em;
  margin:0 0 24px;
  color:#fff;
  text-wrap:balance;
}
.hero__title em{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  color:var(--accent);
  letter-spacing:-.01em;
}

.hero__sub{
  margin:0 0 34px;
  max-width:44ch;
  font-size:clamp(1rem,1.5vw,1.15rem);
  color:rgba(var(--oat-rgb),.88);
}

/* ---------- button ---------- */
.btn{
  display:inline-block;
  padding:17px 42px;
  border-radius:999px;
  background:var(--accent);
  color:var(--ground);
  font-weight:600;
  font-size:14px;
  letter-spacing:.1em;
  text-transform:uppercase;
  transition:transform .2s,box-shadow .2s;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(var(--accent-rgb),.28)}
.btn:active{transform:translateY(0)}

/* ---------- mobile menu (<details>, no JS) ---------- */
.nav__menu{display:none;justify-self:end;position:relative}
.nav__menu summary{
  list-style:none;cursor:pointer;
  width:26px;height:18px;
  display:flex;flex-direction:column;justify-content:space-between;
}
.nav__menu summary::-webkit-details-marker{display:none}
.nav__menu summary span{display:block;height:2px;background:var(--oat);border-radius:2px}
.nav__menu summary span:last-child{width:70%;align-self:flex-end}

.nav__drawer{
  position:absolute;top:calc(100% + 18px);right:0;
  min-width:220px;
  display:flex;flex-direction:column;gap:4px;
  padding:14px;
  border-radius:var(--r);
  background:var(--ground);
  border:1px solid rgba(var(--oat-rgb),.16);
  box-shadow:0 20px 48px rgba(0,0,0,.4);
}
.nav__drawer a{padding:11px 14px;border-radius:14px}
.nav__drawer a:hover{background:rgba(var(--oat-rgb),.08)}
.nav__drawer-cta{
  margin-top:6px;text-align:center;
  background:var(--accent);color:var(--ground);font-weight:600;
}
.nav__drawer-cta:hover{background:var(--accent);filter:brightness(1.06)}

/* ---------- section shell ---------- */
.band{
  background:var(--mid);
  padding:clamp(64px,9vw,120px) 0;
}
.wrap{
  width:min(1240px,100% - (var(--gut) * 2));
  margin-inline:auto;
}

.eyebrow{
  margin:0 0 14px;
  font-size:14px;
  letter-spacing:.06em;
  color:rgba(var(--oat-rgb),.9);
}
/* base tan on the mid band is only 3.3:1, so the stars use the tint */
.stars{color:var(--accent-lt);letter-spacing:.14em;margin-right:6px}

.h2{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2rem,4.4vw,3.4rem);
  line-height:1.03;
  letter-spacing:-.02em;
  margin:0 0 clamp(32px,5vw,56px);
  color:#fff;
}

/* hand-drawn ellipse around the last word.
   SVG is a mask so the stroke follows --accent. */
.mark{position:relative;white-space:nowrap}
.mark::after{
  content:'';
  position:absolute;
  inset:-26% -7% -22%;
  background:var(--mark,var(--accent));
  pointer-events:none;
  -webkit-mask:var(--ellipse) center/100% 100% no-repeat;
  mask:var(--ellipse) center/100% 100% no-repeat;
}

/* ---------- client stories (carousel) ---------- */
.reviews-link{
  margin:-18px 0 clamp(28px,4vw,40px);
  font-size:15px;
}
.reviews-link a{
  color:var(--accent-lt);
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:1px;
}
.reviews-link a::after{content:' \2192'}
.reviews-link a:hover{color:var(--oat)}

.stories-scroller{position:relative}

.stories{
  --gap:clamp(18px,2vw,28px);
  display:flex;
  gap:var(--gap);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding-bottom:4px;      /* room for the card shadow on hover */
}
.stories::-webkit-scrollbar{display:none}

.stories > .story{
  flex:0 0 calc((100% - var(--gap) * 2) / 3);
  scroll-snap-align:start;
}

/* Quote-only cards have no photo. The quote's flex:1 (which pushes the
   attribution to the card foot on photo cards) leaves a dead gap here, so
   reset it and centre the block instead. */
.story--quote .story__body{justify-content:center;padding:34px 26px}
.story--quote .story__quote{flex:0 1 auto;font-size:1.05rem;line-height:1.5;margin-bottom:22px}
.story--quote .story__name{font-size:1.35rem}

.stories-nav{
  display:flex;
  gap:10px;
  margin-top:clamp(20px,2.5vw,28px);
}
.stories-btn{
  width:44px;height:44px;
  border-radius:50%;
  border:1px solid rgba(var(--oat-rgb),.35);
  background:transparent;
  cursor:pointer;
  position:relative;
  transition:border-color .2s,background .2s;
}
.stories-btn:hover{border-color:var(--accent-lt);background:rgba(var(--oat-rgb),.07)}
.stories-btn::before{
  content:'';
  position:absolute;inset:0;
  margin:auto;
  width:9px;height:9px;
  border-top:2px solid var(--oat);
  border-right:2px solid var(--oat);
}
.stories-btn[data-dir="-1"]::before{transform:translateX(2px) rotate(-135deg)}
.stories-btn[data-dir="1"]::before{transform:translateX(-2px) rotate(45deg)}

@media (max-width:900px){
  .stories > .story{flex-basis:calc((100% - var(--gap)) / 2)}
}
@media (max-width:640px){
  .stories > .story{flex-basis:100%}
}
.story{
  display:flex;
  flex-direction:column;
  border-radius:var(--r);
  overflow:hidden;
  background:var(--warm);
  border:1px solid rgba(var(--oat-rgb),.12);
}
.story__img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.story__body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:24px 26px 26px;
}
.story__name{
  font-family:var(--display);
  font-weight:600;
  font-size:1.6rem;
  letter-spacing:-.015em;
  margin:0 0 4px;
  color:#fff;
}
.story__meta{
  margin:0 0 16px;
  font-size:13px;
  letter-spacing:.02em;
  color:var(--accent);
}
.story__quote{
  margin:0 0 18px;
  flex:1;
  font-size:16px;
  line-height:1.55;
  color:rgba(var(--oat-rgb),.9);
}
/* quotes live in the markup — pseudo-elements pick up tag whitespace */
.story__by{
  margin:0;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(var(--oat-rgb),.75); /* .55 fell to 3.8:1 on the warm card */
}

/* ---------- about ---------- */
.band--dark{background:var(--ground)}

.about{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) auto minmax(0,.7fr);
  align-items:center;
  gap:clamp(28px,4vw,64px);
}

.about__copy p{
  margin:0 0 18px;
  max-width:56ch;
  color:rgba(var(--oat-rgb),.85);
}
.about__copy em{color:#fff;font-style:italic}

.signature{
  margin:20px 0 0;
  font-family:var(--serif);
  font-style:italic;
  font-size:1.15rem;
  color:var(--accent-lt);
}

.about__where{
  font-size:14px;
  letter-spacing:.02em;
  color:rgba(var(--oat-rgb),.55)!important;
  margin-bottom:28px!important;
}

.about__portrait{
  margin:0;
  width:clamp(230px,27vw,360px);
  aspect-ratio:1;
  border-radius:50%;
  overflow:hidden;
  border:2px solid var(--accent);
  padding:6px;
}
.about__portrait img{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:50%;
}

.stats{margin:0;display:grid;gap:22px}
.stat{
  display:grid;
  gap:2px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(var(--oat-rgb),.14);
}
.stat:last-child{border-bottom:0;padding-bottom:0}
.stat dt{
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(2.2rem,3.4vw,3rem);
  line-height:1;
  color:var(--accent);
}
.stat dd{
  margin:0;
  font-size:13px;
  line-height:1.4;
  color:rgba(var(--oat-rgb),.7);
}
/* placeholder figures — visibly unfinished until Nick supplies them */
.stat--todo dt{color:rgba(var(--oat-rgb),.3)}

/* ---------- services ---------- */
.band--accent{
  background:var(--accent);
  --mark:var(--ground);          /* ellipse flips dark on the coral band */
}
.band--accent .h2{color:var(--ground)}

.svc{
  list-style:none;
  margin:0 0 clamp(32px,4vw,48px);
  padding:0;
  border-top:1px solid rgba(var(--ground-rgb),.22);
}
.svc__row{
  display:grid;
  grid-template-columns:auto minmax(0,.85fr) minmax(0,1.25fr);
  align-items:center;
  gap:clamp(18px,3vw,40px);
  padding:clamp(20px,2.6vw,30px) 0;
  border-bottom:1px solid rgba(var(--ground-rgb),.22);
}
.svc__thumb{
  width:clamp(150px,17vw,240px);
  aspect-ratio:3/2;
  object-fit:cover;
  border-radius:999px;
}
.svc__name{
  margin:0;
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.25rem,2.1vw,1.75rem);
  letter-spacing:-.015em;
  color:var(--ground);
}
.svc__desc{
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:rgba(var(--ground-rgb),.92); /* .82 was 4.1:1 on tan */
}

.btn--dark{background:var(--ground);color:var(--oat)}
.btn--dark:hover{box-shadow:0 10px 26px rgba(var(--ground-rgb),.35)}

/* ---------- brand plate (contact page header) ----------
   The full lockup only works on a light surface: its banner is the dark
   brown, which would disappear against --ground. */
.brandplate{
  background:var(--oat);
  text-align:center;
  padding:clamp(130px,17vh,190px) 0 clamp(48px,7vw,72px);
}
.brandplate__logo{
  width:min(400px,72vw);
  height:auto;
  margin:0 auto clamp(20px,3vw,30px);
}
.brandplate__title{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.1rem,5vw,3.4rem);
  line-height:1;
  letter-spacing:-.025em;
  margin:0 0 14px;
  color:var(--ground);
}
.brandplate__sub{
  margin:0 auto;
  max-width:46ch;
  color:rgba(var(--ground-rgb),.82);
}

/* ---------- compact page hero (inner pages) ---------- */
.phero{
  position:relative;
  min-height:clamp(380px,52vh,540px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:linear-gradient(150deg,var(--mid),var(--ground));
}
/* --focus is set per page: these are short, very wide crops, so each photo
   needs its own vertical anchor to keep the subject in frame */
.phero__img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  object-position:center var(--focus,50%);
}
.phero__scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(to top,rgba(var(--ground-rgb),.92) 0%,rgba(var(--ground-rgb),.5) 55%,rgba(var(--ground-rgb),.4) 100%),
    linear-gradient(to right,rgba(var(--ground-rgb),.62) 0%,transparent 65%);
}
.phero__body{position:relative;padding:0 var(--gut) clamp(36px,6vh,64px);max-width:min(760px,92vw)}
.phero__title{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.4rem,6.4vw,4.6rem);
  line-height:.96;
  letter-spacing:-.025em;
  margin:0 0 14px;
  color:#fff;
}
.phero__title em{
  display:block;
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  font-size:.62em;
  color:var(--accent);
  letter-spacing:-.01em;
}
.phero__sub{margin:0;max-width:52ch;color:rgba(var(--oat-rgb),.88)}

/* ---------- detail blocks ---------- */
.lede{
  font-size:clamp(1.05rem,1.7vw,1.3rem);
  line-height:1.5;
  max-width:60ch;
  margin:0 0 28px;
  color:rgba(var(--oat-rgb),.9);
}
.band--accent .lede{color:rgba(var(--ground-rgb),.9)}

.h3{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.15rem,1.8vw,1.4rem);
  letter-spacing:-.01em;
  margin:0 0 12px;
  color:#fff;
}
.band--accent .h3{color:var(--ground)}

.checklist{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:10px;max-width:58ch}
.checklist li{position:relative;padding-left:26px;color:rgba(var(--oat-rgb),.85)}
.checklist li::before{
  content:'';position:absolute;left:0;top:.55em;
  width:10px;height:10px;border-radius:50%;
  border:2px solid var(--accent);
}
.band--accent .checklist li{color:rgba(var(--ground-rgb),.9)}
.band--accent .checklist li::before{border-color:var(--ground)}

/* numbered process */
.steps{
  list-style:none;margin:0;padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:clamp(20px,3vw,36px);
  counter-reset:step;
}
.steps li{counter-increment:step}
.steps li::before{
  content:counter(step);
  display:grid;place-items:center;
  width:38px;height:38px;
  margin-bottom:14px;
  border-radius:50%;
  border:1px solid var(--accent);
  font-family:var(--serif);font-style:italic;font-size:1.15rem;
  color:var(--accent);
}
.steps h3{font-family:var(--display);font-weight:600;font-size:1.1rem;margin:0 0 6px;color:#fff}
.steps p{margin:0;font-size:15px;line-height:1.5;color:rgba(var(--oat-rgb),.78)}

/* ---------- FAQ (<details>, no JS) ---------- */
.faq{display:grid;gap:0;border-top:1px solid rgba(var(--oat-rgb),.16)}
.faq details{border-bottom:1px solid rgba(var(--oat-rgb),.16)}
.faq summary{
  list-style:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  padding:20px 0;
  font-family:var(--display);font-weight:600;
  font-size:clamp(1rem,1.6vw,1.2rem);
  color:#fff;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:'';flex:none;
  width:11px;height:11px;
  border-right:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:rotate(45deg) translateY(-3px);
  transition:transform .2s;
}
.faq details[open] summary::after{transform:rotate(-135deg) translateY(-3px)}
.faq p{margin:0 0 22px;max-width:68ch;color:rgba(var(--oat-rgb),.82)}

/* ---------- contact ---------- */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,72px)}
.contact__list{margin:0 0 28px;display:grid;gap:20px}
.contact__list dt{
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(var(--oat-rgb),.68);margin-bottom:4px; /* AA at 12px */
}
.contact__list dd{margin:0;font-size:1.05rem}
.contact__list a:hover{color:var(--accent)}

.form{display:grid;gap:14px}
.form label{display:grid;gap:6px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:rgba(var(--oat-rgb),.6)}
.form input,.form textarea{
  font:inherit;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(var(--oat-rgb),.07);
  border:1px solid rgba(var(--oat-rgb),.18);
  color:var(--oat);
}
.form input:focus,.form textarea:focus{outline:2px solid var(--accent);outline-offset:1px}
.form textarea{min-height:130px;resize:vertical}
.form .btn{justify-self:start;margin-top:6px;border:0;cursor:pointer;font-family:inherit}

/* ---------- pull quote ---------- */
.pullquote{
  margin:0 auto 14px;
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.5rem,3.4vw,2.6rem);
  line-height:1.14;
  letter-spacing:-.02em;
  color:var(--ground);
  max-width:26ch;
  text-align:center;
}
.pullquote__by{
  margin:0;
  text-align:center;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(var(--ground-rgb),.82);
}

/* ---------- pricing packages ----------
   Two fixed columns rather than auto-fit. Auto-fit gave three narrow columns
   on a laptop, which squeezed the copy and left the fifth card sitting alone
   in a ragged last row. Two columns land the four board-and-train tiers as a
   2x2 you can read across, and the odd one out (behavior mod, quoted rather
   than priced) spans the full width instead of leaving a hole. */
.pkgs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(18px,2vw,26px);
}
@media (max-width:900px){.pkgs{grid-template-columns:1fr}}

.pkg{
  display:flex;
  flex-direction:column;
  padding:clamp(26px,3vw,38px);
  border-radius:var(--r);
  background:rgba(var(--oat-rgb),.05);
  border:1px solid rgba(var(--oat-rgb),.16);
}
.pkg--feature{
  background:rgba(var(--accent-rgb),.09);
  border-color:rgba(var(--accent-rgb),.5);
}
.pkg--wide{grid-column:1 / -1}
.pkg--wide .pkg__desc{max-width:62ch}
/* Only once the grid is actually two columns: below that the card is normal
   width and the ticks belong in one column. */
@media (min-width:901px){
  .pkg--wide .checklist{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:clamp(24px,3vw,44px);
  }
}

.pkg__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  margin-bottom:8px;
}
.pkg__name{
  margin:0;
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.25rem,1.9vw,1.55rem);
  letter-spacing:-.015em;
  line-height:1.2;
  color:#fff;
}
.pkg__price{
  margin:0;
  flex:none;
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.7rem,2.8vw,2.25rem);
  line-height:1;
  color:var(--accent-lt);
}
.pkg__meta{
  margin:0 0 18px;
  font-size:13px;
  letter-spacing:.03em;
  color:rgba(var(--oat-rgb),.8);
}
.pkg__desc{margin:0 0 24px;font-size:16px;line-height:1.65;color:rgba(var(--oat-rgb),.88)}
/* auto top margin pins the ticks to the bottom, so the rule and the list line
   up across a row even when the paragraphs above run different lengths */
.pkg .checklist{
  margin:auto 0 0;
  padding-top:22px;
  border-top:1px solid rgba(var(--oat-rgb),.14);
  gap:11px;
  font-size:15px;
  max-width:none;
}
.pkg strong{color:var(--accent);font-weight:600}
.pkg em{font-style:italic;color:#fff}

/* band--accent variants sit on lime, so flip to dark ink */
.band--accent .pkg{background:rgba(var(--ground-rgb),.07);border-color:rgba(var(--ground-rgb),.25)}
.band--accent .pkg__name,.band--accent .pkg em{color:var(--ground)}
.band--accent .pkg__price{color:var(--ground)}
.band--accent .pkg__meta{color:rgba(var(--ground-rgb),.8)}
.band--accent .pkg__desc{color:rgba(var(--ground-rgb),.9)}
.band--accent .pkg .checklist{border-top-color:rgba(var(--ground-rgb),.28)}

/* ---------- command list ---------- */
.cmds{
  list-style:none;
  margin:0 0 20px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cmds li{
  padding:9px 18px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-rgb),.45);
  font-size:15px;
  color:#fff;
}
.cmds span{color:rgba(var(--oat-rgb),.55);font-size:13px}

.note{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:rgba(var(--oat-rgb),.78);
  max-width:62ch;
}
.band--accent .note{color:rgba(var(--ground-rgb),.82)}

.btn--outline-dark{
  background:transparent;
  color:var(--ground);
  box-shadow:inset 0 0 0 1.5px rgba(var(--ground-rgb),.45);
}
.btn--outline-dark:hover{box-shadow:inset 0 0 0 1.5px var(--ground)}

/* ---------- assessment quiz ---------- */
.quiz{display:grid;gap:clamp(28px,4vw,44px);max-width:820px}
.quiz > .btn{justify-self:start;border:0;cursor:pointer;font-family:inherit}

.q{border:0;margin:0;padding:0}
.q__title{
  padding:0;
  margin:0 0 16px;
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.1rem,1.9vw,1.4rem);
  letter-spacing:-.01em;
  color:#fff;
}
.q__opts{display:grid;gap:10px}

.opt{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:15px 18px;
  border-radius:16px;
  border:1px solid rgba(var(--oat-rgb),.16);
  cursor:pointer;
  transition:border-color .15s,background .15s;
}
.opt:hover{border-color:rgba(var(--oat-rgb),.36)}
.opt input{
  flex:none;
  appearance:none;
  width:19px;height:19px;
  margin:2px 0 0;
  border-radius:50%;
  border:2px solid rgba(var(--oat-rgb),.4);
  cursor:pointer;
}
.opt input:checked{
  border-color:var(--accent);
  background:radial-gradient(circle,var(--accent) 0 44%,transparent 46%);
}
.opt input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.opt:has(input:checked){
  border-color:var(--accent);
  background:rgba(var(--accent-rgb),.09);
}
.opt span{color:rgba(var(--oat-rgb),.9)}

/* ---------- quiz result ---------- */
.result{
  max-width:820px;
  padding:clamp(26px,3.5vw,40px);
  border-radius:var(--r);
  border:1px solid rgba(var(--accent-rgb),.4);
  background:rgba(var(--accent-rgb),.07);
}
.result:focus{outline:none}
.result__kicker{
  margin:0 0 6px;
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);
}
.result .h2{margin-bottom:4px}
.result__price{
  margin:0 0 16px;
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.4rem,2.4vw,1.9rem);
  color:var(--accent-lt);
}
.result__cta,.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.result__cta{margin-bottom:22px}
.btn--ghost{
  background:transparent;
  color:var(--oat);
  box-shadow:inset 0 0 0 1px rgba(var(--oat-rgb),.35);
}
.btn--ghost:hover{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}
.result__note{
  margin:0 0 18px;
  font-size:14px;line-height:1.5;
  color:rgba(var(--oat-rgb),.6);
}
.linkish{
  background:none;border:0;padding:0;
  font:inherit;font-size:14px;
  color:rgba(var(--oat-rgb),.75);
  text-decoration:underline;text-underline-offset:4px;
  cursor:pointer;
}
.linkish:hover{color:var(--accent)}

/* ---------- callout (free assessment promo) ---------- */
.callout{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(22px,4vw,56px);
  padding:clamp(26px,3.6vw,44px);
  border-radius:var(--r);
  border:1px solid rgba(var(--accent-rgb),.45);
  background:rgba(var(--accent-rgb),.08);
}
.callout__kicker{
  margin:0 0 8px;
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);
}
.callout h2{
  margin:0 0 10px;
  font-family:var(--display);font-weight:600;
  font-size:clamp(1.5rem,3vw,2.2rem);
  line-height:1.05;letter-spacing:-.02em;
  color:#fff;
}
.callout p{
  margin:0;
  max-width:52ch;
  color:rgba(var(--oat-rgb),.85);
}
.band--accent .callout{
  border-color:rgba(var(--ground-rgb),.5);
  background:rgba(var(--ground-rgb),.07);
}
.band--accent .callout h2{color:var(--ground)}
.band--accent .callout p{color:rgba(var(--ground-rgb),.85)}
.band--accent .callout__kicker{color:var(--ground)}

@media (max-width:760px){
  .callout{grid-template-columns:1fr}
}

/* ---------- footer ---------- */
.site-foot{
  background:var(--ground);
  border-top:1px solid rgba(var(--oat-rgb),.14);
  padding:clamp(44px,6vw,72px) 0 32px;
}
.foot{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px}
.foot__logo{width:auto;height:84px;margin-bottom:16px}
.foot__mark{font-family:var(--display);font-weight:700;font-size:1.35rem}
.foot__mark span{color:var(--accent)}
.foot h4{
  margin:0 0 12px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:500;color:rgba(var(--oat-rgb),.68); /* .5 failed AA at 12px */
}
.foot p,.foot a{font-size:15px;color:rgba(var(--oat-rgb),.82)}
.foot p{margin:0 0 8px}
.foot a:hover{color:var(--accent)}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot__legal{
  margin-top:36px;padding-top:20px;
  border-top:1px solid rgba(var(--oat-rgb),.12);
  font-size:13px;color:rgba(var(--oat-rgb),.64); /* .45 was 3.7:1, under AA */
}
.foot__legal a{text-decoration:underline;text-underline-offset:3px}

/* current page in nav */
.nav__links a[aria-current="page"]{opacity:1;color:var(--accent)}

@media (max-width:760px){
  .contact{grid-template-columns:1fr}
  .svc__row{
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    gap:16px;
  }
  .svc__name{align-self:center}
  .svc__desc{grid-column:1 / -1}
}

@media (max-width:1080px){
  .about{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
  }
  .stats{
    grid-column:1 / -1;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:22px 32px;
  }
  .stat{border-bottom:0;padding-bottom:0}
}

/* The centred wordmark is pinned by the 1fr auto 1fr grid, so the link row
   only ever gets half the bar to live in. With 5 links that gets tight on
   laptops, so step the type down before collapsing to the drawer. */
@media (max-width:1150px){
  .nav{padding:14px 20px}
  .nav__links{gap:20px;font-size:14px}
  .nav__cta{font-size:13px}
  /* the mark costs centre-column width, so shrink it here too */
  .nav__logo{height:32px}
  .nav__wordmark{font-size:18px}
  .nav__mark{gap:7px}
}

@media (max-width:900px){
  .nav{grid-template-columns:auto 1fr;padding:12px 18px}
  .nav__links,.nav__cta{display:none}
  .nav__mark{justify-self:start;order:-1}
  .nav__menu{display:block}
}

@media (max-width:820px){
  .about{grid-template-columns:1fr}
  .about__portrait{order:-1;width:min(220px,55vw)}
  .hero__title{letter-spacing:-.02em}
}

/* ============================================================
   MOTION
   Everything here is progressive enhancement. The reveal states
   live inside @supports, so a browser without scroll timelines
   renders the page fully visible rather than blank.
   ============================================================ */

/* cross-document page transitions (one line, ignored where unsupported) */
@view-transition{navigation:auto}

html{scroll-behavior:smooth}

@keyframes rise{
  from{opacity:0;transform:translateY(26px)}
  to{opacity:1;transform:none}
}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes hero-drift{from{transform:scale(1.02)}to{transform:scale(1.12)}}
@keyframes bar{from{scale:0 1}to{scale:1 1}}
@keyframes nav-settle{
  to{
    background:rgba(var(--ground-rgb),.97);
    border-color:rgba(var(--oat-rgb),.2);
    box-shadow:0 10px 34px rgba(0,0,0,.32);
  }
}

@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){

    /* section content rises in as it enters the viewport */
    .h2,.lede,.eyebrow,.phero__body,
    .stories-scroller,.svc__row,.steps li,.stat,.faq details,
    .checklist li,.about__copy,.about__portrait,
    .contact > *,.q,.result{
      animation:rise linear both;
      animation-timeline:view();
      animation-range:entry 5% cover 26%;
    }

    /* light stagger so grid siblings don't all land at once */
    .steps li:nth-child(2),.stat:nth-child(2){animation-range:entry 5% cover 32%}
    .steps li:nth-child(3),.stat:nth-child(3){animation-range:entry 5% cover 38%}
    .steps li:nth-child(4),.stat:nth-child(4){animation-range:entry 5% cover 44%}

    .svc__thumb{
      animation:fade linear both;
      animation-timeline:view();
      animation-range:entry 0% cover 24%;
    }

    /* slow drift on hero photography */
    .hero__img,.phero__img{
      animation:hero-drift linear both;
      animation-timeline:view();
      animation-range:entry 0% exit 100%;
    }
  }

  @supports (animation-timeline:scroll()){
    /* nav picks up a solid background once you leave the hero */
    .nav{
      animation:nav-settle linear both;
      animation-timeline:scroll();
      animation-range:0 220px;
    }
    /* reading-progress bar */
    .progress{
      animation:bar linear both;
      animation-timeline:scroll();
    }
  }
}

/* skip link: off-screen until focused */
.skip{
  position:fixed;
  top:-120px;left:16px;
  z-index:60;
  padding:12px 22px;
  border-radius:0 0 14px 14px;
  background:var(--accent);
  color:var(--ground);
  font-weight:600;font-size:14px;
}
.skip:focus{top:0}

/* nav sticks so the phone number is always one tap away */
.nav{position:fixed}
/* keep anchor targets clear of the now-fixed nav */
[id]{scroll-margin-top:calc(var(--gut) + 92px)}

.progress{
  position:fixed;
  top:0;left:0;right:0;
  height:3px;
  z-index:20;
  background:var(--accent);
  transform-origin:0 50%;
  scale:0 1;
  pointer-events:none;
}

/* ---------- hover / interaction ---------- */
.story{transition:transform .28s ease,border-color .28s ease}
.story:hover{transform:translateY(-6px);border-color:rgba(var(--accent-rgb),.5)}
.story__img{transition:scale .5s ease}
.story:hover .story__img{scale:1.06}

.svc__row{transition:background .25s ease}
.svc__row:hover{background:rgba(var(--ground-rgb),.07)}
.svc__thumb{transition:scale .35s ease}
.svc__row:hover .svc__thumb{scale:1.07}

.about__portrait{transition:transform .5s ease}
.about__portrait:hover{transform:rotate(-2deg) scale(1.02)}

.stat{transition:border-color .25s ease}
.stat:hover{border-bottom-color:rgba(var(--accent-rgb),.55)}

/* visible keyboard focus everywhere */
a:focus-visible,button:focus-visible,summary:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

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