/* ============================================================
   AI Field Guide · afg.css  (v2 "Field Guide" system)
   Single source of truth. No page redefines these tokens.
   ============================================================ */

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

:root{
  --paper:#fbfaf7; --white:#ffffff;
  --ink:#161412; --ink-2:#4b463f; --ink-3:#8a8278;
  --accent:#34503f; --accent-soft:#34503f14;
  --line:#1614121f; --rule:#161412;
  --max:1180px; --gutter:clamp(20px,4vw,48px);
  --s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;--s10:40px;--s12:48px;--s16:64px;
  --section:clamp(56px,7vw,96px);
  --radius:3px; --ease:cubic-bezier(.22,1,.36,1); --dur:200ms;
}

html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;
  font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ---- layout ---- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.section{padding:var(--section) 0}
.rule{border:0;border-top:1.5px solid var(--rule)}
.rule-thin{border:0;border-top:1px solid var(--line)}

/* ---- type ---- */
.h1{font-family:Fraunces,Georgia,serif;font-weight:900;font-size:clamp(36px,4.6vw,62px);line-height:1.02;letter-spacing:-.015em}
.h1 em{font-style:italic;font-weight:500;color:var(--accent)}
.h2{font-family:Fraunces,Georgia,serif;font-weight:900;font-size:clamp(28px,3vw,44px);line-height:1.08;letter-spacing:-.01em}
.h3{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(20px,2vw,28px);line-height:1.15}
.lead{font-size:19px;line-height:1.65;font-weight:600;color:var(--ink);border-left:2px solid var(--accent);padding-left:14px}
.body{font-size:17px;line-height:1.72;color:var(--ink-2)}
.label{font-family:Inter;font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-3)}
.fig{font-family:Fraunces,serif;font-size:16px;font-weight:600}
.muted{color:var(--ink-3)}
.accent{color:var(--accent)}

/* ---- nav ---- */
.nav{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1.5px solid var(--ink)}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 var(--gutter);height:78px;display:flex;align-items:center;justify-content:space-between;gap:var(--s5)}
.brand{font-family:Fraunces,serif;font-size:24px;font-weight:900;letter-spacing:-.01em;white-space:nowrap}
.brand .g{color:var(--accent)}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{font-size:15px;font-weight:500;color:var(--ink-2);transition:color var(--dur) var(--ease)}
.nav-links a:hover{color:var(--ink)}
.nav-no{font-family:Fraunces,serif;font-size:15px;color:var(--ink-3)}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:30px;height:30px;background:none;border:0;cursor:pointer;padding:0}
.nav-toggle span{display:block;width:24px;height:1.5px;background:var(--ink);transition:transform var(--dur) var(--ease),opacity var(--dur) var(--ease)}
@media(max-width:760px){
  .nav-toggle{display:flex}
  .nav-no{display:none}
  .nav-links{position:absolute;top:78px;left:0;right:0;background:var(--paper);border-bottom:1.5px solid var(--ink);flex-direction:column;align-items:stretch;gap:0;padding:0 var(--gutter);max-height:0;overflow:hidden;transition:max-height var(--dur) var(--ease)}
  .nav.open .nav-links{max-height:360px}
  .nav-links a{padding:17px 0;border-bottom:1px solid var(--line);font-size:16px;font-weight:500}
  .nav-links a:last-child{border-bottom:0}
  .nav.open .nav-toggle span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .nav.open .nav-toggle span:nth-child(2){opacity:0}
  .nav.open .nav-toggle span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
}

/* ---- field entry header ---- */
.entry{display:flex;align-items:baseline;gap:14px;margin-bottom:22px}
.entry-no{font-family:Fraunces,serif;font-size:40px;font-weight:900;color:var(--accent);line-height:.8}

/* ---- specimen plate ---- */
.plate{border:1.5px solid var(--ink);padding:14px 14px 0;background:var(--white);position:relative}
.plate::before{content:'';position:absolute;inset:5px;border:1px solid var(--line);pointer-events:none}
.plate img{width:100%;filter:saturate(.94) contrast(1.02)}
.plate .cap{border-top:1.5px solid var(--ink);margin-top:14px;padding:12px 4px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.anno{position:absolute;right:-12px;top:64px;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-2);background:var(--paper);padding:3px 6px}
.anno .dot{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--accent);color:var(--accent);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ---- buttons ---- */
.ctas{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.btn{display:inline-block;font-size:14px;font-weight:600;padding:14px 26px;border-radius:var(--radius);transition:transform var(--dur) var(--ease),background var(--dur) var(--ease);white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--ink);color:var(--paper)}
.btn-primary:hover{background:var(--accent)}
.btn-ghost{border:1.5px solid var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}
.fine{font-size:12px;color:var(--ink-3);letter-spacing:.04em;text-transform:uppercase}

