@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --surface: #f2f3f6;
  --surface-strong: #e7e9ef;
  --muted: #61636b;
  --royal: #0b1d66;
  --royal-ui: #4169e1;
  --pink: #ff2e88;
  --violet: #7457ff;
  --night: #050506;
  --charcoal: #1c1c1f;
  --text-dark-primary: #f5f5f7;
  --text-dark-secondary: #c7c8d0;
  --text-dark-tertiary: #9b9ca6;
  --text-dark-accent: #c5beff;
  --text-light-primary: #111114;
  --text-light-secondary: #4e5057;
  --line: rgba(0, 0, 0, .13);
  --line-dark: rgba(255, 255, 255, .24);
  --shell: min(100% - 64px, 1240px);
  --radius: 24px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 17px/1.5 "Inter", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
::selection { color: var(--ink); background: var(--pink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  border-radius: 8px;
  background: var(--royal);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
}

.shell { width: var(--shell); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-lockup { display: block; width: auto; height: 40px; }

.desktop-nav { display: flex; align-items: center; gap: 34px; }

.desktop-nav a {
  position: relative;
  padding: 25px 0 23px;
  font-size: 13px;
  font-weight: 540;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--royal-ui);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.desktop-nav a:hover::after { background: var(--royal-ui); }

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
}

.header-contact::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--pink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  z-index: 850;
  inset: 0;
  display: none;
  padding: 104px 24px 28px;
  color: #fff;
  background: var(--royal);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 30px;
  font-weight: 520;
  letter-spacing: -.04em;
}

.mobile-nav a::after { color: var(--pink); font-size: 15px; content: "↗"; }
.mobile-nav-meta { margin-top: 40px; color: rgba(255,255,255,.68); font-size: 13px; }

/* Type and actions */
.eyebrow { display: none; }

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.display, .h1, .h2, .h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.055em;
}

.hero-copy,
.page-hero-title,
.page-hero-meta > *,
.manifesto-copy,
.quote-block blockquote {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.display { font-size: clamp(50px, 6.5vw, 86px); line-height: .98; }
.h1 { font-size: clamp(48px, 6vw, 76px); line-height: 1; }
.h2 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.04; }
.h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.08; }

.display em, .h1 em, .h2 em {
  color: var(--royal);
  font: inherit;
  font-style: normal;
}

.dark .h1 em, .cta .h2 em { color: var(--pink); }

.lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.body-large {
  max-width: 720px;
  margin: 0;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  letter-spacing: -.015em;
}

.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  min-height: 48px;
  gap: 24px;
  padding: 12px 17px;
  color: #fff;
  border: 1px solid var(--royal);
  border-radius: 12px;
  background: var(--royal);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.button::after { content: "↗"; font-size: 16px; }
.button:hover { color: var(--ink); border-color: var(--pink); background: var(--pink); transform: translateY(-1px); }

