
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-italic-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-italic-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-italic-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-italic-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/PlusJakartaSans-normal-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 560;
  font-display: swap;
  src: url(assets/fonts/BodoniModa-italic-560-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 560;
  font-display: swap;
  src: url(assets/fonts/BodoniModa-italic-560-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 640;
  font-display: swap;
  src: url(assets/fonts/BodoniModa-normal-640-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 640;
  font-display: swap;
  src: url(assets/fonts/BodoniModa-normal-640-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* RONAR AI services site. Dark, sober, B2B. Two voices: serif italic for
   judgment, system mono for evidence. */
:root {
  --bg: #08090c;
  --bg-raised: #0e1015;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f2f3f5;
  --ink-dim: rgba(242, 243, 245, 0.72);
  --ink-faint: rgba(242, 243, 245, 0.58);
  --accent: #c9a86a;
  --accent-dim: rgba(201, 168, 106, 0.35);
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 7rem;
  --radius: 14px;
  --maxw: 1120px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #2b2e38 transparent;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #2b2e38;
  border-radius: 999px;
  border: 2px solid #08090c;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3e4a;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- layout primitives ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s4);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #08090c;
  padding: var(--s2) var(--s3);
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
  z-index: 99;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s4);
}

/* Reveal is a progressive enhancement: content is visible by default and
   only hidden when the inline .js flag confirms script.js will run.
   Per-section stagger comes from --rd (set by script.js); the slight blur
   makes the settle read as focus being pulled, not a fade. */
.js .reveal {
  opacity: 0;
  transform: perspective(900px) rotateX(7deg) translateY(22px);
  filter: blur(5px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out), filter 0.7s ease;
  transition-delay: var(--rd, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media print {
  .reveal,
  .stage,
  .line-inner {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .intro,
  #galaxy {
    display: none !important;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  transition: transform 160ms var(--ease-out), background-color 160ms ease,
    border-color 160ms ease, color 160ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #08090c;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  transition: left 600ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::after {
    left: 125%;
  }
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-dim);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #d8ba7e;
  }
  .btn-ghost:hover {
    border-color: var(--accent-dim);
    color: var(--ink);
  }
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- nav ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: rgba(8, 9, 12, 0.94);
  border-bottom-color: var(--line);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s5);
}

/* Patek-style three-zone bar: wordmark | crest | links. */
.nav--three {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s4);
}

.nav--three .wordmark {
  justify-self: start;
}

.nav-center {
  width: 30px;
  height: 30px;
}

.nav-center .nav-crest {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.92;
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--s4);
}

/* The travelling crest: driven by scroll from the hero to the nav centre. */
.crest-dock {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 51;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform;
  filter: drop-shadow(0 0 14px rgba(201, 168, 106, 0.25));
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.crest {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.92;
}

.wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: var(--s4);
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 160ms ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--ink);
  }
  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}

.btn-nav {
  padding: 0.55rem 1.1rem;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .btn-nav {
    margin-left: auto;
  }
}

/* ---------- hero ---------- */

.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  perspective: 1200px;
  padding: calc(var(--s6) + 4.5rem) 0 var(--s6);
  background:
    radial-gradient(56rem 32rem at 50% -14%, rgba(201, 168, 106, 0.1), transparent 62%),
    radial-gradient(40rem 24rem at 50% 110%, rgba(80, 110, 160, 0.06), transparent 65%);
}

.hero .wrap {
  width: 100%;
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.js .stage.stage-in {
  transform: translateZ(var(--z, 0px));
}

.hero-crest {
  display: block;
  margin: 0 auto var(--s4);
  opacity: 0.92;
  filter: drop-shadow(0 0 14px rgba(201, 168, 106, 0.25));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
  }
  .hero-eyebrow .fil {
    display: none;
  }
}

.hero-eyebrow .fil {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim));
}

.hero-eyebrow .fil:last-child {
  background: linear-gradient(90deg, var(--accent-dim), transparent);
}

.hero-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  font-weight: 640;
  line-height: 1.09;
  letter-spacing: 0.004em;
  max-width: 21ch;
  margin: 0 auto;
}

.end-dot {
  color: var(--accent);
  margin-left: -0.03em;
}

.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.06em;
  letter-spacing: -0.01em;
  color: var(--accent);
  background: linear-gradient(
    100deg,
    #c9a86a 38%,
    #f3e3ba 50%,
    #c9a86a 62%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: em-shimmer 8s ease-in-out 6s infinite;
}

@keyframes em-shimmer {
  0%,
  76%,
  100% {
    background-position: 100% 0;
  }
  88% {
    background-position: 0% 0;
  }
}