/* ---- grids ---- */
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.two{display:grid;grid-template-columns:1fr 1fr;gap:var(--s12)}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s8)}
.hero-grid>*,.two>*,.three>*{min-width:0}
@media(max-width:860px){.hero-grid,.two{grid-template-columns:1fr;gap:var(--s10)}.three{grid-template-columns:1fr}.anno{right:8px}}

/* ---- cards (field-note style) ---- */
.card{border:1px solid var(--line);background:var(--white);padding:var(--s8)}
.card .h3{margin:var(--s3) 0}

/* ---- tier selector (Michelle two-tier buy choice) ---- */
.tier{border:1.5px solid var(--ink);background:var(--white);margin-top:24px;max-width:460px}
.tier-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid var(--line)}
.tier-row:last-child{border-bottom:0}
.t-meta{min-width:0}
.t-name{font-family:Fraunces,serif;font-weight:600;font-size:18px;line-height:1.1}
.t-desc{font-size:13.5px;color:var(--ink-3);margin-top:3px;line-height:1.4}
.t-buy{display:flex;align-items:center;gap:14px;flex-shrink:0}
.t-price{font-family:Fraunces,serif;font-weight:900;font-size:20px;white-space:nowrap}
.t-price .t-per{font-size:12px;font-weight:600;color:var(--ink-3)}
@media(max-width:520px){.tier-row{flex-wrap:wrap;gap:10px}.t-buy{width:100%;justify-content:space-between}}

/* ---- setup badge (Tier-B "starts when you connect", NOT grey/disabled) ---- */
.badge-setup{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.04em;padding:4px 9px;border:1px solid var(--accent);color:var(--accent);background:var(--accent-soft);border-radius:2px}
.badge-live{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.04em;padding:4px 9px;color:var(--paper);background:var(--accent);border-radius:2px}

/* ---- intent capture (Tier-B "get notified") ---- */
.notify{display:flex;gap:8px;margin-top:12px;max-width:380px}
.notify input{flex:1;min-width:0;font:inherit;font-size:14px;padding:10px 12px;border:1.5px solid var(--ink);border-radius:var(--radius);background:var(--white)}
.notify .btn{flex-shrink:0}

/* ---- footer ---- */
.foot{border-top:1.5px solid var(--ink);padding:var(--s12) 0;color:var(--ink-3);font-size:14px}
.foot a{color:var(--ink-3)}
.foot a:hover{color:var(--ink)}
.foot-links{display:flex;flex-wrap:wrap;gap:18px}

/* ============================================================
   HERO v2, two-column grid: copy left, phone right
   ============================================================ */
.hero-section{padding:clamp(48px,6vw,80px) 0 clamp(56px,7vw,96px)}
.hero-grid-v2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(48px,6vw,80px);
  align-items:center;
}
.hero-left{display:flex;flex-direction:column;align-items:flex-start}
.hero-phone-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.hero-phone-legend{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  color:var(--ink-3);
}
@media(max-width:860px){
  .hero-grid-v2{grid-template-columns:1fr;gap:var(--s10)}
  .hero-phone-wrap{align-items:flex-start}
}

/* ============================================================
   STATS ROW, Entry 02 big number + context
   ============================================================ */
