/* Wayfinder homepage. Travel palette, scroll route, fog map. */

:root {
  --sand: #FFFFFF;
  --sand-deep: #EAF1F8;
  --sun: #D9CCFF;
  --coral: #10B7AE;
  --pink: #E7DFFF;
  --lagoon: #10B7AE;
  --lagoon-deep: #08636E;
  --plum: #0B4F63;
  --dusk-top: #0B6277;
  --ink: #0E2233;
  --night: #0A1A28;
  --ink-soft: #3E5568;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: var(--sans);
  --display: var(--sans);
  --serif: var(--sans);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M0 40V22Q40 2 80 22T160 22V40Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--sand); color: var(--ink);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--sun); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: var(--sun); padding: 0.7rem 1rem; font-family: var(--mono); font-size: 0.8rem; }
.skip:focus { top: 1rem; }

/* TYPE */
.eyebrow { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.6rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 0.8rem; text-wrap: balance; letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.wrap { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* NAV */
.nav {
  position: fixed; z-index: 200; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2rem), 1100px); height: 58px; padding: 0 0.6rem 0 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--sand); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
}
.nav-logo { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.nav ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; }
.nav ul a { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 0.55rem 0.7rem; border-radius: 999px; transition: background 0.2s; display: block; }
.nav ul a:hover, .nav ul a.on { background: var(--sun); }
.nav ul li:last-child a { background: var(--ink); color: var(--sand); }
.nav ul li:last-child a:hover { background: var(--coral); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sun); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger span { width: 18px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-progress { position: absolute; left: 1.3rem; right: 1.3rem; bottom: -12px; height: 4px; pointer-events: none; }
.nav-progress b { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--ink); border-radius: 4px; transform: scaleX(var(--p, 0)); transform-origin: left; }
.menu { position: fixed; inset: 0; z-index: 150; background: var(--sun); padding: 104px var(--pad) 2rem; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; clip-path: circle(0 at calc(100% - 3rem) 2.5rem); visibility: hidden; transition: clip-path 0.6s var(--ease), visibility 0s 0.6s; }
.menu.open { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; transition: clip-path 0.6s var(--ease), visibility 0s; }
.menu a { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, min(9vw, 6.2vh), 3.2rem); line-height: 1.2; text-decoration: none; padding: 0.15rem 0; }
.menu a:first-child { margin-top: auto; }
.menu a:last-child { margin-bottom: auto; }
.menu a:hover { color: var(--pink); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0 1.5rem; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--ink); color: var(--sand); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--coral); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--coral); }
.btn.alt { background: var(--sand); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.alt:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn.sun { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.sun:hover { box-shadow: 6px 6px 0 var(--ink); }
.link-line { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.link-line:hover { color: var(--coral); }

/* SECTIONS and WAVES */
section, header.hero { position: relative; }
.sec { padding: clamp(5.5rem, 11vw, 9rem) 0; }
.sec::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--next, transparent); -webkit-mask: var(--wave) bottom / 160px 40px repeat-x; mask: var(--wave) bottom / 160px 40px repeat-x; z-index: 1; pointer-events: none; }
.sec-head { max-width: 40rem; }
.sec-head p { margin-top: 1.2rem; font-size: 1.125rem; }

/* HERO */
.hero { background: #BDF0E6; padding: 120px 0 5rem; min-height: min(92svh, 860px); display: flex; align-items: center; overflow: hidden; --next: var(--sun); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--sun); -webkit-mask: var(--wave) bottom / 160px 40px repeat-x; mask: var(--wave) bottom / 160px 40px repeat-x; z-index: 3; pointer-events: none; }
.map { position: absolute; inset: 0; background:
  repeating-radial-gradient(circle at 72% 38%, transparent 0 26px, rgba(8, 99, 110, 0.2) 26px 28px),
  repeating-radial-gradient(circle at 12% 92%, transparent 0 34px, rgba(8, 99, 110, 0.16) 34px 36px),
  repeating-radial-gradient(circle at 96% 100%, transparent 0 30px, rgba(16, 183, 174, 0.22) 30px 32px); }
.map .pin { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.map .pin::before { content: ""; width: 14px; height: 14px; background: var(--coral); border: 2px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map .pin:nth-child(even)::before { background: var(--pink); }
#fog { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.hero .wrap { z-index: 4; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; pointer-events: none; }
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.hero-copy { order: 1; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin: 1.1rem 0 1.6rem; }
.hero h1 em { font-style: normal; font-weight: 800; color: var(--lagoon-deep); display: inline-block; transform-origin: 0 100%; transition: transform 0.5s var(--bounce); }
.hero h1:hover em { transform: rotate(-3deg) scale(1.03); }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 30rem; }
.cycle { position: relative; display: inline-block; min-width: 5.2ch; color: var(--ink); background: var(--sun); padding: 0 0.3em; border-radius: 0.3em; transform: rotate(-1.5deg); transition: opacity 0.25s, transform 0.25s var(--bounce); }
.cycle.swap { opacity: 0; transform: translateY(0.4em) rotate(-1.5deg); }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: 1.125rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; align-items: center; }
.notes { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; }
.note { background: var(--sun); border: 2px solid var(--ink); padding: 0.9rem 1.1rem 1rem; max-width: 16.5rem; box-shadow: 4px 4px 0 var(--ink); font-size: 0.98rem; line-height: 1.4; transform: rotate(var(--r, -2deg)); transition: transform 0.4s var(--bounce); }
.note:nth-child(2) { --r: 1.8deg; background: #fff; }
.note:hover { transform: rotate(0) translateY(-4px); }
.note strong { display: block; font-family: var(--display); font-size: 1.1rem; line-height: 1.15; margin-bottom: 0.25rem; }
.hero-figure { order: 2; position: relative; justify-self: center; width: min(100%, 430px); }
.sun-disc { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); right: -8%; top: -9%; animation: bob 7s ease-in-out infinite; }
.arch { position: relative; border: 3px solid var(--ink); border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--plum); box-shadow: 10px 10px 0 var(--ink); aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.04); transition: transform 0.8s var(--ease); }
.hero-figure:hover .arch img { transform: scale(1.1); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 3.4rem; transform: translateX(-50%); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-decoration: none; }
.scroll-cue i { width: 2px; height: 28px; background: var(--ink); transform-origin: top; animation: drip 1.8s var(--ease) infinite; }

