@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque.woff2) format("woff2");
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/newsreader-italic.woff2) format("woff2");
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader.woff2) format("woff2");
}

/* Maranatha Poirier: cool paper page, navy ink from the blazer, sky from the shirt, one yellow accent */

:root {
  --paper: #f6f8fd;
  --white: #ffffff;
  --sky: #d6e1f2;
  --sky-soft: #e9effa;
  --ink: #0b1632;
  --ink-soft: #46547a;
  --cobalt: #2444d6;
  --cobalt-bright: #4466ff;
  --sun: #ffd23f;
  --line: rgba(11, 22, 50, 0.12);
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --text: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--cobalt); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.contact :focus-visible, .facts-card :focus-visible { outline-color: var(--sun); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

.kicker {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cobalt); margin: 0 0 14px;
}

/* header */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 248, 253, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
header.site.scrolled { border-bottom-color: var(--line); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 28px; }
header.site .progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--cobalt), var(--cobalt-bright) 60%, var(--sun));
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark svg { width: 30px; height: 30px; transition: transform 0.5s var(--ease); }
.wordmark:hover svg { transform: rotate(-8deg) scale(1.06); }
.site-nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); font-size: 15px; font-weight: 500; }
.nav-link { position: relative; color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: #fff; text-decoration: none; padding: 0 20px; min-height: 44px;
  display: inline-flex; align-items: center; border-radius: 999px;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--cobalt); transform: translateY(-1px); }
@media (max-width: 760px) { .nav-link { display: none; } }

/* hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 4.2vw, 64px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--paper) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob.b1 {
  width: 760px; height: 760px; right: -200px; top: -300px;
  background: radial-gradient(closest-side, rgba(68, 102, 255, 0.30), rgba(68, 102, 255, 0));
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob.b2 {
  width: 600px; height: 600px; left: -220px; bottom: -300px;
  background: radial-gradient(closest-side, rgba(255, 210, 63, 0.42), rgba(255, 210, 63, 0));
  animation: drift-b 27s ease-in-out infinite alternate;
}
.blob.b3 {
  width: 480px; height: 480px; left: 34%; top: -220px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  animation: drift-b 31s ease-in-out infinite alternate-reverse;
}
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 22, 50, 0.18) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 78% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 85% at 78% 40%, #000, transparent 75%);
}
@keyframes drift-a { to { transform: translate3d(-70px, 60px, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(80px, -50px, 0) scale(1.14); } }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  animation: rise 0.8s var(--ease) both;
}
.pill svg { width: 22px; height: 22px; color: var(--cobalt); animation: twirl 9s linear infinite; }
@keyframes twirl { to { transform: rotate(360deg); } }

.hero h1 {
  font-size: clamp(38px, 4.9vw, 68px); font-weight: 800; letter-spacing: -0.03em; word-spacing: 0.08em; line-height: 1.04;
  margin-top: 24px;
}
.hero h1 .w {
  display: inline-block;
  animation: rise 0.95s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 85ms + 180ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hl { display: inline-block; position: relative; z-index: 0; font-family: var(--text); font-style: italic; font-weight: 400; font-size: 1.06em; padding: 0 0.04em; }
.hl::after {
  content: ''; position: absolute; z-index: -1; left: -0.05em; right: -0.05em; bottom: 0.06em; height: 0.4em;
  background: var(--sun); border-radius: 0.08em;
  transform-origin: left; animation: sweep 0.9s var(--hl-delay, 1.1s) var(--ease) both;
}
.hl-2 { --hl-delay: 1.45s; }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lede { font-size: 22px; line-height: 1.5; margin-top: 28px; max-width: 33em; color: var(--ink-soft); }
.hero .lede { color: var(--ink); animation: rise 0.9s 0.75s var(--ease) both; }
.areas { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.2;
  animation: rise 0.8s var(--ease) both; animation-delay: calc(0.95s + var(--i, 0) * 70ms);
}
.areas li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); flex: none; }
.areas li.focus { background: var(--sun); border-color: var(--sun); }
.areas li.focus::before { background: var(--ink); }
.areas .tag { font-weight: 500; font-size: 13px; letter-spacing: 0.02em; opacity: 0.8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: rise 0.9s 1.35s var(--ease) both; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  text-decoration: none; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 26px -14px rgba(11, 22, 50, 0.7); }
.btn-primary:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.btn-ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* hero portrait */
.hero-photo { position: relative; width: min(100%, 430px); margin-left: auto; }
.tilt {
  position: relative;
  transform: perspective(1100px) rotateY(calc(var(--rx, 0) * 9deg)) rotateX(calc(var(--ry, 0) * -7deg));
  transition: transform 0.6s var(--ease);
}
.photo-shape {
  position: absolute; inset: 0; z-index: 0; border-radius: 40px;
  background: linear-gradient(150deg, var(--cobalt) 0%, var(--cobalt-bright) 100%);
  transform: rotate(6deg) translate(16px, 10px);
  animation: shape-in 1.2s 0.15s var(--ease) both;
}
@keyframes shape-in { from { opacity: 0; transform: rotate(-2deg) translate(0, 0) scale(0.92); } }
.photo-card {
  position: relative; z-index: 1; overflow: hidden; border-radius: 34px; background: var(--sky);
  box-shadow: 0 40px 70px -30px rgba(11, 22, 50, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  animation: unveil 1.2s 0.25s var(--ease) both;
}
.photo-card img { width: 100%; height: auto; }
@keyframes unveil {
  from { opacity: 0; clip-path: inset(10% 10% 10% 10% round 44px); transform: scale(0.94); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round 34px); transform: none; }
}
.badge {
  position: absolute; z-index: 3; left: -46px; bottom: -34px; width: 128px; height: 128px;
  transform: translate(calc(var(--rx, 0) * -22px), calc(var(--ry, 0) * -16px));
  transition: transform 0.6s var(--ease);
  animation: pop 0.9s 1.1s var(--ease) both;
}
@keyframes pop { from { opacity: 0; scale: 0.6; } }
.badge-disc {
  position: absolute; inset: 0; border-radius: 50%; background: var(--ink);
  box-shadow: 0 20px 36px -16px rgba(11, 22, 50, 0.7);
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: twirl 24s linear infinite; }
.badge svg.ring text { font-family: var(--display); font-weight: 700; font-size: 8.6px; letter-spacing: 0.03em; fill: #fff; }
.badge .core {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center;
}
.badge .core svg { width: 22px; height: 22px; }
.chip {
  position: absolute; z-index: 3; top: 9%; right: -26px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -14px rgba(11, 22, 50, 0.45);
  font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap;
  transform: translate(calc(var(--rx, 0) * 26px), calc(var(--ry, 0) * 18px));
  transition: transform 0.6s var(--ease);
}
.chip-inner { display: inline-flex; align-items: center; gap: 10px; animation: bob 6s ease-in-out infinite alternate; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(36, 68, 214, 0.18); }
@keyframes bob { to { transform: translateY(-7px); } }

@media (max-width: 900px) {
  /* headline, then the portrait, then the text: the photo should not sit below a wall of copy */
  .hero-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .hero-copy { display: contents; }
  .pill { order: 1; }
  .hero h1 { order: 2; }
  .hero-photo { order: 3; width: min(100%, 340px); margin: 30px auto 14px; align-self: center; }
  .hero .lede { order: 4; margin-top: 30px; font-size: 20px; }
  .areas { order: 5; }
  .cta-row { order: 6; }
  .badge { left: -16px; bottom: -26px; width: 108px; height: 108px; }
  .chip { right: -10px; top: 6%; }
}
@media (max-width: 430px) {
  .wrap, .wrap-narrow, .story-inner { padding-left: 20px; padding-right: 20px; }
  header.site .bar { padding: 8px 20px; }
  .wordmark { font-size: 17px; gap: 8px; }
  .wordmark svg { width: 28px; height: 28px; }
  .nav-cta { padding: 0 16px; font-size: 14px; }
}

/* tools ticker */
.ticker {
  background: var(--white); border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; flex: none; }
.ticker-set span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em;
  padding: 0 28px;
}
.ticker-set span::after {
  content: ''; width: 9px; height: 9px; margin-left: 56px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.3);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* numbers */
