/* G&S Digital — single stylesheet, no build step. */

/* Self-hosted fonts (SIL Open Font License) — no third-party requests. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-latin-400-normal.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: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin-500-normal.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: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  --bg: #151413;
  --bg-2: #1b1a18;
  --bg-3: #22211e;
  --line: rgba(242, 238, 230, 0.09);
  --line-strong: rgba(242, 238, 230, 0.16);
  --text: #f2eee6;
  --muted: #8d877d;
  --dim: #77716a; /* large text only (3.8:1) */
  --cream: #ebe5d8;
  --cream-2: #e1dacb;
  --cream-line: rgba(27, 26, 24, 0.14);
  --ink: #1b1a18;
  --ink-muted: #5e5850;
  --accent-on-cream: #b8390a;
  --accent: #ff5c1f;
  --accent-hover: #ff7a45;
  --accent-text: #ff5c1f; /* accent used as text on the page background */
  --on-accent: #1b1a18; /* text on orange */
  --nav-bg: rgba(21, 20, 19, 0.82);
  --dot: rgba(242, 238, 230, 0.13);
  --dot-strong: rgba(242, 238, 230, 0.16);
  --particle: rgba(242, 238, 230, 0.22);
  color-scheme: dark;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --rail: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;

  --grain: 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #f3efe7;
  --bg-2: #ebe5d9;
  --bg-3: #e3dccd;
  --line: rgba(27, 26, 24, 0.1);
  --line-strong: rgba(27, 26, 24, 0.18);
  --text: #1b1a18;
  --muted: #5e5850;
  --dim: #857e73; /* large text only (3.5:1) */
  /* "cream" panels invert to charcoal so they still stand out */
  --cream: #1f1e1b;
  --cream-2: #2a2926;
  --cream-line: rgba(242, 238, 230, 0.12);
  --ink: #f2eee6;
  --ink-muted: #a39d92;
  --accent-on-cream: #ff5c1f;
  --accent-text: #b8390a;
  --nav-bg: rgba(243, 239, 231, 0.85);
  --dot: rgba(27, 26, 24, 0.14);
  --dot-strong: rgba(27, 26, 24, 0.16);
  --particle: rgba(27, 26, 24, 0.24);
  --grain: 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3efe7;
  --bg-2: #ebe5d9;
  --bg-3: #e3dccd;
  --line: rgba(27, 26, 24, 0.1);
  --line-strong: rgba(27, 26, 24, 0.18);
  --text: #1b1a18;
  --muted: #5e5850;
  --dim: #857e73; /* large text only (3.5:1) */
  /* "cream" panels invert to charcoal so they still stand out */
  --cream: #1f1e1b;
  --cream-2: #2a2926;
  --cream-line: rgba(242, 238, 230, 0.12);
  --ink: #f2eee6;
  --ink-muted: #a39d92;
  --accent-on-cream: #ff5c1f;
  --accent-text: #b8390a;
  --nav-bg: rgba(243, 239, 231, 0.85);
  --dot: rgba(27, 26, 24, 0.14);
  --dot-strong: rgba(27, 26, 24, 0.16);
  --particle: rgba(27, 26, 24, 0.24);
  --grain: 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* Logo has a cream and an ink version; show the one for the active theme. */
.logo__mark--light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo__mark--dark { display: none; }
  :root:not([data-theme="dark"]) .logo__mark--light { display: block; }
}
:root[data-theme="light"] .logo__mark--dark { display: none; }
:root[data-theme="light"] .logo__mark--light { display: block; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: var(--grain);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 12px/1 var(--mono);
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Controls that only work with JavaScript stay hidden without it. */
html:not(.js) [data-copy],
html:not(.js) [data-motion-toggle] { display: none; }

/* WCAG 2.2.2: visitors can pause all looping animation. */
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after { animation-play-state: paused !important; }

/* ---------- Layout: the dashed rails ---------- */

.rail {
  position: relative;
  width: 100%;
  max-width: var(--rail);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.frame {
  position: relative;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--line-strong);
  pointer-events: none;
  z-index: 0;
}
.frame::before { left: max(0px, calc((100% - var(--rail)) / 2)); }
.frame::after { right: max(0px, calc((100% - var(--rail)) / 2)); }

.section {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 128px) 0;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-size: clamp(48px, 8.4vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text);
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.dim { color: var(--dim); }
.display em,
.h2 em { font-style: italic; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
}

.section__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 860px) {
  .section__head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); background: var(--bg-2); }

