/* ---------- tokens ---------- */
:root {
  --bg: #fbf7f9;
  --bg-2: #f5edf1;
  --surface: #ffffff;
  --ink: #17151b;
  --ink-2: #48424e;
  --muted: #847a88;
  --line: #ece2e8;
  --line-2: #ddd1d8;
  --berry: #e04f95;
  --berry-ink: #b42f6e;
  --berry-soft: #fbe3ee;
  --live: #1fb374;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --display: "Syne", var(--sans);
  --display-weight: 700;
  --display-track: -0.035em;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(40, 10, 30, .04), 0 12px 32px rgba(60, 20, 45, .08);
  color-scheme: light;
}
html[lang="ko"] { --display: var(--sans); --display-weight: 800; --display-track: -0.045em; }
:root[data-theme="dark"] {
  --bg: #0f0d11;
  --bg-2: #18151b;
  --surface: #1b1820;
  --ink: #f5f0f4;
  --ink-2: #d4ccd3;
  --muted: #9b919d;
  --line: #2a252e;
  --line-2: #3b3440;
  --berry: #f2679f;
  --berry-ink: #ff8fbd;
  --berry-soft: rgba(242, 103, 159, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .4s, color .4s; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--berry); color: #fff; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.03em; }
p, figure, blockquote { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 8px; }
kbd { font: 600 .82em/1 ui-monospace, "SF Mono", Menlo, monospace; padding: .28em .5em .32em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 7px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
main { padding-top: 104px; }
.eyebrow { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 60; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* reveal on scroll; the inline head script adds .js and site.js adds .in */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) calc(var(--i, 0) * 90ms), transform .9s var(--ease) calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- wordmark: Syne with pink pixels for the i-dots ---------- */
.wordmark { font-family: "Syne", var(--sans); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark .wi { position: relative; display: inline-block; }
.wordmark .wi::after { content: ""; position: absolute; left: 50%; top: .08em; width: .17em; height: .17em; background: var(--berry); transform: translateX(-50%); transition: transform .5s var(--ease); }
.brand:hover .wi::after { transform: translateX(-50%) translateY(-.14em) rotate(90deg); }
.brand:hover .wi:last-child::after { transition-delay: .07s; }

/* ---------- menu bar ---------- */
.topbar { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; margin-inline: auto; width: min(calc(100% - 24px), calc(var(--wrap) + 40px)); height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 10px 0 22px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); transition: box-shadow .3s; }
/* the blur lives on a pseudo-element so the mobile menu can be position: fixed */
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in srgb, var(--bg) 74%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); transition: background .3s; }
.topbar.scrolled { box-shadow: var(--shadow); }
.topbar.scrolled::before { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.brand { justify-self: start; display: inline-flex; text-decoration: none; color: var(--ink); }
.menu { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 4.5%, transparent); }
.menu a { padding: 7px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.lang, .theme { display: grid; place-items: center; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; font: 700 12.5px/1 var(--sans); letter-spacing: .04em; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.lang:hover, .theme:hover { border-color: var(--ink); }
.theme { padding: 0; }
.theme svg { width: 18px; height: 18px; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
@media (max-width: 720px) {
  .topbar { grid-template-columns: 1fr auto; top: 10px; height: 54px; padding-left: 18px; }
  /* the menu becomes a floating tab bar at the bottom */
  .menu { position: fixed; z-index: 50; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 5px; border-radius: 18px; background: var(--ink); box-shadow: 0 12px 30px rgba(20, 10, 25, .28); }
  .menu a { padding: 9px 14px; color: color-mix(in srgb, var(--bg) 72%, transparent); white-space: nowrap; }
  .menu a:hover { color: var(--bg); background: transparent; }
  .menu a[aria-current="page"] { background: var(--berry); color: #fff; }
  main { padding-top: 88px; }
}

.lang-suggest { position: fixed; z-index: 45; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); font-size: 14px; white-space: nowrap; }
.lang-suggest a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.lang-suggest button { border: 0; background: transparent; color: inherit; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; opacity: .7; }
@media (max-width: 720px) { .lang-suggest { bottom: 86px; } }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; font-weight: 650; font-size: 15px; transition: border-color .2s, background .2s, color .2s; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.text-link:hover { background-size: 100% 1.5px; color: var(--berry-ink); }
.text-link svg { transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 550; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 5.5%, transparent); color: var(--ink-2); }
[data-magnetic] { transition: transform .35s var(--ease), border-color .2s, background .2s, color .2s; }

/* ---------- landing ---------- */
.hero { padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 52px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 179, 116, .5); } 70% { box-shadow: 0 0 0 9px rgba(31, 179, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 179, 116, 0); } }
.hero-title { margin: 22px 0 24px; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(44px, 7vw, 104px); line-height: 1; }
html[lang="ko"] .hero-title { font-size: clamp(42px, 6.6vw, 96px); line-height: 1.1; }
.hero-title em { font-style: normal; color: var(--berry); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c18-6 30 4 48-1s32-5 50 0 14 2 18 0' fill='none' stroke='%23e04f95' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .16em no-repeat; padding-bottom: .05em; }
.hero-sub { max-width: 700px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.7; }

/* the workflow stage: a small node editor */
.stage-wrap { padding-bottom: clamp(24px, 4vw, 40px); }
.stage {
  --s-bg: #131216; --s-bar: #1b1a20; --s-node: #25242b; --s-head: #2f2e36; --s-line: #3a3942; --s-text: #eceaf1; --s-muted: #9e9aa8;
  --t-design: #ff6fae; --t-code: #7aa2ff; --t-product: #ffc65c; --t-live: #3fdc98;
  position: relative; border-radius: 26px; overflow: hidden; background: var(--s-bg); color: var(--s-text); border: 1px solid #2b2a31; box-shadow: 0 2px 4px rgba(20, 10, 30, .08), 0 40px 90px -24px rgba(90, 20, 70, .38); font-size: 12.5px; line-height: 1.4; letter-spacing: 0;
}
.stage-bar { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 10px 0 16px; background: var(--s-bar); border-bottom: 1px solid var(--s-line); color: var(--s-muted); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.stage-tab { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin-left: 6px; padding: 7px 12px; border-radius: 8px; background: var(--s-node); color: var(--s-text); font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.stage-hint { margin-left: auto; font-size: 12.5px; }
.stage-reset { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--s-line); background: transparent; color: var(--s-muted); transition: color .2s, border-color .2s; }
.stage-reset:hover { color: var(--s-text); border-color: var(--s-muted); }
.stage-reset svg { width: 16px; height: 16px; }
.stage-run { white-space: nowrap; flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px 0 12px; border: 0; border-radius: 10px; background: #e04f95; color: #fff; font: 700 13px/1 var(--sans); box-shadow: 0 6px 18px rgba(224, 79, 149, .35); transition: transform .2s, filter .2s; }
.stage-run:hover { filter: brightness(1.08); transform: translateY(-1px); }
.stage-run[disabled] { cursor: progress; filter: saturate(.7); transform: none; }
.stage-run svg { width: 15px; height: 15px; }
.stage-run.nudge::after { content: ""; position: absolute; inset: -4px; border-radius: 13px; border: 2px solid #e04f95; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { from { opacity: .9; transform: scale(.96); } to { opacity: 0; transform: scale(1.25); } }
.canvas { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, .86fr) minmax(0, 1.2fr); grid-template-rows: auto auto; column-gap: clamp(40px, 5.4vw, 80px); row-gap: 30px; align-items: center; padding: 54px clamp(36px, 4.4vw, 60px) 74px; background-color: var(--s-bg); background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0); background-size: 22px 22px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.wire { fill: none; stroke-width: 2.6; opacity: .45; transition: opacity .4s; }
.wire-flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; opacity: 0; transition: opacity .3s; animation: dash .8s linear infinite; }
.wire-g.flowing .wire { opacity: .95; }
.wire-g.flowing .wire-flow { opacity: 1; stroke: #fff; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.node { position: relative; z-index: 1; background: var(--s-node); border: 1px solid var(--s-line); border-radius: 13px; box-shadow: 0 14px 34px rgba(0, 0, 0, .38); transition: border-color .3s, box-shadow .3s; }
.node.settling { transition: transform .6s var(--ease), border-color .3s, box-shadow .3s; }
.n-design { grid-column: 1; grid-row: 1; align-self: end; }
.n-code { grid-column: 1; grid-row: 2; align-self: start; }
.n-jin { grid-column: 2; grid-row: 1 / 3; }
.n-ship { grid-column: 3; grid-row: 1 / 3; }
.n-output { grid-column: 4; grid-row: 1 / 3; }
.node header { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 12px 12px 0 0; background: var(--s-head); font-weight: 650; font-size: 13px; user-select: none; -webkit-user-select: none; }
.draggable .node header { cursor: grab; touch-action: none; }
.node.dragging { z-index: 5; box-shadow: 0 26px 54px rgba(0, 0, 0, .55); }
.node.dragging header { cursor: grabbing; }
.hue { width: 9px; height: 9px; border-radius: 3px; background: currentColor; }
.t-design { color: var(--t-design); }
.t-code { color: var(--t-code); }
.t-product { color: var(--t-product); }
.t-live { color: var(--t-live); }
.state { margin-left: auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #0d1f16; background: var(--t-live); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease); }
.state svg { width: 12px; height: 12px; }
.node.done .state { opacity: 1; transform: none; }
.progress { position: absolute; left: 0; top: 35px; height: 2px; width: 0; background: var(--t-live); }
.node.exec { border-color: var(--t-live); box-shadow: 0 0 0 1px var(--t-live), 0 14px 44px rgba(63, 220, 152, .22); }
.node.exec .progress { animation: progress .75s linear forwards; }
@keyframes progress { to { width: 100%; } }
.node-body { padding: 12px; }
.node-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.node-chips li { padding: 4px 9px; border-radius: 7px; background: var(--s-bg); border: 1px solid var(--s-line); font-size: 12px; }
.port { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; color: var(--s-muted); font-size: 11.5px; }
.port.in:first-of-type { margin-top: 6px; }
.port.out { justify-content: flex-end; font-weight: 700; font-size: 11px; letter-spacing: .07em; margin-bottom: 6px; }
.port.in .dot { margin-left: -18.5px; }
.port.out .dot { margin-right: -18.5px; }
.dot { display: block; width: 11px; height: 11px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--s-node); }
.jin-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.jin-avatar { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: #f6e7ef; }
.jin-body .wordmark.small { display: block; font-size: 19px; margin-bottom: 4px; }
.jin-body .wordmark .wi::after { background: var(--t-design); }
.jin-role { display: block; color: var(--s-muted); font-size: 12px; }
.status { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--t-live); font-size: 11.5px; font-weight: 600; }
.status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--t-live); }
.widgets { display: grid; gap: 6px; padding: 0 12px 8px; }
.widget { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--s-bg); border: 1px solid var(--s-line); color: var(--s-muted); font-size: 11.5px; }
.widget b { color: var(--s-text); font-weight: 650; }
.preview { position: relative; margin: 2px 12px 10px; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; border: 1px solid var(--s-line); background-color: #19181d; background-image: linear-gradient(45deg, #1f1e24 25%, transparent 25%, transparent 75%, #1f1e24 75%), linear-gradient(45deg, #1f1e24 25%, transparent 25%, transparent 75%, #1f1e24 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.shots img.on { opacity: 1; transform: none; }
.idle { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; text-align: center; color: var(--s-muted); font-size: 12.5px; transition: opacity .4s; }
.preview.live .idle { opacity: 0; }
.node-cta { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 12px; height: 36px; padding: 0 12px; border-radius: 9px; background: #e04f95; color: #fff; font-weight: 700; font-size: 12.5px; text-decoration: none; transition: filter .2s; }
.node-cta:hover { filter: brightness(1.1); }
.stage.offscreen *, .stage.offscreen *::after { animation-play-state: paused !important; }
.toast { position: absolute; left: 20px; bottom: 18px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(63, 220, 152, .12); border: 1px solid rgba(63, 220, 152, .35); color: var(--t-live); font-weight: 650; font-size: 12.5px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast svg { width: 15px; height: 15px; }
@media (max-width: 1099px) and (min-width: 821px) {
  .canvas { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.1fr); padding-inline: 40px; }
  .n-ship { grid-column: 3; grid-row: 1; align-self: end; }
  .n-output { grid-column: 3; grid-row: 2; align-self: start; }
}
@media (max-width: 820px) {
  .stage { border-radius: 22px; }
  .stage-hint { display: none; }
  .stage-bar .lights { display: none; }
  .stage-tab { margin-left: 0; }
  .stage-tab { margin-right: auto; }
  .canvas { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 44px; padding: 32px 26px 72px; justify-items: center; }
  .canvas > .node { grid-column: 1; grid-row: auto; width: min(100%, 360px); align-self: auto; }
  .wires { display: none; }
  .node + .node::before { content: ""; position: absolute; left: 50%; top: -45px; height: 44px; border-left: 2px dashed var(--s-line); transition: border-color .4s; }
  .node.done + .node::before { border-left-color: var(--t-live); border-left-style: solid; }
}

/* intro */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: center; padding-block: clamp(88px, 12vw, 168px); }
.intro-photo, .about-photo { position: relative; }
.intro-photo img, .about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); background: var(--berry-soft); }
.sticker { position: absolute; right: -26px; top: -26px; width: 124px; height: 124px; padding: 6px; border-radius: 50%; background: var(--berry); box-shadow: 0 10px 24px rgba(224, 79, 149, .3); }
.sticker g { transform-origin: 60px 60px; animation: spin 24s linear infinite; }
.sticker text { font: 700 10.5px/1 "Syne", sans-serif; letter-spacing: .08em; fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-text h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; margin-bottom: 26px; }
.intro-text p { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.75; color: var(--ink-2); margin-bottom: 28px; }
@media (max-width: 860px) { .intro { grid-template-columns: minmax(0, 1fr); } .intro-photo { max-width: 400px; } .sticker { right: -8px; top: -22px; width: 104px; height: 104px; } }