.stat-row{
  display:grid;
  grid-template-columns:auto 1px 1fr;
  gap:clamp(28px,4vw,56px);
  align-items:center;
  margin-top:var(--s12);
}
.stat-block{min-width:0}
.stat-number{
  font-family:Fraunces,Georgia,serif;
  font-weight:900;
  font-size:clamp(52px,7vw,96px);
  line-height:.95;
  letter-spacing:-.03em;
  color:var(--ink);
}
.stat-label{
  font-size:14px;
  font-weight:600;
  color:var(--ink-2);
  margin-top:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.stat-sub{font-size:13px;color:var(--ink-3);margin-top:6px;line-height:1.5}
.stat-divider{height:80px;background:var(--ink);width:1.5px;align-self:center;flex-shrink:0}
.stat-context{min-width:0}
@media(max-width:760px){
  .stat-row{grid-template-columns:1fr;gap:var(--s8)}
  .stat-divider{display:none}
}

/* ============================================================
   METHOD GRID, Entry 03 three steps
   ============================================================ */
.method-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:24px;
  align-items:start;
}
.method-step{display:flex;flex-direction:column;gap:20px}
.method-img-wrap{
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
  border:1.5px solid var(--ink);
  background:#161412;
  position:relative;
  display:flex;
  align-items:stretch;
}
.method-img-wrap > *{flex:1}
.method-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ink-3);
  padding-top:80px;
  flex-shrink:0;
}
.method-cap{}
@media(max-width:860px){
  .method-grid{grid-template-columns:1fr;gap:var(--s8)}
  .method-arrow{display:none}
}

/* ============================================================
   ROSTER GRID, Entry 04
   ============================================================ */
.roster-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.roster-plate{
  display:flex;
  flex-direction:column;
  border:1.5px solid var(--ink);
  background:var(--white);
  overflow:hidden;
}
.roster-plate img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:center top;
  display:block;
  filter:saturate(.92) contrast(1.02);
}
.roster-cap{
  border-top:1px solid var(--line);
  padding:10px 12px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.roster-more{
  background:var(--paper);
  border:1.5px solid var(--ink);
  min-height:200px;
}
.roster-more-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  height:100%;
  gap:16px;
  padding:24px;
}
.roster-more-count{
  font-family:Fraunces,Georgia,serif;
  font-weight:900;
  font-size:36px;
  color:var(--ink);
  line-height:1;
}
@media(max-width:900px){.roster-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.roster-grid{grid-template-columns:repeat(2,1fr)}}

/* ============================================================
   PHONE MOCKUP COMPONENT
   Used for hero phone and 3 method phones.
   .phone, outer wrapper, sets width via inline style
   .phone-frame, the device bezel
   .phone-screen, dark content area
   ============================================================ */
.phone{
  display:block;
  position:relative;
  width:100%;
}
.phone-frame{
  border-radius:28px;
  border:2px solid #1a1a1a;
  box-shadow:
    0 0 0 1px #2a2a2a,
    0 24px 64px rgba(0,0,0,.30),
    0 8px 24px rgba(0,0,0,.18);
  background:#1a1a1a;
  padding:10px 8px;
  position:relative;
}
/* notch */
.phone-frame::before{
  content:'';
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:72px;
  height:20px;
  background:#1a1a1a;
  border-radius:0 0 14px 14px;
  z-index:2;
}
.phone-screen{
  background:#161412;
  border-radius:20px;
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
}

/* --- Status bar (thin strip at top of every phone) --- */
.phone-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 16px 6px;
  font-size:11px;
  font-weight:600;
  color:rgba(255,255,255,.55);
  letter-spacing:.02em;
  flex-shrink:0;
}

/* --- App header / title bar inside the phone --- */
.phone-appbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  flex-shrink:0;
}
.phone-appbar-title{
  font-family:Inter,sans-serif;
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.9);
  letter-spacing:.04em;
  text-transform:uppercase;
}
.phone-appbar-dot{
  width:7px;height:7px;border-radius:50%;background:#34503f;
}

