/* ==========================================================
   Another Animation Created in Colorado — joelheaton.com
   Brand roots from the 2015 page (navy #021446, blue #428BCA,
   Quicksand, duckling orange), rebuilt as a modern case study.
   ========================================================== */

:root {
  --navy: #021446;
  --navy-2: #0a2266;
  --ink: #0c1530;
  --blue: #428bca;
  --sky: #8fc2f2;
  --duck: #f39a1e;
  --paper: #f5f7fb;
  --line: #e3e8f1;
  --muted: #5b6780;
  --display: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
:focus-visible { outline: 3px solid var(--duck); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--duck); color: #fff; padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 2.5rem); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.nav.solid { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; transition: color .35s; }
.nav.solid .logo { color: var(--navy); }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .9rem; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .45rem .8rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav.solid .nav-links a { color: var(--muted); }
.nav.solid .nav-links a:hover { color: var(--navy); background: var(--paper); }
.nav-links .nav-cta { background: #fff; color: var(--navy) !important; font-weight: 600; margin-left: .4rem; }
.nav.solid .nav-links .nav-cta { background: var(--navy); color: #fff !important; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--body); font-weight: 600; font-size: .98rem; text-decoration: none; padding: .85rem 1.35rem; border-radius: 999px; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(143, 194, 242, .6); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-duck { background: var(--duck); color: #1b1203; }
.btn-duck:hover { background: #ffad3b; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-top: 68px; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; z-index: -1;
  background: radial-gradient(closest-side, rgba(66, 139, 202, .55), rgba(66, 139, 202, 0) 70%); animation: drift 14s ease-in-out infinite alternate; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
@keyframes drift { to { transform: translate(-8%, 10%) scale(1.1); } }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.eyebrow { font-size: .85rem; font-weight: 500; color: var(--sky); margin-bottom: 1.3rem; }
.hero-title { font-weight: 700; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.5rem; text-wrap: balance; }
.hero-title .accent { background: linear-gradient(90deg, var(--sky), #fff 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + 100ms); }
.fade { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: rgba(255, 255, 255, .78); max-width: 34ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-art { position: relative; aspect-ratio: 1 / .98; }
.hero-art > div { position: absolute; transition: transform .6s var(--ease); will-change: transform; }
.card-main { left: 6%; right: 4%; top: 10%; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.card-main img { border-radius: 10px; }
.card-float { background: #fff; padding: 6px; border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .65); }
.card-float img { border-radius: 7px; }
.f1 { width: 22%; left: -3%; top: 0; animation: bob 7s ease-in-out infinite; }
.f2 { width: 18%; right: -2%; top: -2%; animation: bob 8s ease-in-out infinite reverse; }
.f3 { width: 30%; right: -2%; bottom: 2%; animation: bob 9s ease-in-out infinite; }
.f1 img, .f2 img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
@keyframes bob { 50% { translate: 0 -10px; } }
.badge { left: 0; bottom: 4%; background: var(--duck); color: #1b1203; border-radius: 16px; padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.badge b { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.badge span { font-size: .78rem; font-weight: 600; line-height: 1.2; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
}

.marquee { border-top: 1px solid rgba(255, 255, 255, .08); background: #fff; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scroll 70s linear infinite; }
.marquee-track img { height: clamp(56px, 7vw, 96px); width: auto; border-right: 1px solid var(--line); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Shared type ---------- */
section { position: relative; }
.label { font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .6rem; }
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.label-light { color: var(--sky); }
.h2 { font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -.015em; color: var(--navy); margin-bottom: 1.2rem; text-wrap: balance; max-width: 20ch; }
.h2-light { color: #fff; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Meta + stats ---------- */
.meta { border-bottom: 1px solid var(--line); }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.meta-grid > div { padding: 1.6rem 1.4rem 1.6rem 0; display: flex; flex-direction: column; gap: .3rem; }
.meta-grid > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.k { font-size: .8rem; color: var(--muted); font-weight: 500; }
.v { font-weight: 600; color: var(--navy); line-height: 1.4; font-size: .98rem; }
@media (max-width: 820px) {
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .meta-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.stats { padding: clamp(3rem, 6vw, 5rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2rem + 3.5vw, 5rem); line-height: 1; color: var(--navy); letter-spacing: -.03em;
  background: linear-gradient(180deg, var(--navy) 40%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; max-width: 20ch; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; } }

/* ---------- Story timeline ---------- */
.story { background: var(--paper); padding: clamp(4rem, 8vw, 7rem) 0; }
.tl { position: relative; margin-top: 3rem; }
.tl-line { position: absolute; left: 92px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-line span { position: absolute; inset: 0 0 auto; height: var(--fill, 0%); background: linear-gradient(var(--blue), var(--duck)); transition: height .2s linear; }
.tl-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2.5rem; margin-bottom: 3rem; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 86px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-item:last-child::before { border-color: var(--duck); background: var(--duck); }
.tl-year { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--navy); padding-top: .2rem; }
.tl-body { background: #fff; border-radius: 18px; padding: 1.8rem 2rem 1rem; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(2, 20, 70, .35); max-width: 760px; }
.tl-body h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: .7rem; }
.tl-body p { color: #33405c; }
@media (max-width: 640px) {
  .tl-line { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: .4rem; padding-left: 2rem; }
  .tl-item::before { left: 0; top: 8px; }
  .tl-body { padding: 1.4rem 1.3rem .6rem; }
}

/* ---------- Quote band ---------- */
.band-quote { background: var(--navy); color: #fff; padding: clamp(4.5rem, 10vw, 8rem) 0; text-align: center; overflow: hidden; }
.band-quote::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 80%; background: radial-gradient(closest-side, rgba(243, 154, 30, .28), transparent); }
.big-quote { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.4rem + 5.5vw, 6rem); line-height: 1; letter-spacing: -.03em; margin: 0 auto .9rem; }
.hl { color: var(--duck); }
.big-quote-cap { position: relative; color: rgba(255, 255, 255, .65); }

/* ---------- Rules (dark) ---------- */
.rules { background: linear-gradient(180deg, #06194f, var(--navy)); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .rules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rules-grid { grid-template-columns: 1fr; } }
.rule { position: relative; padding: 1.7rem 1.6rem 1.3rem; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.rule:hover { background: rgba(255, 255, 255, .07); border-color: rgba(143, 194, 242, .45); transform: translateY(-4px); }
.rule-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); font-family: var(--display); font-weight: 700; margin-bottom: 1.1rem; }
.rule:nth-child(4) .rule-n { background: var(--duck); color: #1b1203; }
.rule h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.rule p { color: rgba(255, 255, 255, .7); font-size: .98rem; }

/* ---------- Craft ---------- */
.craft { padding: clamp(4rem, 8vw, 7rem) 0; }
.craft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 1.5rem 0 3rem; }
.craft-cols h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .4rem; }
.craft-cols p { color: var(--muted); font-size: .98rem; }
@media (max-width: 820px) { .craft-cols { grid-template-columns: 1fr; gap: .5rem; } }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 0; cursor: zoom-in; font: inherit; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; left: 12px; bottom: 12px; background: rgba(2, 20, 70, .85); color: #fff; font-size: .8rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.tile:hover span, .tile:focus-visible span { opacity: 1; transform: none; }
.t-big { grid-column: span 2; grid-row: span 2; }
.t-tall { grid-row: span 2; }
.t-tall img { object-position: top; }
.t-wide { grid-column: span 2; }
.t-wide img { object-fit: contain; background: #fff; }
@media (max-width: 820px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .tile span { opacity: 1; transform: none; } }

.compare-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(4rem, 8vw, 6.5rem); }
@media (max-width: 860px) { .compare-wrap { grid-template-columns: 1fr; } }
.compare-copy p { color: var(--muted); }
.influences { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.25rem; }
.influences b { color: var(--navy); }
.compare { position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(2, 20, 70, .45); user-select: none; background: #fff; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-before-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.c-before { object-position: center 30%; }
.c-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(2, 20, 70, .15); }
.c-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(2, 20, 70, .35); }
.c-handle span::before, .c-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 0 2px 2px; }
.c-handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.c-handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.c-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.c-tag { position: absolute; top: 14px; background: rgba(2, 20, 70, .85); color: #fff; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; pointer-events: none; }
.c-tag-l { left: 14px; } .c-tag-r { right: 14px; background: var(--duck); color: #1b1203; }

/* ---------- Videos ---------- */
.videos { background: var(--paper); padding: clamp(4rem, 8vw, 7rem) 0; }
.vcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2.5rem 0 2rem; align-items: start; }
@media (max-width: 820px) { .vcols { grid-template-columns: 1fr; } }
.vcol { background: #fff; border-radius: 18px; padding: 1.5rem 1.5rem .75rem; box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(2, 20, 70, .35); }
.vcol h3 { font-size: 1.25rem; color: var(--navy); display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.vcol h3 span { font-family: var(--body); font-size: .8rem; font-weight: 600; background: var(--paper); color: var(--muted); padding: .15rem .55rem; border-radius: 999px; }
.vcol ul { list-style: none; margin: 0; padding: 0; }
.vcol li { display: flex; align-items: baseline; gap: .9rem; padding: .8rem 0; border-top: 1px solid var(--line); font-weight: 500; color: var(--navy); transition: padding-left .25s var(--ease); }
.vcol li:hover { padding-left: .35rem; }
.vcol em { font-style: normal; flex: none; width: 3.4rem; font-size: .85rem; color: var(--muted); }
.vcol li i { margin-left: auto; flex: none; font-style: normal; font-size: .75rem; font-weight: 600; color: #8a5300; background: #fff1dc; padding: .15rem .55rem; border-radius: 999px; }

/* ---------- Now ---------- */
.now { padding: clamp(4rem, 8vw, 7rem) 0; }
.now-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
@media (max-width: 960px) { .now-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .now-grid { grid-template-columns: 1fr; } }
.now-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.5rem 1.1rem; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.now-card:hover { border-color: var(--sky); box-shadow: 0 24px 40px -28px rgba(66, 139, 202, .6); transform: translateY(-4px); }
.now-card svg { width: 40px; height: 40px; padding: 8px; border-radius: 11px; background: #eaf3fc; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.now-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .4rem; }
.now-card p { color: var(--muted); font-size: .96rem; }
.pull { margin: 3rem 0 0; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 22px; background: linear-gradient(120deg, var(--blue), #2f6fb0); color: #fff; }
.pull p { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: .8rem; max-width: 34ch; }
.pull cite { font-style: normal; color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ---------- Book ---------- */
.book { background: var(--navy); color: rgba(255, 255, 255, .8); padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; }
.book::before { content: ""; position: absolute; left: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(66, 139, 202, .35), transparent); }
.book-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .book-in { grid-template-columns: 1fr; } }
.book-art { margin: 0; background: #fff; padding: 10px; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.book-art:hover { transform: rotate(0) scale(1.01); }
.book-art img { border-radius: 12px; }
.book-by { color: var(--sky); font-weight: 500; margin-top: -.5rem; }
.book-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.foot { background: #010b29; color: rgba(255, 255, 255, .65); padding: 3rem 0 2rem; font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-in p { max-width: 46ch; margin-top: .9rem; }
.logo-foot { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--sky); }
.foot-small { padding-top: 1.5rem; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.foot-small a { color: var(--sky); }
.foot-small p { margin: .2rem 0; }

/* ---------- Viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 200; background: rgba(1, 11, 41, .92); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1rem; animation: fadeIn .25s ease; }
.viewer[hidden] { display: none; }
.viewer-box img { max-width: min(1000px, 92vw); max-height: 86vh; width: auto; background: #fff; border-radius: 12px; }
.viewer-x { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w, .fade, .js .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Rename callout ---------- */
.rename { margin-top: 3.5rem; margin-left: calc(92px + 2.5rem); max-width: 760px; background: var(--navy); color: rgba(255, 255, 255, .78); border-radius: 18px; padding: 1.9rem 2rem 1.1rem; position: relative; overflow: hidden; }
.rename::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 154, 30, .35), transparent); }
.rename .label { color: var(--sky); }
.rename h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.1rem; }
.rename-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.2rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.old-title { color: rgba(255, 255, 255, .45); text-decoration: line-through; text-decoration-color: var(--duck); text-decoration-thickness: 2px; }
.arrow { color: var(--duck); font-size: 1.4rem; }
.new-title { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); padding: .35rem .8rem; border-radius: 10px; }
@media (max-width: 640px) { .rename { margin-left: 0; padding: 1.5rem 1.3rem .8rem; } }

/* ---------- Rough cut ---------- */
.rough { padding: clamp(4rem, 8vw, 7rem) 0; }
.rough-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 2rem 0 3rem; }
.rough-stats > div { padding: 1.5rem 1.25rem 1.4rem 0; }
.rough-stats > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.rough-stats b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.rough-stats > div:last-child b { color: var(--duck); }
.rough-stats span { display: block; margin-top: .45rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
  .rough-stats { grid-template-columns: 1fr 1fr; }
  .rough-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rough-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.rough-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .rough-grid { grid-template-columns: 1fr; } }
.rough-copy p { color: #33405c; font-size: 1.05rem; }
.rough-critique { background: var(--paper); border-radius: 18px; padding: 1.7rem 1.6rem .8rem; }
.rough-critique h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 1rem; }
.crit { background: #fff; border-radius: 12px; padding: 1rem 1.1rem .3rem; margin-bottom: .8rem; border-left: 4px solid var(--blue); }
.crit span { display: block; font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: .3rem; }
.crit p { font-size: .96rem; color: #33405c; }
.crit-fix { border-left-color: var(--duck); }
.crit-fix span { color: #a35f00; }
.crit-note { font-size: .95rem; color: var(--muted); font-style: italic; margin-top: 1rem; }
.next { margin-top: 3.5rem; border-radius: 22px; padding: clamp(1.8rem, 4vw, 2.8rem); background: radial-gradient(120% 140% at 100% 0%, rgba(66, 139, 202, .55), transparent 60%), var(--navy); color: rgba(255, 255, 255, .78); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.next > div { flex: 1 1 420px; }
.next h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.1; margin-bottom: .8rem; }
.next p:last-child { max-width: 60ch; margin-bottom: 0; }

/* ---------- Career ---------- */
.career { background: var(--paper); padding: clamp(4rem, 8vw, 7rem) 0; }
.map { margin: 2.5rem 0 3.5rem; display: grid; gap: .7rem; max-width: 980px; }
.map-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.25fr); align-items: center; background: #fff; border-radius: 14px; padding: 1rem 1.3rem; box-shadow: 0 1px 0 var(--line); }
.map-a { font-family: var(--display); font-weight: 700; color: var(--navy); }
.map-b { color: #33405c; font-weight: 500; }
.map-arrow { position: relative; height: 2px; background: linear-gradient(90deg, var(--duck), var(--blue)); margin: 0 12px; transform-origin: left; }
.map-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px; border: solid var(--blue); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.js .map-row .map-arrow { transform: scaleX(0); transition: transform .8s var(--ease) .25s; }
.js .map-row.in .map-arrow { transform: scaleX(1); }
@media (max-width: 640px) {
  .map-row { grid-template-columns: 1fr; gap: .35rem; }
  .map-arrow { width: 40px; margin: .2rem 0; }
}
.sub-h { font-size: 1.35rem; color: var(--navy); margin-bottom: 1.2rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 1.5rem 1.4rem 1.3rem; text-decoration: none; color: inherit; border: 1px solid transparent; box-shadow: 0 1px 0 var(--line), 0 20px 40px -34px rgba(2, 20, 70, .4); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.work:hover { transform: translateY(-5px); border-color: var(--sky); box-shadow: 0 26px 44px -30px rgba(66, 139, 202, .7); }
.work-tag { font-size: .78rem; font-weight: 600; color: var(--blue); margin-bottom: .6rem; }
.work h4 { font-family: var(--display); font-size: 1.25rem; color: var(--navy); margin: 0 0 .5rem; }
.work p { color: var(--muted); font-size: .95rem; flex: 1; }
.work-go { font-weight: 600; color: var(--navy); font-size: .92rem; }
.work-go span { display: inline-block; transition: transform .25s var(--ease); }
.work:hover .work-go span { transform: translateX(4px); }
.career-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.btn-outline { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.rough-gap { height: 1.5rem; }
.li-ico { width: 16px; height: 16px; fill: currentColor; }
.ask { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; color: #fff; margin-top: 1.4rem; }
.hero-ctas { gap: .55rem; }
.hero-ctas .btn { padding: .75rem 1.05rem; font-size: .92rem; gap: .4rem; }
.hero-ctas .btn-light { padding-inline: 1.3rem; }
@media (min-width: 901px) { .hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr); gap: clamp(1.5rem, 3vw, 3rem); } }
