/* ==========================================================================
   unios.tech — design system
   Paper / ink / cobalt. Instrument Sans + Instrument Serif + IBM Plex Mono.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;

  --paper: #f2f0ea;
  --paper-2: #faf9f5;
  --paper-3: #eae7de;
  --ink: #121210;
  --ink-2: #1d1c19;
  --ink-3: #2a2925;
  --muted: #5f5c54;
  --muted-2: #8a877e;
  --line: rgba(18, 18, 16, 0.13);
  --line-strong: rgba(18, 18, 16, 0.26);
  --blue: #2447ff;
  --blue-soft: #e7eaff;
  --paper-line: rgba(242, 240, 234, 0.18);
  --paper-muted: rgba(242, 240, 234, 0.62);

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.55rem, 4.65vw, 4.85rem);
  --fs-h2: clamp(2rem, 4.3vw, 3.5rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.02rem, 1.25vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.6875rem;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section-y: clamp(76px, 9vw, 148px);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 280ms;
  --dur-slow: 560ms;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper texture: painted as a body background tile (cheaper than a fixed overlay) */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--blue);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
}
.muted {
  color: var(--muted);
}
.kc {
  text-transform: none;
  letter-spacing: 0.02em;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 18ch;
}
.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.section-head .section-note {
  color: var(--muted);
  max-width: 34ch;
  font-size: var(--fs-small);
  line-height: 1.6;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tag.live {
  color: var(--ink);
}
.tag.live .dot {
  background: #2fa84f;
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.16);
}

/* buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover svg {
  transform: translate(2px, -2px);
}
.btn-ink:hover {
  --btn-bg: var(--blue);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  border-color: var(--ink);
}
.btn-paper {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}
.btn-paper:hover {
  --btn-bg: var(--blue);
  --btn-fg: var(--paper);
}
.btn-sm {
  height: 44px;
  padding-inline: 20px;
  font-size: 0.875rem;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.arrow-link svg {
  width: 13px;
  height: 13px;
  transition: transform var(--dur) var(--ease);
}
.arrow-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.arrow-link:hover svg {
  transform: translate(2px, -2px);
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.045em;
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 22.5%;
  overflow: hidden;
  flex: none;
}
.brand:hover .mark {
  transform: rotate(-4deg);
}
.brand .mark,
.brand .mark svg {
  transition: transform var(--dur) var(--ease);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  font-size: var(--fs-small);
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.site-nav a:hover {
  color: var(--ink);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-small);
  font-weight: 500;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.header-cta svg {
  width: 13px;
  height: 13px;
}
.header-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.nav-toggle span {
  position: relative;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}
.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-nav ul {
  display: grid;
  gap: 6px;
}
.mobile-nav a.mobile-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.mobile-nav a.mobile-link span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.mobile-nav .mobile-foot {
  display: grid;
  gap: 16px;
}
.mobile-nav .mobile-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.mobile-nav .mobile-foot svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.mobile-nav .mobile-foot a.btn {
  width: 100%;
  justify-content: center;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
}
.mobile-nav .mobile-foot a.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.hero-copy h1 {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-top: 24px;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-right: 0.06em;
  position: relative;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 4%;
  bottom: 0.04em;
  height: 0.055em;
  background: var(--blue);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 900ms 700ms var(--ease-out) forwards;
}
@keyframes underline-in {
  to {
    transform: scaleX(1);
  }
}
.hero-copy .lead {
  max-width: 44ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.hero-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 48px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-devices {
  --tx: 0;
  --ty: 0;
  position: relative;
  min-width: 0;
}
.hero-stage {
  position: relative;
  height: clamp(360px, 40vw, 588px);
}
.hero-orbit {
  position: absolute;
  left: 46%;
  top: 46%;
  width: min(118%, 640px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 12%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.hero-glow {
  position: absolute;
  left: 54%;
  top: 50%;
  width: 88%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 71, 255, 0.07), transparent 62%);
  pointer-events: none;
}
.device {
  position: absolute;
  border-radius: 13.5%/6.4%;
  padding: 2.9%;
  background: linear-gradient(150deg, #35342f 0%, #101010 34%, #080808 100%);
  box-shadow: 0 50px 90px -40px rgba(18, 18, 16, 0.55),
    0 12px 28px -12px rgba(18, 18, 16, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.device::before {
  content: "";
  position: absolute;
  top: 3.2%;
  left: 50%;
  width: 26%;
  height: 2.2%;
  min-height: 12px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.device img {
  width: 100%;
  border-radius: 10.5%/5%;
  background: #0a0a0a;
}
.device-a {
  width: clamp(168px, 17.4vw, 252px);
  left: 1%;
  top: 3%;
  z-index: 2;
  transform: rotate(-5.5deg) translate3d(calc(var(--tx) * -9px), calc(var(--ty) * -7px), 0);
  transition: transform 500ms var(--ease-out);
}
.device-b {
  width: clamp(150px, 15.6vw, 226px);
  right: 0;
  top: 17%;
  z-index: 1;
  transform: rotate(5deg) translate3d(calc(var(--tx) * 8px), calc(var(--ty) * 6px), 0);
  transition: transform 500ms var(--ease-out);
}
.device-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(16px, 2vw, 26px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.device-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.device-caption .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fa84f;
  flex: none;
}
.device-caption .dot.soon {
  background: #d98a00;
}

/* marquee */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 21px 0;
  border-block: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.marquee-group .star {
  color: var(--blue);
  font-size: 0.8rem;
  line-height: 1;
  filter: brightness(1.5);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- apps ---------- */
.apps {
  padding-top: var(--section-y);
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(420px, 38vw, 540px);
  padding: clamp(24px, 2.6vw, 38px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  transition: transform 500ms var(--ease-out);
}
.app-card:hover {
  transform: translateY(-6px);
}
.app-card--vocatick {
  background: linear-gradient(155deg, #edf5d9 0%, #e2efc8 58%, #d8e9b9 100%);
}
.app-card--gritly {
  background: linear-gradient(155deg, #fbeae2 0%, #f7ddd0 58%, #f3d1c0 100%);
}
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.55), transparent 60%);
  transition: opacity 500ms var(--ease);
}
.app-card:hover::after {
  opacity: 1;
}
.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 22.5%;
  overflow: hidden;
  box-shadow: 0 14px 30px -14px rgba(18, 18, 16, 0.5), 0 0 0 1px rgba(18, 18, 16, 0.06);
}
.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 18, 16, 0.08);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.app-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fa84f;
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.14);
}
.app-status.soon .dot {
  background: #d98a00;
  box-shadow: 0 0 0 3px rgba(217, 138, 0, 0.14);
}
.app-card h3 {
  margin-top: 26px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.app-tagline {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.2;
}
.app-desc {
  margin-top: 14px;
  max-width: 31ch;
  color: rgba(18, 18, 16, 0.66);
  font-size: 0.92rem;
  line-height: 1.6;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(18, 18, 16, 0.07);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: rgba(18, 18, 16, 0.62);
}
.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  position: relative;
  z-index: 2;
}
.app-card-foot .meta {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: rgba(18, 18, 16, 0.55);
}
.app-card-foot .go {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(18, 18, 16, 0.08);
  box-shadow: 0 12px 26px -16px rgba(18, 18, 16, 0.55);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.app-card-foot .go svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.app-card:hover .app-card-foot .go {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.06);
}
.app-card:hover .app-card-foot .go svg {
  transform: translate(1px, -1px);
}
.app-card-device {
  position: absolute;
  right: -5%;
  bottom: -30%;
  width: min(34%, 184px);
  z-index: 1;
  transform: rotate(6deg);
  transition: transform 700ms var(--ease-out), bottom 700ms var(--ease-out);
  filter: drop-shadow(0 34px 46px rgba(18, 18, 16, 0.28));
}
.app-card-device .device {
  position: relative;
  inset: auto;
  width: 100%;
  transform: none;
  box-shadow: none;
  padding: 3.2%;
  border-radius: 13.5%/6.4%;
}
.app-card-device .device::before {
  min-height: 0;
  height: 1.6%;
  top: 3.4%;
}
.app-card:hover .app-card-device {
  transform: rotate(2deg) translateY(-34px);
}

