/* ==========================================================================
   Ryon & Rock — ryonandrock.com
   A single stylesheet. No frameworks, no trackers, no third-party requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #12122a;
  --ink-soft: #2a2a4a;
  --muted: #5d5b73;
  --muted-2: #6b687f;
  --paper: #f7f4ee;
  --paper-deep: #efeae1;
  --card: #fffdf9;
  --lav: #e7e2ff;
  --lav-deep: #d5cdff;
  --indigo: #3436b8;
  --indigo-deep: #25278f;
  --teal: #0d8578;
  --teal-soft: #d8f0ea;
  --amber: #855405;
  --amber-soft: #f8ecd2;
  --line: rgba(18, 18, 42, 0.12);
  --line-strong: rgba(18, 18, 42, 0.22);
  --white-line: rgba(247, 244, 238, 0.16);

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

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 42, 0.05), 0 8px 24px rgba(18, 18, 42, 0.04);
  --shadow-md: 0 2px 4px rgba(18, 18, 42, 0.06), 0 24px 60px rgba(18, 18, 42, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h1.display {
  font-size: clamp(3.1rem, 7.2vw, 6.1rem);
}

h2.display {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.display em {
  font-style: italic;
  color: var(--indigo);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.4em;
  border-radius: 2px;
  background: var(--indigo);
  transform: rotate(45deg);
  flex: none;
}

.eyebrow--light {
  color: rgba(247, 244, 238, 0.66);
}
.eyebrow--light::before {
  background: var(--lav-deep);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head__aside {
  max-width: 44ch;
  justify-self: end;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(52, 54, 184, 0.25);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(18, 18, 42, 0.04);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--lav);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn--sm {
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  border-radius: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--indigo);
  border-color: var(--indigo);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link--light {
  border-color: var(--white-line);
  color: var(--paper);
}
.text-link--light:hover {
  color: var(--lav-deep);
  border-color: var(--lav-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 238, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 244, 238, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  box-shadow: 0 1px 2px rgba(18, 18, 42, 0.18);
}

.brand__o {
  display: inline-block;
  width: 0.58em;
  height: 0.58em;
  margin-inline: 0.02em;
  border: 1px solid #fff;
  border-radius: 50%;
  aspect-ratio: 1;
  background: url("/assets/img/rock-avatar.jpg") center 42% / cover no-repeat;
  box-shadow: 0 0 0 1px var(--ink);
  color: transparent;
  overflow: hidden;
  vertical-align: -0.01em;
  flex: none;
  box-sizing: border-box;
}

.brand__amp {
  font-style: italic;
  color: var(--indigo);
  padding-inline: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
}

.nav__links a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__links a:hover {
  background: rgba(18, 18, 42, 0.05);
  color: var(--ink);
}

.nav__links a[aria-current="page"] {
  color: var(--indigo);
  background: rgba(52, 54, 184, 0.07);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  align-items: center;
  justify-content: center;
}

.nav-toggle__lines {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__lines span:nth-child(1) { top: 0; }
.nav-toggle__lines span:nth-child(2) { top: 5px; }
.nav-toggle__lines span:nth-child(3) { top: 10px; }

body[data-nav-open="true"] .nav-toggle__lines span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
body[data-nav-open="true"] .nav-toggle__lines span:nth-child(2) {
  opacity: 0;
}
body[data-nav-open="true"] .nav-toggle__lines span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

body[data-nav-open="true"] .mobile-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  line-height: 1.15;
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mobile-nav a span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted-2);
}

.mobile-nav__foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.mobile-nav__foot a {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0;
  border: 0;
}

body[data-nav-open="true"] {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(880px, 80vw);
  height: min(880px, 80vw);
  background: radial-gradient(circle at center, rgba(213, 205, 255, 0.55), rgba(231, 226, 255, 0) 62%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(18, 18, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 42, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  margin-bottom: 1.6rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 12ch;
}

.hero__lede {
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__meta svg {
  width: 13px;
  height: 13px;
  color: var(--teal);
}

.hero__visual {
  position: relative;
  width: max-content;
  max-width: 100%;
  justify-self: center;
  padding-block: 1rem;
}

.hero__halo {
  position: absolute;
  inset: 8% 2% 2%;
  background: radial-gradient(closest-side, rgba(52, 54, 184, 0.18), rgba(52, 54, 184, 0) 72%);
  filter: blur(10px);
  z-index: 0;
}

/* Floating chips */
.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-md);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--indigo);
}

.chip--a {
  top: 7%;
  left: 0;
  translate: -105% 0;
  animation: float 7s ease-in-out infinite;
}

.chip--b {
  bottom: 16%;
  right: 0;
  translate: 105% 0;
  animation: float 8s ease-in-out 0.8s infinite;
}

.chip--c {
  bottom: 1%;
  left: 0;
  translate: -105% 0;
  animation: float 7.5s ease-in-out 1.6s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Phone mockup ---------- */
.phone {
  --w: 31em;
  position: relative;
  z-index: 2;
  width: var(--w);
  max-width: 100%;
  font-size: 10px;
  font-family: var(--sans);
  color: var(--ink);
  filter: drop-shadow(0 40px 60px rgba(18, 18, 42, 0.28));
}

.phone__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.49;
  background: #0b0b18;
  border-radius: 4.6em;
  padding: 0.85em;
  box-shadow: inset 0 0 0 0.16em #34344e, inset 0 0 0 0.36em #0b0b18;
}

.phone__frame::before,
.phone__frame::after {
  content: "";
  position: absolute;
  width: 0.32em;
  background: #262640;
  border-radius: 0.2em;
}
.phone__frame::before {
  right: -0.3em;
  top: 19%;
  height: 7%;
}
.phone__frame::after {
  left: -0.3em;
  top: 16%;
  height: 10%;
}

.phone__island {
  position: absolute;
  top: 1.55em;
  left: 50%;
  transform: translateX(-50%);
  width: 8.5em;
  height: 2.35em;
  background: #05050c;
  border-radius: 999px;
  z-index: 5;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 3.9em;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaff 0%, #f4f1fb 100%);
  display: flex;
  flex-direction: column;
}

.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15em 2.1em 0.2em;
  font-size: 0.82em;
  font-weight: 600;
  color: #2b2b3d;
}

.app-status__icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: #2b2b3d;
}

.app-status__icons svg {
  width: 0.95em;
  height: 0.95em;
}