/* ---------- work cards ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2, .section-title { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(20px, 2.4vw, 32px); }
@media (max-width: 1099px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }
.work-card a { display: flex; flex-direction: column; gap: 18px; height: 100%; text-decoration: none; }
.work-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transform: translateZ(0); }
.work-media img, .work-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-media img { transition: transform .8s var(--ease); }
.work-media video { opacity: 0; transition: opacity .45s; }
.work-media.playing video { opacity: 1; }
.work-card a:hover .work-media img { transform: scale(1.035); }
.work-no { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(15, 13, 17, .55); color: #fff; font: 700 12px/1.5 "Syne", sans-serif; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.work-body { display: flex; flex-direction: column; gap: 8px; }
.work-body h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 750; letter-spacing: -0.03em; transition: color .2s; }
.work-card a:hover h3 { color: var(--berry-ink); }
.work-summary { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.work-body .tags { margin-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 650; color: var(--muted); transition: color .2s, gap .3s var(--ease); }
.work-card a:hover .more { color: var(--berry-ink); gap: 10px; }
/* home: an editorial 7/5 + 5/7 rhythm */
.featured-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.featured-grid > li:nth-child(4n+1), .featured-grid > li:nth-child(4n+4) { grid-column: span 7; }
.featured-grid > li:nth-child(4n+2), .featured-grid > li:nth-child(4n+3) { grid-column: span 5; }
.featured-grid > li:nth-child(4n+2), .featured-grid > li:nth-child(4n+4) { margin-top: clamp(48px, 9vw, 140px); }
.featured-grid > li:nth-child(4n+1) h3, .featured-grid > li:nth-child(4n+4) h3 { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 860px) { .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured-grid > li:nth-child(n) { grid-column: auto; margin-top: 0; } }
@media (max-width: 640px) { .featured-grid { grid-template-columns: minmax(0, 1fr); } }