/* ---------- studio ---------- */
.studio {
  border-top: 1px solid var(--line);
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.studio-intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.studio-intro h2 {
  margin-top: 22px;
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 14ch;
}
.studio-intro h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.studio-intro p {
  margin-top: 24px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.studio-intro .arrow-link {
  margin-top: 32px;
}
.services {
  border-top: 1px solid var(--line-strong);
}
.service {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr) 28px;
  gap: 20px;
  align-items: start;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.service:hover {
  background: rgba(18, 18, 16, 0.025);
  padding-left: 10px;
}
.service .num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding-top: 6px;
}
.service h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.service p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.service .svc-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service .svc-arrow svg {
  width: 15px;
  height: 15px;
}
.service:hover .svc-arrow {
  opacity: 1;
  transform: none;
}

/* ---------- reasons ---------- */
.reasons {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.reasons-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}
.reasons-statement {
  font-size: clamp(2.1rem, 3.9vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 15ch;
  text-wrap: balance;
}
.reasons-statement em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.reasons-intro .mono {
  color: var(--muted);
  margin-bottom: 18px;
  display: block;
}
.reasons-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.reason {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}
.reason .mono {
  color: var(--muted);
}
.reason h3 {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.reason p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---------- contact ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(80px, 9vw, 150px) clamp(60px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 71, 255, 0.22), transparent 62%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  position: relative;
}
.contact .eyebrow {
  color: var(--paper-muted);
}
.contact h2 {
  margin-top: 24px;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  max-width: 12ch;
}
.contact h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.contact .contact-lead {
  margin-top: 26px;
  max-width: 40ch;
  color: var(--paper-muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.contact-direct {
  margin-top: 44px;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--paper-line);
}
.contact-direct a,
.contact-direct .copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--paper-line);
  transition: padding-left var(--dur) var(--ease), color var(--dur) var(--ease);
}
.contact-direct a:hover {
  padding-left: 8px;
  color: #fff;
}
.contact-direct .label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}
.contact-direct .label svg {
  width: 17px;
  height: 17px;
  opacity: 0.7;
}
.contact-direct .hint {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: rgba(242, 240, 234, 0.42);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: var(--paper-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.copy-btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.copy-btn svg {
  width: 11px;
  height: 11px;
}
.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--paper-muted);
}
.contact-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d17a;
  box-shadow: 0 0 0 4px rgba(85, 209, 122, 0.14);
}

/* form */
.contact-form {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}
.field {
  display: grid;
  gap: 9px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: rgba(242, 240, 234, 0.55);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242, 240, 234, 0.26);
  border-radius: 0;
  padding: 10px 2px 12px;
  font-size: 1rem;
  color: var(--paper);
  transition: border-color var(--dur) var(--ease);
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f2f0ea' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field select option {
  color: var(--ink);
  background: var(--paper);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 240, 234, 0.32);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 0 var(--blue);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-note {
  max-width: 34ch;
  color: rgba(242, 240, 234, 0.42);
  font-size: 0.75rem;
  line-height: 1.55;
}
.form-note a {
  color: var(--paper-muted);
  border-bottom: 1px solid rgba(242, 240, 234, 0.3);
}
.form-note a:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--paper-line);
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: 10px;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.5fr));
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 56px;
}
.footer-brand .brand {
  color: var(--paper);
  font-size: 1.35rem;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 30ch;
  color: var(--paper-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(242, 240, 234, 0.66);
  margin-bottom: 16px;
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--paper-muted);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover {
  color: var(--paper);
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: rgba(242, 240, 234, 0.58);
}
.footer-word {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin-top: clamp(14px, 2vw, 28px);
  color: var(--paper);
  opacity: 0.16;
  user-select: none;
  pointer-events: none;
}
.footer-word text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 380px;
  letter-spacing: -0.05em;
}

