@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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-italic.woff2) format("woff2");
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans.woff2) format("woff2");
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic.woff2) format("woff2");
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif.woff2) format("woff2");
}

/* maranathap.com: the fun page. Warm paper, dawn-colored aurora, big friendly type. */

:root {
  --bg: #fff6ec;
  --bg-2: #ffeedd;
  --surface: #ffffff;
  --ink: #1d1440;
  --ink-soft: #52496f;
  --line: rgba(29, 20, 64, 0.12);
  --violet: #6b4bff;
  --coral: #ff5f4a;
  --sun: #ffc233;
  --mint: #22d3a6;
  --sky: #d6e1f2;
  --grad: linear-gradient(100deg, var(--violet), var(--coral) 60%, var(--sun));
  --grad-text: linear-gradient(100deg, #5a3be8, #c8321d);
  --coral-text: #c8321d;
  --shadow: 0 1px 2px rgba(29, 20, 64, 0.06), 0 18px 40px -18px rgba(29, 20, 64, 0.28);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --text: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --blob-opacity: 0.34;
}

:root[data-theme="dark"] {
  --bg: #100a26;
  --bg-2: #180f38;
  --surface: #1b1240;
  --ink: #fff3e6;
  --ink-soft: #b9afd8;
  --line: rgba(255, 243, 230, 0.14);
  --violet: #8a72ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -20px rgba(0, 0, 0, 0.7);
  --blob-opacity: 0.4;
  --grad-text: linear-gradient(100deg, #b3a3ff, #ff8a75);
  --coral-text: #ff8a75;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100a26;
    --bg-2: #180f38;
    --surface: #1b1240;
    --ink: #fff3e6;
    --ink-soft: #b9afd8;
    --line: rgba(255, 243, 230, 0.14);
    --violet: #8a72ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -20px rgba(0, 0, 0, 0.7);
    --blob-opacity: 0.4;
    --grad-text: linear-gradient(100deg, #b3a3ff, #ff8a75);
    --coral-text: #ff8a75;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; }
h2 em, .lede em, blockquote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
p { margin: 0; }
a { color: var(--violet); text-underline-offset: 3px; }
:root[data-theme="dark"] a { color: #b3a3ff; }

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

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
:root[data-theme="dark"] :focus-visible { outline-color: var(--sun); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; z-index: 200; }
.skip-link:focus { left: 16px; top: 16px; }

/* ambient background */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--blob-opacity); will-change: transform; }
.b1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: var(--violet); animation: drift1 24s ease-in-out infinite alternate; }
.b2 { width: 38vmax; height: 38vmax; right: -10vmax; top: 6vmax; background: var(--coral); animation: drift2 28s ease-in-out infinite alternate; }
.b3 { width: 34vmax; height: 34vmax; left: 28vw; top: 44vh; background: var(--sun); animation: drift3 32s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-16vmax, -12vmax) scale(1.2); } }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.10; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: 0.06; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* header */
header.site { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: color-mix(in srgb, var(--bg) 72%, transparent); 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; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.wordmark .lg-tile { fill: var(--ink); transition: fill 0.4s; }
.wordmark .logo-mark { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.wordmark:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.wordmark .wm b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 500; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background 0.2s; }
.site-nav a:hover { background: var(--line); }
.site-nav .nav-cta { background: var(--ink); color: var(--bg); margin: 0 6px; }
.site-nav .nav-cta:hover { background: var(--violet); color: #fff; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform 0.4s, background 0.2s; }
.theme-toggle:hover { background: var(--line); transform: rotate(40deg); }
@media (max-width: 820px) { .site-nav a:not(.nav-cta) { display: none; } }

/* hero */
.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(34, 211, 166, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 166, 0); } }
h1 { margin-top: 22px; font-weight: 800; font-size: clamp(54px, 10.5vw, 132px); line-height: 0.92; letter-spacing: -0.045em; }
h1 .line { display: block; }
h1 .name { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; background-size: 200% 100%; animation: sheen 8s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.rotator { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 36px); letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 0 0.4em; align-items: baseline; }
.rot-window { display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.25em; }
.rot-word { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--coral-text); transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s; }
.rot-word.out { transform: translateY(-110%); opacity: 0; }
.rot-word.in { transform: translateY(110%); opacity: 0; transition: none; }
.lede { margin-top: 22px; max-width: 34em; font-size: 19px; color: var(--ink-soft); }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.2s, color 0.2s; }
.btn-primary { background: var(--ink); color: var(--bg) !important; box-shadow: 0 12px 26px -12px rgba(29, 20, 64, 0.6); }
.btn-primary:hover { background: var(--violet); color: #fff !important; }
.btn-ghost { border-color: var(--ink); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--ink); color: var(--bg) !important; }
.btn-light { background: #fff; color: #1d1440 !important; }
.btn-light:hover { background: var(--sun); }

/* portrait */
.hero-photo { position: relative; max-width: 440px; margin-left: auto; width: 100%; }
.portrait { display: block; width: 100%; padding: 0; border: 0; background: var(--sky); cursor: pointer; border-radius: 999px 999px 32px 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); transform: rotate(2deg); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); position: relative; z-index: 2; }
.portrait:hover { transform: rotate(-1deg) scale(1.02); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.badge-ring { position: absolute; z-index: 3; right: -34px; top: -34px; width: 132px; height: 132px; background: var(--sun); border-radius: 50%; box-shadow: var(--shadow); animation: spin 22s linear infinite; }
.badge-ring svg { width: 100%; height: 100%; }
.badge-ring text { font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: 0.06em; fill: #1d1440; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker { position: absolute; z-index: 4; padding: 8px 16px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.s1 { left: -36px; bottom: 96px; background: var(--violet); color: #fff; transform: rotate(-6deg); animation: bob 5s ease-in-out infinite; }
.s2 { right: -18px; bottom: 34px; background: var(--coral); color: #fff; transform: rotate(4deg); animation: bob 6s ease-in-out -2s infinite; }
.s3 { left: 12px; top: 20px; background: var(--surface); color: var(--ink); transform: rotate(-3deg); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; animation: bob 7s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* marquee */
.marquee { margin: 46px 0 0; padding: 20px 0; background: var(--ink); color: var(--bg); overflow: hidden; transform: rotate(-1.2deg); width: 104%; margin-left: -2%; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: scroll 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3vw, 30px); letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track i { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); display: inline-block; flex: none; }
.marquee-track i:nth-of-type(3n) { background: var(--coral); }
.marquee-track i:nth-of-type(3n+1) { background: var(--mint); }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* sections */
section { position: relative; }
.numbers, .story, .themes, .toolkit, .sites { padding: 110px 0 20px; }
.section-head { max-width: 820px; margin-bottom: 44px; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 14px; }
.section-intro { margin-top: 18px; color: var(--ink-soft); font-size: 19px; max-width: 38em; }

/* bento numbers */
.numbers h2 { margin-bottom: 40px; max-width: 12em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 200px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.tile:hover { transform: translateY(-6px) rotate(-0.6deg); }
.tile strong { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 92px); letter-spacing: -0.05em; line-height: 0.9; }
.tile span { font-size: 16px; line-height: 1.4; max-width: 22em; }
.t-a { grid-column: span 2; background: var(--violet); color: #fff; }
.t-b { grid-column: span 2; background: var(--surface); }
.t-c { grid-column: span 2; background: var(--sun); color: #1d1440; }
.t-d { grid-column: span 3; background: var(--ink); color: var(--bg); }
.t-e { grid-column: span 1; background: var(--coral); color: #fff; }
.t-f { grid-column: span 2; background: var(--mint); color: #0b2b24; }
.t-d strong { color: var(--sun); }
.t-e strong { font-size: clamp(44px, 5vw, 64px); }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
  .t-d { grid-column: span 2; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .t-d { grid-column: span 1; } .tile { min-height: 160px; } }

/* quote */
.quote { padding: 120px 0 30px; }
blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.15; letter-spacing: -0.03em; position: relative; }
.qmark { position: absolute; left: -0.5em; top: -0.55em; font-family: var(--serif); font-size: 3.3em; line-height: 1; color: var(--sun); }
@media (max-width: 900px) { .qmark { left: -6px; top: -0.75em; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 51px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); }
.chapter { display: grid; grid-template-columns: 104px 1fr; gap: 28px; margin-bottom: 26px; align-items: start; }
.marker { position: relative; z-index: 2; }
.marker span { display: grid; place-items: center; width: 104px; height: 60px; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; box-shadow: var(--shadow); transition: background 0.4s, transform 0.4s; }
.chapter.in-view .marker span { background: var(--violet); color: #fff; transform: scale(1.06); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px 34px; box-shadow: var(--shadow); }
.card .tag { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 8px; }
.card h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; margin-bottom: 12px; }
.card p:not(.tag) { color: var(--ink-soft); }
.card-side { background: var(--ink); color: var(--bg); border-color: transparent; }
.card-side h3 { color: var(--bg); }
.card-side p:not(.tag) { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.text-link { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 700; color: var(--sun) !important; }
@media (max-width: 640px) {
  .timeline::before, .timeline::after { left: 27px; }
  .chapter { grid-template-columns: 1fr; gap: 12px; padding-left: 0; }
  .marker span { width: 84px; height: 48px; font-size: 18px; }
  .card { padding: 24px 22px; }
  .timeline::before, .timeline::after { display: none; }
}

/* themes */
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.theme { padding: 30px 26px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.theme:nth-child(odd) { transform: translateY(0); }
.theme:hover { transform: translateY(-8px) rotate(-1deg); }
.theme .emoji { font-size: 40px; display: block; margin-bottom: 18px; line-height: 1; }
.theme h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.theme p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.t1 { border-top: 6px solid var(--sun); }
.t2 { border-top: 6px solid var(--coral); }
.t3 { border-top: 6px solid var(--mint); }
.t4 { border-top: 6px solid var(--violet); }
@media (max-width: 1000px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .theme-grid { grid-template-columns: 1fr; } }

/* toolkit */
.tool-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.group { padding: 28px; border-radius: 28px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.group h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s, color 0.2s, border-color 0.2s; cursor: default; }
.chips li:hover { transform: translateY(-3px) rotate(-2deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 760px) { .tool-groups { grid-template-columns: 1fr; } }

/* sites */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button { font-family: var(--display); font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.site-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-card { perspective: 900px; }
.site-card[hidden] { display: none; }
.site-link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 12px 12px 22px; text-decoration: none; color: var(--ink) !important; box-shadow: var(--shadow); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out, box-shadow 0.3s; position: relative; }
a.site-link:hover { box-shadow: 0 2px 4px rgba(29, 20, 64, 0.06), 0 30px 50px -20px rgba(107, 75, 255, 0.45); }
.shot { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
a.site-link:hover .shot img { transform: scale(1.06); }
.site-meta { display: flex; flex-direction: column; margin: 18px 12px 6px; }
.site-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
a.site-link .site-name::after { content: '\2197'; font-size: 18px; color: var(--coral); transition: transform 0.25s; }
a.site-link:hover .site-name::after { transform: translate(3px, -3px); }
.site-cat { font-size: 14px; font-weight: 700; color: var(--violet); letter-spacing: 0.02em; }
:root[data-theme="dark"] .site-cat { color: #b3a3ff; }
.site-desc { margin: 4px 12px 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.here { background: var(--ink); border-color: transparent; color: var(--bg) !important; }
.here .site-desc { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.here .site-cat { color: var(--sun); }
.here-shot { background: var(--grad); display: grid; place-items: center; border: 0; }
.here-mark { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 0.95; color: #fff; text-align: center; transform: rotate(-6deg); text-shadow: 0 4px 24px rgba(29, 20, 64, 0.25); }
@media (max-width: 1000px) { .site-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .site-grid { grid-template-columns: 1fr; } }

/* contact */
.contact { margin-top: 120px; padding: 110px 0 120px; background: var(--ink); color: #fff3e6; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 60vmax; height: 60vmax; right: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(255, 95, 74, 0.5), transparent 65%); pointer-events: none; }
.contact::after { content: ''; position: absolute; width: 50vmax; height: 50vmax; left: -22vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(107, 75, 255, 0.55), transparent 65%); pointer-events: none; }
.contact .wrap { position: relative; z-index: 1; }
.contact h2 { color: #fff3e6; max-width: 11em; }
.contact h2 em { background: linear-gradient(100deg, #ffd35c, #ff8a75); -webkit-background-clip: text; background-clip: text; }
.contact .kicker { color: #ff8a75; }
.contact .lede { color: #cfc5ee; }
.contact-links { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.copy-email { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--sun); color: #1d1440; border: 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 17px; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s; }
.copy-email:hover { background: #ffd35c; }
.copy-email svg { width: 20px; height: 20px; }
.copied { margin-top: 16px; min-height: 26px; color: var(--mint); font-weight: 700; }
.contact :focus-visible { outline-color: var(--sun); }

footer.site { background: var(--ink); color: #b9afd8; padding: 0 0 34px; font-size: 15px; }
footer.site .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255, 243, 230, 0.14); padding-top: 26px; }
footer.site a { color: #fff3e6; }

/* confetti */
.confetti { position: fixed; z-index: 100; pointer-events: none; font-size: 26px; line-height: 1; will-change: transform, opacity; }

/* reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .bento .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .bento .reveal:nth-child(4) { transition-delay: 0.08s; }
.js .bento .reveal:nth-child(5) { transition-delay: 0.16s; }
.js .bento .reveal:nth-child(6) { transition-delay: 0.24s; }
.js .theme-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .theme-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .theme-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .tile.reveal.visible:hover { transform: translateY(-6px) rotate(-0.6deg); }
.js .theme.reveal.visible:hover { transform: translateY(-8px) rotate(-1deg); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-photo { margin: 0 auto; max-width: 340px; }
  .badge-ring { right: -14px; width: 108px; height: 108px; }
  .s1 { left: -14px; }
  .s2 { right: -8px; }
  body { font-size: 17px; }
}

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

/* cookie consent: map the kit's tokens onto this site's palette (the kit's own dark mode is off) */
:root {
  --cc-bg: var(--surface);
  --cc-fg: var(--ink);
  --cc-muted: var(--ink-soft);
  --cc-line: var(--line);
  --cc-soft: var(--bg-2);
  --cc-accent: var(--ink);
  --cc-accent-fg: var(--bg);
  --cc-focus: var(--violet);
  --cc-font: var(--text);
  --cc-radius: 22px;
}
:root[data-theme="dark"] { --cc-focus: var(--sun); }
footer.site .foot-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site .linkbtn { font: inherit; color: #fff3e6; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.legal-page { padding: 56px 0 96px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.4em; }
.legal-page h2 { font-size: 1.35rem; margin: 1.8em 0 0.4em; }
.legal-page p, .legal-page li { max-width: 68ch; color: var(--ink-soft); }
.legal-page code { background: var(--bg-2); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.9em; }
.legal-page .back { display: inline-block; margin-bottom: 1.4em; font-family: var(--display); font-weight: 500; }

/* Legal line on brand cards */
.site-desc.site-legal { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
