/* =========================================================
   Sy System — editorial / cut-paper art direction
   Perf: only transform & opacity animate; no canvas, no blur
   filters; off-screen loops are paused from script.js.
   ========================================================= */

:root {
  color-scheme: light dark;
  --bg: #f5efe4;
  --bg-2: #ece4d4;
  --ink: #1d1a17;
  --muted: #6b6358;
  --line: rgba(29, 26, 23, .14);

  --sun: #f4bf4f;
  --coral: #ee6c4d;
  --sage: #9dbb94;
  --blue: #3c5aa6;
  --pink: #f3b3c0;
  --plum: #5d3a62;
  --on-blue: #f5efe4;
  --on-plum: #f5efe4;

  --band-bg: #1d1a17;
  --band-fg: #f5efe4;
  --panel-bg: #1d1a17;
  --panel-fg: #f5efe4;
  --nav-bg: rgba(245, 239, 228, .82);
  --grain: .07;
  --tile-shadow: 0 1px 0 rgba(29, 26, 23, .06), 0 18px 40px -24px rgba(60, 40, 20, .35);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.1rem, 4.5vw, 3.5rem);
  --max: 1280px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17141b;
    --bg-2: #211d26;
    --ink: #f3ece0;
    --muted: #a89f93;
    --line: rgba(243, 236, 224, .13);

    --sun: #f6c65b;
    --coral: #f27a5c;
    --sage: #a3c49b;
    --blue: #7e9af0;
    --pink: #f2b0c0;
    --plum: #c39bcf;
    --on-blue: #17141b;
    --on-plum: #17141b;

    --band-bg: #f6c65b;
    --band-fg: #17141b;
    --panel-bg: #f27a5c;
    --panel-fg: #17141b;
    --nav-bg: rgba(23, 20, 27, .8);
    --grain: .09;
    --tile-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--sun); color: #1d1a17; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