.app-body {
  flex: 1;
  padding: 0.55em 1.25em 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55em 0.35em 0.9em;
}

.app-head h4 {
  font-size: 1.85em;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.app-head p {
  margin-top: 0.2em;
  font-size: 0.78em;
  color: #6f6d82;
}

.app-refresh {
  padding: 0.72em 1.15em;
  background: #3537b8;
  color: #fff;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 600;
  box-shadow: 0 0.35em 0.8em rgba(53, 55, 184, 0.3);
}

.app-tagline {
  background: #eeebfd;
  border: 0.08em solid #e0dbf8;
  border-radius: 1.1em;
  padding: 1.15em 1.3em;
  margin-bottom: 1.25em;
}

.app-tagline strong {
  display: block;
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}

.app-tagline p {
  font-size: 0.8em;
  line-height: 1.5;
  color: #5f5d75;
}

.app-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.35em;
  margin-bottom: 0.65em;
  font-size: 0.78em;
  font-weight: 700;
}

.app-section-label span {
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8a879d;
}

.app-vault {
  background: #fff;
  border: 0.08em solid #e7e3f1;
  border-radius: 1.15em;
  padding: 1.05em 1.15em;
  margin-bottom: 0.75em;
  box-shadow: 0 0.3em 1.1em rgba(30, 25, 70, 0.05);
}

.app-vault__top {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.app-vault__icon {
  width: 2.45em;
  height: 2.45em;
  border-radius: 0.7em;
  background: #e2f5ef;
  display: grid;
  place-items: center;
  flex: none;
}

.app-vault__icon svg {
  width: 1.35em;
  height: 1.35em;
  color: #14806f;
}

.app-vault__name {
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55em;
  flex-wrap: wrap;
}

.app-tag {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35em 0.65em;
  border-radius: 999px;
  background: #f7ecd4;
  color: #8c5a06;
}

.app-tag--green {
  background: #dff3e8;
  color: #167a52;
}

.app-vault__meta {
  font-size: 0.78em;
  color: #6f6d82;
  margin-top: 0.6em;
}

.app-vault__status {
  font-size: 0.75em;
  font-weight: 600;
  margin-top: 0.5em;
}

.app-vault__status--amber { color: #9a6208; }
.app-vault__status--green { color: #167a52; }

.app-vault__sub {
  font-size: 0.72em;
  line-height: 1.45;
  color: #8a879d;
  margin-top: 0.3em;
}

.app-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.65em;
  margin-top: auto;
  padding: 0.4em 0.15em 0.9em;
}

.app-btn {
  padding: 1.1em 0.5em;
  border-radius: 1.05em;
  text-align: center;
  font-size: 0.98em;
  font-weight: 700;
  line-height: 1.2;
}

.app-btn--outline {
  border: 0.12em solid #3537b8;
  color: #3537b8;
  background: #fff;
}

.app-btn--fill {
  background: #3537b8;
  color: #fff;
  box-shadow: 0 0.45em 1.1em rgba(53, 55, 184, 0.28);
}

.app-nav {
  display: flex;
  justify-content: space-between;
  padding: 0.55em 1.4em 1.6em;
  background: #fff;
  border-top: 0.08em solid #ece9f3;
}

.app-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  font-size: 0.63em;
  font-weight: 600;
  color: #8a879d;
}

.app-nav__item svg {
  width: 1.6em;
  height: 1.6em;
}

.app-nav__item--active {
  color: #3537b8;
}

/* ---------- Logo strip ---------- */
.promise-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.5);
}

.promise-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.15rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.promise-strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.promise-strip__inner span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Manifesto / split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.split__sticky {
  position: sticky;
  top: 120px;
}

.split h2 {
  max-width: 12ch;
}

.split__body {
  padding-top: 0.35rem;
}

.split__body p + p {
  margin-top: 1.1rem;
}

.pull-quote {
  margin-top: 2.5rem;
  padding: 1.5rem 0 1.5rem 1.6rem;
  border-left: 2px solid var(--indigo);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.pull-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Product band ---------- */
.band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}

.band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(52, 54, 184, 0.5), transparent 62%);
  pointer-events: none;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(247, 244, 238, 0.12) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 75% 45%, #000, transparent 60%);
  mask-image: radial-gradient(circle at 75% 45%, #000, transparent 60%);
}

.band > .container {
  position: relative;
  z-index: 2;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.product__icon {
  width: 74px;
  height: 74px;
  border-radius: 19px;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product h2 {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.product__tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav-deep);
  margin-bottom: 1.6rem;
}

.product .lede {
  color: rgba(247, 244, 238, 0.78);
}

.product__list {
  list-style: none;
  margin: 2rem 0 2.4rem;
  display: grid;
  gap: 0.9rem;
}

.product__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(247, 244, 238, 0.9);
}

.product__list svg {
  width: 18px;
  height: 18px;
  color: var(--lav-deep);
  flex: none;
  margin-top: 0.15rem;
}

.product__visual {
  position: relative;
  width: max-content;
  max-width: 100%;
  justify-self: center;
}

.product__visual .phone {
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.55));
}

.product__visual .chip {
  background: #1d1d3c;
  border-color: rgba(247, 244, 238, 0.16);
  color: var(--paper);
}

.product__visual .chip svg {
  color: var(--lav-deep);
}

.product__visual .chip--a { top: 10%; }
.product__visual .chip--b { bottom: 14%; }

/* ---------- Feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  position: relative;
  padding: 1.7rem 1.6rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 140px;
  background: radial-gradient(closest-side, rgba(213, 205, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lav);
  color: var(--indigo);
  margin-bottom: 1.35rem;
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  margin-bottom: 0.6rem;
}

.feature p {
  font-size: 0.93rem;
  color: var(--muted);
}

.feature--teal .feature__icon { background: var(--teal-soft); color: var(--teal); }
.feature--amber .feature__icon { background: var(--amber-soft); color: var(--amber); }

/* ---------- Principles ---------- */
.principles {
  list-style: none;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(1.8rem, 3.5vw, 2.8rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s var(--ease);
}

.principle:hover {
  background: rgba(231, 226, 255, 0.35);
}

.principle__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.principle h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.principle p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 54ch;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--card);
  padding: 2.1rem 1.8rem 2.2rem;
}

.step__num {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--lav-deep);
  margin-bottom: 1.4rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------- About / desert ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-copy p + p {
  margin-top: 1rem;
}