/* --- Content area inside screen --- */
.phone-body{
  padding:14px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

/* --- Incoming call banner --- */
.phone-call-banner{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(52,80,63,.22);
  border:1px solid rgba(52,80,63,.55);
  border-radius:8px;
  padding:9px 12px;
}
.phone-call-dot{
  width:28px;height:28px;border-radius:50%;
  background:#34503f;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.phone-call-dot svg{display:block}
.phone-call-info{flex:1;min-width:0}
.phone-call-sub{
  font-size:9.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(52,80,63,.9);line-height:1;
}
.phone-call-num{
  font-size:12.5px;font-weight:600;color:rgba(255,255,255,.85);
  margin-top:2px;letter-spacing:.02em;
}
.phone-live-badge{
  font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#34503f;padding:2px 6px;border:1px solid rgba(52,80,63,.6);border-radius:3px;
  flex-shrink:0;
}

/* --- Job card --- */
.phone-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  overflow:hidden;
}
.phone-card-head{
  background:rgba(52,80,63,.18);
  border-bottom:1px solid rgba(52,80,63,.3);
  padding:8px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.phone-card-title{
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(52,80,63,.9);
}
.phone-card-check{
  width:14px;height:14px;border-radius:50%;
  border:1.5px solid rgba(52,80,63,.6);
  display:flex;align-items:center;justify-content:center;
}
.phone-card-rows{padding:10px 12px 8px;display:flex;flex-direction:column;gap:5px}
.phone-card-row{display:flex;gap:8px;align-items:baseline}
.phone-card-key{
  font-size:9.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(255,255,255,.35);width:56px;flex-shrink:0;line-height:1.4;
}
.phone-card-val{
  font-size:11.5px;font-weight:500;color:rgba(255,255,255,.82);line-height:1.4;
}

/* --- Action buttons inside phone --- */
.phone-actions{
  display:flex;gap:8px;padding:4px 0 2px;
}
.phone-btn{
  flex:1;
  padding:9px 0;
  border-radius:6px;
  font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  text-align:center;border:0;cursor:pointer;
  font-family:Inter,sans-serif;
}
.phone-btn-approve{
  background:#34503f;color:#fff;
}
.phone-btn-approve.pressed{
  background:#2a4132;
  box-shadow:inset 0 2px 4px rgba(0,0,0,.35);
  transform:scale(.98);
}
.phone-btn-edit{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.6);
}

/* --- Waveform (method step 1) --- */
.phone-waveform{
  display:flex;
  align-items:center;
  gap:3px;
  height:28px;
  padding:0 4px;
}
.phone-waveform span{
  display:block;
  width:3px;
  border-radius:2px;
  background:rgba(52,80,63,.7);
  animation:wave .9s ease-in-out infinite;
}
.phone-waveform span:nth-child(1){height:30%;animation-delay:0s}
.phone-waveform span:nth-child(2){height:65%;animation-delay:.1s}
.phone-waveform span:nth-child(3){height:90%;animation-delay:.2s;background:rgba(52,80,63,1)}
.phone-waveform span:nth-child(4){height:55%;animation-delay:.3s}
.phone-waveform span:nth-child(5){height:80%;animation-delay:.15s;background:rgba(52,80,63,.9)}
.phone-waveform span:nth-child(6){height:40%;animation-delay:.25s}
.phone-waveform span:nth-child(7){height:70%;animation-delay:.05s}
.phone-waveform span:nth-child(8){height:50%;animation-delay:.35s}
.phone-waveform span:nth-child(9){height:85%;animation-delay:.12s;background:rgba(52,80,63,.95)}
.phone-waveform span:nth-child(10){height:35%;animation-delay:.22s}
.phone-waveform span:nth-child(11){height:60%;animation-delay:.32s}
.phone-waveform span:nth-child(12){height:45%;animation-delay:.08s}
@keyframes wave{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.45)}}

/* --- Active call screen (method step 1) --- */
.phone-active-call{
  display:flex;flex-direction:column;align-items:center;
  padding:14px 14px 10px;
  gap:8px;
}
.phone-active-call-label{
  font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(52,80,63,.85);
}
.phone-active-call-num{
  font-size:15px;font-weight:600;color:rgba(255,255,255,.88);letter-spacing:.02em;
}
.phone-active-call-timer{
  font-size:11px;color:rgba(255,255,255,.4);letter-spacing:.04em;font-variant-numeric:tabular-nums;
}
.phone-active-call-avatar{
  width:44px;height:44px;border-radius:50%;
  background:#34503f;
  display:flex;align-items:center;justify-content:center;
  border:2px solid rgba(52,80,63,.5);
}
.phone-active-call-avatar svg{display:block}

/* hero phone specific sizing */
.hero-phone-frame-wrap{
  width:clamp(240px,30vw,320px);
  max-width:320px;
}

/* ============================================================
   Homepage premium trades layout
   ============================================================ */