@media (max-width: 560px) {
  .hero-title br {
    display: none;
  }
}

.lede {
  margin-top: var(--s4);
  max-width: 54ch;
  font-size: 1.1875rem;
  color: var(--ink-dim);
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
  justify-content: center;
}

.status-line {
  margin-top: var(--s6);
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62c37e;
  box-shadow: 0 0 0 0 rgba(98, 195, 126, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(98, 195, 126, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(98, 195, 126, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(98, 195, 126, 0);
  }
}

/* ---------- sections ---------- */

.section {
  padding: var(--s7) 0 0;
}

section[id],
.trust {
  scroll-margin-top: 4.5rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 24ch;
  position: relative;
  padding-bottom: var(--s3);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out) 350ms;
}

.js .section-title.in::after {
  transform: scaleX(1);
}

/* ---------- trust bar ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: var(--s6) 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.stat {
  transition: transform 260ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .stat:hover {
    transform: translateY(-3px);
  }
}

.stat dt {
  font-weight: 700;
  font-size: 1.0625rem;
}

.stat dd {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin-top: 2px;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
}

/* ---------- services ---------- */

.service-list {
  list-style: none;
  margin-top: var(--s6);
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 7rem 1fr 1.35fr;
  gap: var(--s4) var(--s5);
  align-items: baseline;
  padding: var(--s5) var(--s2);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 220ms ease, padding-left 260ms var(--ease-out);
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 260ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    background: var(--bg-raised);
    padding-left: var(--s4);
  }
  .service:hover::before {
    transform: scaleY(1);
  }
}

.s-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.service h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service p {
  color: var(--ink-dim);
  font-size: 1rem;
}

.chip {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-left: var(--s2);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .service {
    grid-template-columns: 1fr;
    gap: var(--s2);
    padding: var(--s4) var(--s2);
  }
}

/* ---------- method ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  margin-top: var(--s6);
}

.step-num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
}

.step {
  transition: transform 260ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .step:hover {
    transform: translateY(-3px);
  }
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: var(--s3);
  letter-spacing: -0.01em;
}

.step p {
  color: var(--ink-dim);
  font-size: 0.9375rem;
  margin-top: var(--s2);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
}

/* ---------- about ---------- */

.about-line {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.45;
  font-weight: 500;
  max-width: 34ch;
  letter-spacing: -0.01em;
}

.about-line em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.08em;
  color: var(--accent);
  background-image: linear-gradient(var(--accent-dim), var(--accent-dim));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0% 1px;
  transition: background-size 900ms var(--ease-out) 450ms;
}

.js .about-line.in em {
  background-size: 100% 1px;
}

/* ---------- contact ---------- */

.contact-sub {
  margin-top: var(--s3);
  color: var(--ink-dim);
  max-width: 680px;
}

.contact-form {
  margin-top: var(--s5);
  display: grid;
  gap: var(--s4);
  max-width: 680px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: var(--s1);
}

.field > span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.field small {
  font-weight: 400;
  color: var(--ink-faint);
}

.field input,
.field textarea {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.9rem;
  transition: border-color 160ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-dim);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.form-foot .btn {
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
}

#form-status {
  font-size: 0.9375rem;
  color: var(--ink-dim);
  min-height: 1.4em;
}

#form-status.error {
  color: #e08f8f;
}

#form-status .tick {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.22em;
  margin-right: 0.45em;
}

#form-status .tick path {
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
  animation: tick-draw 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tick-draw {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- 404 ---------- */

.lost {
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.lost-code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.lost h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 640;
  letter-spacing: 0.004em;
  margin-top: var(--s3);
}

.lost h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--accent);
}

.lost p {
  color: var(--ink-dim);
  margin-top: var(--s3);
  max-width: 46ch;
}

.lost .btn {
  margin-top: var(--s5);
}

.contact-alt {
  margin-top: var(--s5);
  color: var(--ink-faint);
  font-size: 0.9375rem;
}

.contact-alt a {
  color: var(--ink-dim);
}

/* ---------- legal pages ---------- */

.legal {
  padding-top: calc(var(--s7) + 2rem);
  max-width: 720px;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: var(--s5);
}

.legal p {
  color: var(--ink-dim);
  margin-top: var(--s2);
}

.legal a {
  color: var(--ink);
}

/* ---------- galaxy backdrop ---------- */

#galaxy {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s ease;
}

#galaxy.sky-in {
  opacity: 1;
}

