/* Brand art direction: live typography, purpose-made artwork, quiet material contrast. */
:root{--editorial:Georgia,"Times New Roman",serif}
.brand-kicker{display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:12px;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;color:var(--sand-2);margin-bottom:25px}
.brand-kicker::before{content:"";width:28px;height:1px;background:var(--amber);flex:none}
.brand-story{padding:0 0 clamp(88px,11vw,150px)}
.brand-story-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:12px}
.brand-scene{position:relative;isolation:isolate;overflow:hidden;min-height:540px;background:#211813;margin:0}
.brand-scene picture,.brand-scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.brand-scene::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(16,12,10,.88),rgba(16,12,10,.12) 68%)}
.brand-scene--architecture img{object-position:58% center}
.brand-scene--architecture{display:flex;align-items:flex-end}
.brand-scene-copy{padding:clamp(28px,3.4vw,48px);width:100%}
.brand-scene h2{font-family:var(--editorial);font-size:clamp(34px,3.7vw,52px);line-height:1.07;letter-spacing:-.035em;font-weight:400;max-width:11ch;text-wrap:balance}
.brand-scene .brand-kicker{font-size:12px;letter-spacing:.16em;margin-bottom:24px;color:#ede9df}
.brand-scene--weave{display:flex;align-items:center}
.brand-scene--weave img{object-position:43% center}
.brand-scene--weave::after{background:linear-gradient(90deg,rgba(16,12,10,.06),rgba(16,12,10,.45) 40%,rgba(16,12,10,.72))}
.brand-scene--weave .brand-scene-copy{padding-left:36%;padding-right:28px}
.brand-scene--weave h2{font-size:clamp(30px,3vw,43px);max-width:10ch}
.brand-scene--weave p{font-size:16px;color:var(--sand);margin-top:27px}
.brand-story-caption{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--rule);padding:20px 0;font-family:var(--mono);font-size:12px;letter-spacing:.045em;color:var(--sand-3)}
.closing{background:#1C1410;min-height:520px;display:flex;align-items:center}
.closing>.closing-art{position:absolute;inset:0 auto 0 0;width:min(100%,1100px);height:100%;object-fit:cover;object-position:left 55%;opacity:.65;pointer-events:none}
.closing::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,12,10,.05),rgba(16,12,10,.83) 48%,#100C0A 100%);pointer-events:none}
.closing>.wrap{z-index:1;width:100%;text-align:left;padding-left:clamp(240px,36vw,500px)}
.closing .glow,.closing .fixture-line{display:none}
.closing h2{font-family:var(--editorial);font-size:clamp(42px,5vw,68px);line-height:1.05;letter-spacing:-.035em;max-width:12ch;text-wrap:balance}
.closing .lede{margin:24px 0 0;max-width:38ch}
.closing .cform{justify-content:flex-start;margin:32px 0 0;max-width:520px}
.closing .brand-kicker{color:var(--sand-2)}
@media(min-width:1600px){.brand-scene{min-height:580px}}
@media(max-width:760px){
 .brand-story-grid{grid-template-columns:1fr;gap:10px}
 .brand-scene{min-height:480px}
 .brand-scene--weave{min-height:390px}
 .brand-scene h2{font-size:44px}
 .brand-scene--weave h2{font-size:38px}
 .brand-scene--weave .brand-scene-copy{padding-left:40%;padding-right:22px}
 .brand-story-caption{font-size:12px;flex-direction:column;gap:6px}
 .closing>.wrap{padding-left:var(--gutter)}
 .closing>.closing-art{opacity:.27;object-position:35% center}
 .closing::after{background:linear-gradient(90deg,rgba(16,12,10,.55),rgba(16,12,10,.82))}
 .closing h2{font-size:clamp(40px,9vw,60px);max-width:14ch}
 .brand-kicker{font-size:12px;letter-spacing:.07em}
}
@media(max-width:380px){.brand-scene h2{font-size:38px}.brand-scene--weave h2{font-size:32px}}