.signature {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signature__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.signature__name {
  font-weight: 600;
  font-size: 0.92rem;
}

.signature__role {
  font-size: 0.78rem;
  color: var(--muted);
}

.desert-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.desert-card svg {
  width: 100%;
  height: auto;
}

.desert-card figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  right: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desert-card figcaption span:last-child {
  color: rgba(247, 244, 238, 0.55);
}

.about-figures {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.rock-card {
  margin: 0;
  padding: 0.55rem 0.55rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rock-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.rock-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.55rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.rock-card figcaption span:last-child {
  color: var(--muted);
  text-align: right;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, var(--lav) 0%, #dcd4ff 55%, #cfc4ff 100%);
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(52, 54, 184, 0.15);
}

.cta::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(52, 54, 184, 0.25);
  box-shadow: 0 0 0 40px rgba(52, 54, 184, 0.04), 0 0 0 90px rgba(52, 54, 184, 0.03);
}

.cta h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  position: relative;
}

.cta p {
  max-width: 48ch;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  position: relative;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
  position: relative;
}

.cta__note {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(4rem, 9vw, 8rem);
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.6fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3.5rem;
}

.footer-brand .brand {
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer-brand .brand__amp {
  color: var(--lav-deep);
}

.footer-brand p {
  max-width: 32ch;
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.9rem;
}

.footer-col h2 {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.62);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(247, 244, 238, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--lav-deep);
}

.footer-bottom {
  border-top: 1px solid var(--white-line);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.75rem;
  color: rgba(247, 244, 238, 0.62);
}

.footer-bottom a {
  color: inherit;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(4rem, 16vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  background-image: linear-gradient(rgba(247, 244, 238, 0.07), rgba(247, 244, 238, 0.07));
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  margin-bottom: -0.12em;
  user-select: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(213, 205, 255, 0.45), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  margin: 1.4rem 0 1.2rem;
  max-width: 18ch;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  margin-top: 1.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.7);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.pill--amber::before {
  background: #c98a1b;
}

.pill--email {
  text-transform: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.pill--email:hover {
  border-color: var(--line-strong);
}

/* ---------- Product page ---------- */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.product-hero__icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.product-hero h1 {
  font-size: clamp(3.4rem, 7.5vw, 6.4rem);
  margin-bottom: 0.9rem;
}

.product-hero__tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1.4rem;
}

.product-hero .lede {
  margin-bottom: 1.9rem;
}

.status-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.75);
  margin-bottom: 1.8rem;
  max-width: 46ch;
}

.status-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c98a1b;
  margin-top: 0.4rem;
  flex: none;
  box-shadow: 0 0 0 4px rgba(201, 138, 27, 0.14);
}

.status-card p {
  font-size: 0.84rem;
  color: var(--muted);
}

.status-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

/* Server-blind diagram */
.blind {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.diagram {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.diagram svg {
  width: 100%;
  height: auto;
}

.diagram__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}

.checklist svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
  flex: none;
  margin-top: 0.18rem;
}

