/* Home page. Sections 1, 4 and 6 share one art-frame system (see site.css .art-frame). */
.home main{display:block}

/* ---------- Section 1: frozen hero art (unchanged pixels) ---------- */
.hero{padding:clamp(12px,1.6vw,24px) var(--gutter) 0}
.hero__frame{max-width:var(--max);margin:0 auto;border-radius:var(--radius);border:1px solid var(--line)}
.hero__desktop{display:none;position:relative;aspect-ratio:1850/759}
.hero__desktop img{width:100%;height:100%;display:block}
.hero__hot{position:absolute;display:block;border-radius:12px;top:72%;height:8%}
.hero__hot--a{left:4.65%;width:13.8%}
.hero__hot--b{left:19.25%;width:14.5%}
.hero__hot{transition:box-shadow .2s,background .2s}
.hero__hot:hover{box-shadow:0 0 0 2px rgba(133,86,21,.55);background:rgba(133,86,21,.06)}
.hero__hot:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.hero__mobile{display:block}
.hero__copy{padding:40px 4px 28px}
.hero__copy .display{font-size:var(--h-hero-m);margin:20px 0 22px}
.hero__copy .lede{max-width:34em}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero__photo{aspect-ratio:1.2;overflow:hidden;border:0;border-top:1px solid var(--line)}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:96% 50%}
@media(min-width:900px) and (max-width:1279px){.hero__photo{border-top:0;border-left:1px solid var(--line)}.hero__photo img{object-position:92% 50%}}
@media(min-width:900px) and (max-width:1279px){
  /* live-text hero for small laptops and landscape tablets (HOME-S01-001): real, scalable text instead of a 0.5x raster */
  .hero__mobile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:stretch}
  .hero__copy{padding:clamp(40px,5vw,64px) clamp(24px,3vw,40px);display:flex;flex-direction:column;justify-content:center}
  .hero__copy .display{font-size:clamp(40px,5vw,60px)}
  .hero__photo{aspect-ratio:auto;min-height:100%}
}
@media(min-width:1280px){
  .hero__desktop{display:block}
  .hero__mobile{display:none}
}