/* ---------- app detail pages ---------- */
.app-page {
  --app: var(--blue);
  --app-tint: var(--blue-soft);
  --app-ink: var(--ink);
}
.app-page.vocatick {
  --app: #8bd400;
  --app-tint: #eaf3d5;
  --app-ink: #3f6500;
}
.app-page.gritly {
  --app: #f25c1f;
  --app-tint: #fbe7dc;
  --app-ink: #8c3512;
}
.app-hero {
  position: relative;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.app-hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 62vw;
  max-width: 860px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--app-tint) 0%, transparent 64%);
  opacity: 0.9;
  pointer-events: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.back-link svg {
  width: 13px;
  height: 13px;
  transition: transform var(--dur) var(--ease);
}
.back-link:hover {
  color: var(--ink);
}
.back-link:hover svg {
  transform: translateX(-3px);
}
.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
  margin-top: 34px;
  position: relative;
}
.app-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.app-title-row .app-icon {
  width: 76px;
  height: 76px;
}
.app-title-row .app-status {
  background: var(--paper-2);
  border-color: var(--line);
}
.app-hero-copy h1 {
  margin-top: 26px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.app-hero-copy .app-tagline {
  margin-top: 14px;
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
}
.app-hero-copy .app-lead {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.store-badge img,
.store-badge svg {
  height: 52px;
  width: auto;
}
.store-badge {
  display: inline-block;
  border-radius: 9px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -18px rgba(18, 18, 16, 0.6);
}
.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding-inline: 22px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 0.9rem;
}
.soon-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d98a00;
  box-shadow: 0 0 0 3px rgba(217, 138, 0, 0.16);
}
.app-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 40px;
  max-width: 420px;
}
.app-meta div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.app-meta dt {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.app-meta dd {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}
.app-meta dd a {
  border-bottom: 1px solid var(--line-strong);
}
.app-meta dd a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* app shelf */
.shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 18px);
  padding-block: 20px 10px;
  min-height: 480px;
  perspective: 1200px;
}
.shelf .device {
  position: relative;
  inset: auto;
  flex: none;
  transition: transform 600ms var(--ease-out);
}
.shelf .device:nth-child(1) {
  width: clamp(110px, 15.5vw, 196px);
  transform: rotate(-8deg) translateY(26px);
  z-index: 1;
}
.shelf .device:nth-child(2) {
  width: clamp(132px, 19vw, 242px);
  transform: translateY(-6px);
  z-index: 3;
}
.shelf .device:nth-child(3) {
  width: clamp(110px, 15.5vw, 196px);
  transform: rotate(8deg) translateY(26px);
  z-index: 2;
}
.shelf:hover .device:nth-child(1) {
  transform: rotate(-10deg) translateY(16px);
}
.shelf:hover .device:nth-child(3) {
  transform: rotate(10deg) translateY(16px);
}
.shelf:hover .device:nth-child(2) {
  transform: translateY(-16px);
}
.shelf-note {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.story-card {
  position: absolute;
  right: -2%;
  bottom: 8%;
  width: clamp(96px, 11vw, 148px);
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(-5deg);
  box-shadow: 0 30px 50px -30px rgba(18, 18, 16, 0.5);
  border: 1px solid rgba(18, 18, 16, 0.1);
  z-index: 4;
}

/* app sections */
.app-features {
  border-top: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 80px);
}
.feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.feature .num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 5px;
}
.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.shot {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0c0c0b;
  border: 1px solid rgba(18, 18, 16, 0.1);
  box-shadow: 0 24px 50px -34px rgba(18, 18, 16, 0.55);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.shot img {
  width: 100%;
  display: block;
}
.shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -30px rgba(18, 18, 16, 0.5);
}
.shot-wrap figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 2px 0;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.shot-wrap figcaption .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--app);
}
.app-cta {
  margin-top: var(--section-y);
  background: var(--app-tint);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.app-cta::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 62%);
  pointer-events: none;
}
.app-cta-copy {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 260px;
}
.app-cta-copy .app-icon {
  width: 58px;
  height: 58px;
}
.app-cta h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.app-cta p {
  margin-top: 6px;
  color: rgba(18, 18, 16, 0.62);
  font-size: 0.875rem;
}
.app-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.next-app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.next-app:hover {
  background: var(--paper-2);
  border-color: var(--line-strong);
}
.next-app-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}
.next-app .app-icon {
  width: 52px;
  height: 52px;
}
.next-app .mono {
  color: var(--muted);
}
.next-app h3 {
  margin-top: 4px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.next-app .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
}
.next-app .go svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur) var(--ease);
}
.next-app:hover .go svg {
  transform: translate(3px, -3px);
}