.button-dark { color: var(--royal); border-color: #fff; background: #fff; }
.button-dark:hover { color: var(--ink); border-color: var(--pink); background: var(--pink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--royal);
  font-size: 14px;
  font-weight: 600;
}

.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover { color: var(--pink); }
.text-link:hover::after { transform: translateX(3px); }

/* Home */
.hero { padding: 72px 0 80px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 72px;
  align-items: center;
}

.hero-copy { max-width: 720px; }
.hero-copy .lead { margin-top: 28px; max-width: 630px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }

.hero-media {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.hero-media::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  content: "";
  border: 2px solid var(--pink);
  border-radius: 14px;
}

.hero-media-caption {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 12px;
  padding: 8px 11px;
  color: #fff;
  border-radius: 10px;
  background: rgba(0,0,0,.66);
  font-size: 13px;
  font-weight: 550;
  backdrop-filter: blur(8px);
}

.hero-media-caption span + span::before { margin-right: 12px; color: var(--pink); content: "·"; }

.manifesto { padding: 92px 0; background: var(--paper); }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.manifesto-copy { grid-column: auto; }
.manifesto-copy .body-large { margin: 0; color: var(--muted); }
.manifesto-note { align-self: start; margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.service-index { padding: 92px 0; background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 0 0 40px;
}

.section-head .h2 { grid-column: 1; }
.section-head .text-link { grid-column: 2; justify-self: end; }

.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.service-rows { border-right: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-height: 183px;
  padding: 42px 30px 38px;
  border-bottom: 1px solid var(--line);
  transition: color .2s, background .2s;
}

.service-row:last-child { border-bottom: 0; }
.service-row:hover, .service-row.active { color: #fff; background: var(--royal); }
.service-number { align-self: start; padding-top: 6px; color: var(--royal); font-size: 12px; font-weight: 650; opacity: .76; }
.service-row:hover .service-number, .service-row.active .service-number { color: var(--pink); }
.service-content { min-width: 0; }

.service-row h3 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.service-row .service-subtitle { margin: 10px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.35; letter-spacing: .015em; }
.service-row .service-description { width: 82%; max-width: 480px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.service-row-next { align-items: center; padding-top: 28px; padding-bottom: 28px; }
.service-row-next p { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.service-row:hover p, .service-row.active p { color: rgba(255,255,255,.76); }
.service-row:hover .service-subtitle, .service-row.active .service-subtitle { color: #fff; }
.service-arrow { font-size: 22px; }
.service-thumb { display: none; }

.service-visual { position: relative; min-height: 100%; overflow: hidden; margin: 0; background: var(--ink); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: opacity .2s; }
.service-visual img.switching { opacity: .35; }
.service-visual-label { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; padding: 9px 11px; color: #fff; border-radius: 10px; background: rgba(0,0,0,.68); font-size: 12px; backdrop-filter: blur(8px); }

.operating-system { padding: 92px 0; color: var(--ink); background: #fff; }

.os-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  padding-bottom: 46px;
}

.os-intro .h2 { grid-column: 1; }
.os-intro .body-large { grid-column: 2; margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }

.step {
  min-height: 210px;
  padding: 26px 26px 8px 0;
  border-right: 1px solid var(--line);
}

.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step-no { color: var(--royal); font-size: 14px; font-weight: 650; }
.step h3 { margin: 44px 0 10px; font-size: 25px; font-weight: 600; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.future-strip { display: none; }

.cta { padding: 28px 0 92px; background: #fff; }

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  gap: 64px;
  padding: 60px;
  color: #fff;
  border-radius: 30px;
  background: var(--royal);
}

.cta .h2 { font-size: clamp(38px, 4vw, 54px); }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.cta-side p { max-width: 360px; margin: 0; color: rgba(255,255,255,.76); }

/* Page heroes and catalogs */
.page-hero { padding: 94px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero-grid { max-width: 980px; }
.page-hero-title { padding-top: 0; }
.page-hero-meta { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: end; margin-top: 36px; }
.page-hero-meta .small { margin: 0; color: var(--muted); font-size: 15px; }
.page-hero.dark { color: #fff; border-color: transparent; background: var(--royal); }
.page-hero.dark .page-hero-meta .small { color: rgba(255,255,255,.7); }

.service-catalog { padding: 72px 0 92px; }

.catalog-card {
  display: grid;
  grid-template-columns: 52px minmax(160px,.75fr) 180px minmax(260px,1.25fr) 48px;
  gap: 32px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.catalog-card:last-child { border-bottom: 1px solid var(--line); }
.catalog-card .number { color: var(--royal); font-size: 14px; font-weight: 650; }
.catalog-card h2 { margin: 0; font-size: clamp(32px, 3.5vw, 48px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.catalog-image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; background: var(--charcoal); }
.catalog-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.06); }
.catalog-info p { max-width: 560px; margin: 0 0 20px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 0; padding: 0; list-style: none; }
.tag-list li { color: var(--royal); font-size: 13px; font-weight: 550; }
.tag-list li:not(:last-child)::after { margin-left: 16px; color: var(--pink); content: "·"; }

.catalog-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  color: var(--royal);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition: color .2s, background .2s;
}
.catalog-card .catalog-link { grid-column: 5; }

.catalog-link:hover { color: #fff; border-color: var(--royal); background: var(--royal); }
.coming-card { color: #7a7c83; }
.coming-card h2 { color: #7a7c83; }

/* Service details */
.service-detail-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 680px; border-bottom: 1px solid var(--line); }

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px clamp(40px, 4vw, 72px) 76px max(32px, calc((100vw - 1240px) / 2));
}

.detail-copy .h1 { margin: 0 0 42px; }
.detail-meta { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.detail-meta p { margin: 0; }
.detail-meta .lead { max-width: 580px; }
.detail-meta .muted { max-width: 560px; line-height: 1.55; }
.detail-site-button { align-self: flex-start; min-width: 220px; margin-top: 30px; }

.detail-visual { position: relative; min-height: 680px; overflow: hidden; margin: 0; background: var(--ink); }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.detail-visual::after { position: absolute; right: 20px; bottom: 20px; width: 58px; height: 58px; content: ""; border: 2px solid var(--pink); border-radius: 15px; }

.detail-section { padding: 88px 0; }
.detail-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 72px; align-items: end; }
.detail-intro .body-large { grid-column: 1; }
.detail-intro .detail-aside { grid-column: 2; margin: 0; color: var(--muted); font-size: 15px; }

.deliverables { padding: 0 0 88px; }
.deliverables .section-head { padding-bottom: 28px !important; }

.deliverable-row {
  display: grid;
  grid-template-columns: 52px 1fr 1.5fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.deliverable-row:last-child { border-bottom: 1px solid var(--line); }
.deliverable-row .number { color: var(--royal); font-size: 14px; font-weight: 650; }
.deliverable-row h3 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.deliverable-row p { max-width: 620px; margin: 0; color: var(--muted); }

.dark-block { padding: 88px 0; color: var(--ink); background: var(--surface); }
.dark-block-grid { display: block; max-width: 980px; }
.dark-block-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: end; }
.dark-block-copy p { max-width: 560px; margin: 0; color: var(--muted); }
.dark-block-copy .button { width: fit-content; }

/* About */
.quote-block { padding: 88px 0; border-bottom: 1px solid var(--line); }
.quote-block blockquote { max-width: 980px; margin: 0 0 28px; font-size: clamp(34px, 4.5vw, 58px); font-weight: 560; line-height: 1.08; letter-spacing: -.045em; }
.quote-block cite { color: var(--muted); font-size: 14px; font-style: normal; }

.values { padding: 88px 0; }
.values .h2 { margin-top: 0 !important; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.value { min-height: 240px; padding: 26px 30px 8px 0; border-right: 1px solid var(--line); }
.value + .value { padding-left: 30px; }
.value:last-child { border-right: 0; }
.value .number { color: var(--royal); font-size: 14px; font-weight: 650; }
.value h3 { margin: 48px 0 12px; font-size: 25px; font-weight: 600; letter-spacing: -.035em; }
.value p { margin: 0; color: var(--muted); }

/* Contact */
.contact-main { display: grid; grid-template-columns: .9fr 1.1fr; min-height: calc(100vh - 72px); }

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(48px, 6vw) 70px max(32px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: var(--royal);
}

.contact-intro .h1 { margin: 0 0 64px; }
.contact-intro .h1 em { color: var(--pink); }
.contact-details { display: grid; gap: 9px; max-width: 480px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.contact-details a { width: fit-content; font-size: 20px; font-weight: 600; }

.contact-form-wrap { padding: 70px max(32px, calc((100vw - 1240px) / 2)) 70px max(48px, 6vw); }
.contact-form-wrap > .h3 { margin: 0; }
.contact-form { margin-top: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #c8cad1;
  border-radius: 10px;
  outline: 0;
  background: #fff;
}

.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(11,29,102,.12); }

.check-field { display: flex; gap: 11px; align-items: flex-start; margin: 28px 0; color: var(--muted); font-size: 13px; }
.check-field input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--royal); }
.check-field a { color: var(--royal); text-decoration: underline; }
.form-status { min-height: 22px; margin: 14px 0 0; font-size: 14px; }
.form-note { margin: 32px 0 0; color: var(--muted); font-size: 12px; }

/* Utility page */
.not-found { min-height: calc(100vh - 72px); display: flex; align-items: center; }

/* Legal */
.legal { padding: 70px 0 92px; }
.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; gap: 48px; }
.legal-nav { position: sticky; top: 110px; align-self: start; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.legal-nav a:hover { color: var(--royal); }
.legal-content h2 { margin: 56px 0 16px; font-size: 27px; font-weight: 650; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-light-secondary); }
.legal-content li + li { margin-top: 8px; }
.legal-note { align-self: start; padding: 18px; color: var(--royal); border-radius: 12px; background: #e8ebf7; font-size: 13px; }
.placeholder { padding: 2px 4px; color: var(--royal); border-radius: 4px; background: #e8ebf7; }

/* Footer */
.site-footer { padding: 60px 0 26px; color: #fff; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 54px; }
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-logo-box { display: grid; width: 60px; height: 60px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: #fff; }
.footer-logo-box img { width: 38px; height: 38px; }
.footer-brand p { max-width: 280px; margin: 0; color: var(--text-dark-secondary); font-size: 14px; }
.footer-col h3 { margin: 0 0 14px; color: var(--text-dark-tertiary); font-size: 13px; font-weight: 600; }
.footer-col a { display: block; width: fit-content; min-height: 30px; font-size: 14px; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 20px; color: var(--text-dark-tertiary); border-top: 1px solid #29292c; font-size: 12px; line-height: 1.6; }

.reveal { opacity: 1; transform: none; }

/* Dense, immersive direction */
html { background: var(--night); }
body { color: #f5f5f7; background: var(--night); }

.site-header {
  color: #f5f5f7;
  border-color: rgba(255,255,255,.14);
  background: rgba(5,5,6,.86);
}

.brand-lockup { filter: invert(1); }

.hero {
  position: relative;
  min-height: 780px;
  padding: 52px 0 0;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 72% 24%, rgba(116,87,255,.24), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(255,46,136,.1), transparent 25%),
    var(--night);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 20vw 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero-grid { position: relative; display: block; min-height: 728px; }
.hero-copy { position: relative; z-index: 3; width: min(64%, 800px); padding-top: 44px; }
.hero .display { max-width: 850px; font-size: clamp(58px, 7.2vw, 104px); }
.hero .display { text-shadow: 0 3px 28px rgba(0,0,0,.58); }
.hero .display em {
  color: var(--violet);
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy .lead { max-width: 570px; color: var(--text-dark-secondary); }
.hero-actions .text-link { color: var(--text-dark-accent); }

.hero-media {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 58%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: visible;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.hero-mark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.hero-mark-image {
  opacity: .9;
  filter: grayscale(1) contrast(1.18) brightness(.72);
}

.hero-media::before, .hero-media::after { display: none; }
.hero-media-caption { z-index: 4; top: auto; right: 18px; bottom: 18px; left: auto; border-radius: 0; }

.manifesto { padding: 76px 0; color: #f5f5f7; background: #101012; }
.manifesto-copy .body-large { color: var(--text-dark-secondary); }
.manifesto-note { color: var(--text-dark-tertiary); }

.service-index { padding: 76px 0 84px; color: #f5f5f7; background: var(--charcoal); }
.section-head .text-link { color: var(--text-dark-accent); }
.service-showcase { min-height: 592px; border: 1px solid rgba(255,255,255,.15); border-radius: 0; background: var(--night); box-shadow: none; }
.service-rows { border-color: rgba(255,255,255,.15); }
.service-row { min-height: 148px; border-color: rgba(255,255,255,.15); }
.service-number { color: var(--text-dark-accent); }
.service-row p { color: var(--text-dark-tertiary); }
.service-row .service-subtitle { color: var(--text-dark-secondary); }
.service-row:hover, .service-row.active { background: linear-gradient(115deg, var(--royal), #37298f); }
.service-row:hover .service-number, .service-row.active .service-number { color: var(--pink); }
.service-visual-label { border-radius: 0; }

.operating-system { padding: 80px 0; color: #f5f5f7; background: var(--royal); }
.os-intro .body-large { color: var(--text-dark-secondary); }
.steps, .step, .step:nth-child(3), .step:nth-child(4) { border-color: rgba(255,255,255,.2); }
.step-no { color: var(--text-dark-accent); }
.step p { color: var(--text-dark-secondary); }

.cta { padding: 0 0 80px; background: var(--royal); }
.cta-grid {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  background: var(--night);
}
.cta-grid::after {
  position: absolute;
  z-index: 2;
  top: -22px;
  right: -22px;
  bottom: auto;
  width: 150px;
  height: 150px;
  content: "";
  background: linear-gradient(135deg, var(--violet), var(--pink));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 70% 30%, 0 30%);
  opacity: .9;
}
.cta .h2 { position: relative; z-index: 1; }
.cta-side { position: relative; z-index: 1; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  color: #f5f5f7;
  border-color: rgba(255,255,255,.14);
  background: var(--night);
}
.page-hero::before,
.page-hero::after { display: none; }
.page-hero-grid { position: relative; z-index: 1; }
.page-hero .h1 em { color: var(--violet); }
.page-hero-meta .small { color: var(--text-dark-tertiary); }
.page-hero.dark { color: #fff; background: linear-gradient(120deg, var(--royal), #24175f); }
.page-hero.dark .h1 em { color: var(--pink); }

.service-catalog { padding: 56px 0 76px; color: #f5f5f7; background: var(--night); }
.catalog-card { border-color: rgba(255,255,255,.17); }
.catalog-card:last-child { border-color: rgba(255,255,255,.17); }
.catalog-card .number, .tag-list li { color: var(--text-dark-accent); }
.catalog-info p { color: var(--text-dark-secondary); }
.catalog-link { color: var(--text-dark-accent); border-color: rgba(255,255,255,.2); }
.catalog-link:hover { background: var(--violet); }
.coming-card, .coming-card h2 { color: #777780; }

.service-detail-hero { color: #f5f5f7; border-color: rgba(255,255,255,.14); background: var(--night); }
.detail-copy .h1 em { color: var(--violet); }
.detail-meta { border-color: rgba(255,255,255,.17); }
.detail-copy .muted { color: var(--text-dark-tertiary); }
.detail-visual::after { border-radius: 0; }

.detail-section { color: #f5f5f7; background: #101012; }
.detail-intro .detail-aside { color: var(--text-dark-tertiary); }
.deliverables { color: #f5f5f7; background: var(--charcoal); padding-top: 72px; }
.deliverable-row { border-color: rgba(255,255,255,.17); }
.deliverable-row:last-child { border-color: rgba(255,255,255,.17); }
.deliverable-row .number { color: var(--text-dark-accent); }
.deliverable-row p { color: var(--text-dark-secondary); }

.dark-block { padding: 78px 0; color: #f5f5f7; background: linear-gradient(120deg, var(--royal), #2d1b78); }
.dark-block-copy p { color: var(--text-dark-secondary); }
.dark-block .button { color: var(--royal); border-color: #fff; background: #fff; }
.dark-block .button:hover { color: var(--ink); border-color: var(--pink); background: var(--pink); }

.quote-block { color: #f5f5f7; border-color: rgba(255,255,255,.14); background: var(--night); }
.quote-block cite { color: var(--text-dark-tertiary); }
.values { color: #f5f5f7; background: var(--charcoal); }
.values-grid, .value { border-color: rgba(255,255,255,.17); }
.value .number { color: var(--text-dark-accent); }
.value p { color: var(--text-dark-secondary); }

.contact-intro { background: linear-gradient(145deg, var(--royal), #24165f); }
.contact-form-wrap { color: #f5f5f7; background: var(--charcoal); }
.field label, .form-note { color: var(--text-dark-secondary); }
.field input, .field textarea, .field select { color: var(--ink); border-color: #55565f; background: #f5f5f7; }
.check-field { color: var(--text-dark-secondary); }
.check-field a { color: var(--text-dark-accent); }

.legal { color: var(--ink); background: var(--surface); }
.legal-content p, .legal-content li { color: var(--text-light-secondary); }

.site-footer { border-top: 1px solid #25252a; background: #000; }

/* The detached corner of the mark becomes a typographic apostrophe. */
.page-hero-title .h1::after,
.detail-copy .h1::after,
.section-head .h2::after,
.values > .shell > .h2::after,
.contact-form-wrap > .h3::after {
  display: inline-block;
  width: .43em;
  height: .43em;
  margin-left: .16em;
  content: "";
  vertical-align: top;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 62.5% 100%, 62.5% 37.5%, 0 37.5%);
}

.section-head .h2::after,
.values > .shell > .h2::after,
.contact-form-wrap > .h3::after { width: .34em; height: .34em; margin-left: .18em; }

.page-hero-title .h1,
.detail-copy .h1 { position: relative; width: fit-content; }

.page-hero-title .h1::after,
.detail-copy .h1::after {
  position: absolute;
  top: .06em;
  right: -.58em;
  margin-left: 0;
}

@media (max-width: 1020px) {
  :root { --shell: min(100% - 40px, 1240px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .mobile-nav { display: block; }
  .menu-open .mobile-nav { opacity: 1; pointer-events: auto; }

  .hero { padding-top: 56px; }
  .hero { min-height: 650px; }
  .hero-grid { min-height: 594px; }
  .hero-copy { width: 65%; padding-top: 20px; }
  .hero-media { width: 56%; height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-media { height: auto; }
  .manifesto-grid, .os-intro { gap: 44px; }
  .service-showcase { grid-template-columns: 1fr; }
  .service-rows { border-right: 0; }
  .service-visual { display: none; }
  .service-row { min-height: 160px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line); }
  .step:nth-child(3) { padding-left: 0; }

  .service-detail-hero { grid-template-columns: 1fr; }
  .detail-copy { min-height: 540px; padding: 64px 28px; }
  .detail-visual { min-height: 60vh; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-intro { min-height: 560px; padding: 64px 28px; }
  .contact-form-wrap { padding: 64px 28px; }
  .legal-layout { grid-template-columns: 180px 1fr; }
  .legal-note { grid-column: 2; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}

@media (max-width: 850px) {
  .catalog-card { grid-template-columns: 34px 1fr 44px; gap: 14px; }
  .catalog-image, .catalog-info, .coming-card .catalog-info { grid-column: 2 / 4; }
  .catalog-image { height: 190px; aspect-ratio: auto; }
  .catalog-card .catalog-link { grid-column: 3; grid-row: 1; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 1240px); }
  body { font-size: 16px; }
  .brand-lockup { width: auto; height: 36px; }

  .display { font-size: clamp(44px, 13vw, 58px); }
  .h1 { font-size: clamp(43px, 12vw, 58px); }
  .h2 { font-size: clamp(34px, 10vw, 44px); }
  .page-hero-title .h1::after { top: -.18em; right: 0; width: .36em; height: .36em; }

  .hero { min-height: 0; padding: 46px 0 56px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { width: 100%; padding-top: 0; isolation: isolate; }
  .hero-copy::after {
    position: absolute;
    z-index: -1;
    inset: -24px -16px -78px;
    content: "";
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(5,5,6,.92) 0%, rgba(5,5,6,.88) 64%, rgba(5,5,6,.64) 80%, rgba(5,5,6,.26) 92%, transparent 100%);
  }
  .hero-copy .lead { margin-top: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-media { position: relative; right: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; flex: 0 0 auto; margin-top: -317px; border-radius: 0; }
  .hero-media-caption { display: none; }

  .manifesto, .service-index, .operating-system, .values, .quote-block { padding: 68px 0; }
  .manifesto-grid, .os-intro, .detail-intro { grid-template-columns: 1fr; gap: 26px; }
  .manifesto-note { display: none; }
  .manifesto-note.manifesto-note-essential { display: block; margin-top: 20px; }
  .os-intro .h2, .os-intro .body-large, .detail-intro .body-large, .detail-intro .detail-aside { grid-column: 1; }
  .section-head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 28px; }
  .section-head .text-link { grid-column: 1; justify-self: start; }
  .service-showcase { border-radius: 18px; }
  .service-row { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-height: 0; padding: 44px 20px 32px; }
  .service-number { padding-top: 5px; font-size: 11px; }
  .service-row h3 { font-size: clamp(34px, 9.5vw, 36px); }
  .service-row .service-subtitle { margin-top: 11px; font-size: 12px; }
  .service-row .service-description { width: 82%; margin-top: 22px; font-size: 15px; }
  .service-thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; grid-column: 2; margin-top: 26px; border-radius: 14px; object-fit: cover; filter: grayscale(.18) contrast(1.06); }
  .service-row-next { min-height: 178px; padding-top: 30px; padding-bottom: 30px; }
  .service-row-next h3 { font-size: 32px; }
  .service-row-next p { margin-top: 10px; }
  .service-row-next .service-thumb { margin-top: 20px; }
  .service-arrow { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: auto; padding: 24px 0 28px; border-right: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step h3 { margin-top: 28px; }

  .cta { padding: 8px 0 68px; }
  .cta-grid { grid-template-columns: 1fr; gap: 34px; padding: 34px 26px; border-radius: 22px; }
  .cta-grid::after { top: -15px; right: -15px; width: 100px; height: 100px; }

  .page-hero { padding: 64px 0 56px; }
  .page-hero-meta { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .service-catalog { padding: 44px 0 68px; }
  .catalog-card { grid-template-columns: 34px 1fr 44px; gap: 14px; padding: 30px 0; }
  .catalog-image, .catalog-info, .coming-card .catalog-info { grid-column: 2 / 4; }
  .catalog-image { height: 180px; }
  .catalog-card .catalog-link { grid-column: 3; grid-row: 1; }

  .service-detail-hero { min-height: 0; }
  .detail-copy { min-height: auto; padding: 54px 20px; }
  .detail-copy .h1 { margin-bottom: 36px; }
  .detail-site-button { width: 100%; margin-top: 26px; }
  .detail-meta { grid-template-columns: 1fr; gap: 16px; }
  .detail-visual { min-height: 430px; }
  .detail-section { padding: 64px 0; }
  .deliverables { padding-bottom: 64px; }
  .deliverable-row { grid-template-columns: 34px 1fr; gap: 14px; padding: 24px 0; }
  .deliverable-row p { grid-column: 2; }
  .dark-block { padding: 64px 0; }
  .dark-block-copy { grid-template-columns: 1fr; gap: 24px; }

  .values-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .value, .value + .value { min-height: 0; padding: 24px 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value h3 { margin-top: 30px; }

  .contact-main { min-height: 0; }
  .contact-intro { min-height: 520px; }
  .contact-intro .h1 { margin-bottom: 46px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .legal { padding: 54px 0 70px; }
  .legal-layout { display: block; }
  .legal-nav { display: none; }
  .legal-note { margin-top: 34px; }

  .site-footer { padding-top: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { flex-direction: column; }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; }
}

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

/* Brand palette board */
.palette-page { color: #f5f5f7; background: var(--night); }
.palette-nav { display: flex; align-items: center; justify-content: space-between; width: min(100% - 64px, 1240px); min-height: 76px; margin-inline: auto; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px; }
.palette-nav > span { color: var(--text-dark-tertiary); }
.palette-page main { width: min(100% - 64px, 1240px); margin-inline: auto; }
.palette-hero { display: grid; grid-template-columns: 1.4fr .6fr; gap: 64px; align-items: end; min-height: 540px; padding: 80px 0 64px; }
.palette-hero > div > p { margin: 0 0 24px; color: var(--text-dark-secondary); font-size: 13px; }
.palette-hero h1 { margin: 0; font-size: clamp(64px, 8vw, 116px); font-weight: 600; line-height: .9; letter-spacing: -.07em; }
.palette-hero h1 em { color: var(--violet); font: inherit; font-style: normal; }
.palette-hero h1::after { display: inline-block; width: .36em; height: .36em; margin-left: .16em; content: ""; vertical-align: top; background: linear-gradient(135deg, var(--violet), var(--pink)); clip-path: polygon(0 0, 100% 0, 100% 100%, 62.5% 100%, 62.5% 37.5%, 0 37.5%); }
.palette-hero-copy { max-width: 420px; margin: 0; color: var(--text-dark-secondary); font-size: 22px; line-height: 1.4; }
.palette-core, .palette-neutrals, .palette-logic, .palette-ratio { padding: 72px 0; border-top: 1px solid rgba(255,255,255,.15); }
.palette-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 34px; }
.palette-heading h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.palette-heading p { max-width: 470px; margin: 0; color: var(--text-dark-tertiary); }
.palette-swatches { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 460px; }
.palette-swatch { display: flex; flex-direction: column; justify-content: space-between; padding: 30px; }
.palette-swatch.royal { background: var(--royal); }
.palette-swatch.violet { background: var(--violet); }
.palette-swatch.pink { color: #000; background: var(--pink); }
.palette-swatch > span { font-size: 12px; font-weight: 650; }
.palette-swatch h3 { margin: 0; font-size: clamp(34px, 3vw, 48px); line-height: 1; letter-spacing: -.05em; }
.palette-swatch code, .neutral-row code { display: block; margin-top: 9px; font: 600 14px/1.2 "Inter", sans-serif; letter-spacing: .08em; }
.palette-swatch p { max-width: 280px; margin: 0; font-size: 15px; }
.neutral-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.neutral-row article { display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 24px; }
.neutral-row .night { border: 1px solid #29292d; background: var(--night); }
.neutral-row .charcoal { background: var(--charcoal); }
.neutral-row .mist { color: #000; background: var(--surface); }
.neutral-row .paper { color: #000; background: #f5f5f7; }
.logic-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.15); }
.logic-table article { min-height: 210px; padding: 28px 28px 28px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.logic-table article:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
.logic-table article:nth-child(even) { padding-left: 28px; }
.logic-table strong { color: var(--text-dark-accent); font-size: 20px; }
.logic-table p { max-width: 520px; margin: 34px 0 0; color: var(--text-dark-secondary); }
.logic-table b { color: #fff; }
.ratio-bar { display: grid; grid-template-columns: 55fr 25fr 15fr 4fr 1fr; height: 100px; overflow: hidden; }
.ratio-bar span { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 13px; font-weight: 650; }
.r-night { background: #101012; }.r-royal { background: var(--royal); }.r-mist { color: #000; background: var(--surface); }.r-violet { overflow: hidden; color: transparent; background: var(--violet); }.r-pink { overflow: hidden; color: transparent; background: var(--pink); }
.ratio-legend { display: grid; grid-template-columns: 55fr 25fr 15fr 4fr 1fr; margin-top: 12px; color: #888891; font-size: 11px; }
.ratio-legend span:nth-child(n+4) { writing-mode: vertical-rl; }
.palette-honesty { display: grid; grid-template-columns: .6fr 1.4fr; gap: 64px; margin-bottom: 64px; padding: 58px; color: #fff; background: var(--royal); }
.palette-honesty h2 { margin: 0; font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.palette-honesty p { max-width: 720px; margin: 0; color: #d0d2df; font-size: 18px; }

@media (max-width: 720px) {
  .palette-nav, .palette-page main { width: min(100% - 32px, 1240px); }
  .palette-nav > span { display: none; }
  .palette-hero { grid-template-columns: 1fr; gap: 36px; min-height: 520px; padding: 60px 0; }
  .palette-hero h1 { font-size: clamp(54px, 15vw, 74px); }
  .palette-hero-copy { font-size: 19px; }
  .palette-core, .palette-neutrals, .palette-logic, .palette-ratio { padding: 56px 0; }
  .palette-heading { grid-template-columns: 1fr; gap: 16px; }
  .palette-swatches, .neutral-row, .logic-table { grid-template-columns: 1fr; }
  .palette-swatch { min-height: 360px; }
  .neutral-row article { min-height: 150px; }
  .logic-table article, .logic-table article:nth-child(even) { min-height: 0; padding: 26px 0; border-right: 0; }
  .ratio-bar { height: 72px; }
  .ratio-legend { display: none; }
  .palette-honesty { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; padding: 34px 26px; }
}