.home-hero{
  padding:clamp(44px,6vw,82px) 0 clamp(56px,7vw,96px);
}
.home-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(36px,5vw,72px);
  align-items:center;
}
.home-hero-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.home-hero-copy .lead{
  max-width:520px;
  margin-top:var(--s6);
}
.home-hero-copy .tier{
  margin-top:var(--s10);
}
.home-hero-copy .fine{
  margin-top:14px;
}
.home-hero-figure{
  border:1.5px solid var(--ink);
  background:var(--white);
  padding:8px;
  min-height:clamp(360px,42vw,560px);
}
.home-hero-figure img{
  width:100%;
  height:100%;
  min-height:clamp(344px,40vw,544px);
  object-fit:cover;
  object-position:center;
  border-radius:2px;
}
.serve-section{
  padding-top:var(--s16);
}
.serve-photo{
  border:1.5px solid var(--ink);
  background:var(--white);
  padding:8px;
}
.serve-photo img{
  width:100%;
  height:clamp(260px,32vw,360px);
  object-fit:cover;
  object-position:center;
}
.serve-copy{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:var(--s8);
  align-items:start;
  margin-top:var(--s8);
}
.serve-copy .h2{
  max-width:840px;
}
.home-stat-row .stat-context{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--s8);
}
.home-method-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--s5);
  margin-top:var(--s12);
}
.home-method-card{
  border:1.5px solid var(--ink);
  background:var(--white);
  padding:var(--s8);
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.home-method-card .h3{
  margin-top:var(--s6);
}
.home-method-card .body{
  margin-top:var(--s3);
  max-width:220px;
}
.home-team-line{
  margin-top:var(--s4);
  max-width:560px;
}
.home-roster-grid{
  margin-top:var(--s12);
  align-items:stretch;
}
.home-roster-plate{
  min-width:0;
  transition:transform var(--dur) var(--ease),background var(--dur) var(--ease);
}
.home-roster-plate:hover{
  transform:translateY(-2px);
}
.home-roster-plate img{
  width:100%;
  aspect-ratio:1/1;
  height:auto;
  object-fit:cover;
  object-position:center top;
}
.home-roster-plate .roster-cap{
  min-height:76px;
  justify-content:center;
}
.home-roster-more{
  min-height:0;
  aspect-ratio:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:var(--s5);
  padding:var(--s6);
  text-align:center;
}
.home-roster-more:hover{
  background:var(--accent-soft);
}
.home-roster-more .btn{
  white-space:normal;
}
@media(max-width:920px){
  .home-hero-grid{grid-template-columns:1fr}
  .home-hero-figure{min-height:0}
  .home-hero-figure img{min-height:0;height:clamp(300px,58vw,520px)}
  .serve-copy{grid-template-columns:1fr;gap:var(--s3)}
  .home-method-grid{grid-template-columns:1fr}
  .home-method-card{min-height:0}
}
@media(max-width:620px){
  .home-hero{padding-top:var(--s10)}
  .home-hero-figure,.serve-photo{padding:6px}
  .home-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-roster-more{min-height:220px}
}
@media(max-width:390px){
  .home-roster-grid{grid-template-columns:1fr}
}

/* ============================================================
   Homepage reviewer pass overrides
   ============================================================ */
.home-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(44px,6vw,84px);
}
.home-hero-figure{
  width:100%;
  min-height:0;
  aspect-ratio:4/5;
  display:flex;
}
.home-hero-figure img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center;
}
.serve-section .wrap{
  display:grid;
  gap:var(--s8);
}
.serve-copy{
  grid-template-columns:minmax(0,1fr);
  gap:var(--s4);
  margin-top:0;
}
.serve-copy .label,
.serve-copy .h2{
  max-width:840px;
}
.stat-sub{
  font-size:14px;
  color:var(--ink-3);
  line-height:1.55;
}
.home-method-grid{
  align-items:stretch;
}
.home-method-card{
  min-height:0;
  height:100%;
  padding:var(--s6);
  justify-content:flex-start;
}
.home-method-card .h3{
  margin-top:var(--s5);
}
.home-method-card .body{
  margin-top:var(--s3);
}
.home-roster-grid{
  align-items:stretch;
}
.home-roster-plate{
  height:100%;
}
.home-roster-plate img{
  height:auto;
  flex:0 0 auto;
}
.home-roster-plate .roster-cap{
  flex:1 0 auto;
}
.home-roster-more{
  aspect-ratio:auto;
  min-height:0;
  height:100%;
  align-self:stretch;
}
.home-roster-grid + .fine{
  margin-top:var(--s5);
}
.home-close{
  padding:clamp(48px,6vw,80px) 0;
}
.home-close-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:var(--s10);
  align-items:end;
}
.home-close-inner .body{
  margin-top:var(--s5);
  max-width:680px;
}
@media(max-width:920px){
  .home-hero-grid,
  .home-close-inner{
    grid-template-columns:1fr;
  }
  .home-hero-figure{
    aspect-ratio:1/1;
  }
}
@media(max-width:620px){
  .home-roster-more{
    min-height:0;
  }
  .home-close-inner{
    gap:var(--s8);
  }
}

