/* A visual-rhythm pass; approved copy, fonts, tokens and native scrolling stay. */
.hero-sky { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.8; pointer-events:none; }

@media(min-width:821px) {
  .hero { display:flex; align-items:center; min-height:calc(100svh - var(--header-height)); padding-block:clamp(42px,6vh,80px); }
  .hero-layout { grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr); gap:clamp(32px,4vw,64px); }
  .hero-heading { font-size:clamp(34px,3.2vw,48px); }
  .hero-visual { min-height:0; }
}

/* Native copy beside real campaign artwork, not a diagram or UI mockup. */
.ecosystem-section > .wrap > .section-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 clamp(36px,5vw,76px); max-width:none; margin-bottom:30px; }
.ecosystem-section .section-heading > .eyebrow { grid-column:1; grid-row:1; }
.ecosystem-section h2 { grid-column:1; grid-row:2; max-width:1000px; margin-bottom:0; font-size:clamp(36px,4.2vw,60px); }
.ecosystem-description { grid-column:2; grid-row:1/3; }
.ecosystem-description > p:last-child { margin-bottom:0; }
.ecosystem-stage { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(38px,5vw,76px); align-items:center; }
.campaign-art { position:relative; width:100%; pointer-events:none; }
.campaign-art > img { display:block; width:100%; height:100%; object-fit:contain; mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 84%,transparent); mask-composite:intersect; }
.ecosystem-art { aspect-ratio:4/3; }
.ecosystem-stage .service-grid { display:flex; flex-direction:column; gap:30px; }
.ecosystem-stage .service { display:grid; grid-template-columns:28px minmax(0,1fr); gap:0 20px; padding-top:24px; }
.ecosystem-stage .service-no { grid-column:1; grid-row:1/4; margin:6px 0 0; color:var(--gold); }
.ecosystem-stage .service h3 { grid-column:2; margin-bottom:10px; font-size:25px; }
.ecosystem-stage .service p { grid-column:2; margin-bottom:9px; font-size:16px; }
.ecosystem-stage .service-link { grid-column:2; justify-self:start; }