/* Espresso / leaf-green edition. No illustrated layer flashes before the first scroll. */
.hero #plan,.hero .runpanel{opacity:0;visibility:hidden;transition:opacity .32s ease,visibility .32s;pointer-events:none}
.hero.has-started #plan,.hero.has-started .runpanel{opacity:var(--hero-scene-opacity,1);visibility:visible}
.brand-scene--weave p{font-family:var(--editorial);font-size:clamp(36px,4.2vw,58px);line-height:1.05;letter-spacing:-.025em;color:#B8D6A1;margin-top:32px;text-wrap:balance}
@media(max-width:760px){.brand-scene--weave p{font-size:clamp(32px,8vw,44px)}}
@media(prefers-reduced-motion:reduce){.hero #plan,.hero .runpanel{transition:none}}
/* Carry the leaf tone into the existing woven logo without redrawing its geometry. */
img[src^="data:image"]{filter:hue-rotate(38deg) saturate(.3) brightness(.92)}
@media(max-width:1000px){
 .hero .runpanel{display:block;top:88px;bottom:auto;right:var(--gutter);width:230px;padding:13px 15px}
 .hero .runpanel #heroSteps,.hero .runpanel .kv{display:none}
 .hero .runpanel .readout{margin-top:10px}
}

/* Initial viewport: quiet espresso with a few deliberate green anchors. */
.hero-accent{color:#B8D6A1}
.hero .copy-a .brand-kicker{color:#A8C492}
.hero .hero-actions .btn-primary{background:#A8C492;color:#100C0A}
.hero .hero-actions .btn-primary:hover{background:#BED8A9}
.hero .hero-actions .btn-ghost{border-color:rgba(168,196,146,.4)}
.hero .hero-actions .btn-ghost svg{color:#A8C492}
.hero .hint{color:#A8C492}
.hero .hint::after{background:linear-gradient(#A8C492,transparent)}
/* Reference-led imagery: fine strands, original natural depth, architectural panorama. */
.brand-scene--weave{min-height:600px}
.brand-scene--weave img{object-position:center}
.brand-scene--weave::after{background:linear-gradient(90deg,transparent 30%,rgba(5,18,12,.08))}
.brand-scene--weave .brand-scene-copy{padding-left:49%;padding-right:24px}
.brand-scene--weave h2{font-family:var(--sans);font-size:clamp(16px,1.5vw,20px);font-weight:500;line-height:1.8;letter-spacing:.12em;text-transform:uppercase;max-width:12ch}
.brand-scene--weave p{font-family:var(--sans);font-size:clamp(25px,2.3vw,32px);font-weight:500;line-height:1.25;letter-spacing:.055em;text-transform:uppercase;color:#D7E6C9;margin-top:30px}
.closing{background:#100C0A;min-height:620px}
.closing>.closing-landscape{inset:0;width:100%;height:100%;max-width:none;opacity:1;object-fit:cover;object-position:center}
.closing::after{display:block;background:linear-gradient(90deg,rgba(8,16,10,.78),rgba(8,16,10,.56) 34%,rgba(8,16,10,.12) 68%,rgba(8,16,10,.04))}
.closing>.wrap{padding-left:var(--gutter)}
.closing .lede{color:#EDE9DF;max-width:34ch}
.closing .brand-kicker{max-width:38ch;color:#C4D6B7}
.closing .cform{max-width:510px}
.closing .cform input{background:rgba(16,12,10,.65);border-color:rgba(237,233,223,.42)}
@media(max-width:760px){
 .brand-scene--weave{min-height:540px}
 .brand-scene--weave .brand-scene-copy{padding-left:49%;padding-right:20px}
 .brand-scene--weave h2{font-size:17px;line-height:1.8}
 .brand-scene--weave p{font-size:26px}
 .closing{min-height:650px}
 .closing>.closing-landscape{object-position:58% center;opacity:1}
 .closing::after{background:linear-gradient(90deg,rgba(8,16,10,.83),rgba(8,16,10,.55))}
}

.hero.has-finale #plan,.hero.has-finale .runpanel{opacity:0;visibility:hidden}
.copy-b .big em{font:inherit;color:#B8D6A1}

/* Two-image closing invitation, moved from below the trailer. */
.closing-duo{padding:0 0 64px;scroll-margin-top:90px}
.closing-duo .brand-story-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.closing-duo .brand-scene{min-height:640px}
.closing-duo .brand-scene--architecture::after{background:linear-gradient(0deg,rgba(16,12,10,.94),rgba(16,12,10,.64) 48%,rgba(16,12,10,.03) 100%)}
.closing-duo .brand-scene--architecture h2{font-size:clamp(36px,3.8vw,52px);max-width:12ch}
.closing-duo .demo-invitation{margin-top:22px;color:#EDE9DF;font-size:16px;line-height:1.6;max-width:38ch}
.closing-duo .cform{margin:28px 0 0;max-width:none;justify-content:flex-start}
.closing-duo .cform input{background:rgba(16,12,10,.65);border-color:rgba(237,233,223,.45)}
.closing-duo .cform .btn{background:#A8C492;color:#100C0A}
.closing-duo .cmsg{margin-top:12px;font-size:14px}
.hero #plan,.hero .runpanel{transition:opacity .12s ease,visibility .12s}
@media(max-width:1000px){.closing-duo .cform{flex-direction:column}.closing-duo .cform input{flex:auto;width:100%}}
@media(max-width:900px){.closing-duo .brand-story-grid{grid-template-columns:1fr}.closing-duo .brand-scene--architecture{min-height:620px}.closing-duo .brand-scene--weave{min-height:540px}}
@media(prefers-reduced-motion:reduce){.hero #plan,.hero .runpanel{transition:none}}

.platform-blurb{margin-top:24px;max-width:68ch;color:var(--sand-2);font-size:clamp(17px,1.35vw,19px);line-height:1.65}
.platform-blurb p+p{margin-top:20px}
.hero .runpanel #heroSteps{font-size:12px}

.closing-duo .demo-followup{margin-top:12px;color:#D6D4C8;font-size:14px;line-height:1.5;max-width:38ch}