/* ============================================================
   Homepage consolidated fix overrides
   ============================================================ */
.home-hero-figure{
  aspect-ratio:4/5;
}
.home-hero-figure img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 30%;
}
.serve-photo img{
  object-fit:cover;
  object-position:50% 25%;
}
.home-calculator{
  align-items:start;
}
.calc-result{
  min-width:min(100%,480px);
}
.calc-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--s4);
  margin-top:var(--s6);
  max-width:520px;
}
.calc-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  font-size:13px;
  font-weight:700;
  color:var(--ink-2);
}
.calc-field span:first-child{
  display:flex;
  justify-content:space-between;
  gap:var(--s3);
}
.calc-field strong{
  color:var(--accent);
  font-weight:800;
}
.calc-field input{
  width:100%;
  min-width:0;
  font:inherit;
  font-size:16px;
  font-weight:650;
  color:var(--ink);
  background:var(--white);
  border:1.5px solid var(--ink);
  border-radius:var(--radius);
  padding:12px 13px;
  outline:none;
}
.calc-field input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}
.calc-money-input{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  background:var(--white);
  border:1.5px solid var(--ink);
  border-radius:var(--radius);
  overflow:hidden;
}
.calc-money-input span{
  padding:0 0 0 13px;
  color:var(--accent);
  font-weight:800;
}
.calc-money-input input{
  border:0;
  border-radius:0;
  padding-left:7px;
}
.calc-money-input:focus-within{
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}
.calc-money-input:focus-within input{
  box-shadow:none;
}
.calc-range{
  grid-column:1/-1;
}
.calc-range input[type="range"]{
  appearance:none;
  height:34px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.calc-range input[type="range"]::-webkit-slider-runnable-track{
  height:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-soft));
  border:1px solid var(--ink);
}
.calc-range input[type="range"]::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  margin-top:-8px;
  border:1.5px solid var(--ink);
  border-radius:50%;
  background:var(--white);
  cursor:pointer;
}
.calc-range input[type="range"]::-moz-range-track{
  height:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-soft));
  border:1px solid var(--ink);
}
.calc-range input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  border:1.5px solid var(--ink);
  border-radius:50%;
  background:var(--white);
  cursor:pointer;
}
@media(max-width:920px){
  .home-hero-figure{
    aspect-ratio:4/5;
  }
}
@media(max-width:620px){
  .calc-fields{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   Team and bundle cleanup
   ============================================================ */
.team-hero{
  align-items:center;
}
.team-hero .body{
  max-width:560px;
}
.team-hero-plate{
  width:100%;
}
.team-hero-plate img{
  aspect-ratio:4/5;
  width:100%;
  height:auto;
  object-fit:cover;
  object-position:50% 35%;
}
.team-card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(22px,3vw,36px);
  align-items:stretch;
}
.team-card-grid-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.team-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--white);
}
.team-card-plate{
  padding:12px 12px 0;
  flex:0 0 auto;
}
.team-card-plate img{
  width:100%;
  height:clamp(210px,22vw,280px);
  object-fit:cover;
  object-position:50% 16%;
}
.team-card-plate .cap{
  display:none;
}
.team-card-body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:10px;
  padding:18px 2px 0;
}
.team-card-body .h3{
  margin:0;
}
.team-card-body .body{
  margin:2px 0 0;
  font-size:15px;
  line-height:1.45;
}
.team-card-body .fig{
  margin-top:auto;
}
.team-card-body .btn{
  width:100%;
  text-align:center;
}
.team-price-per{
  font-size:11px;
}
.team-card-connect{
  padding-bottom:0;
}
.team-card-connect .team-card-body{
  padding-bottom:14px;
}
.team-card-connect .notify{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  margin-top:auto;
  max-width:none;
}
.team-card-connect .notify .btn{
  width:100%;
  text-align:center;
}
.bundle-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,460px);
  gap:clamp(42px,6vw,72px);
  align-items:center;
}
.bundle-hero .body{
  max-width:560px;
}
.bundle-price-panel{
  border:1.5px solid var(--ink);
  background:var(--white);
  padding:clamp(24px,4vw,36px);
}
.bundle-members{
  display:grid;
  gap:0;
  margin:20px 0;
  border-top:1px solid var(--line);
}
.bundle-members div,
.bundle-price-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink-2);
  font-size:15px;
}
.bundle-members strong,
.bundle-price-row strong{
  color:var(--ink);
  font-family:Fraunces,serif;
  white-space:nowrap;
}
.bundle-old-price{
  color:var(--ink-3);
  text-decoration:line-through;
}
.bundle-total{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:baseline;
  padding:18px 0 22px;
  border-bottom:1.5px solid var(--ink);
  margin-bottom:18px;
}
.bundle-total span{
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.bundle-total strong{
  font-family:Fraunces,serif;
  font-size:clamp(34px,4vw,48px);
  line-height:1;
  color:var(--accent);
}
.bundle-total strong span{
  font-size:13px;
  letter-spacing:0;
  color:var(--ink-3);
}
.bundle-price-panel .btn{
  display:block;
  width:100%;
  text-align:center;
}
.bundle-price-panel .fine{
  margin-top:14px;
  text-align:center;
}
.bundle-four-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(18px,3vw,30px);
  align-items:stretch;
}
.bundle-member-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.bundle-member-card .h3{
  margin:12px 0;
}
.bundle-member-card .body{
  font-size:15px;
  line-height:1.55;
}
.bundle-member-card .fine{
  margin-top:auto;
  padding-top:18px;
}
@media(max-width:980px){
  .team-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .team-card-grid-three{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .bundle-four-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:860px){
  .bundle-hero{
    grid-template-columns:1fr;
  }
}
@media(max-width:720px){
  .team-card-grid,
  .team-card-grid-three{
    grid-template-columns:1fr;
  }
  .bundle-four-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .bundle-price-panel{
    padding:22px;
  }
  .bundle-members div,
  .bundle-price-row,
  .bundle-total{
    flex-direction:column;
    gap:4px;
  }
}

/* ---- bundle member card portraits ---- */
.bundle-member-card .bundle-member-img{width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--line);margin-bottom:14px;display:block}