/* ---------- Legal / prose ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.toc h2 {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.35rem;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 0.55rem;
  padding: 0.3rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  padding-top: 0.15rem;
}

.toc a:hover {
  color: var(--indigo);
}

.prose {
  max-width: 72ch;
  font-size: 1rem;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  scroll-margin-top: 110px;
}

.prose h3 {
  font-size: 1.08rem;
  margin-top: 1.8rem;
  color: var(--ink);
}

.prose p,
.prose li {
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose li::marker {
  color: var(--indigo);
}

.prose a {
  color: var(--indigo);
  text-decoration-color: rgba(52, 54, 184, 0.35);
}

.prose a:hover {
  text-decoration-color: var(--indigo);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose blockquote {
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--lav-deep);
  background: rgba(231, 226, 255, 0.35);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1.4rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  border-bottom-color: var(--line-strong);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 2rem;
}

.legal-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  font-size: 0.84rem;
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}

.contact-card > div {
  background: var(--card);
  padding: 1.5rem 1.6rem;
}

.contact-card h3 {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--indigo);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq__icon svg {
  width: 12px;
  height: 12px;
}

.faq[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--lav);
  border-color: transparent;
}

.faq__body {
  padding: 0 0 1.5rem;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq__body p + p {
  margin-top: 0.8rem;
}

/* ---------- Support ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-card {
  padding: 1.8rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.support-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--lav);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
}

.support-card__icon svg {
  width: 20px;
  height: 20px;
}

.support-card h2 {
  font-size: 1.1rem;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.support-card a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  word-break: break-word;
}

.support-card a:hover {
  text-decoration: underline;
}

.callout {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.callout h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.callout p {
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.92rem;
  max-width: 60ch;
}

/* ---------- Press / facts ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: var(--card);
  padding: 1.4rem 1.3rem;
}

.fact dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.45rem;
}

.fact dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.asset {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.asset:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.asset img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.asset strong {
  display: block;
  font-size: 0.9rem;
}

.asset span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}

.notfound__code {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
}

.notfound h1 {
  max-width: 14ch;
  margin: 0 auto 1.2rem;
}

.notfound p {
  margin: 0 auto 2rem;
  max-width: 42ch;
}

/* ---------- Reveal animations ---------- */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  }
  .principle {
    grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav__links,
  .nav__actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero__grid,
  .product,
  .product-hero,
  .split,
  .about-grid,
  .blind {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__visual {
    padding-top: 0;
  }
  .hero h1 {
    max-width: 15ch;
  }
  .split__sticky {
    position: static;
  }
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .section-head__aside {
    justify-self: start;
  }
  .product__visual .chip--a { left: 0; }
  .product__visual .chip--b { right: 0; }
  .principles .principle {
    grid-template-columns: 48px minmax(0, 1fr);
    row-gap: 0.6rem;
  }
  .principle p {
    grid-column: 2;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    background: rgba(255, 253, 249, 0.6);
  }
  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1rem;
  }
  .callout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .phone {
    --w: 27em;
    font-size: 9px;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-card,
  .asset-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-wordmark {
    font-size: 26vw;
  }
  .hero__meta {
    gap: 0.4rem 1rem;
  }
}

@media (max-width: 420px) {
  .phone {
    --w: 25em;
    font-size: 8.4px;
  }
  .brand {
    font-size: 1.35rem;
  }
  .hide-narrow {
    display: none;
  }
}

/* ---------- Print (legal pages) ---------- */
@media (max-width: 640px) {
  .hero .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  body::before,
  .site-header,
  .mobile-nav,
  .site-footer,
  .toc,
  .no-print {
    display: none !important;
  }
  .page-hero {
    padding-top: 0;
    padding-bottom: 1.2rem;
  }
  .legal-layout {
    margin-top: 0;
  }
  .legal-layout {
    display: block;
  }
  .prose {
    max-width: none;
  }
  .prose h2 {
    break-after: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ---------- Small utilities ---------- */
.text-link--spaced {
  margin-left: 1.2rem;
}
.about-copy__title {
  margin: 1.2rem 0 1.4rem;
}
.link-row {
  margin-top: 1.6rem;
}
.cta .eyebrow + h2 {
  margin-top: 1.1rem;
}
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
.blind__title {
  margin: 1.1rem 0 1.3rem;
}
.fine-print {
  margin-top: 1.6rem;
  font-size: 0.9rem;
}
.checklist--flush {
  margin-top: 0;
}

/* ---------- Status list (product page) ---------- */
.status-list {
  border-top: 1px solid var(--line);
}
.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.status-row h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.status-row p {
  font-size: 0.9rem;
  color: var(--muted);
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-tag--done {
  background: var(--teal-soft);
  color: #116b5b;
}
.status-tag--wip {
  background: var(--amber-soft);
  color: var(--amber);
}
.status-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  max-width: 70ch;
}

/* ---------- Coverage table ---------- */
.coverage {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  font-size: 0.92rem;
}
.coverage th,
.coverage td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.coverage th {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(231, 226, 255, 0.35);
}
.coverage tr:last-child td {
  border-bottom: 0;
}
.coverage td:first-child {
  font-weight: 600;
}
.yes,
.no {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.yes {
  background: var(--teal-soft);
  color: #116b5b;
}
.no {
  background: var(--paper-deep);
  color: var(--muted);
}

/* ---------- Small additions ---------- */
.lede-note {
  margin-top: 1.2rem;
}
.press-title {
  margin: 1rem 0 2rem;
}
.press-title--tight {
  margin-bottom: 0.8rem;
}
.hero__actions--center {
  justify-content: center;
}
.asset > span > span {
  display: block;
}
@media (max-width: 640px) {
  .coverage {
    font-size: 0.84rem;
  }
  .coverage th,
  .coverage td {
    padding: 0.75rem;
  }
  .status-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .coverage {
    display: block;
    border: 0;
    background: none;
    font-size: 0.95rem;
  }
  .coverage thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .coverage tbody,
  .coverage tr,
  .coverage td {
    display: block;
    width: auto;
  }
  .coverage tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    padding: 0.9rem 1rem;
    margin-bottom: 0.6rem;
  }
  .coverage td {
    border: 0;
    padding: 0;
  }
  .coverage td:first-child {
    font-weight: 600;
  }
  .coverage td:nth-child(2) {
    margin: 0.45rem 0 0.35rem;
  }
  .coverage td:nth-child(3) {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

.deletion-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  font-size: 0.9rem;
}

.deletion-table th,
.deletion-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.deletion-table th {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(231, 226, 255, 0.35);
}

.deletion-table tr:last-child td {
  border-bottom: 0;
}

.split__body h3 {
  margin: 2rem 0 0.7rem;
}

.split__body h3:first-child {
  margin-top: 0;
}

@media (max-width: 640px) {
  .deletion-table {
    display: block;
    border: 0;
    background: none;
    font-size: 0.95rem;
  }
  .deletion-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .deletion-table tbody,
  .deletion-table tr,
  .deletion-table td {
    display: block;
    width: auto;
  }
  .deletion-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    padding: 0.9rem 1rem;
    margin-bottom: 0.6rem;
  }
  .deletion-table td {
    border: 0;
    padding: 0.3rem 0;
  }
  .deletion-table td:first-child {
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
  }
  .deletion-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 0.1rem;
  }
}

/* RootStudio-first visual system: scoped to flagship and home. */
.tech-page { --paper:#0b1018; --paper-deep:#101824; --card:#141e2c; --ink:#f1f5fa; --ink-soft:#d2dce9; --muted:#a9b8ca; --muted-2:#9eafc3; --line:#293748; --line-strong:#40536a; --indigo:#8ee8ff; --indigo-deep:#b6f2ff; --teal:#65e6b1; background:var(--paper); color:var(--ink); }
.tech-page .site-header,.tech-page .mobile-nav {background:#0b1018; color:var(--ink);}
.tech-page .site-footer {background:#101824; color:var(--ink);}
.tech-page .btn--primary {background:#8ee8ff;color:#07131c;border-color:#8ee8ff;box-shadow:none;}
.tech-page .btn--primary:hover {background:#c0f5ff;color:#07131c;}
.tech-page .btn--ghost {color:#e3edf7;border-color:#40536a;background:transparent;}
.tech-page .display {font-family:var(--sans);font-weight:700;letter-spacing:-.055em;}
.tech-page .display em {color:#8ee8ff;font-style:normal;}
.tech-hero {padding:clamp(64px,9vw,130px) 0; background:radial-gradient(ellipse at 80% 20%,#17354a 0,transparent 55%),linear-gradient(160deg,#0b1018,#101927);border-bottom:1px solid var(--line);}
.tech-grid {display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(28px,5vw,76px);}
.tech-kicker,.tech-index,.tech-note {font-family:var(--mono);font-size:12px;letter-spacing:.045em;color:#a9b8ca;}
.tech-kicker {color:#8ee8ff;margin-bottom:24px;}
.live-dot {display:inline-block;width:8px;height:8px;background:#65e6b1;border-radius:50%;box-shadow:0 0 12px #65e6b1;margin-right:8px;}
.tech-hero h1 {font-family:var(--sans);font-size:clamp(48px,7vw,100px);font-weight:750;line-height:.98;letter-spacing:-.075em;margin:0 0 28px;}
.tech-hero h1 span {color:#8ee8ff;}
.tech-lede {font-size:clamp(17px,2vw,21px);color:#b8c7d9;max-width:34em;line-height:1.65;}
.tech-note {margin-top:22px;line-height:1.6;}
.tech-console {min-width:0;border:1px solid #40536a;border-radius:22px;background:#101824;box-shadow:0 24px 80px #0006;overflow:hidden;}
.console-bar {display:flex;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid #293748;font:11px var(--mono);color:#a9b8ca;}
.console-bar span:first-child {color:#65e6b1;letter-spacing:3px;}
.console-body {padding:clamp(20px,4vw,38px);}
.console-body img {border-radius:22px;margin-bottom:20px;}
.console-body h2 {font-size:clamp(24px,3vw,36px);letter-spacing:-.05em;margin-bottom:22px;}
.console-line {display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #293748;padding:14px 0;font:12px var(--mono);}
.console-line b {color:#65e6b1;font-size:11px;}.console-line small {color:#f3c77f;font-size:10px;text-align:right;}
.tech-heading {font-size:clamp(36px,5vw,64px);font-weight:700;letter-spacing:-.06em;line-height:1.08;margin-bottom:30px;}
.tech-bento {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.tech-tile {padding:clamp(22px,3vw,38px);border:1px solid #293748;border-radius:20px;background:linear-gradient(145deg,#172333,#101824);min-height:220px;}
.tech-wide {grid-column:span 2;}.tech-tile h3 {font-size:clamp(24px,3vw,36px);letter-spacing:-.045em;margin:18px 0 12px;}.tech-tile p {color:#b8c7d9;max-width:45em;}
.tech-code {margin-top:28px;font:12px var(--mono);color:#a9b8ca;}.tech-code span {color:#65e6b1;padding:0 8px;}
.tech-sync {display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;border:1px solid #293748;border-radius:28px;padding:clamp(24px,5vw,64px);background:radial-gradient(ellipse at 90% 30%,#183d40,transparent 70%),#101824;}
.tech-sync img {margin-bottom:18px;}.tech-sync-visual {display:flex;justify-content:center;min-width:0;}.tech-sync .text-link {display:inline-block;margin:16px 0;}
.tech-page .cta,.tech-page .status-card {background:#141e2c;color:var(--ink);border-color:var(--line);}.tech-page .product-hero__tagline {color:#8ee8ff;}
@media(max-width:760px){.tech-grid,.tech-sync{grid-template-columns:1fr;}.tech-bento{grid-template-columns:1fr;}.tech-wide{grid-column:auto;}.tech-tile{min-height:0;}.tech-sync-visual{overflow:hidden;}.tech-hero h1{font-size:clamp(46px,11vw,76px);}}

/* ==========================================================================
   Portfolio / Work
   The homepage work section is a deliberate light "gallery" inside the dark
   product page. The Work page uses the same components at a slower pace.
   ========================================================================== */

.work-section {
  --paper: #f7f4ee;
  --paper-deep: #efeae1;
  --card: #fffdf9;
  --ink: #12122a;
  --ink-soft: #2a2a4a;
  --muted: #5d5b73;
  --muted-2: #6b687f;
  --line: rgba(18, 18, 42, 0.12);
  --line-strong: rgba(18, 18, 42, 0.22);
  --indigo: #3436b8;
  --indigo-deep: #25278f;
  --lav: #e7e2ff;
  --lav-deep: #d5cdff;
  --teal: #0d8578;
  background: var(--paper);
  color: var(--ink);
  scroll-margin-top: 96px;
}

.work-section .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.work-section .btn--primary {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 10px 24px rgba(52, 54, 184, 0.18);
}

.work-section .btn--primary:hover {
  background: var(--indigo-deep);
  color: #fff;
  border-color: var(--indigo-deep);
}

.work-section .text-link {
  color: var(--indigo);
}

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.work-head h2 {
  margin-top: 1.2rem;
  max-width: 15ch;
}

.work-head__aside {
  justify-self: end;
  max-width: 46ch;
}

.work-head__note {
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.work-app {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.work-app::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--indigo);
}

.work-app--sync::before {
  background: var(--teal);
}

.work-app:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.work-app__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.work-app__top img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.work-app__type {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.3rem;
}

.work-app h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
}

.work-app p {
  color: var(--muted);
  max-width: 44ch;
  font-size: 0.95rem;
}

.work-app .text-link {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.86rem;
}

.work-app .text-link {
  color: var(--indigo);
}

.work-app--sync .text-link {
  color: var(--teal);
}

.work-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.work-gallery-head h3 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-top: 0.8rem;
}

.work-gallery-head__aside {
  justify-self: end;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.work-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  background: var(--ink);
  color: var(--paper);
  border-color: #293748;
}

.work-card__media {
  min-width: 0;
  background: #0b1018;
}

.work-card__video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b1018;
}

.work-card--feature .work-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.work-card__index {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ee8ff;
  margin-bottom: 1rem;
}

.work-card__title {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 0.45rem;
}

.work-card--feature .work-card__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--paper);
}

.work-card__meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.work-card--feature .work-card__meta {
  color: #8ee8ff;
}

.work-card__desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
  margin-bottom: 1rem;
}

.work-card--feature .work-card__desc {
  color: #b8c7d9;
  font-size: 0.98rem;
  max-width: 42ch;
}

.work-card--feature .text-link {
  color: #8ee8ff;
  margin-top: auto;
  font-size: 0.86rem;
}

.work-card__figure {
  position: relative;
  margin: 0;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.work-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work-card__figure--contain img {
  object-fit: contain;
  background: var(--paper-deep);
}

.work-card:hover .work-card__figure img {
  transform: scale(1.025);
}

.work-card__figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
}

.work-card__figure figcaption span:last-child {
  text-align: right;
  color: var(--ink-soft);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.15rem 1.3rem;
}

.work-card__body .text-link {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.82rem;
}

.work-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.work-more__note {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Work page ---------- */
.work-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.work-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.work-hero__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow-lg);
}

.work-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-hero__visual figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.work-hero__visual figcaption span {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(18, 18, 42, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.work-hero h1 {
  max-width: 14ch;
}

.work-intro {
  border-top: 1px solid var(--line);
}

.work-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.work-intro__grid > div p + p {
  margin-top: 1rem;
}

.work-apps--page {
  margin-bottom: 0;
}

.work-apps--page .work-app {
  min-height: 350px;
}

.work-art {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(213, 205, 255, 0.26), transparent 38%),
    var(--paper);
  border-top: 1px solid var(--line);
}

.work-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
}

.work-jump a {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.work-jump a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(52, 54, 184, 0.04);
}

.art-list {
  display: grid;
  gap: clamp(3.5rem, 8vw, 7rem);
}

.art-piece {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  scroll-margin-top: 100px;
}

.art-piece--reverse .art-piece__media {
  order: 2;
}

.art-piece__media {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  align-content: start;
  align-self: center;
}

.art-piece__main {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow-md);
}

.art-piece__main img,
.art-piece__main video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-piece__main--wide {
  aspect-ratio: 16 / 9;
}

.art-piece__main--portrait {
  aspect-ratio: 3 / 4;
}

.art-piece__main--square {
  aspect-ratio: 1;
}

.art-piece__main--contain {
  padding: clamp(0.75rem, 1.6vw, 1.25rem);
}

.art-piece__main--contain img {
  object-fit: contain;
  background: var(--paper-deep);
}

.art-piece__main figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.art-piece__main figcaption span {
  background: rgba(18, 18, 42, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.art-piece__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}

.art-piece__thumbs--single {
  grid-template-columns: minmax(0, 0.62fr);
}

.art-piece__thumbs img {
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
}

.art-piece__copy {
  min-width: 0;
}

.art-piece__copy h2 {
  margin: 0.55rem 0 0.9rem;
}

.art-piece__copy .lede {
  margin-bottom: 1.1rem;
}

.art-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.art-meta dt {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.art-meta dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 500;
}

.art-piece__copy p + p {
  margin-top: 1rem;
}

.art-note {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 0 1rem;
}

.art-note summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.art-note p {
  padding-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.art-video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.work-cta .cta__title {
  max-width: 14ch;
}

@media (max-width: 1080px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-card--feature {
    grid-column: 1 / -1;
  }
  .work-head,
  .work-gallery-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .art-piece {
    gap: clamp(1.5rem, 4vw, 3rem);
  }
  .work-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }
}

@media (max-width: 900px) {
  .work-head,
  .work-gallery-head,
  .work-intro__grid,
  .work-hero__grid,
  .art-piece,
  .art-piece--reverse {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-head__aside,
  .work-gallery-head__aside {
    justify-self: start;
  }
  .work-apps {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-card--feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-card__video {
    min-height: 0;
  }
  .art-piece--reverse .art-piece__media {
    order: 0;
  }
  .art-piece__media {
    max-width: 760px;
  }
  .work-hero__visual {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-card__figure img {
    aspect-ratio: 1;
  }
  .work-card--feature .work-card__body {
    padding: 1.4rem;
  }
  .work-card__body {
    padding: 1rem 1rem 1.15rem;
  }
  .work-app {
    min-height: 0;
  }
  .art-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .art-piece__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .art-piece__thumbs--single {
    grid-template-columns: minmax(0, 0.72fr);
  }
  .art-piece__main figcaption {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    font-size: 0.5rem;
  }
  .work-jump {
    gap: 0.35rem;
  }
  .work-jump a {
    font-size: 0.54rem;
  }
}

/* ==========================================================================
   Homepage 2026 — studio index
   Apps lead; the object collection remains a full, first-class section.
   ========================================================================== */

.home-page .site-header {
  background: rgba(247, 244, 238, 0.9);
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(213, 205, 255, 0.5), transparent 38%),
    radial-gradient(ellipse at 4% 90%, rgba(13, 133, 120, 0.06), transparent 34%),
    var(--paper);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 18, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 42, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: center;
}

.home-hero__title {
  max-width: 12ch;
  margin: 1rem 0 1.4rem;
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.home-hero__title span {
  display: block;
  margin-top: 0.08em;
  color: var(--indigo);
  font-style: italic;
  letter-spacing: -0.03em;
}

.home-hero__lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.home-hero__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-hero__note .live-dot {
  width: 6px;
  height: 6px;
  flex: none;
}

.hero-board {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}

.hero-app {
  position: relative;
  display: block;
  padding: 1.25rem 1.35rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hero-app--root {
  color: var(--paper);
  border-color: #2a2a50;
  background:
    radial-gradient(circle at 100% 0%, rgba(82, 84, 255, 0.34), transparent 44%),
    linear-gradient(150deg, #171735 0%, #12122a 68%);
  box-shadow: 0 26px 50px -32px rgba(18, 18, 42, 0.62);
}

.hero-app--sync {
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 133, 120, 0.1), transparent 42%),
    var(--card);
  box-shadow: var(--shadow-sm);
}

.hero-app:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(52, 54, 184, 0.32);
}

.hero-app--root:hover {
  border-color: rgba(142, 232, 255, 0.36);
}

.hero-app__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-app__top img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: none;
  box-shadow: var(--shadow-sm);
}

.hero-app__meta {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-app--root .hero-app__meta {
  color: #9aa8be;
}

.hero-app__status {
  margin-left: auto;
  padding: 0.28rem 0.52rem;
  border: 1px solid rgba(13, 133, 120, 0.25);
  border-radius: 999px;
  background: rgba(13, 133, 120, 0.07);
  font-family: var(--mono);
  font-size: 0.49rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.hero-app--root .hero-app__status {
  border-color: rgba(99, 214, 199, 0.32);
  background: rgba(99, 214, 199, 0.1);
  color: #8ee8d8;
}

.hero-app h2 {
  margin: 0.9rem 0 0.3rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-app p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-app--root p {
  color: #b8c7d9;
}

.hero-app__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.95rem;
  padding-right: 1.6rem;
}

.hero-app__chips span {
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.49rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero-app--root .hero-app__chips span {
  border-color: rgba(247, 244, 238, 0.16);
  color: #b8c7d9;
}

.hero-app__arrow {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  color: var(--indigo);
  opacity: 0.7;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hero-app--root .hero-app__arrow {
  color: #8ee8ff;
}

.hero-app:hover .hero-app__arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

.hero-app__arrow svg {
  width: 18px;
  height: 18px;
}

.hero-objects {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hero-objects:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 54, 184, 0.28);
  box-shadow: var(--shadow-md);
}

.hero-objects__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.hero-objects__rail img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-deep);
  transition: transform 0.5s var(--ease);
}

.hero-objects:hover .hero-objects__rail img {
  transform: scale(1.035);
}

.hero-objects__text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.3rem 0.45rem 0.3rem 0;
}

.hero-objects__kicker {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-objects__text strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-objects__text .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
  color: var(--indigo);
  font-size: 0.72rem;
}

.hero-objects__text .text-link svg {
  width: 13px;
  height: 13px;
}

.home-apps {
  background: var(--paper);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-section-head h2 {
  max-width: 13ch;
  margin-top: 1rem;
}

.home-section-head__aside {
  max-width: 50ch;
  justify-self: end;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  margin-top: 1rem;
}

.app-feature--root {
  color: var(--paper);
  border-color: #29294f;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(52, 54, 184, 0.4), transparent 48%),
    linear-gradient(145deg, #171735 0%, #101024 72%);
  box-shadow: 0 40px 70px -55px rgba(18, 18, 42, 0.8);
}

.app-feature--sync {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(13, 133, 120, 0.1), transparent 42%),
    radial-gradient(ellipse at 96% 88%, rgba(52, 54, 184, 0.1), transparent 42%),
    var(--card);
  box-shadow: var(--shadow-sm);
}

.app-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3.6rem);
}

.app-feature__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-feature__brand img {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.app-feature__kicker {
  margin-bottom: 0.2rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9aa8be;
}

.app-feature--sync .app-feature__kicker {
  color: var(--muted);
}

.app-feature__brand h3 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.app-feature__tagline {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #d5cdff;
}

.app-feature--sync .app-feature__tagline {
  color: var(--indigo);
}

.app-feature__desc {
  max-width: 48ch;
  margin-top: 0.9rem;
  color: #b8c7d9;
  font-size: 0.94rem;
  line-height: 1.65;
}

.app-feature--sync .app-feature__desc {
  color: var(--muted);
}

.app-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
  list-style: none;
}

.app-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #aab8ca;
}

.app-feature--sync .app-list li {
  color: var(--muted);
}

.app-list svg {
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  color: #8ee8ff;
}

.app-feature--sync .app-list svg {
  color: var(--teal);
}

.app-list strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-feature--sync .app-list strong {
  color: var(--ink);
}

.app-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.3rem;
  margin-top: 1.8rem;
}

.app-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8ee8ff;
  font-size: 0.8rem;
  text-underline-offset: 0.24em;
}

.app-feature__link--teal {
  color: var(--teal);
}

.app-feature__link svg {
  width: 14px;
  height: 14px;
}

.app-feature__note {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7f8ca3;
}

.app-feature--sync .app-feature__note {
  color: var(--muted-2);
}

.app-feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2.4rem);
  background: radial-gradient(ellipse at 50% 50%, rgba(52, 54, 184, 0.14), transparent 68%);
}

.app-feature--root .app-feature__visual {
  border-left: 1px solid rgba(247, 244, 238, 0.08);
}

.app-feature--sync .app-feature__visual {
  order: -1;
  border-right: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, rgba(13, 133, 120, 0.08), transparent 68%);
}

.device-panel {
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid #2c2c4a;
  border-radius: 18px;
  background: #0b0b18;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}

.device-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #26263f;
  background: #151527;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9aa5bb;
  white-space: nowrap;
}

.device-panel__lights {
  display: inline-flex;
  gap: 0.28rem;
  flex: none;
}

.device-panel__lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
}

.device-panel__lights i:nth-child(2) {
  background: #ffd166;
}

.device-panel__lights i:nth-child(3) {
  background: #4ecdc4;
}

.device-panel__conn {
  margin-left: auto;
  color: #63d6c7;
}

.device-panel__body {
  padding: 1rem;
}

.device-panel__device {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #26263f;
  border-radius: 12px;
  background: #141425;
}

.device-panel__device img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
}

.device-panel__device div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.device-panel__device span {
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b96ad;
}

.device-panel__device strong {
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.device-panel__badge {
  margin-left: auto;
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(99, 214, 199, 0.34);
  border-radius: 999px;
  color: #63d6c7;
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.device-panel__rows {
  margin-top: 0.8rem;
  border-top: 1px solid #26263f;
}

.device-panel__rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.56rem 0;
  border-bottom: 1px solid #1e1e35;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.03em;
  color: #9aa5bb;
}

.device-panel__rows b {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #8ee8ff;
  font-weight: 500;
  white-space: nowrap;
}

.device-panel__rows b svg {
  width: 11px;
  height: 11px;
}

.device-panel__rows em {
  color: #7d88a0;
  font-style: normal;
  white-space: nowrap;
}

.device-panel__log {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #26263f;
  border-radius: 10px;
  background: #070711;
  font-family: var(--mono);
  font-size: 0.56rem;
  line-height: 1.7;
  color: #9fb0c6;
}

.device-panel__log .is-ok {
  color: #63d6c7;
}

.device-panel__note {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.04em;
  color: #7d88a0;
}

.sync-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  min-height: 590px;
  padding: 2rem 1rem 3rem;
  overflow: hidden;
  border: 1px solid #26264a;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 14%, rgba(13, 133, 120, 0.24), transparent 40%),
    radial-gradient(circle at 86% 88%, rgba(52, 54, 184, 0.35), transparent 44%),
    #0d0d20;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.sync-stage::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(213, 205, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(213, 205, 255, 0.025), 0 0 0 86px rgba(213, 205, 255, 0.018);
  pointer-events: none;
}

.sync-stage__phone {
  position: relative;
  z-index: 2;
}

.sync-stage .phone {
  font-size: 8.3px;
}

.sync-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 0.49rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.sync-float svg {
  width: 12px;
  height: 12px;
  color: var(--teal);
}

.sync-float--wifi {
  top: 12%;
  left: 5%;
}

.sync-float--lock {
  right: 5%;
  bottom: 17%;
}

.sync-stage__note {
  position: absolute;
  bottom: 0.95rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8ea0b6;
  text-align: center;
}

/* ---------- Homepage object gallery ---------- */
.home-objects {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-objects .work-gallery-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.work-gallery-head h2 {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.work-gallery-head__note {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-objects .work-grid {
  gap: 1.1rem;
}

.home-objects .work-card {
  background: var(--card);
}

.home-objects .work-card__desc {
  font-size: 0.88rem;
}

.home-objects .work-card--feature {
  box-shadow: 0 30px 55px -42px rgba(18, 18, 42, 0.65);
}

.work-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--paper);
  border-color: #2a2a4a;
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 54, 184, 0.42), transparent 52%),
    linear-gradient(155deg, #1a1a3a, #12122a);
}

.work-card--cta .work-card__index {
  color: #b8a9ff;
}

.work-card--cta .work-card__title {
  margin-top: 0.55rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.work-card--cta .work-card__desc {
  color: #b8c7d9;
}

.work-card--cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

.work-card__inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: 0.9rem;
  color: #8ee8ff;
  font-size: 0.76rem;
  text-underline-offset: 0.24em;
}

.work-card__inquiry svg {
  width: 13px;
  height: 13px;
}

.home-objects__note {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.home-objects__note a {
  color: var(--indigo);
  text-underline-offset: 0.2em;
}

.home-page .cta__title {
  max-width: 18ch;
}

.cta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--indigo);
  font-size: 0.86rem;
  text-underline-offset: 0.24em;
}

.cta__secondary svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1180px) {
  .home-page .nav__links a {
    padding-inline: 0.62rem;
    font-size: 0.84rem;
  }

  .home-page .nav {
    gap: 1.25rem;
  }
}

@media (max-width: 1080px) {
  .home-hero__grid {
    gap: 2.5rem;
  }

  .home-hero__title {
    font-size: clamp(3.1rem, 6vw, 5rem);
  }

  .app-feature__copy {
    padding: 2.5rem;
  }

  .device-panel__bar {
    font-size: 0.46rem;
  }

  .sync-stage {
    min-height: 560px;
  }

  .sync-stage .phone {
    font-size: 7.9px;
  }
}

@media (max-width: 900px) {
  .home-hero {
    padding-block: 2.75rem 4rem;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__title {
    max-width: 14ch;
  }

  .home-hero__lede {
    max-width: 62ch;
  }

  .hero-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 760px;
  }

  .hero-objects {
    grid-column: 1 / -1;
  }

  .home-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .home-section-head__aside {
    justify-self: start;
    max-width: 62ch;
    padding-left: 0;
    border-left: 0;
  }

  .app-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-feature__copy {
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  .app-feature__visual {
    padding: 1.25rem 1.5rem 1.75rem;
  }

  .app-feature--root .app-feature__visual {
    border-left: 0;
    border-top: 1px solid rgba(247, 244, 238, 0.08);
  }

  .app-feature--sync .app-feature__visual {
    order: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .device-panel {
    max-width: 560px;
  }

  .sync-stage {
    max-width: 560px;
  }

  .sync-stage .phone {
    font-size: 8.2px;
  }

  .home-objects .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-objects .work-card--feature {
    grid-column: 1 / -1;
  }

  .work-card--cta {
    grid-column: 1 / -1;
  }

  .work-card--cta .btn {
    margin-top: 1.2rem;
  }
}

@media (max-width: 720px) {
  .home-objects .work-card--feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card__video {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .home-hero__title {
    font-size: clamp(2.75rem, 12vw, 3.7rem);
  }

  .home-hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .home-hero__note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .hero-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-app {
    padding: 1.05rem 1.1rem 1.1rem;
  }

  .hero-app__status {
    margin-left: 0;
  }

  .hero-app h2 {
    font-size: 1.55rem;
  }

  .hero-objects {
    grid-column: auto;
  }

  .hero-objects__rail img {
    height: 64px;
  }

  .app-feature {
    border-radius: 22px;
  }

  .app-feature__copy {
    padding: 1.4rem 1.25rem 1.5rem;
  }

  .app-feature__brand img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .app-feature__brand h3 {
    font-size: 1.9rem;
  }

  .app-feature__tagline {
    margin-top: 1.1rem;
    font-size: 1.35rem;
  }

  .app-feature__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .app-feature__link {
    margin-inline: auto;
  }

  .app-feature__visual {
    padding: 1rem 1rem 1.4rem;
  }

  .device-panel__bar {
    gap: 0.4rem;
    font-size: 0.42rem;
  }

  .device-panel__conn {
    display: none;
  }

  .device-panel__body {
    padding: 0.75rem;
  }

  .device-panel__rows div {
    font-size: 0.51rem;
  }

  .device-panel__rows b {
    font-size: 0.49rem;
  }

  .sync-stage {
    min-height: 500px;
    padding: 1.5rem 0.5rem 2.8rem;
  }

  .sync-stage .phone {
    font-size: 7.2px;
  }

  .sync-float {
    font-size: 0.44rem;
    padding: 0.32rem 0.45rem;
  }

  .sync-float--wifi {
    left: 3%;
  }

  .sync-float--lock {
    right: 3%;
  }

  .sync-stage__note {
    font-size: 0.43rem;
  }

  .home-objects .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card--cta {
    grid-column: auto;
  }

  .work-card__video {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-app,
  .hero-objects,
  .hero-app__arrow,
  .hero-objects__rail img {
    transition: none;
  }
}

/* Homepage refinements — object feature cards keep their dark surfaces */
.home-objects .work-card--feature {
  color: var(--paper);
  border-color: #293748;
  background: var(--ink);
}

.home-objects .work-card--cta {
  color: var(--paper);
  border-color: #2a2a4a;
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 54, 184, 0.42), transparent 52%),
    linear-gradient(155deg, #1a1a3a, #12122a);
}

.device-stack {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  max-width: 480px;
}

.device-stack .device-panel {
  max-width: none;
}

.device-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #2c2c4a;
  border-radius: 12px;
  background: rgba(20, 20, 37, 0.7);
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa5bb;
  white-space: nowrap;
}

.device-flow span {
  padding: 0.28rem 0.4rem;
  border: 1px dashed #34345a;
  border-radius: 999px;
}

.device-flow svg {
  width: 11px;
  height: 11px;
  flex: none;
  color: #63d6c7;
}

.device-quote {
  padding: 0.85rem 1rem;
  border-left: 2px solid #8ee8ff;
  border-radius: 0 10px 10px 0;
  background: rgba(20, 20, 37, 0.55);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  line-height: 1.25;
  color: #d5cdff;
}

.device-quote span {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--mono);
  font-size: 0.46rem;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8b96ad;
}

@media (max-width: 1080px) {
  .device-stack {
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .device-stack {
    max-width: none;
  }

  .device-flow {
    gap: 0.3rem;
    font-size: 0.42rem;
  }

  .device-flow span {
    padding-inline: 0.32rem;
  }

  .device-quote {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .sync-float {
    display: none;
  }
}

@media (max-width: 480px) {
  .mobile-nav__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

@media (max-width: 1180px) {
  .sync-float {
    display: none;
  }
}