/* work page */
.page-head { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(64px, 12vw, 176px); line-height: .92; }
html[lang="ko"] .page-head h1 { line-height: 1; }
.page-head h1 sup { font-size: .2em; color: var(--berry); margin-left: .15em; vertical-align: top; position: relative; top: .4em; letter-spacing: 0; }
.page-head p { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip .count { font: 700 11.5px/1 "Syne", sans-serif; color: var(--muted); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.active .count { color: var(--berry); }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 13px; border: 1px solid var(--line-2); }
.view-toggle button { display: grid; place-items: center; width: 38px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.view-toggle svg { width: 17px; height: 17px; }
.work-list { display: none; }
[data-view-current="list"] .work-grid { display: none; }
[data-view-current="list"] .work-list { display: block; }
.work-row a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 280px) 64px 28px; align-items: center; gap: 16px; padding: 24px 4px; border-top: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), color .2s; }
.work-row:last-child a { border-bottom: 1px solid var(--line); }
.row-no { font: 700 13px/1 "Syne", sans-serif; color: var(--muted); }
.row-title { font-size: clamp(20px, 2.6vw, 34px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.15; }
.row-client, .row-year { color: var(--muted); font-size: 14.5px; }
.row-arrow { color: var(--berry); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.work-row a:hover { padding-left: 16px; color: var(--berry-ink); }
.work-row a:hover .row-arrow { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .toolbar { flex-wrap: nowrap; }
  .filters { flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); padding-left: var(--gutter); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (max-width: 760px) { .work-row a { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 12px; } .row-client, .row-year { display: none; } .row-arrow { opacity: 1; transform: none; } }
.cursor-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 30px 60px rgba(30, 10, 30, .25); transition: opacity .25s; will-change: transform; }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cursor-preview.on { opacity: 1; }
@media (hover: none), (max-width: 760px) { .cursor-preview { display: none; } }

/* ---------- project page ---------- */
.project-head { padding-top: clamp(16px, 3vw, 40px); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 14.5px; font-weight: 650; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.back svg { transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-4px); }
.project-head h1 { margin: 14px 0 20px; max-width: 1080px; font-size: clamp(32px, 4.8vw, 66px); font-weight: 780; letter-spacing: -0.045em; line-height: 1.1; }
.project-summary { max-width: 820px; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); line-height: 1.6; }
.meta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.4fr); margin-top: clamp(32px, 4vw, 48px); margin-bottom: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta > div { padding: 18px 20px 20px 0; }
.meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.meta dt { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: 8px; }
.meta dd { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 760px) { .meta { grid-template-columns: minmax(0, 1fr); } .meta > div, .meta > div + div { padding: 14px 0; border-left: 0; } .meta > div + div { border-top: 1px solid var(--line); } }
.project-cover img { width: 100%; border-radius: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-2); }
.project-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 8vw, 104px); }
.toc { position: sticky; top: 112px; align-self: start; }
.toc a { display: block; padding: 7px 0 7px 16px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--berry); }
@media (max-width: 900px) { .project-body { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.block { padding-bottom: clamp(56px, 7vw, 88px); }
.block > h2 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 24px; }
.block > h2::before { content: ""; width: 10px; height: 10px; background: var(--berry); flex: none; }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.7; letter-spacing: -0.02em; max-width: 840px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split > div { padding: 26px; border-radius: 22px; background: var(--bg-2); }
.split h3 { font-size: 13px; font-weight: 750; color: var(--berry-ink); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.split p, .split .bullets li { color: var(--ink-2); font-size: 16px; }
@media (max-width: 700px) { .split { grid-template-columns: minmax(0, 1fr); } }
.bullets { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.bullets li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .64em; width: 6px; height: 6px; background: var(--berry); }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.results li { padding: 28px 26px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 0% 0%, var(--berry-soft), transparent 62%), var(--surface); }
.results strong { display: block; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--berry-ink); margin-bottom: 10px; }
.results p, .features p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.features li { padding: 26px 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.features li:hover { border-color: var(--line-2); transform: translateY(-3px); }
.f-no { display: block; font: 700 12.5px/1 "Syne", sans-serif; color: var(--berry); margin-bottom: 18px; }
.features h3 { font-size: 18px; font-weight: 750; margin-bottom: 8px; letter-spacing: -0.02em; }
.gallery { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.frame > .lights { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame > .lights i { width: 9px; height: 9px; background: var(--line-2); }
.frame video, .frame img { width: 100%; }
.media.portrait { max-width: 380px; }
.media.portrait video { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 40px; padding-bottom: 14px; scrollbar-width: thin; }
.media.phone { flex: 0 0 clamp(190px, 24vw, 250px); scroll-snap-align: start; }
.media.phone img { border-radius: 24px; border: 1px solid var(--line); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.yt:hover img { transform: scale(1.03); opacity: .85; }
.yt-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--berry); color: #fff; box-shadow: 0 10px 30px rgba(224, 79, 149, .45); transition: transform .3s var(--ease); }
.yt-play svg { width: 28px; height: 28px; margin-left: 3px; }
.yt:hover .yt-play, .activity a:hover .yt-play { transform: scale(1.08); }
.yt-play.small { width: 52px; height: 52px; }
.yt-play.small svg { width: 20px; height: 20px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.link-list { display: flex; flex-wrap: wrap; gap: 10px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 650; text-decoration: none; transition: border-color .2s, transform .2s; }
.link-list a:hover { border-color: var(--ink); transform: translateY(-2px); }
.link-list svg { width: 15px; height: 15px; color: var(--berry); }
.next.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); }
.next { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 30vw, 360px); align-items: center; gap: 32px; margin-top: clamp(24px, 4vw, 48px); padding: clamp(24px, 3vw, 36px); border-radius: 32px; background: var(--bg-2); text-decoration: none; transition: background .3s; }
.next:hover { background: var(--berry-soft); }
.next-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--berry-ink); }
.next-title { display: block; margin-top: 10px; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(28px, 4.4vw, 60px); line-height: 1.04; }
.next img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 20px; transition: transform .6s var(--ease); }
.next:hover img { transform: rotate(-2deg) scale(1.02); }
@media (max-width: 640px) { .next { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: center; padding-top: clamp(32px, 5vw, 64px); }
.about-text h1 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(36px, 4.8vw, 68px); line-height: 1.08; margin-bottom: 28px; }
.about-text p { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.8; }
.about-text p + p { margin-top: 18px; }
@media (max-width: 860px) { .about-hero { grid-template-columns: minmax(0, 1fr); } .about-photo { max-width: 400px; } }
.how { padding-top: clamp(88px, 12vw, 160px); }
.how .section-title { margin-bottom: 32px; }
.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.how-grid li { padding: clamp(26px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.how-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--berry-soft); font: 700 13px/1 "Syne", sans-serif; color: var(--berry-ink); margin-bottom: 26px; }
.how-grid h3 { font-size: clamp(19px, 1.9vw, 24px); font-weight: 750; margin-bottom: 10px; }
.how-grid p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
@media (max-width: 700px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.quote { padding-top: clamp(64px, 9vw, 120px); }
.quote blockquote { position: relative; padding: clamp(40px, 6vw, 80px); border-radius: 36px; background: var(--berry-soft); }
.quote blockquote::before { content: "“"; position: absolute; top: clamp(0px, .6vw, 10px); left: clamp(20px, 4vw, 48px); font: 800 clamp(96px, 12vw, 160px)/1 "Syne", serif; color: var(--berry); opacity: .45; }
.quote blockquote p { position: relative; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.55; font-weight: 650; letter-spacing: -0.03em; }
.quote footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; font-size: 15px; }
.quote cite { font-style: normal; font-weight: 700; }
.quote footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--berry-ink); font-weight: 650; text-decoration: none; }