/* ---------- intro: the crest draws itself, then the sky appears ------
   Ported from the ronar.ai landing (stroke-dasharray self-drawing crest
   with gold fill), retimed to ~3.5s for a B2B first visit. Shown only
   when html.loading is set by the inline head script (first visit per
   session, motion allowed). */

.intro {
  display: none;
}

html.loading .intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

html.intro-done .intro {
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 800ms;
}

/* The crest hands itself over to the canvas stardust burst. */
.intro.dusting .intro-svg,
.intro.dusting .intro-glow {
  opacity: 0;
  transition: opacity 260ms ease;
}

.intro-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 50% at 50% 45%,
    rgba(201, 168, 106, 0.16) 0%,
    rgba(201, 168, 106, 0.04) 30%,
    transparent 60%
  );
  opacity: 0;
  animation: intro-glow-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards,
    intro-glow-breathe 3.2s ease-in-out 800ms infinite;
}

@keyframes intro-glow-in {
  to {
    opacity: 1;
  }
}

@keyframes intro-glow-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.intro-svg {
  position: relative;
  width: min(320px, 52vw);
  height: min(320px, 52vw);
  z-index: 2;
}

.intro-svg path {
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 1);
  stroke-dashoffset: var(--len, 1);
  filter: drop-shadow(0 0 4px rgba(242, 243, 245, 0.18));
  animation: intro-draw 1900ms cubic-bezier(0.5, 0.05, 0.4, 0.95) var(--delay, 0ms) forwards;
}

@keyframes intro-draw {
  0% {
    stroke-dashoffset: var(--len, 1);
    fill: transparent;
    stroke-opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    fill: transparent;
    stroke-opacity: 1;
  }
  92% {
    fill: rgba(229, 192, 123, 1);
    stroke-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill: rgba(229, 192, 123, 1);
    stroke-opacity: 0;
  }
}

.intro-wordmark {
  position: absolute;
  bottom: calc(50% - min(320px, 52vw) / 2 - 66px);
  left: 50%;
  transform: translate(-50%, 100%);
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.intro-wordmark span {
  display: inline-block;
  font-weight: 500;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 15px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  animation: intro-letter 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-wordmark span.ai {
  color: var(--accent);
}

.intro-wordmark span:nth-child(6) {
  margin-left: 18px;
}

.intro-wordmark span:nth-child(1) { animation-delay: 2050ms; }
.intro-wordmark span:nth-child(2) { animation-delay: 2140ms; }
.intro-wordmark span:nth-child(3) { animation-delay: 2230ms; }
.intro-wordmark span:nth-child(4) { animation-delay: 2320ms; }
.intro-wordmark span:nth-child(5) { animation-delay: 2410ms; }
.intro-wordmark span:nth-child(6) { animation-delay: 2560ms; }
.intro-wordmark span:nth-child(7) { animation-delay: 2650ms; }

@keyframes intro-letter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-tagline {
  position: absolute;
  bottom: calc(50% - min(320px, 52vw) / 2 - 122px);
  left: 50%;
  transform: translate(-50%, 100%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 17px);
  color: var(--accent);
  letter-spacing: 4px;
  opacity: 0;
  animation: intro-glow-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 2850ms forwards;
  z-index: 3;
  white-space: nowrap;
}

/* ---------- hero staging (after the intro, or quickly on return) ------ */

.js .stage {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 750ms ease, transform 750ms var(--ease-out);
  transition-delay: var(--sd, 0ms);
}

.js .stage.stage-in {
  opacity: 1;
  transform: none;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.js .hero-title .line {
  opacity: 1;
  transform: none;
  transition: none;
}

.js .hero-title .line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 950ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--sd, 0ms);
}

.js .hero-title .line.stage-in .line-inner {
  transform: none;
}

@media (max-width: 560px) {
  .hero-title .line,
  .js .hero-title .line-inner {
    display: inline;
  }
}

/* ---------- clients strip ---------- */

.clients {
  margin-top: var(--s7);
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
}

.clients-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s6);
  margin-top: var(--s3);
}

.client {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-dim);
  font-size: 0.9375rem;
  font-weight: 600;
}

.client img {
  display: inline-block;
  opacity: 0.75;
  filter: grayscale(0.35);
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: var(--s6) 0;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  align-items: flex-start;
}

.foot-note {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin-top: var(--s2);
}

.foot-note a {
  color: var(--ink-dim);
}

.foot-links {
  display: flex;
  gap: var(--s4);
  margin-left: auto;
}

.foot-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.9375rem;
}

@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover {
    color: var(--ink);
  }
}

.foot-copy {
  width: 100%;
  color: var(--ink-faint);
  font-size: 0.8125rem;
  font-family: var(--mono);
}