/* ---------- shared feature frame (Sections 4 and 6) ---------- */
.feature{padding:clamp(28px,4vw,56px) var(--gutter) 0}
.feature--accountability{--art-edge:#fcfbf7}
.feature--closing{--art-edge:#fdfbf7}
.feature__frame{max-width:var(--max);margin:0 auto;border-radius:var(--radius);border:1px solid var(--line);background:var(--art-edge,var(--paper))}
.feature__art{position:relative;display:block}
.feature__art img{display:block;width:100%;height:auto}
.feature__copy{padding:34px 20px 32px}
.feature__copy .display{font-size:var(--h-hero-m);margin:18px 0 18px}
.feature__copy .lede{max-width:32em;text-wrap:balance}
.feature__copy .btn{margin-top:26px}
.feature__lines{margin-top:22px;font-size:clamp(18px,4.6vw,24px);line-height:1.3;font-weight:620;letter-spacing:-.02em;color:var(--ink)}
.feature__small{margin-top:16px;font-size:15px;color:var(--muted)}

/* mobile: crop only the empty ivory zone on the left of the art, never a subject */
@media(max-width:899px){
  .feature__art{aspect-ratio:1.3;overflow:hidden}
  .feature__art img{height:100%;object-fit:cover;object-position:100% 50%}
}

@media(min-width:900px){
  .feature__frame{aspect-ratio:2.47/1;position:relative;overflow:hidden}
  .feature__art{position:absolute;right:0;top:0;bottom:0;width:auto}
  .feature__art img{height:100%;width:auto;max-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%);mask-image:linear-gradient(90deg,transparent 0,#000 5%)}
  .feature__copy{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 0 0 4.8%;max-width:50%}
  .feature__copy .display{font-size:var(--h-feature);margin:22px 0 22px}
  .feature__copy .lede{font-size:clamp(15px,1.25vw,18px);max-width:24em}
  .feature__lines{font-size:clamp(18px,1.7vw,25px)}
  .feature__small{font-size:clamp(13px,1.05vw,15px)}
}
@media(min-width:900px){.feature--closing .feature__copy{max-width:46%}}

/* pillars: editorial hairline columns, no icon chips */
.pillars{max-width:var(--max);margin:0 auto;list-style:none;padding:0;display:grid;grid-template-columns:1fr;border:1px solid var(--line);border-top:0;border-radius:0 0 var(--radius) var(--radius);background:var(--art-edge,var(--paper))}
.pillars li{padding:22px 24px;border-top:1px solid var(--line);display:grid;grid-template-columns:34px 1fr;gap:4px 8px}
.pillars li:first-child{border-top:0}
.pillars .n{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--champagne);padding-top:4px}
.pillars strong{display:block;font-size:16px;font-weight:650;letter-spacing:-.01em}
.pillars p{font-size:14px;color:var(--muted);line-height:1.45;margin-top:2px}
.feature__frame:has(+ .pillars){border-radius:var(--radius) var(--radius) 0 0}
@media(min-width:640px) and (max-width:1019px){
  .pillars{grid-template-columns:repeat(2,1fr)}
  .pillars li:nth-child(odd){border-right:1px solid var(--line)}
  .pillars li:nth-child(2){border-top:0}
  .pillars li:nth-child(5){grid-column:1/-1;border-right:0}
}
@media(min-width:1020px){
  .pillars{grid-template-columns:repeat(5,1fr)}
  .pillars li{border-top:0;border-left:1px solid var(--line);grid-template-columns:1fr;padding:26px 24px 30px}
  .pillars li:first-child{border-left:0}
  .pillars .n{padding:0 0 10px}
}

/* ---------- Section 2: owner economics ---------- */
.econ{padding:clamp(64px,8vw,112px) 0 clamp(56px,7vw,96px)}
.econ__head{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.econ__head .display{margin:16px 0 18px;max-width:18em}
.econ__body{max-width:var(--max);margin:clamp(32px,4vw,52px) auto 0;padding:0 var(--gutter)}
.scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.scenario{appearance:none;background:transparent;border:0;text-align:left;padding:26px 8px 24px;cursor:pointer;position:relative;display:flex;flex-direction:column;gap:6px;border-bottom:1px solid var(--line)}
.scenario:nth-child(odd){border-right:1px solid var(--line)}
.scenario:nth-last-child(-n+2){border-bottom:0}
.scenario .c{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.scenario .m{font-size:clamp(24px,6.2vw,44px);overflow-wrap:anywhere;font-weight:720;letter-spacing:-.04em;line-height:1.05;font-variant-numeric:tabular-nums}
.scenario .p{font-size:14px;color:var(--muted)}
.scenario::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:transparent;transition:background .2s}
.scenario[aria-pressed="true"]::before{background:var(--champagne-2)}
.scenario[aria-pressed="true"] .c{color:var(--champagne)}
.scenario:hover .m{color:var(--ink-2)}
@media(min-width:760px){
  .scenarios{grid-template-columns:repeat(4,minmax(0,1fr))}
  .scenario .m{font-size:clamp(20px,2.9vw,42px)}
  .scenario{border-bottom:0;padding:30px 28px 28px}
  .scenario:nth-child(odd){border-right:0}
  .scenario:not(:first-child){border-left:1px solid var(--line)}
}
.econ__controls{display:flex;flex-wrap:wrap;gap:20px 28px;align-items:flex-end;margin-top:34px}
.field{display:flex;flex-direction:column;gap:8px;min-width:min(100%,260px)}
.field label{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.field select{appearance:none;-webkit-appearance:none;min-height:52px;padding:0 44px 0 16px;border:1px solid var(--line-2);border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23081424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;font-size:15px;font-weight:550;cursor:pointer}
.econ__fine{display:grid;gap:10px;margin-top:28px;max-width:56em}
.econ__fine strong{font-weight:650}

/* ---------- Section 3: app ---------- */
.app{border-top:1px solid var(--line);padding:clamp(64px,8vw,112px) 0}
.app__grid{max-width:var(--max);margin:0 auto;padding:0 var(--gutter);display:grid;gap:40px;align-items:center}
.app__copy .display{margin:16px 0 20px}
.app__copy .btn{margin-top:30px}
.app__visual{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#efe9df;max-width:640px;justify-self:center;width:100%}
.app__visual img{width:100%;height:auto}
@media(min-width:900px){
  .app__grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(40px,6vw,96px)}
  .app__visual{justify-self:end}
}

/* ---------- Section 5: flexible deployment ---------- */
.deploy{border-top:1px solid var(--line);padding:clamp(64px,8vw,112px) 0}
.deploy__grid{max-width:var(--max);margin:0 auto;padding:0 var(--gutter);display:grid;gap:44px}
.deploy__intro .display{margin:16px 0 20px}
.deploy__intro .btn{margin-top:30px}
.deploy__list{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--line-2)}
.deploy__list li{display:grid;grid-template-columns:44px 1fr;gap:4px 12px;padding:24px 0;border-bottom:1px solid var(--line-2)}
.deploy__list .n{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--champagne);padding-top:5px}
.deploy__list h3{font-size:clamp(19px,1.7vw,24px);font-weight:680;letter-spacing:-.02em;line-height:1.2}
.deploy__list p{grid-column:2;color:var(--muted);font-size:15px;max-width:30em;margin-top:4px}
@media(min-width:900px){
  .deploy__grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(40px,6vw,96px);align-items:start}
}

.feature--closing{padding-bottom:clamp(56px,7vw,96px)}

/* ---------- Batch 3 refinements (Home) ---------- */
/* S2 selected state: ink rule + full-strength figure; unselected figures quieter (HOME-S02-005) */
.scenario .u{font-size:12px;font-weight:650;letter-spacing:.04em;color:var(--muted);margin-top:2px}
.scenario[aria-pressed="true"]::before{height:3px;background:var(--ink)}
.scenario[aria-pressed="true"] .m{color:var(--ink)}
.scenario[aria-pressed="false"] .m{color:#3a4a60}
.scenario[aria-pressed="true"] .c,.scenario[aria-pressed="true"] .u{color:var(--champagne)}
.econ__basis{font-size:14px;color:var(--ink-2)}
#econ-note:empty{display:none}
.fine{font-size:13px}
.app__cap{padding:12px 16px;background:var(--paper);border-top:1px solid var(--line)}
/* S6: keep every line clear of the baked arc fragment (HOME-S06-001) and size the closing CTA */
@media(min-width:900px){
  .feature--closing .feature__small{max-width:15.5em}
  .feature--closing .feature__lines{max-width:11em}
  .feature--closing .feature__copy .btn{margin-top:28px}
}
/* pillars: titles share one top line, tablet grid 3 + 2 (HOME-S04-003) */
.pillars li{align-content:start}
@media(min-width:640px) and (max-width:1019px){
  .pillars{grid-template-columns:repeat(6,1fr)}
  .pillars li{grid-column:span 2;border-right:1px solid var(--line);border-top:0}
  .pillars li:nth-child(n+4){grid-column:span 3;border-top:1px solid var(--line)}
  .pillars li:nth-child(3),.pillars li:nth-child(5){border-right:0}
  .pillars li:nth-child(odd),.pillars li:nth-child(2),.pillars li:nth-child(5){border-top:0}
  .pillars li:nth-child(n+4){border-top:1px solid var(--line)}
}

/* S3 / S5 headlines: sized to their columns so no word is left alone on a line (HOME-S03-002) */
.app__copy .display,.deploy__intro .display{font-size:clamp(30px,3.3vw,48px)}

/* HOME-S06: closing frame never clips its own text or CTA between 900 and 1279px */
@media(min-width:900px){.feature--closing .feature__frame{min-height:490px}}

/* review N-15: soft left edge on the live-text hero photo instead of a hard seam */
@media(min-width:900px) and (max-width:1279px){.hero__photo{border-left:0}.hero__photo img{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%);mask-image:linear-gradient(90deg,transparent 0,#000 9%)}.hero__actions{flex-wrap:nowrap}.hero__actions .btn{white-space:nowrap;padding-left:18px;padding-right:18px}}
#deploy-h{text-wrap:balance}


/* ---------- V9 ZRY-HOME-S06-004: closing panel is fully composed, not cropped ----------
   The art file is unchanged. The panel gains height and the art sits inside it with soft top and bottom edges,
   so the arcs no longer run into the frame; eyebrow and CTA get real breathing room. Revert: delete this block. */
@media(min-width:900px){
  .feature--closing .feature__frame{aspect-ratio:2.1/1;min-height:540px}
  .feature--closing .feature__art{top:6%;bottom:6%}
  .feature--closing .feature__art img{
    -webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 24%,#000 37%),linear-gradient(180deg,transparent 0,#000 9%,#000 91%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,transparent 24%,#000 37%),linear-gradient(180deg,transparent 0,#000 9%,#000 91%,transparent 100%);
    mask-composite:intersect}
}
@media(max-width:899px){
  .feature--closing .feature__copy{padding:30px 24px 48px}
  .feature--closing .feature__art img{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 78%,transparent 100%)}
}

/* ---------- V9 ZRY-XPG-012: headline drift (Home S3, S5) ----------
   S5 restored to the approved 3.7vw / 53px scale (three balanced lines). S3 raised from 47.5px to the largest size at which
   "Complete peace of mind" still holds one line in its column (no widow). Revert: delete this block. */
.deploy__intro .display{font-size:clamp(30px,3.7vw,53.3px)}
.app__copy .display{font-size:clamp(30px,3.7vw,53.3px)}

/* V24.8 Home-only editorial refinement: tighter Flexible Deployment rhythm.
   Preserve typography, content, imagery, layout and functionality elsewhere. */
.deploy{padding-block:clamp(52px,5.6vw,76px)}
@media(min-width:900px){
  .deploy__grid{gap:clamp(36px,4.5vw,72px)}
  .deploy__list li{padding-block:20px}
}
@media(max-width:899px){
  .deploy__grid{gap:32px}
}

/* V24.9 — Home-only responsive editorial micro-refinements.
   V24.8 frozen art/copy untouched; tablet and smartphone adjustments only. */
@media (min-width:640px) and (max-width:899px){
  /* Tablet headline: keep a distinct headline hierarchy without dominating the pillars. */
  .feature--accountability .feature__copy .display{font-size:clamp(39px,5.6vw,57px);line-height:1.08;letter-spacing:-.045em;max-width:13em}
  .feature--accountability .feature__copy{padding:28px clamp(24px,3.8vw,42px) 32px}
  .feature--accountability .feature__copy .lede{max-width:29em}
  .feature--accountability .feature__copy .btn{margin-top:23px}
  /* Regular 3 + 2 tile grid: no accidental uneven title baselines. */
  .pillars li{padding:20px 20px 22px;min-width:0}
  .pillars strong{font-size:15px;line-height:1.3}
  .pillars p{font-size:13px;line-height:1.5}
  .deploy{padding-block:clamp(48px,6.2vw,62px)}
  .deploy__grid{gap:28px}
  .deploy__intro .btn{margin-top:24px}
  .deploy__list li{padding-block:21px}
}
@media (max-width:639px){
  /* Phone widths: preserve image as independent full-width frame and avoid cramped CTA. */
  .feature--accountability .feature__copy{padding:26px 22px 30px}
  .feature--accountability .feature__copy .display{font-size:clamp(32px,8.2vw,46px);line-height:1.1;letter-spacing:-.04em;overflow-wrap:normal}
  .feature--accountability .feature__copy .btn{margin-top:22px}
  .pillars li{padding:18px 20px;min-width:0}
  .pillars strong{font-size:15px}
  .pillars p{font-size:13px;line-height:1.5}
  .deploy{padding-block:clamp(44px,12vw,58px)}
  .deploy__grid{gap:28px}
  .deploy__intro .btn{margin-top:24px}
  .deploy__list li{padding-block:20px}
  .deploy__list h3{overflow-wrap:break-word}
  .deploy__intro .btn,.feature--accountability .feature__copy .btn{max-width:100%;white-space:normal;text-align:left}
}