.facts { padding: clamp(40px, 6vw, 72px) 0 0; }
.facts-card {
  position: relative; overflow: hidden; border-radius: var(--radius); color: #fff;
  background: linear-gradient(130deg, #172fa6 0%, var(--cobalt) 55%, #3d63ff 100%);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.3px);
  background-size: 22px 22px; opacity: 0.55;
  -webkit-mask-image: linear-gradient(115deg, transparent 5%, #000 95%);
  mask-image: linear-gradient(115deg, transparent 5%, #000 95%);
}
.fact { position: relative; z-index: 1; padding: 38px 32px; display: flex; flex-direction: column; gap: 10px; }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.fact strong {
  font-family: var(--display); font-size: clamp(40px, 5vw, 66px); font-weight: 800; letter-spacing: -0.032em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.fact span { font-size: 17px; line-height: 1.35; max-width: 15em; color: #e5ebff; }
@media (max-width: 820px) {
  .facts-card { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 24px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

/* story */
.story { padding: clamp(72px, 10vw, 136px) 0 clamp(16px, 3vw, 40px); }
.story-inner { max-width: 960px; margin: 0 auto; padding: 0 28px; }
.pullquote {
  position: relative; margin: 0 0 40px; padding-top: 0.2em;
  font-family: var(--display); font-weight: 700; font-size: clamp(27px, 3.7vw, 47px);
  line-height: 1.17; letter-spacing: -0.028em; text-wrap: balance;
}
.qmark {
  display: block; font-family: var(--text); font-weight: 400; font-size: 120px; line-height: 0.7;
  height: 0.5em; color: var(--sun); margin-bottom: 12px;
}
.js .qw { color: rgba(11, 22, 50, 0.28); transition: color 0.4s var(--ease); }
.js .qw.on { color: var(--ink); }
.about-text { font-size: 21px; max-width: 38em; color: var(--ink-soft); }

/* work history */
.history { padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 4vw, 48px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.026em; }
.section-intro { margin-top: 16px; font-size: 20px; color: var(--ink-soft); max-width: 36em; }
.chapters { margin-top: clamp(32px, 5vw, 56px); }
.chapter {
  position: relative; display: grid; grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(20px, 4vw, 56px); padding: 44px 0;
}
.chapter::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.chapter::after {
  content: ''; position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--ink);
  transform-origin: left; transition: transform 1.2s var(--ease);
}
.js .chapter.reveal:not(.in)::after { transform: scaleX(0); }
.chapter-key { display: flex; flex-direction: column; gap: 6px; }
.chapter-key .big {
  font-family: var(--display); font-weight: 800; font-size: clamp(52px, 6.4vw, 84px); line-height: 0.95;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--cobalt) 20%, var(--cobalt-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cobalt);
}
.chapter-key .cap { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.chapter-body h3 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 700; margin-bottom: 12px; }
.chapter-body p { max-width: 36em; }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; } }

/* toolkit */
.skills { background: var(--sky-soft); padding: clamp(56px, 8vw, 104px) 0; margin-top: clamp(24px, 4vw, 48px); }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
.skill, .site-card {
  position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.25s;
}
.skill::before, .site-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(36, 68, 214, 0.11), transparent 62%);
}
.skill:hover::before, .site-card:hover::before { opacity: 1; }
.skill:hover, .site-card:hover {
  transform: translateY(-4px); border-color: rgba(36, 68, 214, 0.4);
  box-shadow: 0 28px 44px -28px rgba(11, 22, 50, 0.45);
}
.skill { padding: 30px; border-radius: var(--radius); }
.skill-ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--cobalt); margin-bottom: 20px;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.skill:hover .skill-ico { background: var(--cobalt); color: #fff; transform: rotate(-6deg) scale(1.05); }
.skill-ico svg { width: 26px; height: 26px; }
.skill h3 { font-size: 22px; font-weight: 700; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips li {
  font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1.3;
  padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
@media (max-width: 760px) { .skill-grid { grid-template-columns: 1fr; } .skill { padding: 24px; } }

/* things I've built */
.built { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.site-grid {
  list-style: none; margin: clamp(32px, 5vw, 48px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.site-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; height: 100%;
  min-height: 160px; padding: 20px; border-radius: 22px; text-decoration: none; color: var(--ink);
}
.site-card .num { position: relative; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; color: var(--ink-soft); }
.site-card .label { position: relative; display: block; }
.site-card .name { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; }
.site-card .cat { display: block; margin-top: 6px; font-size: 16px; line-height: 1.35; color: var(--ink-soft); }
.site-card .arr {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  transition: background-color 0.25s, color 0.25s, transform 0.4s var(--ease);
}
.site-card .arr svg { width: 16px; height: 16px; }
.site-card:hover .arr { background: var(--cobalt); color: #fff; transform: rotate(-45deg); }
@media (max-width: 1040px) { .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .site-grid { grid-template-columns: 1fr; gap: 10px; }
  .site-card {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px;
    min-height: 76px; padding: 14px 64px 14px 18px; border-radius: 18px;
  }
  .site-card .num { flex: none; width: 1.6em; }
  .site-card .arr { top: 50%; margin-top: -18px; right: 14px; }
}

/* contact */
.contact {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  margin: 0 clamp(12px, 2vw, 24px); border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 10vw, 128px) 0;
}
.contact .glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; will-change: transform; }
.contact .g1 {
  width: 700px; height: 700px; right: -220px; top: -300px;
  background: radial-gradient(closest-side, rgba(68, 102, 255, 0.55), rgba(68, 102, 255, 0));
  animation: drift-a 20s ease-in-out infinite alternate;
}
.contact .g2 {
  width: 520px; height: 520px; left: -200px; bottom: -280px;
  background: radial-gradient(closest-side, rgba(255, 210, 63, 0.32), rgba(255, 210, 63, 0));
  animation: drift-b 24s ease-in-out infinite alternate;
}
.contact h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16em; letter-spacing: -0.028em; }
.contact .lede { color: #c9d3ea; margin-top: 22px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; }
.copy-email {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px;
  background: var(--sun); color: var(--ink); border: 1.5px solid var(--sun); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.copy-email:hover { background: #fff; border-color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(255, 210, 63, 0.7); }
.copy-email svg { width: 20px; height: 20px; }

footer.site { color: var(--ink-soft); padding: 28px 0 36px; font-size: 15px; }
footer.site .foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--cobalt); }
footer.site .foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* scroll reveals (only when the script is running); an animation, so cards keep their hover transitions */
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: reveal-up 0.9s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } }

/* cookie notice page */
.legal-page { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.legal-page .legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 0.35em; }
.legal-page h2 { font-size: 1.3rem; line-height: 1.25; margin: 1.8em 0 0.4em; letter-spacing: -0.02em; }
.legal-page p { max-width: 68ch; line-height: 1.65; margin: 0 0 1em; }
.legal-page .stamp { margin-bottom: 1.4em; }
.legal-page .stamp { opacity: 0.65; font-size: 0.95rem; }
.legal-page .back { display: inline-block; margin-top: 4px; font-weight: 500; }
.bar .back { font-weight: 500; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js .reveal:not(.in) { opacity: 1; }
  .ticker-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .ticker-set { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .ticker-set + .ticker-set { display: none; }
  .ticker-set span::after { margin-left: 28px; }
}
