/* StudioQ — studioq.dev */

:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --bg-3: #14141b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f2ee;
  --muted: #8d8b96;
  --lav: #b9a7ff;
  --coral: #ff6a4a;
  --peach: #ffb38a;
  --rose: #ed8ea9;
  --rose-deep: #c2486b;
  --sage: #8fcaae;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --radius: clamp(22px, 2.4vw, 34px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- language switching ---------- */
html[data-lang="ko"] .en,
html[data-lang="en"] .ko { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
::selection { background: var(--lav); color: #0b0b10; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 4px; border-radius: 6px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--muted); }

em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--lav) 0%, var(--peach) 55%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
/* Instrument Serif has no Hangul: keep the gradient, drop the fake italic. */
html[data-lang="ko"] em { font-family: inherit; font-style: normal; font-weight: inherit; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* subtle film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: #fff; mix-blend-mode: difference;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), opacity 0.3s;
    opacity: 0;
  }
  .cursor.is-visible { opacity: 1; }
  .cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .cursor.has-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: var(--ink); }
  .cursor__label { font: 600 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity 0.2s; }
  .cursor.has-label .cursor__label { opacity: 1; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad);
  transition: transform 0.5s var(--ease-out), background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.brand__mark { width: 26px; height: 26px; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-90deg); }