/* A shared NFT set is the visual center; the three roles have different places. */
.clan-section { padding-block:88px; background:#171A1E; }
.clan-section > .wrap > .section-heading { max-width:1180px; margin:0 auto 48px; text-align:center; }
.clan-section .eyebrow { justify-content:center; }
.clan-section h2 { max-width:1180px; font-size:clamp(36px,3.8vw,54px); }
.clan-section .section-heading > p:last-child { margin-inline:auto; }
.clan-stage { position:relative; min-height:780px; }
.clan-art { position:absolute; top:120px; left:50%; width:min(100%,1120px); aspect-ratio:16/9; transform:translateX(-50%); }
.clan-stage .clan-flow { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:minmax(174px,auto) auto; column-gap:36%; row-gap:clamp(316px,calc(32vw + 36px),460px); }
.clan-stage .clan-flow li { display:block; width:100%; max-width:340px; padding:0; border:0; }
.clan-stage .clan-flow li:first-child { grid-column:1/-1; grid-row:1; justify-self:center; text-align:center; }
.clan-stage .clan-flow li:nth-child(2) { grid-column:1; grid-row:2; }
.clan-stage .clan-flow li:nth-child(3) { grid-column:2; grid-row:2; justify-self:end; }
.clan-stage .flow-number { display:block; margin:0 0 15px; font-size:25px; }
.clan-stage li:first-child .flow-number { margin-inline:auto; }
.clan-stage .clan-flow h3 { max-width:none; margin-bottom:12px; font-size:25px; }
.clan-stage .clan-flow p { font-size:16px; }

/* The roadmap reads as a progression, with a different visual silhouette. */
.roadmap-section > .wrap > .section-heading { max-width:1000px; margin-bottom:55px; }
.roadmap-section h2 { max-width:1000px; font-size:clamp(36px,4.1vw,58px); }
.roadmap-story { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(36px,5vw,72px); align-items:center; }
.roadmap-story .phase-list { display:block; counter-reset:development; }
.roadmap-story .phase { position:relative; padding:0 0 40px 64px; border:0; counter-increment:development; }
.roadmap-story .phase::before { content:"0" counter(development); position:absolute; left:0; top:0; color:var(--paper-soft); font-family:var(--font-display); font-size:25px; line-height:1.5; letter-spacing:-.04em; }
.roadmap-story .phase::after { content:""; position:absolute; left:18px; top:46px; bottom:12px; width:1px; background:var(--line); }
.roadmap-story .phase:first-child::before { color:var(--gold); }
.roadmap-story .phase:last-child { padding-bottom:0; }
.roadmap-story .phase:last-child::after { display:none; }
.roadmap-story .phase-status { margin-bottom:12px; }
.roadmap-story .phase h3 { font-size:25px; }
.roadmap-story .phase p { max-width:52ch; font-size:16px; }
.future-visual { width:min(100%,534px); height:auto; aspect-ratio:1145/1374; justify-self:center; }

@media(max-width:1090px) and (min-width:821px) {
  .ecosystem-stage { grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:32px; }
  .ecosystem-stage .service-grid { gap:22px; }
  .ecosystem-stage .service h3 { font-size:22px; }
  .clan-stage .clan-flow h3 { font-size:22px; }
  .clan-stage .clan-flow p { font-size:15px; }
  .roadmap-story .phase { padding-left:52px; }
  .roadmap-story .phase h3 { font-size:22px; }
}

@media(max-width:820px) {
  .hero { min-height:0; }
  .ecosystem-section > .wrap > .section-heading { display:block; margin-bottom:20px; }
  .ecosystem-section h2 { margin-bottom:28px; }
  .ecosystem-section h2,.clan-section h2,.roadmap-section h2 { font-size:clamp(30px,4.6vw,42px); }
  .ecosystem-stage { grid-template-columns:minmax(0,1fr); gap:28px; }
  .ecosystem-art { width:min(100%,650px); justify-self:center; }
  .ecosystem-stage .service-grid { gap:24px; }
  .ecosystem-stage .service h3 { font-size:23px; }
  .clan-section { padding-block:78px; }
  .clan-section > .wrap > .section-heading { max-width:680px; margin-bottom:10px; text-align:left; }
  .clan-section .eyebrow { justify-content:flex-start; }
  .clan-section .section-heading > p:last-child { margin-inline:0; }
  .clan-stage { display:flex; flex-direction:column; gap:24px; min-height:0; }
  .clan-art { position:relative; inset:auto; width:100%; max-width:760px; margin-inline:auto; transform:none; }
  .clan-stage .clan-flow { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:none; gap:26px; }
  .clan-stage .clan-flow li,.clan-stage .clan-flow li:first-child,.clan-stage .clan-flow li:nth-child(2),.clan-stage .clan-flow li:nth-child(3) { display:grid; grid-template-columns:32px minmax(0,1fr); grid-column:auto; grid-row:auto; gap:0 20px; width:100%; max-width:none; padding-top:22px; border-top:1px solid var(--line); justify-self:stretch; text-align:left; }
  .clan-stage .flow-number,.clan-stage li:first-child .flow-number { grid-column:1; grid-row:1/3; margin:3px 0 0; font-size:20px; }
  .clan-stage .clan-flow h3 { grid-column:2; margin-bottom:10px; font-size:23px; }
  .clan-stage .clan-flow p { grid-column:2; font-size:16px; }
  .roadmap-section > .wrap > .section-heading { margin-bottom:36px; }
  .roadmap-story { grid-template-columns:minmax(0,1fr); gap:30px; }
  .roadmap-story .phase { padding-left:60px; padding-bottom:32px; }
  .roadmap-story .phase h3 { font-size:23px; }
  .roadmap-story .phase p { max-width:63ch; }
  .future-visual { width:min(100%,440px); height:auto; }
}

@media(max-width:640px) {
  .clan-section { padding-block:62px; }
  .ecosystem-section h2 { margin-bottom:22px; }
  .ecosystem-section h2,.clan-section h2,.roadmap-section h2 { font-size:clamp(27px,6.7vw,36px); }
  .ecosystem-stage .service { grid-template-columns:28px minmax(0,1fr); gap:0 16px; padding-top:21px; }
  .ecosystem-stage .service h3,.clan-stage .clan-flow h3,.roadmap-story .phase h3 { font-size:21px; }
  .ecosystem-stage .service p,.clan-stage .clan-flow p,.roadmap-story .phase p { font-size:15px; line-height:1.75; }
  .clan-stage .clan-flow li,.clan-stage .clan-flow li:first-child,.clan-stage .clan-flow li:nth-child(2),.clan-stage .clan-flow li:nth-child(3) { grid-template-columns:28px minmax(0,1fr); gap:0 16px; }
  .clan-stage .flow-number,.clan-stage li:first-child .flow-number { font-size:18px; }
  .roadmap-story .phase { padding-left:46px; }
  .roadmap-story .phase::before { font-size:21px; }
  .roadmap-story .phase::after { left:14px; top:40px; }
}

@media(max-width:480px) {
  .hero-copy > .eyebrow { width:calc(100% - 154px); min-height:128px; }
  .hero-visual { top:-3px; width:144px; height:144px; }
}
@media(max-width:359px) {
  .hero-copy > .eyebrow { width:calc(100% - 130px); min-height:116px; }
  .hero-visual { width:124px; height:124px; }
}