/* MARQUEE */
.marquee { background: var(--sun); border-block: 3px solid var(--ink); overflow: hidden; padding: 1rem 0; position: relative; z-index: 2; transform: rotate(-1.2deg) scale(1.03); margin: -1.2rem 0 -0.6rem; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; flex-shrink: 0; }
.marquee li { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.02em; padding: 0 1.4rem; display: flex; align-items: center; gap: 2.8rem; white-space: nowrap; }
.marquee li::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); }

/* RESEARCH */
.research { background: var(--sand); --next: var(--lagoon); padding-top: clamp(7rem, 12vw, 10rem); }
#research { --next: var(--lagoon); }
.lagoon { background: var(--lagoon); --next: var(--dusk-top); }
.coral { background: var(--coral); --next: var(--pink); }
.dusk { background: linear-gradient(180deg, var(--dusk-top) 0%, #0A5468 50%, #0E2233 100%); color: var(--sand); --next: var(--sand); }
.sand { background: var(--sand); --next: var(--night); }
.night { background: var(--night); color: var(--sand); --next: var(--sand); }
.bento { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.card { position: relative; display: flex; flex-direction: column; gap: 0.7rem; background: var(--sand); color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; padding: 1.5rem; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); grid-column: span 2; }
.card:nth-child(-n+2) { grid-column: span 3; padding: 2rem; }
.card:nth-child(-n+2) h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; }
.card:nth-child(1) { background: #fff; }
.card:nth-child(2) { background: var(--pink); }
a.card:hover, .card:hover { transform: translate(-3px, -5px) rotate(-0.6deg); box-shadow: 10px 12px 0 var(--ink); }
.card .meta { font-size: 1rem; line-height: 1.45; flex: 1; }
.card .desc { font-size: 1.05rem; line-height: 1.5; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sand-deep); display: inline-flex; align-items: center; gap: 0.5rem; }
.tag.live { background: var(--sun); }
.card .go { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.4rem; }
.card .go::after { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-left: 0.5rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease); }
a.card:hover .go::after { transform: translateX(5px) rotate(45deg); }
.more { margin-top: 2.4rem; }

