/* aeroaze.com private preview. Static, no build step. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --obsidian: #0c0a09;
  --amber: #ffb866;
  --indigo: #0d1238;
  --indigo-2: #111b5c;
  --cobalt: #2f55e0;
  --cobalt-light: #a9bfff;
  --graphite: #1c1d20;
  --ivory: #f1e9dc;
  --ink: #1c1a17;
  --copper: #8a4a1f;
  --copper-light: #e0a377;
  --night: #060607;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.96rem + 0.34vw, 1.25rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --text: #f6efe4;
  --accent: var(--amber);
}
body[data-scene="2"] { --accent: var(--cobalt-light); }
body[data-scene="3"] { --accent: var(--copper-light); }
body[data-scene="4"] { --accent: #ffffff; }

/* paper grain over everything, so the gradients do not look machine-clean */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .11; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
.defs { position: absolute; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 4px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: #000; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.hand { font-family: var(--hand); font-size: 1.55rem; line-height: 1.1; font-weight: 500; letter-spacing: .01em; }
.nb { white-space: nowrap; }
.story .more { margin-top: .7rem; }
.story .more a, .card dd a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.story .more a::after, .card dd a::after { content: " \2197"; }
.credit cite { font-style: italic; }

/* ---------- scenes ---------- */
.scene { position: relative; overflow: clip; color: var(--text); padding-block: clamp(88px, 12vw, 168px); --focus: var(--scene-accent); }
.scene-head { max-width: 46rem; margin-bottom: clamp(48px, 7vw, 96px); }
.kicker { display: flex; align-items: baseline; gap: .7em; font-weight: 600; font-size: 1rem; letter-spacing: .02em; color: var(--scene-accent); margin-bottom: 1.1rem; }
.kicker span { font-family: var(--serif); font-style: italic; font-size: 1.5em; font-weight: 400; }
h2 { font-family: var(--serif); font-weight: 380; font-variation-settings: "opsz" 144, "SOFT" 50; font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.intro { margin-top: 1.5rem; font-size: 1.15em; color: var(--muted); max-width: 38rem; text-wrap: pretty; }

/* ---------- 01 overview ---------- */
.s1 {
  --text: #f6efe4; --muted: #d6cbbb; --scene-accent: var(--amber);
  padding-top: 0; padding-bottom: 0; min-height: 100svh;
  background:
    radial-gradient(90% 46% at 50% calc(100% - 15vh), rgba(255, 176, 84, .95) 0%, rgba(226, 118, 34, .78) 20%, rgba(128, 54, 14, .5) 46%, rgba(40, 18, 8, .22) 70%, rgba(12, 10, 9, 0) 88%),
    linear-gradient(#0c0a09 0%, #0c0a09 55%, #1d0f08 100%);
}
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; }
.wordmark { position: relative; font-family: var(--serif); font-style: italic; font-size: 1.7rem; font-weight: 500; text-decoration: none; letter-spacing: -.01em; padding: 8px 0 12px; min-height: 44px; }
.wordmark svg { position: absolute; left: -2px; bottom: 4px; width: 104%; height: 10px; overflow: visible; }
.wordmark path { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }

.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 96px); align-items: start; padding-top: clamp(20px, 3vw, 44px); padding-bottom: calc(15vh + clamp(150px, 20vh, 230px)); }
.eyebrow { display: flex; flex-wrap: wrap; gap: .2em .9em; align-items: baseline; margin-bottom: 1.6rem; color: var(--muted); }
.eyebrow strong { color: var(--text); font-weight: 650; font-size: 1.1em; }
.eyebrow span::before { content: ""; display: inline-block; width: 1.6em; height: 1.5px; background: var(--amber); vertical-align: middle; margin-right: .9em; }
h1 { font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 144, "SOFT" 60; font-size: clamp(2.7rem, 1.3rem + 5.6vw, 5.2rem); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
h1 em { display: block; margin-top: .14em; font-weight: 340; color: var(--amber); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.lede { margin-top: 2rem; max-width: 35rem; font-size: 1.14em; line-height: 1.55; color: #efe6d8; text-wrap: pretty; }

.jump { grid-column: 1 / -1; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.jump-note { display: flex; align-items: flex-end; gap: 10px; color: var(--amber); transform: rotate(-2deg); }
.jump-note svg { width: 46px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-38deg) translateY(4px); }
.jump ul { display: flex; flex-wrap: wrap; gap: 12px; }
.jump a {
  display: inline-flex; align-items: center; gap: .7em; min-height: 52px; padding: 10px 20px 10px 16px;
  background: rgba(12, 10, 9, .82); border: 1.5px solid rgba(246, 239, 228, .34); border-radius: 999px;
  text-decoration: none; font-weight: 550; transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.jump a span { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: 1.15em; }
.jump a:hover { transform: translateY(-3px); border-color: var(--amber); background: #0c0a09; }

.portrait { justify-self: end; width: min(100%, 344px); transform: rotate(1.6deg); margin-top: 8px; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px;
  background: linear-gradient(160deg, #2a221c, #171210 70%); border: 10px solid var(--ivory);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 2px 0 rgba(0, 0, 0, .4);
}
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 18%; }
.portrait figcaption { margin-top: 14px; text-align: right; color: var(--amber); transform: rotate(-3deg); }

.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 15vh; min-height: 96px; background: linear-gradient(#170c07 0%, #120d1c 55%, var(--indigo) 100%); }
.horizon-line { position: absolute; left: 0; top: -132px; width: 100%; height: 160px; fill: none; stroke: #ffd9a3; stroke-width: 2.5; stroke-linecap: round; }
.takeoff { position: absolute; right: max(var(--gutter), calc(50% - var(--wrap) / 2)); top: -158px; width: min(44vw, 330px); fill: none; stroke: #fff1dc; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dash { stroke-dasharray: 3 11; }

/* ---------- 02 two questions ---------- */
.s2 {
  --text: #f3f5ff; --muted: #cdd5fa; --scene-accent: var(--cobalt-light);
  background:
    radial-gradient(58% 24% at 90% 27%, rgba(47, 85, 224, .62), rgba(47, 85, 224, 0) 100%),
    radial-gradient(70% 26% at 4% 64%, rgba(47, 85, 224, .34), rgba(47, 85, 224, 0) 100%),
    linear-gradient(var(--indigo) 0%, var(--indigo-2) 34%, #0f1750 72%, #14162c 92%, var(--graphite) 100%);
}
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.story + .story { margin-top: clamp(88px, 11vw, 168px); }
.story.flip .story-fig { order: 2; }
.story-fig svg { width: 100%; height: auto; fill: none; stroke: #f3f5ff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.story-fig .warn { stroke: var(--amber); }
.story-fig .thin { stroke-width: 2; }
.story-fig .link { stroke: var(--cobalt-light); }
.story-fig .fill { fill: #f3f5ff; }
.hand-t { font-family: var(--hand); font-size: 25px; font-weight: 500; fill: #f3f5ff; stroke: none; }
.hand-t.warn-t { fill: var(--amber); }
.hand-t.link-t { fill: var(--cobalt-light); }
.hand-t.big { font-size: 58px; }
.story-fig figcaption { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.story-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .8em; font-weight: 600; color: var(--cobalt-light); margin-bottom: 1rem; }
.story-tag em { font-family: var(--serif); font-size: 1.35em; font-weight: 400; color: var(--text); }
.story h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 96, "SOFT" 50; font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.05rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; margin-bottom: 1.3rem; }
.story-body > p { max-width: 34rem; text-wrap: pretty; }
.status { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5em .8em; font-size: 1.08em; }
.status-pill { background: var(--cobalt); color: #fff; font-size: .82em; font-weight: 600; padding: .3em .85em; border-radius: 999px; }
.credits { display: grid; gap: 16px; margin-top: 2rem; max-width: 34rem; }
.credit { padding: 18px 20px 20px; border-radius: 14px; }
.credit h4 { display: flex; align-items: center; gap: .6em; font-size: 1rem; font-weight: 650; margin-bottom: .7rem; }
.credit h4 svg { height: 14px; width: auto; flex: none; }
.credit p + p { margin-top: .45rem; }
.credit p + p:has(strong) { margin-top: 1rem; }
.credit.mine { background: #f3f5ff; color: #0d1238; --muted: #2b3470; }
.credit.mine svg { fill: var(--cobalt); }
.credit.team { border: 1.5px dashed rgba(205, 213, 250, .75); }
.credit.team svg { fill: none; stroke: var(--cobalt-light); stroke-width: 1.8; }

/* ---------- 03 selected work ---------- */
.s3 {
  --text: var(--ivory); --muted: #d3c9ba; --scene-accent: var(--copper-light);
  background:
    radial-gradient(50% 30% at 92% 30%, rgba(176, 106, 59, .34), rgba(176, 106, 59, 0) 70%),
    linear-gradient(var(--graphite) 0%, #1f2023 60%, #141416 88%, var(--night) 100%);
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; position: relative; }
.card {
  background: var(--ivory); color: var(--ink); --muted: #574d42; border-radius: 6px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .6) inset; --tilt: -1.1deg;
}
.card:nth-child(even) { --tilt: .9deg; margin-top: clamp(0px, 5vw, 72px); }
.card:nth-child(3) { --tilt: .6deg; }
.card:nth-child(4) { --tilt: -.7deg; }
.card-type { font-weight: 650; color: var(--copper); font-size: .95rem; letter-spacing: .03em; }
.card h3 { font-family: var(--serif); font-weight: 420; font-variation-settings: "opsz" 96, "SOFT" 50; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.015em; margin: .35rem 0 .5rem; }
.card h3.long { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); line-height: 1.16; letter-spacing: -.01em; }
.card-desc { color: var(--muted); }
.card dl { margin-top: 1.5rem; border-top: 1.5px solid rgba(28, 26, 23, .8); }
.card dl > div { display: grid; grid-template-columns: 8.2rem 1fr; gap: 12px; padding: .8rem 0; border-bottom: 1px solid rgba(28, 26, 23, .22); align-items: baseline; }
.card dt { font-weight: 650; font-size: .95rem; }
.card .row-mine dt::before, .card .row-team dt::before { content: ""; display: inline-block; width: .62em; height: .62em; border-radius: 50%; margin-right: .5em; }
.card .row-mine dt::before { background: var(--copper); }
.card .row-team dt::before { border: 1.6px solid var(--copper); box-shadow: .5em 0 0 -1.6px var(--ivory), .5em 0 0 0 var(--copper); margin-right: 1em; }

/* ---------- 04 background and contact ---------- */
.s4 {
  --text: #ffffff; --muted: #d2d2d8; --scene-accent: #ffffff;
  padding-bottom: 48px;
  background:
    radial-gradient(36% 22% at 22% 46%, rgba(255, 184, 102, .5), rgba(255, 184, 102, 0) 72%),
    radial-gradient(34% 22% at 78% 60%, rgba(47, 85, 224, .62), rgba(47, 85, 224, 0) 72%),
    var(--night);
}
.frost {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden;
  background: rgba(20, 20, 24, .58); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(26px) saturate(140%); backdrop-filter: blur(26px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 40px 80px -40px #000;
}
.frost > section { padding: clamp(24px, 3vw, 40px); }
.frost > section + section { border-left: 1px solid rgba(255, 255, 255, .2); }
.frost h3 { font-size: 1rem; font-weight: 650; letter-spacing: .03em; color: var(--muted); margin-bottom: 1.1rem; }
.frost .big { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 400; letter-spacing: -.015em; margin-bottom: .9rem; }
.frost .gap { margin-top: .9rem; }
.frost strong { font-weight: 650; }
.links { display: grid; gap: 10px; }
.links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: 56px; padding: 10px 18px; border-radius: 12px; font-weight: 650; background: #fff; color: #060607; text-decoration: none; transition: transform .25s var(--ease); }
.links a span { grid-column: 1; font-weight: 450; font-size: .95em; overflow-wrap: break-word; }
.links a::after { content: "\2197"; font-size: 1.2em; grid-column: 2; grid-row: 1 / span 2; }
.links a:hover { transform: translateY(-3px); }
.timeline li { padding: .75rem 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { display: block; color: var(--muted); font-size: .92em; }

.landing { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(48px, 7vw, 96px); color: #fff; }
.landing svg { width: min(100%, 420px); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.landing p { padding-bottom: 2px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .9rem; color: var(--muted); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #fff; }

/* ---------- chapter indicator ---------- */
.chapters { position: fixed; z-index: 60; color: #fff; --focus: var(--accent); }
.chapters a { text-decoration: none; display: flex; align-items: center; }
.ch-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

/* phones and tablets: slim sticky pill at the top */
@media (max-width: 1399px) {
  .chapters {
    top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; padding: 3px 16px 3px 3px; gap: 10px;
    max-width: calc(100vw - 24px); border-radius: 999px; background: rgba(10, 10, 12, .8); border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  }
  .chapters ol { display: flex; }
  .chapters a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; color: #e4e4ea; transition: background-color .35s, color .35s; }
  .chapters a[aria-current="true"] { background: var(--accent); color: #0a0a0c; font-weight: 600; }
  .ch-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chapters-now { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chapters-track { display: none; }
  .masthead { padding-top: 78px; }
}

/* wide screens: rail in the left margin */
@media (min-width: 1400px) {
  .chapters { left: max(16px, calc(50vw - var(--wrap) / 2 - 170px)); top: 50%; transform: translateY(-50%); padding-left: 14px; width: 112px; }
  .chapters-track { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, .26); border-radius: 2px; overflow: hidden; }
  .chapters-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: background-color .5s; }
  .chapters ol { display: grid; gap: 2px; }
  .chapters a { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 46px; padding: 4px; color: rgba(255, 255, 255, .8); transition: color .3s; }
  .ch-name { font-size: .875rem; font-weight: 600; line-height: 1.25; padding-bottom: 6px; }
  .chapters a:not([aria-current="true"]) .ch-name { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chapters a[aria-current="true"] { color: var(--accent); }
  .chapters a[aria-current="true"] .ch-num { font-size: 1.7rem; line-height: 1.2; }
  .chapters a:hover { color: #fff; }
  .chapters-now { display: none; }
}

/* ---------- reveals (transform, opacity, clip-path only) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px) rotate(var(--tilt, 0deg)); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
.js .portrait.reveal { transform: translateY(28px) rotate(-2deg); }
.js .portrait.reveal.is-in { transform: rotate(1.6deg); }
.card { transform: rotate(var(--tilt)); }
.js .draw { clip-path: inset(-12% 100% -12% -4%); transition: clip-path 1.5s var(--ease) .25s; }
.js .is-in .draw, .js .draw.is-in { clip-path: inset(-12% -6% -12% -4%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in, .js .draw { opacity: 1; clip-path: none; transition: none; }
  .js .reveal { transform: rotate(var(--tilt, 0deg)); }
  .js .portrait.reveal { transform: rotate(1.6deg); }
  .jump a, .links a, .chapters a, .chapters-fill { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: calc(15vh + 150px); }
  .portrait { justify-self: center; width: min(78%, 320px); margin-top: 12px; }
  .jump { display: block; }
  .jump-note { margin-bottom: 14px; }
  .jump-note svg { transform: translateY(12px); }
  .jump ul { flex-direction: column; align-items: stretch; }
  .jump a { justify-content: flex-start; }
  .takeoff { width: 46vw; top: -112px; }
  .story, .story.flip { grid-template-columns: 1fr; }
  .story.flip .story-fig { order: 0; }
  .story-fig { max-width: 460px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:nth-child(even) { margin-top: 0; }
  .card:nth-child(odd) { --tilt: -.5deg; }
  .card:nth-child(even) { --tilt: .5deg; }
  .frost { grid-template-columns: 1fr; }
  .frost > section + section { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
}
@media (max-width: 480px) {
  .credits { grid-template-columns: 1fr; }
  .card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .hand-t { font-size: 29px; }
  .wordmark { font-size: 1.5rem; }
}
