/* ==========================================================================
   jeed.io styles
   Palette: ink + mist, one warm accent. Type: Inter, Instrument Serif, JetBrains Mono.
   ========================================================================== */

:root {
  --ink: #0a0d12;
  --ink-2: #0e131a;
  --ink-3: #141b24;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f5;
  --text-2: #aeb6c2;
  --text-3: #6f7987;
  --accent: #f2b76c;
  --accent-soft: rgba(242, 183, 108, 0.16);
  --accent-ink: #1a1206;
  --mb: #f2b705;
  --bt: #2e74eb;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 14vw, 190px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
img, svg { display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }

/* ------------------------------ Typography ------------------------------ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.eyebrow .mono { color: var(--accent); }

h2 {
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
h2 em, h3 em, h1 em, .contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.section-head { margin-bottom: clamp(48px, 7vw, 96px); }

/* ------------------------------ Chrome ------------------------------ */

.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), #ffe3b8);
  transform: scaleX(0); transform-origin: left;
}

.grain {
  position: fixed; inset: -50%; z-index: 55; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, -1%); } 100% { transform: translate(0, 0); }
}

/* ------------------------------ Nav ------------------------------ */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding 0.5s var(--ease), background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(10, 13, 18, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform 0.5s var(--ease), padding 0.5s var(--ease), background-color 0.5s, border-color 0.5s; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; fill: var(--accent); border-radius: 7px; background: rgba(242, 183, 108, 0.08); }
.brand__mark path { transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark path:nth-child(1) { transform: translateY(-1.5px); }
.brand:hover .brand__mark path:nth-child(3) { transform: translateY(1px); }
.brand__word { font-weight: 600; letter-spacing: -0.04em; font-size: 20px; line-height: 1; }

.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.nav__cta .short { display: none; }
.nav__cta:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #5ed48a; box-shadow: 0 0 0 0 rgba(94, 212, 138, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 212, 138, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(94, 212, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 212, 138, 0); } }

/* ------------------------------ Buttons ------------------------------ */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1;
  transition: transform 0.6s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn--primary { background: var(--text); color: var(--ink); }
.btn--primary:hover { background: #fff; box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.35); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.btn--lg { padding: 20px 34px; font-size: 18px; }
.btn--block { width: 100%; }
.btn > span { display: inline-block; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text);
}
.link-arrow i {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative;
  transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.link-arrow i::before, .link-arrow i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
}
.link-arrow i::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%) rotate(-45deg); }
.link-arrow i::after { width: 6px; height: 6px; background: none; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-30%, -70%) rotate(0deg); }
.link-arrow:hover i { background: var(--text); color: var(--ink); border-color: var(--text); transform: translate(2px, -2px); }
.link-row { display: flex; flex-wrap: wrap; gap: 28px; }

/* ------------------------------ Hero ------------------------------ */

.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: 120px var(--gutter) 80px;
}
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene > * { position: absolute; will-change: transform; }

.sky {
  inset: -10% 0 0 0;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(242, 183, 108, 0.16), transparent 70%),
    linear-gradient(180deg, #06080c 0%, #0b1019 38%, #16213a 66%, #33344c 84%, #4f4a52 100%);
}
.stars { inset: 0 0 40% 0; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0;
  animation: twinkle var(--t, 4s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes twinkle { 0%, 100% { opacity: 0.08; } 50% { opacity: var(--o, 0.6); } }

.sun {
  left: 50%; top: 44%; width: min(46vw, 420px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 224, 178, 0.55) 0%, rgba(242, 183, 108, 0.22) 30%, rgba(242, 183, 108, 0) 70%);
  filter: blur(6px);
}

.hills { left: 0; right: 0; bottom: 0; width: 100%; height: 66%; }
.hills .ridge { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; opacity: 0.35; }
.hills--4 .ridge { opacity: 0.45; }
.hills--1 .ridge { opacity: 0.18; }

.mist {
  left: -10%; right: -10%; height: 36%; bottom: 0;
  background: radial-gradient(50% 60% at 30% 60%, rgba(180, 196, 226, 0.22), transparent 70%),
              radial-gradient(40% 50% at 75% 40%, rgba(180, 196, 226, 0.18), transparent 70%);
  filter: blur(28px);
  animation: drift var(--dur, 60s) ease-in-out infinite alternate;
}
.mist--a { bottom: 26%; --dur: 70s; opacity: 0.9; }
.mist--b { bottom: 16%; --dur: 55s; opacity: 0.8; animation-direction: alternate-reverse; }
.mist--c { bottom: 6%; --dur: 45s; opacity: 0.7; }
@keyframes drift { from { translate: -4% 0; } to { translate: 4% 0; } }

.ground { left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, var(--ink) 80%); }