/* paper grain — one tiny inline SVG, static */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.label { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.num { font-family: var(--serif); font-style: italic; color: var(--coral); font-size: 1rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 var(--coral); animation: dotPulse 2.4s ease-out infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.h2 em { color: var(--coral); }

/* ---------- reveal helpers ---------- */
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* =================== NAV =================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(1.1rem + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 1.1rem max(var(--gutter), env(safe-area-inset-left));
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.solid {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding-top: calc(.75rem + env(safe-area-inset-top)); padding-bottom: .75rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; position: relative; z-index: 2; }
.mark { width: 24px; height: 24px; position: relative; }
.mark::before { content: ""; position: absolute; left: 3px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); transition: transform .5s var(--spring); }
.mark::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 12px; border-radius: 12px 12px 0 0; background: var(--coral); }
.brand:hover .mark::before { transform: translateY(-4px); }

.links { display: flex; align-items: center; gap: 2.2rem; font-size: .95rem; font-weight: 500; }
.links a:not(.pill) { position: relative; }
.links a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.pill { padding: .55rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--bg); transition: transform .3s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.menu-art { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--bg); transition: transform .4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  padding: 7rem var(--gutter) 5rem;
}
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .86;
  font-size: clamp(5rem, 12.5vw, 11.5rem); font-variation-settings: "opsz" 144;
  margin: 1.4rem 0 2rem;
}
.display .line { display: block; overflow: hidden; padding: 0 .08em .06em 0; margin-bottom: -.06em; }
.display .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) both; animation-delay: var(--d); }
.display em { font-weight: 300; color: var(--coral); padding-left: .04em; }
@keyframes lineUp { from { transform: translate3d(0, 105%, 0) rotate(4deg); } }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 30rem; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s;
}
.btn i { font-style: normal; display: inline-block; transition: transform .4s var(--spring); }
.btn::before { /* liquid fill from bottom */
  content: ""; position: absolute; left: -10%; right: -10%; top: 100%; height: 220%; z-index: -1;
  border-radius: 45%; transition: transform .6s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid::before { background: var(--coral); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line::before { background: var(--sun); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::before { transform: translateY(-75%); }
  .btn-line:hover { color: #1d1a17; }
  .btn-solid:hover { color: #1d1a17; }
  .btn:hover i { transform: translateX(4px) rotate(-8deg); }
}
.btn:active { transform: scale(.97); }

/* ---------- collage ---------- */
.collage {
  --px: 0; --py: 0; --sy: 0;
  position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-height: 78vh; justify-self: center;
}
.p {
  position: absolute; inset: 0; pointer-events: none;
  transform: translate3d(calc(var(--px) * var(--z) * 1px), calc((var(--py) * var(--z) - var(--sy) * var(--z) * .012) * 1px), 0);
}
.shape {
  position: absolute;
  animation: pop 1.1s var(--spring) var(--d) both, float var(--f, 9s) ease-in-out calc(var(--d) + 1.1s) infinite alternate;
}
@keyframes pop { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
@keyframes float { to { transform: translate3d(var(--fx, 0), var(--fy, -14px), 0) rotate(var(--fr, 6deg)); } }

.sun   { width: 52%; aspect-ratio: 1; left: 26%; top: 6%; border-radius: 50%; background: var(--sun); --fy: -10px; --fr: 0deg; --f: 10s; }
.half  { width: 34%; aspect-ratio: 2 / 1; right: 0; top: 2%; border-radius: 0 0 999px 999px; background: var(--blue); --fr: -8deg; --f: 8s; }
.arch  { width: 36%; aspect-ratio: 1 / 1.25; left: 8%; bottom: 6%; border-radius: 999px 999px 0 0; background: var(--coral); --fy: -18px; --fr: 3deg; --f: 11s; }
.leaf  { width: 26%; aspect-ratio: 1; right: 8%; bottom: 14%; border-radius: 0 100% 0 100%; background: var(--sage); --fx: -8px; --fr: 14deg; --f: 7s; }
.blob  { width: 22%; aspect-ratio: 1; left: 50%; top: 52%; border-radius: 62% 38% 54% 46% / 48% 60% 40% 52%; background: var(--pink); --fx: 10px; --fr: 40deg; --f: 9s; }
.ring  { width: 17%; aspect-ratio: 1; left: 4%; top: 18%; border-radius: 50%; border: 3px solid var(--ink); --fy: 12px; --f: 6s; }
.dots  { width: 22%; aspect-ratio: 1; right: 30%; bottom: 0; background: radial-gradient(var(--ink) 1.6px, transparent 2.2px) 0 0 / 14px 14px; opacity: .55; --fr: 0deg; --f: 12s; }
.star  { width: 14%; aspect-ratio: 1; right: 22%; top: 34%; --fr: 0deg; --f: 8s; }
.star svg { width: 100%; height: 100%; fill: var(--ink); animation: spin 14s linear infinite; }
.squiggle { width: 40%; left: 30%; bottom: 30%; --fx: 12px; --fy: 6px; --fr: -4deg; --f: 7s; }
.squiggle svg { width: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: var(--gutter); bottom: 2rem; display: inline-flex; align-items: center; gap: .8rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); animation: rise 1s var(--ease) 1.6s both; }
.scroll-hint i { width: 48px; height: 1.5px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scan 2.2s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* =================== MARQUEE =================== */
.marquee { background: var(--band-bg); color: var(--band-fg); padding: 1.1rem 0; transform: rotate(-2deg) scale(1.04); margin: 2rem 0 0; overflow: hidden; }
.track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; font-weight: 300; white-space: nowrap; }
.track b { font-style: normal; color: var(--coral); font-weight: 400; display: inline-block; }
@media (prefers-color-scheme: dark) { .track b { color: #17141b; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* =================== SECTIONS =================== */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 11vw, 9rem) var(--gutter); }

/* ---------- studio ---------- */
.statement {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72;
  font-size: clamp(1.75rem, 4.2vw, 3.5rem); line-height: 1.15; letter-spacing: -.025em;
  margin: 1.5rem 0 clamp(3rem, 7vw, 5rem); max-width: 22em;
}
.statement .w { opacity: .18; transition: opacity .5s var(--ease), color .5s; }
.statement .w.lit { opacity: 1; }
.statement .w.em { font-style: italic; }
.statement .w.em.lit { color: var(--coral); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fact { border-top: 1.5px solid var(--ink); padding-top: 1.1rem; display: flex; flex-direction: column; gap: .3rem; color: var(--muted); }
.fig { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--ink); font-weight: 300; font-variation-settings: "opsz" 144; }
.fact:nth-child(1) .fig { color: var(--coral); }

/* ---------- work ---------- */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.work-head .h2 { margin-top: .8rem; }
.chips { display: flex; gap: .4rem; }
.chip { border: 0; cursor: pointer; padding: .6rem 1.15rem; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: .92rem; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .35s, color .35s, box-shadow .35s, transform .3s var(--spring); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip:active { transform: scale(.94); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: 1rem; }
.tile {
  --t: var(--sun); --tf: #1d1a17;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 1.4rem;
  border-radius: 28px; background: var(--t); color: var(--tf);
  box-shadow: var(--tile-shadow);
  opacity: 0; transform: translate3d(0, 40px, 0) scale(.97);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.tile.in { opacity: 1; transform: none; }
.tile.hide { display: none; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.bento.filtered .tile { grid-column: auto; grid-row: auto; }
.tone-sun   { --t: var(--sun); }
.tone-coral { --t: var(--coral); }
.tone-sage  { --t: var(--sage); }
.tone-pink  { --t: var(--pink); }
.tone-blue  { --t: var(--blue); --tf: var(--on-blue); }
.tone-plum  { --t: var(--plum); --tf: var(--on-plum); }

.tile::before { /* decorative disc that blooms on hover */
  content: ""; position: absolute; z-index: -1; right: -18%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--tf) 9%, transparent);
  transition: transform .9s var(--ease);
}
.tile-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.tile-top .n { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.tile img {
  width: 72px; height: 72px; border-radius: 20px; margin: 1.4rem 0 auto;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .45);
  transform: rotate(-6deg); transition: transform .7s var(--spring);
}
.tile.big img { width: 150px; height: 150px; border-radius: 38px; margin-top: 2rem; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; margin-top: 1.4rem; font-variation-settings: "opsz" 72; }
.tile.big h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.tile p { font-size: .9rem; line-height: 1.5; opacity: .78; margin-top: .45rem; max-width: 30em; }
.tile .go { margin-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; }
.tile .go i { font-style: normal; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tf); color: var(--t); transition: transform .5s var(--spring); }
.tile-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
@media (hover: hover) {
  .tile.in:hover { transform: translate3d(0, -6px, 0) rotate(-.6deg); transition-delay: 0s; }
  .tile:hover::before { transform: scale(1.7); }
  .tile:hover img { transform: rotate(4deg) scale(1.08); }
  .tile:hover .go i { transform: rotate(45deg); }
}
.tile.in:active { transform: scale(.98); transition-delay: 0s; }

/* ---------- panel / CTA ---------- */
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel-bg); color: var(--panel-fg);
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 6vw, 5rem);
}
.panel .label { color: inherit; opacity: .7; }
.panel .num { color: inherit; }
.panel .h2.big { font-size: clamp(2.8rem, 8vw, 6.6rem); margin: 1.2rem 0 2.4rem; max-width: 9em; }
.panel .h2 em { color: var(--sun); }
@media (prefers-color-scheme: dark) { .panel .h2 em { color: #17141b; font-weight: 300; } }
.btn-panel { background: var(--panel-fg); color: var(--panel-bg); }
.btn-panel::before { background: var(--sun); }
@media (hover: hover) { .btn-panel:hover { color: #1d1a17; } }
.panel-art i { position: absolute; z-index: -1; display: block; }
.panel-art .a { width: clamp(180px, 30vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); right: -6%; top: -18%; transform: translate3d(0, 0, 0); animation: float 12s ease-in-out infinite alternate; --fy: 24px; --fr: 0deg; }
.panel-art .b { width: clamp(120px, 18vw, 220px); aspect-ratio: 1 / 1.25; border-radius: 999px 999px 0 0; background: var(--coral); right: 16%; bottom: 0; animation: float 9s ease-in-out infinite alternate; --fy: 14px; --fr: 0deg; }
.panel-art .c { width: clamp(70px, 10vw, 120px); aspect-ratio: 1; border-radius: 0 100% 0 100%; background: var(--sage); right: 4%; bottom: 12%; animation: float 7s ease-in-out infinite alternate; --fr: 20deg; }
.panel-art .d { width: clamp(50px, 7vw, 80px); aspect-ratio: 1; border-radius: 50%; background: var(--pink); right: 34%; top: 22%; animation: float 8s ease-in-out infinite alternate; --fx: 16px; }
@media (prefers-color-scheme: dark) {
  .panel-art .a { background: var(--sun); } .panel-art .b { background: var(--plum); } .panel-art .c { background: var(--sage); }
}
.panel:not(.in) .panel-art i { opacity: 0; }
.panel-art i { transition: opacity 1.2s var(--ease) .3s; }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer .brand { color: var(--ink); }

/* paused when off-screen */
.paused, .paused * { animation-play-state: paused !important; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.big { grid-row: span 1; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 5.5rem; gap: 0; min-height: auto; }
  .collage { order: -1; width: min(100%, 440px); max-height: none; aspect-ratio: 1 / .82; margin-bottom: 1.2rem; }
  .dots { bottom: 6%; }
  .display { font-size: clamp(4.4rem, 25vw, 8rem); margin: 1rem 0 1.4rem; }
  .scroll-hint { display: none; }
  .facts { grid-template-columns: 1fr; gap: 1.2rem; }
  .fact { flex-direction: row; align-items: baseline; gap: 1rem; }
  .fig { min-width: 2.2ch; }
}

@media (max-width: 640px) {
  /* full-screen menu */
  .burger { display: block; }
  .menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .links {
    position: fixed; inset: 0; height: 100dvh; z-index: 1; overflow: hidden;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: .6rem;
    padding: 0 1.6rem; background: var(--bg);
    clip-path: circle(0 at calc(100% - 2.6rem) 2.6rem);
    transition: clip-path .7s var(--ease), visibility 0s .7s; visibility: hidden;
  }
  .links.open { clip-path: circle(150% at calc(100% - 2.6rem) 2.6rem); visibility: visible; transition: clip-path .7s var(--ease); }
  .links a:not(.pill) { font-family: var(--serif); font-size: 3.2rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
  .links a:not(.pill)::after { display: none; }
  .links a { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .links.open a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--n) * .07s); }
  .pill { margin-top: 1.2rem; padding: .9rem 1.4rem; font-size: 1rem; }
  .menu-art { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .menu-art i { position: absolute; display: block; transform: scale(0); transition: transform .9s var(--spring); }
  .links.open .menu-art i { transform: none; }
  .menu-art i:nth-child(1) { width: 62vw; aspect-ratio: 1; border-radius: 50%; background: var(--sun); right: -22vw; bottom: -14vw; transition-delay: .2s; }
  .menu-art i:nth-child(2) { width: 30vw; aspect-ratio: 1 / 1.25; border-radius: 999px 999px 0 0; background: var(--coral); right: 30vw; bottom: 0; transition-delay: .3s; }
  .menu-art i:nth-child(3) { width: 16vw; aspect-ratio: 1; border-radius: 0 100% 0 100%; background: var(--sage); right: 10vw; top: 14vh; transition-delay: .4s; }

  .hero { padding: 5rem 1.1rem 3rem; }
  .collage { width: 100%; }
  .hero-sub { font-size: 1.05rem; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .marquee { padding: .85rem 0; }

  .section { padding: 4.5rem 1.1rem; }
  .work-head { flex-direction: column; align-items: stretch; }
  .chips { width: 100%; }
  .chip { flex: 1; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: .8rem; }
  .tile.big, .tile.wide { grid-column: auto; grid-row: auto; }
  .tile { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "top top" "name icon" "desc icon" "go go"; column-gap: 1rem; padding: 1.2rem 1.25rem 1.25rem; border-radius: 24px; }
  .tile-top { grid-area: top; }
  .tile img, .tile.big img { grid-area: icon; width: 64px; height: 64px; border-radius: 18px; margin: .9rem 0 0; align-self: start; }
  .tile h3, .tile.big h3 { grid-area: name; font-size: 1.45rem; margin-top: .9rem; }
  .tile p { grid-area: desc; font-size: .88rem; }
  .tile .go { grid-area: go; margin-top: .9rem; }
  .tile.big { padding-top: 1.4rem; }
  .tile.big h3 { font-size: 1.9rem; }
  .tile.big img { width: 84px; height: 84px; border-radius: 24px; }

  .panel { border-radius: 28px; }
  .panel .btn { width: 100%; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .squiggle svg { stroke-dashoffset: 0; }
}