/* RECOGNITION */
.stats { margin-top: 3.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; }
.stat { background: var(--sand); border: 2px solid var(--ink); border-radius: 22px; padding: 1.6rem 1.4rem; box-shadow: 6px 6px 0 var(--ink); transform: rotate(var(--r, 0deg)); transition: transform 0.4s var(--bounce); }
.stat:nth-child(1) { --r: -1.5deg; } .stat:nth-child(2) { --r: 1deg; background: var(--sun); } .stat:nth-child(3) { --r: -0.8deg; background: var(--ink); color: var(--sand); } .stat:nth-child(4) { --r: 1.6deg; }
.stat:hover { transform: rotate(0) translateY(-6px) scale(1.02); }
.stat .yr { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 600; }
.stat .num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -0.04em; line-height: 1.15; margin: 0.8rem 0 0.7rem; font-variant-numeric: tabular-nums; }
.stat p { font-size: 1rem; line-height: 1.45; }

/* STAGE */
.talks { margin-top: 3rem; list-style: none; border-top: 2px solid var(--sand); }
.talk { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 2rem; padding: 1.4rem 0; border-bottom: 2px solid var(--sand); align-items: baseline; transition: padding 0.35s var(--ease); }
.talk:hover { padding-left: 1rem; }
.talk h3 { font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 700; }
.talk p { font-size: 1rem; opacity: 0.9; }
.talk time { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.stamps { margin-top: 4rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; list-style: none; }
.stamp { aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: 0.5rem; border: 4px double var(--c, var(--sand)); border-radius: 50%; color: var(--c, var(--sand)); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; transform: rotate(var(--r)); transition: transform 0.4s var(--bounce); background: rgba(255, 255, 255, 0.04); }
.stamp:hover { transform: rotate(0) scale(1.1); }
.stamp.long b { font-size: clamp(0.8rem, 1.25vw, 1rem); letter-spacing: -0.02em; }
.stamp small { color: #fff; }
.stamp small { display: block; font-size: 0.7rem; line-height: 1.3; font-weight: 500; }
.stamp b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(0.95rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; line-height: 1; margin: 0.25rem 0; }
.stamp:nth-child(1) { --r: -9deg; --c: var(--sun); } .stamp:nth-child(2) { --r: 6deg; --c: #fff; } .stamp:nth-child(3) { --r: -4deg; --c: #BDF0E6; } .stamp:nth-child(4) { --r: 10deg; --c: var(--sun); } .stamp:nth-child(5) { --r: -7deg; --c: #fff; } .stamp:nth-child(6) { --r: 5deg; --c: #BDF0E6; }
.js .stamp.reveal { opacity: 0; transform: rotate(var(--r)) scale(1.7); }
.js .stamp.reveal.visible { opacity: 1; transform: rotate(var(--r)) scale(1); transition: opacity 0.2s, transform 0.55s var(--bounce); transition-delay: calc(var(--i, 0) * 90ms); }
.js .stamp.reveal.visible:hover { transform: rotate(0) scale(1.1); transition-delay: 0s; }

/* FEATURES */
.rail-wrap { position: relative; z-index: 2; margin-top: 3rem; }
.rail { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.2rem var(--pad) 2.4rem; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.polaroid { flex: 0 0 min(300px, 78vw); scroll-snap-align: center; background: #fff; border: 2px solid var(--ink); padding: 0.8rem 0.8rem 1.2rem; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transform: rotate(var(--r)); transition: transform 0.4s var(--bounce); display: flex; flex-direction: column; gap: 0.9rem; user-select: none; }
.polaroid:nth-child(odd) { --r: -2deg; } .polaroid:nth-child(even) { --r: 1.8deg; }
.polaroid:hover { transform: rotate(0) translateY(-8px); }
.polaroid .ph { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--ink); background: var(--sun); display: grid; place-items: center; }
.polaroid .ph img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.polaroid .ph.pod { background: var(--pink); font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; text-align: center; padding: 1rem; }
.polaroid .who { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.polaroid .when { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: -0.6rem; }
.polaroid blockquote { font-size: 0.98rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rail-ctl { display: flex; gap: 0.7rem; margin-top: 0.5rem; }
.circle-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sun); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.2s var(--ease), box-shadow 0.2s; display: grid; place-items: center; }
.circle-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.circle-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.circle-btn i { width: 14px; height: 18px; background: var(--ink); clip-path: polygon(0 12%, 20% 0, 100% 50%, 20% 100%, 0 88%, 55% 50%); }
.circle-btn.prev i { transform: scaleX(-1); }

/* NEWS */
.log { margin-top: 3rem; list-style: none; position: relative; max-width: 54rem; }
.log::before { content: ""; position: absolute; left: 7px; top: 0.5rem; bottom: 0.5rem; width: 3px; background: repeating-linear-gradient(to bottom, var(--sun) 0 8px, transparent 8px 14px); }
.log li { position: relative; padding: 0 0 2.2rem 2.6rem; }
.log li::before { content: ""; position: absolute; left: 0; top: 0.4rem; width: 17px; height: 17px; border-radius: 50%; background: var(--night); border: 3px solid var(--sun); transition: background 0.3s, transform 0.4s var(--bounce); }
.log li:hover::before, .log li:first-child::before { background: var(--coral); transform: scale(1.3); }
.log .when { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.log .when span { border: 2px solid var(--sun); border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.72rem; color: var(--sand); }
.log p { margin-top: 0.4rem; font-size: 1.05rem; }
.log a { color: var(--sun); }
.log strong { color: #fff; }
.night .more .btn { box-shadow: 4px 4px 0 var(--pink); background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* CLOSER */
.closer { background: var(--sand); padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem); text-align: center; position: relative; overflow: hidden; }
.closer h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; max-width: 16ch; margin: 1rem auto 0; }
.closer h2 em { font-style: normal; color: var(--lagoon-deep); }
.closer p.lede { margin: 1.6rem auto 0; }
.closer .hero-actions { justify-content: center; }
.closer .btn { box-shadow: 4px 4px 0 var(--ink); background: var(--ink); color: var(--sun); }
.closer .btn.alt { background: var(--sand); color: var(--ink); }
.closer .btn:hover { box-shadow: 6px 6px 0 var(--coral); }
.socials { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; justify-content: center; list-style: none; }
.sun-big { position: absolute; z-index: 0; width: min(70vw, 620px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); opacity: 0.8; left: 50%; top: 50%; transform: translate(-50%, -50%); }
footer { background: var(--ink); color: var(--sand); padding: 2.4rem var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; position: relative; z-index: 2; }
footer ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; }
footer a { text-decoration: none; }
footer a:hover { color: var(--sun); text-decoration: underline; }

/* ROUTE */
.route { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
.route svg { position: absolute; left: 0; top: 0; overflow: visible; }
.route path { fill: none; stroke: var(--ink); stroke-linecap: round; }
.route .dash { stroke-width: 10; stroke-dasharray: 1 18; }
.route .dash-in { stroke: #fff; stroke-width: 4; }
.route .reveal-mask { stroke-width: 12; }
.walker { position: absolute; left: 0; top: 0; z-index: 3; width: 38px; height: 38px; margin: -34px 0 0 -19px; pointer-events: none; filter: drop-shadow(2px 3px 0 rgba(14, 34, 51, 0.6)); will-change: transform; }

/* REVEAL */
.js .reveal { opacity: 0; transform: translateY(32px); }
.js .reveal.visible { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .stat.reveal.visible { transform: rotate(var(--r, 0deg)); }
.js .stat.reveal.visible:hover { transform: rotate(0) translateY(-6px) scale(1.02); transition-delay: 0s; transition-duration: 0.4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 183, 174, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(16, 183, 174, 0); } }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav ul { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: 0; width: min(62vw, 300px); margin: 0 0 0.5rem; justify-self: start; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(-n+2) { grid-column: span 2; }
  .card:nth-child(n+3) { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stamp b { font-size: 1.3rem; }
  .stamp small { font-size: 0.8rem; }
  .stamp.long b { font-size: 1.05rem; }
  .route, .walker { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .bento { grid-template-columns: 1fr; }
  .card:nth-child(n+3) { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; }
  .talk { grid-template-columns: 1fr; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 22rem; margin-inline: auto; }
  .stamp { padding: 0.8rem; border-width: 4px; }
  .stamp b { font-size: 1.2rem; }
  .stamp small { font-size: 0.72rem; }
  .stamp.long b { font-size: 1rem; }
  .hero { padding-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stamp.reveal { opacity: 1; transform: none; }
  .js .stamp.reveal { transform: rotate(var(--r)); }
  .marquee-track { overflow-x: auto; }
  #fog { display: none; }
  .walker { display: none; }
}

/* ===================== INNER PAGES ===================== */
body.inner { --gutter: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
body.inner main { position: relative; z-index: 1; }
.page-hero { position: relative; overflow: hidden; background: var(--hero-bg, var(--sun)); padding: 150px var(--gutter) 6.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--sand); -webkit-mask: var(--wave) bottom / 160px 40px repeat-x; mask: var(--wave) bottom / 160px 40px repeat-x; }
.page-hero::before { content: ""; position: absolute; right: -90px; top: 40px; width: 360px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); background: rgba(255, 255, 255, 0.45); pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero.has-figure { grid-template-columns: 1fr auto; }
.page-hero .hero-figure { width: 240px; order: 0; }
.page-crumb { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.page-title { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0.8rem 0 1rem; }
.page-desc { max-width: 38rem; font-size: 1.125rem; }
.page-about { --hero-bg: var(--sun); } .page-blog { --hero-bg: #BDF0E6; } .page-speaking { --hero-bg: var(--lagoon); }
.page-videos { --hero-bg: var(--sun); } .page-sq { --hero-bg: #BDF0E6; } .page-contact { --hero-bg: var(--lagoon); }

body.inner main > section { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
body.inner main > section.alt, .newsletter-wrap { background: #F3EFFF; }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.st { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.section-link, .sq-label { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.section-link:hover { color: var(--lagoon-deep); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--ink); color: var(--sand); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--lagoon); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--lagoon); }

/* shared card look */
.blog-card, .conf-card, .video-card, .sq-card, .sidebar-box, .aw { background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
a.blog-card:hover, .conf-card:hover, .video-card:hover, .sq-card:hover, .aw:hover { transform: translate(-3px, -5px); box-shadow: 10px 12px 0 var(--ink); }

/* about */
.about-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-text p { margin-bottom: 1.2rem; max-width: 40rem; font-size: 1.125rem; }
.sidebar-box { padding: 1.8rem; }
.sidebar-box h3 { margin-bottom: 1.2rem; }
.skill-cat + .skill-cat { margin-top: 1.2rem; }
.skill-cat-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags .tag { background: var(--sun); font-size: 0.78rem; text-transform: none; letter-spacing: 0; padding: 0.3rem 0.75rem; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.exp-card { background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.exp-card:hover { transform: translate(-3px, -5px); box-shadow: 10px 12px 0 var(--ink); }
.em-date { align-self: flex-start; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); margin-bottom: 0.4rem; }
.ec-role { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.3; }
.em-company { font-weight: 600; font-size: 1.05rem; color: var(--lagoon-deep); line-height: 1.35; }
.em-loc { font-size: 0.95rem; color: var(--ink-soft); }
.pub-item { display: grid; grid-template-columns: 14rem 1fr; gap: 0.5rem 3rem; padding: 1.4rem 0; border-top: 2px solid var(--ink); }
.pv { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lagoon-deep); }
.pt { font-weight: 600; font-size: 1.1rem; line-height: 1.4; letter-spacing: -0.01em; }
.featured-awards, .awards-grid { display: grid; gap: 1.4rem; }
.featured-awards { grid-template-columns: repeat(2, 1fr); margin-bottom: 1.4rem; }
.awards-grid { grid-template-columns: repeat(4, 1fr); }
.aw { padding: 1.5rem; }
.aw.featured { background: var(--ink); color: var(--sand); }
.aw-year { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--lagoon-deep); }
.aw.featured .aw-year { color: var(--sun); }
.aw-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; margin: 0.5rem 0; }
.aw-desc { font-size: 0.98rem; line-height: 1.55; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.blog-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem; text-decoration: none; }
.blog-tag { align-self: flex-start; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); }
.blog-title { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.35; }
.blog-excerpt { font-size: 1rem; line-height: 1.55; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); }
.blog-meta .read { color: var(--ink); text-transform: uppercase; letter-spacing: 0.1em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* speaking */
.conf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.conf-card > a { display: block; text-decoration: none; color: inherit; height: 100%; }
.conf-info { padding: 1.6rem; display: grid; gap: 0.3rem; }
.conf-event { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; }
.conf-date { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lagoon-deep); }
.conf-talk { margin-top: 0.5rem; font-size: 1.02rem; line-height: 1.5; }
.contact-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ch { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.cd { font-size: 1.125rem; max-width: 36rem; }
.topics-label { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.topics li { border: 2px solid var(--ink); border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 500; font-size: 0.95rem; background: #fff; }

/* videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.video-card { overflow: hidden; text-decoration: none; display: block; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--sun); overflow: hidden; border-bottom: 2px solid var(--ink); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.play-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; display: grid; place-items: center; transition: transform 0.3s var(--bounce); }
.play-btn svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-card:hover .play-btn { transform: scale(1.15); }
.video-info { padding: 1.2rem 1.4rem 1.5rem; }
.video-title { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.3; }
.video-meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* side quests */
.sq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.sq-card { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.sq-icon { display: none; }
.sq-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.2; }
.sq-status.now { background: var(--lagoon); }
.sq-status { align-self: flex-start; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); }
.sq-desc { font-size: 1rem; line-height: 1.55; flex: 1; }
.sq-card .tags { margin-top: 0.3rem; list-style: none; }
.sq-card .link-line { align-self: flex-start; margin-top: 0.4rem; }
.sq-name { overflow-wrap: anywhere; }

/* contact */
.clinks { display: grid; gap: 0.9rem; }
.crow { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 2px solid var(--ink); align-items: baseline; }
.ck { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lagoon-deep); }
.cv { font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.cv:hover { color: var(--lagoon-deep); }
.newsletter-wrap { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.nl-desc { max-width: 36rem; font-size: 1.125rem; margin-bottom: 1.6rem; }
.nl-form { display: flex; flex-wrap: wrap; gap: 0.8rem; max-width: 36rem; }
.nl-input { flex: 1 1 14rem; min-height: 52px; padding: 0 1.2rem; font: inherit; font-size: 1rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); }
.nl-btn { min-height: 52px; padding: 0 1.6rem; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; background: var(--ink); color: var(--sand); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--lagoon); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.nl-btn:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--lagoon); }
.nl-btn:disabled { background: var(--lagoon); color: var(--ink); cursor: default; }
.nl-note { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 960px) {
  .about-cols, .contact-cols, .featured-awards { grid-template-columns: 1fr; }
  .blog-grid, .video-grid, .sq-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-item { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero.has-figure { grid-template-columns: 1fr; }
  .page-hero .hero-figure { width: min(55vw, 240px); order: -1; }
}
@media (max-width: 700px) {
  .page-hero::before { display: none; }
}
@media (max-width: 600px) {
  .blog-grid, .video-grid, .sq-grid, .conf-grid, .awards-grid, .exp-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 120px; }
  .crow { grid-template-columns: 1fr; gap: 0.2rem; }
}