.hero__content {
  position: relative; text-align: center; max-width: 1000px; z-index: 1;
  margin-top: -8vh;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-weight: 500; font-size: clamp(2.4rem, 6.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.hero__title .line > * { display: inline-block; }
.hero__title em { color: #ffe0b7; }
.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 58ch; margin: 0 auto 40px;
  line-height: 1.55;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__facts {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 44px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-2); z-index: 1;
}
.hero__facts .mono { color: var(--accent); margin-right: 8px; }

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 110px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
  z-index: 1;
}
.scroll-hint span { writing-mode: vertical-rl; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--text-2), transparent); animation: hint 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Hero entrance */
.hero__eyebrow, .hero__title .line > *, .hero__lead, .hero__actions, .hero__facts, .scroll-hint {
  animation: rise 1.4s var(--ease) both;
}
.hero__eyebrow { animation-delay: 0.2s; }
.hero__title .line:nth-child(1) > * { animation-delay: 0.32s; }
.hero__title .line:nth-child(2) > * { animation-delay: 0.44s; }
.hero__lead { animation-delay: 0.62s; }
.hero__actions { animation-delay: 0.76s; }
.hero__facts, .scroll-hint { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero__title .line > * { animation-name: rise-line; }
@keyframes rise-line { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
.scene { animation: scene-in 1.8s ease both; }
@keyframes scene-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------ Manifesto (word reveal) ------------------------------ */

.manifesto { height: 190vh; position: relative; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.manifesto__text {
  font-weight: 500; font-size: clamp(1.7rem, 4vw, 3.3rem); line-height: 1.2; letter-spacing: -0.025em;
  max-width: 24ch;
}
.manifesto__text .w { display: inline-block; opacity: 0.14; transition: opacity 0.4s ease, color 0.4s ease; white-space: pre; }
.manifesto__text .w.is-on { opacity: 1; }
.manifesto__text em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.manifesto__text em .w.is-on { color: var(--accent); }
.manifesto__coda {
  margin-top: 36px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  display: flex; align-items: center; gap: 9px;
}
.coda__heart { font-size: 15px; line-height: 1; letter-spacing: 0; transform: translateY(-1px); }

/* ------------------------------ Reveal utilities ------------------------------ */

[data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

[data-parallax] {
  transform: translate3d(0, var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.hl {
  background-image: linear-gradient(var(--hl, var(--accent-soft)), var(--hl, var(--accent-soft)));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 0.9s var(--ease) 0.35s; border-radius: 3px; padding: 0 0.1em; margin: 0 -0.1em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hl--mb { --hl: rgba(242, 183, 5, 0.22); }
.hl--bt { --hl: rgba(46, 116, 235, 0.28); }
.is-in .hl, .hl.is-in { background-size: 100% 100%; }

/* ------------------------------ Work / products ------------------------------ */

.work { padding-top: var(--section); }
.work > .container:first-child { margin-bottom: clamp(20px, 4vw, 40px); }

.product { position: relative; padding: clamp(60px, 9vw, 130px) 0; overflow: clip; background: var(--ink); }
.product + .product { border-top: 1px solid var(--line); }
@media (min-width: 961px) and (min-height: 720px) {
  .product {
    position: sticky; top: 0; min-height: 100vh; padding: 64px 0;
    display: grid; align-content: center; transform-origin: 50% 0; will-change: transform;
  }
  .product + .product { border-radius: 32px 32px 0 0; box-shadow: 0 -40px 100px -40px rgba(0, 0, 0, 0.9); }
}
.product__index {
  position: absolute; right: -0.05em; top: 6%; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(10rem, 30vw, 26rem); line-height: 0.8; color: rgba(255, 255, 255, 0.025); pointer-events: none; user-select: none;
  letter-spacing: -0.05em;
}
.product--bt .product__index { right: auto; left: -0.05em; }

.product__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.product__grid--flip .product__copy { order: 2; }
.product__grid--flip .product__visual { order: 1; }

.product__copy > * + * { margin-top: 22px; }
.product__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
.product__meta .mono { color: var(--accent); }
.product__name { font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.product__domain { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.product__domain:hover { color: var(--text); border-color: var(--text-3); }
.product--mb .product__meta .mono { color: var(--mb); }
.product--bt .product__meta .mono { color: #6ea2ff; }

.product h3 {
  font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch;
}
.product__copy p:not(.product__meta) { color: var(--text-2); max-width: 54ch; }

.product__facts { display: grid; gap: 14px; padding-top: 8px; }
.product__facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.product__facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.product__facts dd { font-size: 14px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }

.product__visual { position: relative; }
.visual-stage {
  position: relative; display: grid; place-items: center; min-height: 560px;
  transform-style: preserve-3d; perspective: 1200px;
}
.visual-stage > * { will-change: transform; }

.float {
  position: absolute; z-index: 3; font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  background: rgba(20, 27, 36, 0.7); border: 1px solid var(--line-2); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.float::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; vertical-align: 1px; }
.float--1 { left: 4%; top: 18%; }
.float--2 { right: 2%; top: 42%; }
.float--3 { left: 8%; bottom: 16%; }
.float--4 { left: 2%; top: 14%; }
.float--5 { right: 4%; bottom: 20%; }
.product--mb .float::before { background: var(--mb); }
.product--bt .float::before { background: var(--bt); }

/* Phone */
.phone {
  position: relative; z-index: 2; width: 292px; aspect-ratio: 9 / 19; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #262d38, #0d1117 60%); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #0a0c10; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; }

.mb { background: #fffcf4; color: #18140f; font-size: 12px; display: flex; flex-direction: column; }
.mb__bar { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 11px; font-weight: 600; color: #3a342c; }
.mb__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 34px 18px 12px; }
.mb__name { font-family: var(--font-serif); font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.mb__sub { font-size: 10.5px; color: #6e6659; margin-top: 4px; }
.mb__lang {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; border: 1px solid #e3dac6; background: #fff;
  font-size: 11px; font-weight: 600; color: #3a342c; cursor: default;
}
.mb__tabs { display: flex; gap: 14px; padding: 0 18px 10px; border-bottom: 1px solid #efe7d4; font-size: 11.5px; font-weight: 600; color: #8a8273; }
.mb__tabs span { padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color 0.3s, border-color 0.3s; }
.mb__tabs .is-on { color: #18140f; border-color: var(--mb); }
.mb__list { padding: 6px 18px; flex: 1; }
.mb__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1eadb; }
.mb__list b { display: block; font-weight: 600; font-size: 12.5px; letter-spacing: -0.01em; }
.mb__list small { display: block; font-size: 10.5px; color: #6e6659; margin-top: 2px; line-height: 1.35; }
.mb__list li > span { font-weight: 600; white-space: nowrap; color: #b93d20; }
.mb__list b, .mb__list small, .mb__list li > span, .mb__tabs span, .mb__lang span { transition: opacity 0.35s ease, transform 0.35s var(--ease); }
.mb.is-switching .mb__list b, .mb.is-switching .mb__list small, .mb.is-switching .mb__tabs span { opacity: 0; transform: translateY(4px); }
.mb__toast {
  position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 8px); opacity: 0;
  background: #18140f; color: #fffcf4; font-size: 10.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.mb__toast::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mb); margin-right: 7px; vertical-align: 1px; }
.mb__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Inbox */
.inbox {
  position: relative; z-index: 2; width: min(100%, 560px); border-radius: 18px; overflow: visible;
  background: linear-gradient(180deg, #ffffff, #f7f9fc); color: #1f2430; font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.inbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #e6eaf0; }
.inbox__title { font-weight: 600; font-size: 14px; }
.inbox__count { font-size: 11px; color: #6b7280; }
.inbox__list li { display: grid; grid-template-columns: 30px 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 20px; border-bottom: 1px solid #eef1f5; transition: background-color 0.3s; }
.inbox__list li.is-open { background: #f5f8ff; }
.row__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 12px; background: var(--c, #555); }
.row__who { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__msg { display: flex; align-items: center; gap: 9px; min-width: 0; }
.row__what { color: #5b6472; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__what b { color: #1f2430; font-weight: 600; }
.row__time { font-size: 11px; color: #6b7280; }
.ticks { flex: none; width: 23px; height: 15px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ticks .t1 { stroke: var(--bt); }
.ticks .t2 { stroke: #b6bec9; transition: stroke 0.45s var(--ease); }
.is-open .ticks .t2 { stroke: var(--bt); }
.inbox__legend { display: flex; gap: 18px; padding: 12px 20px; font-size: 11px; color: #6b7280; }
.inbox__legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 9px; background: no-repeat center / contain; }
.lg--1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1.5 8.5l4 4L14 4' fill='none' stroke='%232E74EB' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M8.5 8.5l4 4L21 4' fill='none' stroke='%23b6bec9' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lg--2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1.5 8.5l4 4L14 4M8.5 8.5l4 4L21 4' fill='none' stroke='%232E74EB' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ------------------------------ Approach ------------------------------ */

.approach { padding: var(--section) 0 0; }
.principles { display: grid; gap: clamp(24px, 18vh, 200px); }

.card, .avail {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.dim {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; background: var(--ink);
  opacity: var(--dim, 0); border-radius: inherit;
}
[data-spot]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 183, 108, 0.12), transparent 45%);
}
[data-spot]:hover::before { opacity: 1; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.5s;
  border: 1px solid transparent;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 45%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-spot]:hover::after { opacity: 1; }

.card {
  position: sticky; top: 104px; min-height: 300px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start;
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(180deg, #151c26, #0f141b); border-color: var(--line-2);
  transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.8);
}
.card__head { display: grid; gap: 28px; align-self: start; }
.card__n { display: block; color: var(--accent); font-size: 12px; }
.card h3 { font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.03em; }
.card p { color: var(--text-2); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 46ch; margin-top: 46px; }

.marquee {
  margin-top: clamp(64px, 9vw, 120px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* ------------------------------ About ------------------------------ */

.about { padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__copy h2 { margin-bottom: 28px; }
.about__text { color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 56ch; }
.about__text + .about__text { margin-top: 18px; }

.avail { padding: 32px; }
.avail__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 24px; }
.avail__list { display: grid; gap: 18px; margin-bottom: 28px; }
.avail__list li { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.avail__list b { font-weight: 600; letter-spacing: -0.01em; }
.avail__list span { color: var(--text-2); font-size: 15px; }

/* ------------------------------ Contact ------------------------------ */

.contact { padding: var(--section) 0; text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(242, 183, 108, 0.12), transparent 70%); pointer-events: none;
}
.contact .eyebrow { justify-content: center; }
.contact__title { margin: 0 auto 22px; font-weight: 500; font-size: clamp(2.4rem, 6.5vw, 5.4rem); line-height: 1; letter-spacing: -0.035em; max-width: 16ch; }
.contact__lead { color: var(--text-2); max-width: 46ch; margin: 0 auto 40px; font-size: 1.1rem; }
.contact__actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }

/* ------------------------------ Footer ------------------------------ */

.footer { position: relative; overflow: hidden; padding-top: 40px; border-top: 1px solid var(--line); }
.footer__word {
  overflow: hidden; text-align: center; padding-bottom: 0.12em; margin-top: 8px;
  font-weight: 600; font-size: clamp(7rem, 27vw, 24rem); line-height: 0.95; letter-spacing: -0.06em;
  user-select: none;
}
.footer__word span {
  display: inline-block; color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  -webkit-background-clip: text; background-clip: text; will-change: transform;
  transform: translate3d(0, 110%, 0);
}
@media (prefers-reduced-motion: reduce) { .footer__word span { transform: none; } }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0 32px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--line); }
.footer__bar nav { display: flex; gap: 22px; }
.footer__bar nav a { color: var(--text-2); transition: color 0.3s; }
.footer__bar nav a:hover { color: var(--text); }

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 960px) {
  .product__grid { grid-template-columns: 1fr; }
  .product__grid--flip .product__copy { order: 1; }
  .product__grid--flip .product__visual { order: 2; }
  .visual-stage { min-height: 520px; }
  .about__grid { grid-template-columns: 1fr; }
  .product__index { font-size: 12rem; top: 2%; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta .long { display: none; }
  .hero { padding-top: 100px; }
  .hero__content { margin-top: -4vh; }
  .hero__facts { display: none; }
  .scroll-hint { left: 50%; bottom: 32px; transform: translateX(-50%); gap: 8px; }
  .scroll-hint span { writing-mode: horizontal-tb; }
  .manifesto { height: 165vh; }
  .manifesto__text { max-width: none; }
  .card { grid-template-columns: 1fr; top: 84px; min-height: 0; }
  .card__head { gap: 16px; }
  .card p { margin-top: 0; }
  .product__facts > div { grid-template-columns: 1fr; gap: 6px; }
  .visual-stage { min-height: 480px; }
  .inbox__list li { grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 10px; }
  .row__what { display: none; }
  .visual-stage { padding: 84px 0; min-height: 0; }
  .float { font-size: 12px; padding: 7px 11px; }
  .float--1 { left: 0; top: 0; }
  .float--2 { right: 0; top: 0; }
  .float--3 { left: 0; bottom: 0; }
  .float--4 { left: 0; top: 0; }
  .float--5 { right: 0; bottom: 0; }
  .nav__cta .short { display: inline; }
  .contact__actions { flex-direction: column; gap: 20px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------ Motion preferences ------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .manifesto { height: auto; padding: var(--section) 0; }
  .manifesto__sticky { position: static; height: auto; }
  .manifesto__text .w { opacity: 1; }
  .grain { display: none; }
}