.btn--sm { min-height: 36px; padding: 0 14px; font-size: 11px; }

/* ---------- Announcement ---------- */

.announce {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.announce .rail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  text-align: center;
}
.announce .mono { font-size: 11px; }
.announce a { color: var(--accent-text); }
.announce a:hover { color: var(--accent-hover); }
.announce__sep { color: var(--dim); }
@media (max-width: 640px) {
  .announce__extra, .announce__sep { display: none; }
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__mark { width: auto; height: 26px; flex: none; }
.logo__word {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer .logo__mark { height: 34px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
[data-current-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-current-theme="light"] .theme-toggle .icon-moon { display: block; }
html:not(.js) .theme-toggle { display: none; }
@media (max-width: 860px) { .theme-toggle { width: 44px; height: 44px; } }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 16px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.nav--open .nav__toggle span { background: transparent; }
.nav--open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav--open .nav__toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    display: none;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a {
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
  }
  .nav__links .btn { margin-top: 16px; border-bottom: 0; color: var(--on-accent); }
}
@media (min-width: 861px) {
  .nav__links .nav__mobile-cta { display: none; }
}

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

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 112px);
  overflow: hidden;
}
.hero::before {
  /* dotted field, fades out toward the edges */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero__copy { display: grid; gap: 32px; justify-items: start; }
.hero__sub { max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
  width: 100%;
}
.hero__meta li { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--dim);
}