/* legal / 404 */
.page-narrow {
  padding-block: clamp(48px, 6vw, 88px) var(--section-y);
}
.page-narrow .page-head {
  max-width: 720px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 20px;
  text-wrap: balance;
}
.page-head h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.page-head .lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 52ch;
}
.prose {
  max-width: 720px;
  margin-top: 40px;
  display: grid;
  gap: 26px;
}
.prose h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
}
.prose li::marker {
  color: var(--blue);
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.prose a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.notfound .code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.notfound h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.notfound h1 em {
  font-family: var(--font-serif);
  font-style: italic;
}
.notfound p {
  margin-top: 18px;
  color: var(--muted);
}
.notfound .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* toast for copy */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
  }
  .hero-stage {
    height: clamp(380px, 46vw, 540px);
  }
}
@media (max-width: 980px) {
  .site-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-devices {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .hero-stage {
    height: clamp(400px, 66vw, 540px);
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    min-height: 460px;
  }
  .studio-grid,
  .reasons-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .studio-intro {
    position: static;
  }
  .reasons-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-hero::before {
    top: -28%;
    right: -30%;
    width: 100vw;
  }
  .shelf {
    min-height: 0;
    padding-block: 8px 40px;
  }
  .story-card {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .eyebrow-suffix {
    display: none;
  }
  .gallery-grid,
  .gallery-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid.cols-3 > :last-child:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - clamp(6px, 1.5vw, 9px));
  }
  .shelf .device:nth-child(1),
  .shelf .device:nth-child(3) {
    width: clamp(96px, 24vw, 180px);
  }
  .shelf .device:nth-child(2) {
    width: clamp(120px, 31vw, 220px);
  }
  .section-head {
    margin-bottom: 36px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .section-head h2 {
    max-width: 20ch;
  }
  .hero {
    padding-top: 32px;
  }
  .hero-copy h1 {
    margin-top: 20px;
  }
  .hero-meta {
    margin-top: 32px;
  }
  .app-card-device {
    width: 40%;
    right: -6%;
  }
  .service {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 24px 2px;
  }
  .service p {
    grid-column: 2;
  }
  .service .svc-arrow {
    display: none;
  }
  .reasons-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .reason {
    padding: 20px 0;
  }
  .reason:last-child {
    border-bottom: 1px solid var(--line);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .app-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-meta {
    grid-template-columns: 1fr 1fr;
  }
  .marquee {
    padding: 14px 0;
  }
  .marquee-group {
    gap: 24px;
    padding-right: 24px;
  }
  .device-a {
    width: clamp(148px, 37vw, 210px);
    left: 4%;
    top: 4%;
  }
  .device-b {
    width: clamp(132px, 33vw, 190px);
    right: 2%;
    top: 18%;
  }
  .device-caption {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .hero-copy .actions .btn {
    width: 100%;
  }
  .app-title-row .app-icon {
    width: 64px;
    height: 64px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-copy h1 em::after {
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* ---------- print ---------- */
@media print {
  body::before,
  .site-header,
  .mobile-nav,
  .marquee,
  .site-footer .footer-word,
  .toast {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* media spotlight + app page extras */
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.media-row.flip .media-figure {
  order: 2;
}
.media-figure {
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 42px);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--app-tint) 0%, color-mix(in srgb, var(--app-tint) 72%, #ffffff) 100%);
  border: 1px solid rgba(18, 18, 16, 0.06);
}
.media-figure img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 34px 60px -36px rgba(18, 18, 16, 0.5);
}
.media-figure.portrait img {
  width: min(100%, 290px);
  border-radius: 20px;
}
.media-copy .mono {
  color: var(--muted);
}
.media-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 18ch;
}
.media-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.media-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 44ch;
}
.media-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.media-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.media-list svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--app-ink);
}
.media-list strong {
  color: var(--ink);
  font-weight: 600;
}
.app-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 46ch;
}
.app-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d98a00;
  flex: none;
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(217, 138, 0, 0.14);
}
.kunye-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.kunye-grid div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.kunye-grid dt {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.kunye-grid dd {
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}
.kunye-grid dd a {
  border-bottom: 1px solid var(--line-strong);
}
.kunye-grid dd a:hover {
  color: var(--app-ink);
  border-color: var(--app-ink);
}
.gallery-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.app-page .section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .media-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-row.flip .media-figure {
    order: 0;
  }
  .kunye-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .gallery-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .media-figure.portrait img {
    width: min(100%, 240px);
  }
}
