@font-face {
  font-family: "Fell";
  src: url("fonts/IMFellEnglish.ttf") format("truetype");
  font-display: swap;
}
:root {
  --deep: #10292b;      /* sea-shadow teal */
  --teal: #1d4a4a;
  --sea: #2f7471;
  --paper: #f1e8d4;
  --paper-dim: #d9cdb2;
  --gold: #e3b35c;      /* warm light */
  --ochre: #c98a3c;
  --red: #b8302a;       /* the scarf: the one precious red */
  --ink: #2b2433;       /* ink C, grey-violet */
  --serif: "Fell", "Iowan Old Style", Georgia, serif;
  --body: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--deep); color: var(--paper);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 6vw, 54px); letter-spacing: .01em; }
h3.sub { font-size: clamp(24px, 4vw, 34px); margin-top: 2.2em; }
h4 { font-size: 22px; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.eyebrow { font-family: var(--serif); color: var(--gold); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em; }
.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 44em; }
.note { color: var(--paper-dim); font-style: italic; font-size: 15px; margin-top: 1.2em; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,41,43,.55) 0%, rgba(16,41,43,0) 22%, rgba(16,41,43,0) 45%, rgba(16,41,43,.85) 82%, var(--deep) 100%),
    radial-gradient(ellipse at 20% 85%, rgba(16,41,43,.55), transparent 60%);
}
.topnav { position: absolute; top: 0; right: 0; left: 0; display: flex; justify-content: flex-end; gap: 22px; padding: 18px 22px; z-index: 2; font-family: var(--serif); font-size: 18px; }
.topnav a { color: var(--paper); text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.topnav a:hover { color: var(--gold); }
.hero-copy { position: relative; z-index: 2; padding: 0 22px 13vh; width: min(var(--max), 100%); margin-inline: auto; }
.kicker { font-family: var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-size: 15px; margin-bottom: .2em; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero h1 {
  font-size: clamp(64px, 15vw, 170px); margin: 0; letter-spacing: .04em; color: var(--paper);
  text-shadow: 0 3px 24px rgba(0,0,0,.45);
}
.scar { display: block; width: clamp(140px, 30vw, 360px); height: 9px; margin: .1em 0 .7em 0.3em;
  background: var(--red); border-radius: 50% 40% 60% 50% / 100% 60% 100% 60%; transform: rotate(-2deg) skewX(-20deg);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.tagline { font-size: clamp(19px, 3vw, 27px); max-width: 26em; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn { font: 19px var(--serif); padding: 14px 24px; border-radius: 3px; text-decoration: none; cursor: pointer; border: 1px solid transparent; letter-spacing: .03em; }
.btn-red { background: var(--red); color: #fff6ea; box-shadow: 0 6px 22px rgba(184,48,42,.35); }
.btn-red:hover { background: #cc3a31; }
.btn-ghost { background: rgba(16,41,43,.45); color: var(--paper); border-color: rgba(241,232,212,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; color: var(--paper); font-size: 34px; text-decoration: none; opacity: .7; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- bands ---------- */
.band { padding: clamp(64px, 11vw, 130px) 0; position: relative; }
.wind { background: var(--deep); }
.island { background: linear-gradient(180deg, var(--deep), var(--teal) 40%, var(--teal)); }
.fights { background: #e9dcbf; color: var(--ink); }
.fights .eyebrow { color: var(--red); }
.fights a { color: var(--red); }
.making { background: var(--paper); color: var(--ink); }
.making .eyebrow { color: var(--sea); }
.concepts { background: var(--ink); }
.honest { background: var(--deep); }

/* wind triptych */
.triptych { display: grid; gap: 14px; width: min(1400px, 100% - 28px); margin: 44px auto 0; grid-template-columns: 1fr; }
@media (min-width: 820px) { .triptych { grid-template-columns: 1.3fr 1fr 1fr; } }
.tile { margin: 0; position: relative; overflow: hidden; border-radius: 4px; }
.tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 15px; line-height: 1.45;
  background: linear-gradient(transparent, rgba(16,41,43,.92)); }
.tile b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--gold); display: block; }

/* island */
.two { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.tall { margin: 0; }
.tall img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
blockquote { margin: 1.6em 0 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--red); font: italic clamp(22px, 3vw, 28px)/1.3 var(--serif); color: var(--gold); }
blockquote cite { display: block; font: 14px var(--body); color: var(--paper-dim); margin-top: .6em; font-style: normal; letter-spacing: .04em; }
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; margin-bottom: 14px; }
.card p { font-size: 16px; color: var(--paper-dim); }

/* fights strip */
.strip { display: grid; gap: 10px; margin-top: 44px; padding: 0 10px; grid-template-columns: 1fr 1fr; }
.strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 3px; }
@media (min-width: 900px) { .strip { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .strip img { aspect-ratio: 4/5; } .strip img:first-child { aspect-ratio: auto; height: 100%; } }

/* making */
.loopgrid { margin-top: 40px; }
.diagram { margin: 0; }
.diagram svg { width: 100%; max-width: 480px; margin: 0 auto; display: block; }
.ring { fill: none; stroke: rgba(43,36,51,.12); stroke-width: 22; }
.arc { fill: none; stroke: var(--sea); stroke-width: 2.4; }
.ahd { fill: var(--sea); }
.node rect { fill: #fffaf0; stroke: var(--ink); stroke-width: 1.4; }
.node.hot rect { fill: var(--red); stroke: var(--red); }
.node.hot text { fill: #fff6ea; }
.node text { text-anchor: middle; fill: var(--ink); }
.nm { font: 17px var(--serif); }
.rl { font: 10.5px var(--body); opacity: .8; }
.ctr { text-anchor: middle; font: italic 19px var(--serif); fill: var(--sea); }
.roles { display: grid; gap: 18px; }
.role { padding-left: 16px; border-left: 3px solid var(--gold); }
.role h4 { color: var(--ink); }
.role p { margin: 0; font-size: 16px; }
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; margin: 64px 0 0; padding: 34px 0; border-top: 1px solid rgba(43,36,51,.18); border-bottom: 1px solid rgba(43,36,51,.18); }
@media (min-width: 760px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers div { text-align: center; }
.numbers dt { font: clamp(44px, 7vw, 66px)/1 var(--serif); color: var(--red); }
.numbers dd { margin: .4em 0 0; font-size: 15px; }
.method { padding-left: 1.3em; max-width: 46em; }
.method li { margin-bottom: .8em; }
.method b { font-family: var(--serif); font-weight: 400; font-size: 20px; }

/* concepts */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(1400px, 100% - 20px); margin: 44px auto 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; }
.gallery img:nth-child(1), .gallery img:nth-child(6) { grid-column: span 2; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* honest */
.honest-list { list-style: none; padding: 0; margin: 0; }
.honest-list li { padding: 12px 0; border-bottom: 1px solid rgba(241,232,212,.12); }
.honest-list b { font-family: var(--serif); font-weight: 400; color: var(--gold); font-size: 19px; }
code { font-size: .92em; background: rgba(241,232,212,.1); padding: 1px 6px; border-radius: 3px; }

/* final */
.final { min-height: 70svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(16,41,43,.45), rgba(16,41,43,.85)); }
.final-copy { position: relative; }
.final-copy h2 { font-size: clamp(40px, 9vw, 92px); text-shadow: 0 3px 20px rgba(0,0,0,.5); }
.final-copy p { font-size: 20px; margin-bottom: 1.6em; }

/* footer */
.foot { background: #0b1d1f; padding: 34px 0 40px; font-size: 15px; }
.footrow { display: flex; flex-wrap: wrap; gap: 22px; align-items: baseline; }
.foot .mark { font: 26px var(--serif); margin-right: auto; }
.foot a { color: var(--paper-dim); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.small { color: rgba(241,232,212,.5); font-size: 13px; margin-top: 18px; }

@media (max-width: 520px) {
  .topnav { justify-content: center; gap: 16px; font-size: 16px; }
  .hero-copy { padding-bottom: 10vh; }
  .kicker { font-size: 13px; letter-spacing: .1em; }
  .btn { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } html { scroll-behavior: auto; } }

/* ---------- showcase pass ---------- */
.wind-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-video { animation: heroin 2.4s ease-out both; }
@keyframes heroin { from { filter: saturate(.4) brightness(.6); transform: scale(1.06); } to { filter: none; transform: none; } }
.hero h1 { animation: rise 1.6s .3s cubic-bezier(.2,.7,.2,1) both; }
.kicker { animation: rise 1.4s .1s ease-out both; }
.scar { animation: brush 1.1s 1.1s cubic-bezier(.6,.1,.2,1) both; transform-origin: left center; }
.tagline, .ctas { animation: rise 1.4s .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* paint settling in as you scroll */
.pre { opacity: 0; transform: translateY(26px); filter: blur(3px) saturate(.5); }
.reveal, .tile, .card, .strip img, .gallery img, .role, .numbers div, .method li {
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.4s ease; }
.tall, .final { overflow: hidden; }
.tall img, .final-bg { will-change: transform; transform: scale(1.08); }

/* loop: stacked flow on phones */
.flow { display: none; list-style: none; padding: 0; margin: 0 auto; max-width: 340px; }
.flow li { position: relative; background: #fffaf0; border: 1.4px solid var(--ink); border-radius: 10px; padding: 10px 16px; margin-bottom: 26px; text-align: center; }
.flow li:not(.again)::after { content: "↓"; position: absolute; left: 50%; bottom: -25px; transform: translateX(-50%); color: var(--sea); font-size: 18px; }
.flow b { display: block; font: 21px var(--serif); font-weight: 400; }
.flow span { font-size: 15px; opacity: .85; }
.flow li.hot { background: var(--red); border-color: var(--red); color: #fff6ea; }
.flow li.again { background: none; border: 0; font: italic 19px var(--serif); color: var(--sea); padding-top: 0; }
@media (max-width: 620px) { .diagram svg { display: none; } .flow { display: block; } }

/* where it's going */
.ahead { background: linear-gradient(180deg, var(--ink), #1b2a3a 30%, var(--deep)); }
.ahead .eyebrow { color: var(--gold); }
.wide-film { margin: 44px auto 0; width: min(1400px, 100% - 20px); position: relative; }
.wide-film video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; background: #0b1d1f; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.wide-film figcaption { max-width: 760px; margin: 16px auto 0; padding: 0 12px; color: var(--paper-dim); font-size: 16px; }
.wide-film b { font-family: var(--serif); font-weight: 400; color: var(--gold); font-size: 20px; }
.next { display: grid; gap: 18px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .next { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .next { grid-template-columns: repeat(4, 1fr); } }
.next article { padding: 22px 20px 18px; border: 1px solid rgba(241,232,212,.16); border-top: 3px solid var(--gold); border-radius: 3px; background: rgba(241,232,212,.04); }
.next article:first-child { border-top-color: var(--red); }
.next p { font-size: 16px; color: var(--paper-dim); margin: 0; }
.tag { display: inline-block; font: 13px var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); filter: brightness(1.6); margin-bottom: 10px; }

.two.scarworld { margin-top: 84px; }
.two.scarworld h3 { font-size: clamp(34px, 5vw, 52px); }
.scar-pair { display: grid; gap: 10px; }
.scar-pair img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.scar-pair img:last-child { width: 78%; margin: -18% 0 0 auto; position: relative; border: 3px solid var(--deep); }

@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero h1, .kicker, .scar, .tagline, .ctas { animation: none; }
  .tall img, .final-bg { transform: none; }
}

/* ---------- it should feel like the game ---------- */
.wind-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; }
.daylight { position: fixed; inset: 0; z-index: 39; pointer-events: none; mix-blend-mode: soft-light; transition: background .4s linear; }
.hero h1 { line-height: 0; margin: 0 0 .25em -1.2%; }
.wordmark { width: min(88vw, 720px); height: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); animation: brush 1.6s .2s cubic-bezier(.6,.1,.2,1) both; }
.foot .mark { width: 150px; height: auto; margin-right: auto; opacity: .9; }

/* ink C, a light rare hint: one thin brushed stroke under each band's title */
.band > .wrap > h2::after {
  content: ""; display: block; width: min(260px, 60%); height: 12px; margin-top: .32em; opacity: .55;
  background: no-repeat left center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 12'%3E%3Cpath d='M2 8 C40 4 90 3 140 5 S220 9 258 3' fill='none' stroke='%235d5270' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M30 9 C80 7 120 7 170 8' fill='none' stroke='%235d5270' stroke-width='.7' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E");
}
.wind > .wrap > h2::after, .island > .wrap > h2::after, .ahead > .wrap > h2::after, .honest > .wrap > h2::after, .concepts > .wrap > h2::after { filter: invert(.85) sepia(.4); opacity: .45; }

/* the game's own sound toggle, like its menu's quiet buttons */
.windsound { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; align-items: center; gap: 8px;
  font: 15px var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--paper);
  background: rgba(16,41,43,.55); border: 1px solid rgba(241,232,212,.35); border-radius: 999px; padding: 8px 14px 8px 12px;
  backdrop-filter: blur(6px); cursor: pointer; }
.windsound .dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--paper); }
.windsound.on { border-color: var(--gold); color: var(--gold); }
.windsound.on .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px var(--gold); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .4; } }

/* phone loop: tighter */
.flow li { padding: 7px 14px; margin-bottom: 20px; }
.flow li:not(.again)::after { bottom: -20px; font-size: 15px; }
.flow b { font-size: 19px; }

@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } .windsound.on .dot { animation: none; } .daylight { transition: none; } }
.hero-shade { background:
  linear-gradient(180deg, rgba(16,41,43,.5) 0%, rgba(16,41,43,0) 20%, rgba(16,41,43,.1) 38%, rgba(16,41,43,.78) 70%, var(--deep) 100%),
  radial-gradient(ellipse at 18% 72%, rgba(16,41,43,.62), transparent 62%); }
.kicker { text-shadow: 0 1px 10px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
@media (max-width: 520px) { .windsound { font-size: 12px; padding: 6px 11px 6px 9px; right: 10px; bottom: 10px; } }