/* ---------- Pause animations (WCAG 2.2.2), sits in the footer ---------- */

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.motion-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.motion-toggle::before {
  content: "";
  width: 8px;
  height: 9px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  box-sizing: border-box;
}
.motion-toggle[aria-pressed="true"]::before {
  border: 0;
  border-left: 8px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  width: 0;
  height: 0;
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

/* ---------- Capabilities ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg);
  transition: background-color 0.3s;
}
.card:hover { background: var(--bg-2); }
.card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.card__icon svg { width: 20px; height: 20px; }
.card:hover .card__icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Comparison ---------- */

.compare {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }

.panel {
  position: relative;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}
.panel--muted { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line-strong); }
.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--cream-line);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel--muted .panel__head { border-color: var(--line); }
.panel__head b { font-weight: 500; }
.panel:not(.panel--muted) .panel__head { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.panel__list { padding: 8px 24px 16px; }
.panel__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed var(--cream-line);
  font-size: 15.5px;
  line-height: 1.45;
}
.panel--muted .panel__list li { border-color: var(--line); }
.panel__list li:last-child { border-bottom: 0; }
.panel__list svg { width: 16px; height: 16px; margin-top: 3px; }
.panel--muted svg { color: var(--muted); }
.panel:not(.panel--muted) .panel__list svg { color: var(--accent-on-cream); }

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

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 32px 28px 36px 0;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 860px) {
  .step + .step { padding-left: 28px; border-left: 1px dashed var(--line-strong); }
}
.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
@media (min-width: 860px) { .step + .step::before { left: 28px; } }
.step h3 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}
.step p { color: var(--muted); max-width: 34ch; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  /* dotted wave field */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-strong) 1px, transparent 1.3px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 110%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 110%, #000 10%, transparent 70%);
  pointer-events: none;
}
/* Smoky glow: overlapping blurred plumes drifting at different speeds, plus a slow breathing pulse. */
.cta__smoke {
  position: absolute;
  left: 50%;
  bottom: -240px;
  width: min(1100px, 150%);
  height: 520px;
  transform: translateX(-50%);
  filter: blur(36px);
  pointer-events: none;
  animation: smoke-breathe 7s ease-in-out infinite;
}
.cta__smoke span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  will-change: transform, opacity;
}
.cta__smoke span:nth-child(1) {
  --c: rgba(255, 92, 31, 0.34);
  left: 22%; bottom: 0; width: 56%; height: 78%;
  animation: smoke-a 13s ease-in-out infinite alternate;
}
.cta__smoke span:nth-child(2) {
  --c: rgba(255, 128, 64, 0.22);
  left: 6%; bottom: 8%; width: 46%; height: 70%;
  animation: smoke-b 17s ease-in-out infinite alternate;
}
.cta__smoke span:nth-child(3) {
  --c: rgba(255, 74, 20, 0.26);
  left: 48%; bottom: 4%; width: 46%; height: 74%;
  animation: smoke-c 19s ease-in-out infinite alternate;
}
.cta__smoke span:nth-child(4) {
  /* thin wisp that rises and fades */
  --c: rgba(255, 140, 80, 0.18);
  left: 36%; bottom: 20%; width: 28%; height: 60%;
  animation: smoke-wisp 11s ease-in-out infinite;
}
@keyframes smoke-breathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes smoke-a {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(1.12, 1.04); }
  100% { transform: translate(-3%, -2%) scale(0.94, 1.1); }
}
@keyframes smoke-b {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(14%, -10%) scale(1.18); opacity: 1; }
  100% { transform: translate(24%, -4%) scale(1.05, 0.92); opacity: 0.8; }
}
@keyframes smoke-c {
  0% { transform: translate(0, 0) scale(1.05); opacity: 1; }
  50% { transform: translate(-12%, -8%) scale(0.92, 1.14); opacity: 0.75; }
  100% { transform: translate(-20%, -3%) scale(1.12, 0.96); opacity: 0.95; }
}
@keyframes smoke-wisp {
  0% { transform: translate(0, 10%) scale(0.8, 0.9); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translate(-8%, -38%) scale(1.25, 1.4); opacity: 0; }
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
}
.cta .h2 { font-size: clamp(44px, 7vw, 96px); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Company details ---------- */

.details {
  display: grid;
  gap: 40px;
}
@media (min-width: 980px) { .details { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.details__intro { display: grid; gap: 24px; align-content: start; justify-items: start; }
.details__links { display: flex; flex-wrap: wrap; gap: 12px; }

.registry {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.registry__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px dashed var(--line-strong);
}
.registry__row:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .registry__row { grid-template-columns: 170px 1fr auto; gap: 16px; }
}
.registry dt { font: 500 11px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.registry dd { margin: 0; font: 400 14px/1.4 var(--mono); color: var(--text); word-break: break-word; }
.registry dd a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; }
.registry dd a:hover { border-color: var(--accent); }

.copy {
  justify-self: start;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.copy:hover { color: var(--text); border-color: var(--line-strong); }
.copy.is-done { color: var(--accent-text); border-color: var(--accent); }
.copy svg { width: 12px; height: 12px; }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  overflow: hidden;
}
.footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 56px;
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 15px; }
.footer__title {
  margin: 0 0 18px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer ul { display: grid; gap: 12px; }
.footer ul a, .footer ul span { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }

.footer__mark {
  font-family: var(--serif);
  font-size: clamp(64px, 21vw, 290px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  white-space: nowrap;
  user-select: none;
  margin: 0 0 32px;
}
.footer__particles {
  display: block;
  width: 100%;
  margin: 0 0 32px;
  touch-action: pan-y;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.footer__bottom .mono { font-size: 10.5px; color: var(--muted); }

/* ---------- Legal page ---------- */

.page-head {
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 64px);
}
.page-head .rail { display: grid; gap: 24px; justify-items: start; }

.legal {
  display: grid;
  gap: 48px;
  padding-bottom: 120px;
}
@media (min-width: 980px) { .legal { grid-template-columns: 240px 1fr; gap: 72px; } }

.toc {
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-2);
}
@media (min-width: 980px) { .toc { position: sticky; top: 96px; } }
.toc p { margin-bottom: 10px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc a {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--text); }

.prose { max-width: 72ch; }
.prose section { padding-top: 8px; margin-bottom: 72px; }
.prose section:last-child { margin-bottom: 0; }
.prose h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.prose h3 {
  margin: 36px 0 12px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.prose p,
.prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.prose a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--accent); }
.prose strong { color: var(--text); font-weight: 500; }
.prose .registry { margin-top: 8px; }
.prose .updated { margin-top: 24px; }

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

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 0;
}
.notfound .rail { display: grid; gap: 28px; justify-items: center; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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