/* ---------- activity ---------- */
.activity-list { display: flex; flex-direction: column; gap: 16px; }
.activity > a, .activity > div { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 40px); padding: 14px; padding-right: 72px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.activity > a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.act-visual { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--bg-2); overflow: hidden; }
.act-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.activity a:hover .act-visual img { transform: scale(1.04); }
.act-type { display: grid; place-items: center; background: radial-gradient(120% 140% at 0% 0%, var(--berry-soft), var(--bg-2) 70%); }
.act-type span { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); letter-spacing: -0.04em; color: var(--berry); }
.act-body { display: flex; flex-direction: column; gap: 8px; padding-block: 8px; }
.act-year { font-size: 13px; font-weight: 700; color: var(--berry-ink); letter-spacing: .02em; }
.act-body strong { font-size: clamp(19px, 2vw, 24px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.35; }
.act-note { color: var(--muted); font-size: 15.5px; }
.act-arrow { position: absolute; top: 50%; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.activity a:hover .act-arrow { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 700px) { .activity > a, .activity > div { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 14px; } .act-body { padding: 4px 8px 6px; } .act-arrow { top: 24px; right: 24px; margin-top: 0; background: var(--surface); } }

/* ---------- contact footer ---------- */
.contact { margin-top: clamp(96px, 13vw, 180px); padding-bottom: 28px; background: #17151b; color: #fbf7f9; border-radius: 44px 44px 0 0; overflow: hidden; }
:root[data-theme="dark"] .contact { background: #1b1820; border-top: 1px solid var(--line); }
.marquee { overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.marquee-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; padding-right: clamp(24px, 3vw, 48px); animation: marquee 40s linear infinite; }
.marquee span { font-family: "Syne", var(--sans); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(56px, 10vw, 150px); line-height: 1.1; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--berry); font-size: clamp(28px, 4vw, 56px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 56px; align-items: end; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.contact-title { font-size: clamp(26px, 2.8vw, 36px); font-weight: 750; letter-spacing: -0.035em; }
.contact-lead { margin-top: 10px; color: rgba(251, 247, 249, .64); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.email-line a { display: inline-block; font-family: "Syne", var(--sans); font-weight: 700; font-size: clamp(26px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.2; text-decoration: none; }
.email-line a:hover { color: var(--berry); }
.copy { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(251, 247, 249, .3); background: transparent; font-size: 13px; transition: border-color .2s, background .2s; }
.copy:hover { border-color: #fbf7f9; }
.copy.done { background: var(--berry); border-color: var(--berry); color: #fff; }
.contact .btn { background: transparent; color: inherit; border-color: rgba(251, 247, 249, .28); }
.contact .btn:hover { border-color: #fbf7f9; }
.contact .btn.primary { background: var(--berry); border-color: var(--berry); color: #fff; }
.footbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(251, 247, 249, .14); font-size: 13.5px; color: rgba(251, 247, 249, .62); }
.footbar .brand { color: #fbf7f9; }
.footbar .wordmark { font-size: 19px; }
.clock time { font: 700 13.5px/1 "Syne", sans-serif; color: var(--berry); margin-left: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .contact { border-radius: 30px 30px 0 0; } .contact-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .contact { padding-bottom: 96px; } }

/* 404 */
.nf { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-top: 40px; }
.nf-code { font: 800 clamp(96px, 16vw, 220px)/.9 "Syne", sans-serif; letter-spacing: -0.05em; color: var(--berry); }
.nf h1 { font-size: clamp(26px, 3.4vw, 42px); }
.nf h1 span { font-size: .6em; color: var(--muted); font-weight: 600; }

/* cross-document page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

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