.nav__links { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.nav__links a { padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav__right { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.lang button { position: relative; z-index: 1; width: 40px; padding: 6px 0; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s; }
.lang__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 40px; border-radius: 999px; background: var(--ink); transition: transform 0.45s var(--ease-out); }
html[data-lang="en"] .lang__thumb { transform: translateX(40px); }
html[data-lang="ko"] .lang [data-set-lang="ko"],
html[data-lang="en"] .lang [data-set-lang="en"] { color: var(--bg); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.pill svg { width: 15px; height: 15px; }
.pill--light { background: var(--ink); color: var(--bg); }
.pill--light:hover { background: #fff; }
.pill--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill--ghost:hover { border-color: var(--ink); }
.pill--rose { background: var(--rose); color: #2a0f18; }
.pill--rose:hover { background: #f6a9bf; }
.nav .pill { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 28px;
  overflow: hidden;
}
.hero__gl, .hero__fallback { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__fallback {
  z-index: -3;
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(185, 167, 255, 0.35), transparent 70%),
    radial-gradient(40% 40% at 85% 75%, rgba(255, 106, 74, 0.35), transparent 70%),
    radial-gradient(50% 60% at 20% 20%, rgba(60, 40, 140, 0.5), transparent 70%),
    var(--bg);
}
.hero::after { /* fade into the page */
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero__inner { max-width: 1400px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 14px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 7, 10, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; color: #d9d6e3; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5df2a4; box-shadow: 0 0 0 0 rgba(93, 242, 164, 0.6); animation: ping 2.4s infinite; }
.dot--rose { background: var(--rose); box-shadow: none; animation: none; }
.dot--pulse { background: var(--lav); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(93, 242, 164, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(93, 242, 164, 0); } }

.hero__title {
  margin: 0;
  font-size: clamp(3.2rem, 9.6vw, 10.5rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.055em;
}
html[data-lang="ko"] .hero__title { font-size: clamp(3rem, 8.6vw, 9.4rem); line-height: 1.02; letter-spacing: -0.06em; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; transform: translateY(105%); }
.hero .line > span { animation: rise 1.2s var(--ease-out) var(--d, 0s) forwards; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub { max-width: 540px; margin: 32px 0 0; font-size: clamp(16px, 1.3vw, 19px); color: #c9c6d2; line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 9vh, 110px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint i { position: relative; width: 1px; height: 26px; background: var(--line-2); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* load-in for elements that are not split lines */
.hero .reveal-up { opacity: 0; transform: translateY(18px); animation: fade-up 1s var(--ease-out) var(--d, 0s) forwards; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* scroll reveal (only when JS is running) */
.js .reveal-up:not(.hero .reveal-up) { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js .reveal-up.is-in:not(.hero .reveal-up) { opacity: 1; transform: none; }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  margin: -10px -2vw 0; padding: 20px 0;
  background: var(--ink); color: var(--bg);
  transform: rotate(-1.6deg);
  overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(28px, 4vw, 54px); font-weight: 700; letter-spacing: -0.04em; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.marquee b { font-size: clamp(18px, 2vw, 26px); color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.about, .work, .principles, .contact { padding: clamp(110px, 16vw, 220px) var(--pad) 0; max-width: 1560px; margin: 0 auto; }
.label { margin: 0 0 32px; color: var(--muted); }
.section-head { display: flex; flex-direction: column; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .label { margin-bottom: 18px; }
.section-title { margin: 0; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.05em; font-weight: 700; }

/* ---------- about ---------- */
.manifesto {
  margin: 0; max-width: 1300px;
  font-size: clamp(1.9rem, 4.4vw, 4.4rem);
  line-height: 1.18; font-weight: 600; letter-spacing: -0.045em;
}
html[data-lang="ko"] .manifesto { line-height: 1.32; letter-spacing: -0.05em; }
.manifesto .w { opacity: 0.16; transition: opacity 0.4s, color 0.4s; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.hl.on { color: var(--lav); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(64px, 9vw, 120px) 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 20px 0 0; }
.facts dt { color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; }

/* ---------- work ---------- */
.project {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
}
.project + .project { margin-top: 20px; }
.project--loveus {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 680px;
  background:
    radial-gradient(80% 70% at 85% 50%, rgba(237, 142, 169, 0.14), transparent 70%),
    var(--bg-2);
}
.project__copy { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.project__top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: #d9d6e3; }
.project__num { color: var(--muted); }
.project__name { margin: 40px 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(4.5rem, 10vw, 9rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--rose); }
.project__tagline { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.project__desc { max-width: 470px; margin: 20px 0 0; color: #b9b6c2; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; padding: 0; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 13px; color: #cfccd8; }

.project__visual { position: relative; height: 100%; min-height: 600px; display: grid; place-items: center; perspective: 1200px; }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.glow--rose { background: radial-gradient(circle, var(--rose-deep), transparent 65%); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: 0.75; } }

.phone {
  position: relative; width: 290px; height: 600px; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #3a3a40, #121216 40%, #2a2a30);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px -20px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #050507;
  transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg)) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-out);
}
.phone__island { position: absolute; top: 24px; left: 50%; z-index: 2; width: 92px; height: 28px; margin-left: -46px; border-radius: 20px; background: #000; }
.phone__screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; padding: 62px 20px 20px; background: #1c1c1e; color: #f5f5f7; font-size: 12px; }
.phone__date { margin: 0; color: #a1a1a8; font-size: 12px; letter-spacing: 0; }
.phone__brand { margin: 0 0 14px; font-family: Georgia, serif; font-weight: 600; font-size: 26px; letter-spacing: -1px; color: var(--rose); }
.cycle { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.cycle svg { width: 100%; height: 100%; overflow: visible; }
.cycle__track { fill: none; stroke: #2c2c2e; stroke-width: 16; }
.cycle__arc { fill: none; stroke-width: 16; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 100px 100px; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease-out) 0.3s; }
.cycle__arc--period { stroke: var(--rose); }
.cycle__arc--fertile { stroke: var(--sage); stroke-dashoffset: -32; transition-delay: 0.6s; }
.project.is-in .cycle__arc--period { stroke-dasharray: 17 83; }
.project.is-in .cycle__arc--fertile { stroke-dasharray: 20 80; }
.cycle__ovulation { fill: none; stroke: #f5f5f7; stroke-width: 2.5; }
.cycle__today circle { fill: #f5f5f7; stroke: #1c1c1e; stroke-width: 4; }
.cycle__today { transform-origin: 100px 100px; transform: rotate(0deg); transition: transform 1.8s var(--ease-out) 0.4s; }
.project.is-in .cycle__today { transform: rotate(154deg); }
.cycle__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cycle__small { color: #a1a1a8; font-size: 11px; }
.cycle__big { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.cycle__big small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.chip { padding: 12px; border-radius: 16px; background: #2c2c2e; display: flex; flex-direction: column; gap: 2px; }
.chip span { color: #a1a1a8; font-size: 11px; }
.chip b { font-size: 18px; letter-spacing: -0.02em; }
.chip--sage { background: #28322f; }
.chip--sage b { color: var(--sage); }
.chip--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; background: #362b30; }
.chip--wide b { color: var(--rose); }

/* next */
.project--next { min-height: 420px; padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; }
.next__noise {
  position: absolute; inset: -40%; z-index: 0; opacity: 0.55; pointer-events: none;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(185, 167, 255, 0.35) 60deg, transparent 120deg, rgba(255, 106, 74, 0.25) 200deg, transparent 260deg, rgba(185, 167, 255, 0.2) 320deg, transparent 360deg);
  filter: blur(70px);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.project--next > *:not(.next__noise) { position: relative; z-index: 1; }
.next__title { margin: 60px 0 0; font-size: clamp(2.4rem, 6.4vw, 6.2rem); line-height: 1; letter-spacing: -0.05em; font-weight: 700; }
html[data-lang="ko"] .next__title { line-height: 1.12; }
.next__hint { margin: 36px 0 0; color: var(--muted); transition: color 0.3s; }
.project--next:hover .next__hint { color: var(--ink); }
.next__link { position: absolute !important; inset: 0; z-index: 2 !important; border-radius: inherit; }

/* ---------- principles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; min-height: 300px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(185, 167, 255, 0.16), transparent 60%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card--a { grid-column: span 4; }
.card--b { grid-column: span 2; }
.card--c { grid-column: span 2; }
.card--d { grid-column: span 4; }
.card__num { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 40px); color: var(--muted); }
.card__icon { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); width: 64px; height: 64px; color: var(--lav); transition: transform 0.8s var(--ease-out); }
.card:hover .card__icon { transform: rotate(45deg) scale(1.08); }
.card--b .card__icon, .card--c .card__icon { color: var(--peach); }
.card h3 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.04em; line-height: 1.1; font-weight: 700; }
.card p { margin: 0; max-width: 460px; color: #aeabb8; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact__title { margin: 0; font-size: clamp(3rem, 9vw, 9.5rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 700; }
html[data-lang="ko"] .contact__title { line-height: 1.08; letter-spacing: -0.06em; }
.contact__title .line > span { transition: transform 1.2s var(--ease-out); }
.contact__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.contact__title.is-in .line > span { transform: none; }
html:not(.js) .contact__title .line > span { transform: none; }

.contact__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: clamp(40px, 6vw, 72px); }
.mail-big {
  position: relative; font-size: clamp(1.7rem, 5.2vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1;
  background: linear-gradient(100deg, var(--ink) 0 40%, var(--lav) 60%, var(--coral) 80%, var(--ink) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.2s var(--ease-out);
}
.mail-big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0.15); transform-origin: left; transition: transform 0.8s var(--ease-out); }
.mail-big:hover { background-position: 100% 0; }
.mail-big:hover::after { transform: scaleX(1); }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: border-color 0.3s, background 0.3s; }
.copy svg { width: 15px; height: 15px; }
.copy:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.05); }

.channels { margin: clamp(56px, 8vw, 100px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { position: relative; display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 16px; padding: 28px 4px; overflow: hidden; }
.channels a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-out); }
.channels a:hover::before { transform: scaleY(1); }
.channels a:hover { color: var(--bg); }
.channels a, .channels__k, .channels__arrow { transition: color 0.4s, transform 0.5s var(--ease-out), padding 0.5s var(--ease-out); }
.channels a:hover { padding-left: 20px; padding-right: 20px; }
.channels__k { color: var(--muted); }
.channels a:hover .channels__k { color: rgba(7, 7, 10, 0.6); }
.channels__v { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.channels__arrow { font-size: 24px; }
.channels a:hover .channels__arrow { transform: rotate(45deg); }

/* ---------- footer ---------- */
.footer { padding: 0 var(--pad); overflow: hidden; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; }
.footer__row p { margin: 0; }
.totop { color: var(--muted); transition: color 0.2s; }
.totop:hover { color: var(--ink); }
.footer__word {
  margin: 0 0 -0.24em; text-align: center;
  font-size: 25.5vw; line-height: 1; font-weight: 800; letter-spacing: -0.075em;
  background: linear-gradient(to bottom, rgba(244, 242, 238, 0.14), rgba(244, 242, 238, 0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 96;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .project--loveus { grid-template-columns: 1fr; }
  .project__visual { min-height: 640px; order: -1; }
  .phone { --ry: 0deg; --rx: 0deg; transform: rotateZ(0deg); }
}
@media (max-width: 760px) {
  .nav .pill { display: none; }
  .hero { padding-top: 110px; }
  .hero__meta span:first-child { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(n + 3) { padding-top: 22px; }
  .bento { grid-template-columns: 1fr; }
  .card--a, .card--b, .card--c, .card--d { grid-column: auto; }
  .card { min-height: 260px; }
  .project__visual { min-height: 560px; }
  .phone { transform: scale(0.9); }
  .channels a { grid-template-columns: 1fr auto; }
  .channels__k { grid-column: 1 / -1; }
  .channels__arrow { grid-row: 2; grid-column: 2; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
}