/* ---- bundles hero: front-office group photo (replaces price panel in entry 01) ---- */
.bundle-hero-photo{border:1.5px solid var(--ink);background:var(--white);padding:8px;align-self:center;position:relative}
.bundle-hero-photo img{width:100%;display:block;filter:saturate(.94) contrast(1.02)}
.bundle-hero-photo .cap{border-top:1.5px solid var(--ink);margin-top:8px;padding:12px 4px 4px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}

/* Team page restructure */
.team-hero-banner{
  display:block;
  padding-top:clamp(12px,2vw,22px);
  padding-bottom:clamp(10px,2vw,18px);
}
.team-hero-banner .h1{
  max-width:1040px;
}
.team-hero-banner .lead{
  max-width:780px;
  margin:22px 0 0;
}
#ready .team-card-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(18px,2.2vw,28px);
}
#ready .team-card{
  min-height:100%;
  border:1px solid var(--line);
  padding:10px;
}
#ready .team-card-plate{
  padding:0;
}
#ready .team-card-plate img{
  display:block;
  height:clamp(210px,18vw,260px);
  aspect-ratio:auto;
  border:0;
}
#ready .team-card-body{
  padding:16px 0 0;
}
#ready .team-card-body .badge-setup{
  align-self:flex-start;
}
#ready .team-card-body .body{
  min-height:44px;
}
#ready .team-card-body .btn{
  margin-top:0;
}
@media(max-width:1120px){
  #ready .team-card-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:900px){
  #ready .team-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #ready .team-card-plate img{
    height:clamp(230px,44vw,340px);
  }
}
@media(max-width:560px){
  #ready .team-card-grid{
    grid-template-columns:1fr;
  }
  #ready .team-card-plate img{
    height:clamp(280px,88vw,430px);
  }
}
#ready .h2{
  margin-bottom:var(--s8);
}
