/* ==========================================================================
   THE ÉLEVÉ — static site styles
   Dark, oversized type and full-bleed tiles, with light editorial chapters,
   hand-drawn annotations and the logo's gold as the accent.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* dark */
  --ink: #0d0c0a;
  --coal: #161412;
  --coal-2: #1f1c18;
  --coal-3: #2a2621;
  --line-d: #302b25;
  --mist: #b9b0a3;      /* secondary text on dark — 9.6:1 */
  --mist-2: #6f685e;    /* decorative only */

  /* light */
  --paper: #fff9f4;     /* logo ivory */
  --bone: #f4ece0;
  --sand: #ebe0cf;
  --line-l: #e2d6c3;
  --text-l: #17150f;
  --muted-l: #5a5348;   /* 7.3:1 on paper */

  /* gold */
  --gold: #d6b06a;      /* on dark — 9.4:1 */
  --gold-2: #ecd39f;
  --gold-deep: #89600a; /* logo gold — on light, 5.4:1 */
  --gold-ink: #6c4c09;

  --ok: #6fbf8e;
  --warn: #e7b65c;
  --bad: #e58b78;

  /* type */
  --f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --t-mega: clamp(3.4rem, 0.6rem + 10.2vw, 11.5rem);
  --t-giant: clamp(2.7rem, 0.9rem + 7vw, 8rem);
  --t-h2: clamp(2.3rem, 1rem + 4.4vw, 5.4rem);
  --t-h3: clamp(1.45rem, 1.05rem + 1.4vw, 2.3rem);
  --t-lead: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.78rem;

  /* layout */
  --max: 88rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.75rem);
  --header-h: 5rem;
  --sec: clamp(5rem, 3rem + 7vw, 10rem);
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 44px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
  --base: 320ms;
  --slow: 700ms;

  --z-header: 50;
  --z-preview: 40;
  --z-menu: 80;
  --z-concierge: 70;
  --z-skip: 100;

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.light :focus-visible {
  outline-color: var(--gold-deep);
}
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: var(--z-skip);
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: top var(--fast) var(--ease);
}
.skip:focus {
  top: 0.75rem;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sec {
  padding-block: var(--sec);
  position: relative;
}
.sec--tight {
  padding-block: calc(var(--sec) * 0.6);
}
.light {
  background: var(--paper);
  color: var(--text-l);
  color-scheme: light;
}
.light.bone {
  background: var(--bone);
}
.coal {
  background: var(--coal);
}
.grid-2 {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 5rem);
}
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .grid-2--wide-left {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
  .grid-2--wide-right {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

/* ---------- Type ---------- */
.mega,
.giant,
.h2,
.h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.032em;
  line-height: 0.92;
}
.mega {
  font-size: var(--t-mega);
  letter-spacing: -0.038em;
  line-height: 0.9;
}
.giant {
  font-size: var(--t-giant);
}
.h2 {
  font-size: var(--t-h2);
  line-height: 0.95;
}
.h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "opsz" 48;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.08em;
  color: var(--gold);
}
.light .serif {
  color: var(--gold-deep);
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--mist);
  max-width: 40ch;
}
.light .lead {
  color: var(--muted-l);
}
.muted {
  color: var(--mist);
}
.light .muted {
  color: var(--muted-l);
}
.small {
  font-size: var(--t-small);
}
.micro {
  font-size: var(--t-micro);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  transform: rotate(45deg);
}
.light .kicker {
  color: var(--gold-ink);
}
.hand {
  font-family: var(--f-hand);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: 0;
}
.light .hand {
  color: var(--gold-deep);
}
.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* line-by-line reveal wrappers */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.line > span {
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: var(--h);
  padding: 0 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    background-color var(--fast) var(--ease),
    color var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
  position: relative;
  isolation: isolate;
}
.btn:active {
  transform: scale(0.98);
}
.btn .ico {
  width: 1.9rem;
  height: 1.9rem;
  margin-right: -0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform var(--base) var(--ease-out);
}
.btn:hover .ico {
  transform: rotate(45deg);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold .ico {
  background: var(--ink);
  color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-2);
}
.btn--ghost {
  border: 1.5px solid var(--line-d);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--paper);
}
.light .btn--ghost {
  border-color: var(--line-l);
  color: var(--text-l);
}
.light .btn--ghost:hover {
  border-color: var(--text-l);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink .ico {
  background: var(--gold);
  color: var(--ink);
}
.btn--ink:hover {
  background: var(--coal-3);
}
.btn--sm {
  --h: 2.75rem;
  padding: 0 1.15rem;
  font-size: 0.9375rem;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--fast) var(--ease);
}
.textlink:hover {
  color: var(--gold);
}
.light .textlink:hover {
  color: var(--gold-deep);
}
.arrow {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition:
    transform var(--slow) var(--ease-out),
    background-color var(--base) var(--ease);
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3rem;
  padding: 0 1rem 0 0.8rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgb(137 96 10 / 0.2);
  box-shadow: 0 6px 24px -12px rgb(0 0 0 / 0.5);
}
.logo-chip img:first-child {
  height: 26px;
  width: auto;
}
.logo-chip img:last-child {
  height: 12px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 3rem;
  padding: 0 0.6rem 0 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line-d);
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 6px 24px -12px rgb(0 0 0 / 0.6);
}
.menu-btn .bars {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
}
.menu-btn .bars span {
  display: block;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--base) var(--ease-out);
}
.menu-btn:hover .bars span:first-child {
  transform: translateX(2px);
}
.menu-btn:hover .bars span:last-child {
  transform: translateX(-2px);
}
@media (max-width: 560px) {
  .header-actions .btn--gold {
    display: none;
  }
  .logo-chip img:last-child {
    height: 11px;
  }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 700ms var(--ease-out),
    visibility 0s linear 700ms;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition:
    clip-path 700ms var(--ease-out),
    visibility 0s;
}
.menu__top {
  height: var(--header-h);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu__close .bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.menu__close .bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}
.menu__body {
  flex: 1;
  display: grid;
  gap: 3rem;
  padding-block: 2rem 3rem;
}
@media (min-width: 960px) {
  .menu__body {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    align-items: end;
  }
}
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1rem + 6.4vw, 7rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  transition:
    color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
}
.menu__nav a small {
  font-family: var(--f-body);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.menu__nav a:hover,
.menu__nav a[aria-current="page"] {
  color: var(--gold);
  transform: translateX(0.6rem);
}
.menu__side h2 {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 700;
}
.menu__side ul {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 2rem;
}
.menu__side a {
  color: var(--mist);
  transition: color var(--fast) var(--ease);
}
.menu__side a:hover {
  color: var(--paper);
}
.menu__foot {
  border-top: 1px solid var(--line-d);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mist);
  font-size: var(--t-small);
}

/* ---------- Doodles (hand-drawn annotations) ---------- */
.doodle {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}
.doodle path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.light .doodle path {
  stroke: var(--gold-deep);
}
.doodle--ink path {
  stroke: var(--text-l);
}
.anno {
  position: relative;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 7rem));
  padding-bottom: clamp(2rem, 1rem + 3vw, 4rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(closest-side, rgb(214 176 106 / 0.16), transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.hero__title {
  position: relative;
}
.hero__title .anno .doodle {
  inset: -18% -7% -14% -6%;
  width: 113%;
  height: 132%;
}
.hero__row {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: end;
}
@media (min-width: 900px) {
  .hero__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  position: relative;
}
.hero__note {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.hero__note svg {
  width: 48px;
  height: 40px;
  position: static;
}
@media (max-width: 899px) {
  .hero__note {
    position: static;
    margin-bottom: 0.5rem;
    width: 100%;
  }
}

/* ---------- Montage (illustrative tiles) ---------- */
.montage {
  position: relative;
  padding-block: clamp(2rem, 1rem + 2vw, 3.5rem) 1rem;
}
.montage__track {
  display: flex;
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  padding-inline: var(--gutter);
  will-change: transform;
}
@media (max-width: 899px) {
  .montage__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .montage__track::-webkit-scrollbar {
    display: none;
  }
  .tile {
    scroll-snap-align: center;
  }
}
.montage__note {
  margin-top: 1rem;
}
.tile {
  flex: none;
  position: relative;
  height: clamp(20rem, 14rem + 16vw, 30rem);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--coal-2);
  border: 1px solid var(--line-d);
  isolation: isolate;
}
.tile--tall {
  aspect-ratio: 9 / 15;
}
.tile--wide {
  aspect-ratio: 16 / 11;
}
.tile--sq {
  aspect-ratio: 1 / 1;
}
.tile__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgb(13 12 10 / 0.78);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font-size: var(--t-micro);
  font-weight: 700;
}
.tile__label b {
  color: var(--gold);
  font-weight: 800;
}
.tile__inner {
  position: absolute;
  inset: 0;
  padding: 1.1rem;
}

/* Tile — social reel */
.t-reel {
  background: linear-gradient(170deg, #f1c07a 0%, #d98b4f 42%, #6b3a1f 100%);
}
.t-reel .sun {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  left: 27%;
  top: 18%;
  border-radius: 50%;
  background: #fff1d6;
  opacity: 0.9;
}
.t-reel .hill {
  position: absolute;
  inset: auto -10% -6% -10%;
  height: 46%;
  background: #3a2112;
  border-radius: 50% 50% 0 0;
}
.t-reel .cap {
  position: absolute;
  left: 1.1rem;
  right: 3.4rem;
  bottom: 4.2rem;
  display: grid;
  gap: 6px;
}
.t-reel .cap i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.85);
}
.t-reel .cap i:last-child {
  width: 60%;
  background: rgb(255 255 255 / 0.55);
}
.t-reel .rail {
  position: absolute;
  right: 1rem;
  bottom: 4.2rem;
  display: grid;
  gap: 12px;
}
.t-reel .rail i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
}
.t-reel .top {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  right: 1.1rem;
  display: flex;
  gap: 4px;
}
.t-reel .top i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.5);
}
.t-reel .top i:first-child {
  background: #fff;
}

/* Tile — website */
.t-web {
  background: var(--paper);
  color: var(--text-l);
}
.t-web .bar {
  display: flex;
  gap: 5px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line-l);
}
.t-web .bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-l);
}
.t-web .body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}
.t-web .t-web__h {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(1.3rem, 0.8rem + 1.2vw, 2rem);
  line-height: 0.95;
  margin: 0;
}
.t-web .pill {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--text-l);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
}
.t-web .img {
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: linear-gradient(160deg, #e8dcc8, #c9b48f);
  position: relative;
  overflow: hidden;
}
.t-web .img::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 18%;
  height: 40%;
  border-radius: 0 0 50% 50%;
  background: var(--paper);
}
.t-web .grid {
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.t-web .grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--bone);
}

/* Tile — AI answer */
.t-ai {
  background: var(--coal-2);
}
.t-ai .q {
  margin-left: auto;
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: 16px 16px 4px 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}
.t-ai .a {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: 16px 16px 16px 4px;
  background: var(--coal-3);
  border: 1px solid var(--line-d);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--mist);
}
.t-ai .a b {
  color: var(--paper);
}
.t-ai .src {
  margin-top: 0.7rem;
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-d);
  font-size: 0.68rem;
  color: var(--gold);
}

/* Tile — CRM */
.t-crm {
  background: var(--bone);
  color: var(--text-l);
}
.t-crm .cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  height: 100%;
}
.t-crm .col {
  background: var(--sand);
  border-radius: 12px;
  padding: 0.6rem;
  display: grid;
  align-content: start;
  gap: 0.5rem;
}
.t-crm .col p {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.t-crm .card {
  background: var(--paper);
  border-radius: 8px;
  padding: 0.55rem;
  border: 1px solid var(--line-l);
}
.t-crm .card i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line-l);
}
.t-crm .card i + i {
  margin-top: 5px;
  width: 60%;
}
.t-crm .card--hot {
  border-color: var(--gold-deep);
  box-shadow: 0 8px 20px -12px rgb(137 96 10 / 0.6);
}
.t-crm .card--hot i:first-child {
  background: var(--text-l);
}

/* Tile — dashboard */
.t-dash {
  background: linear-gradient(180deg, var(--coal-2), var(--coal));
}
.t-dash .bars {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 4.4rem;
  height: 55%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.t-dash .bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--coal-3);
}
.t-dash .bars i:nth-child(n + 5) {
  background: var(--gold);
}
.t-dash .head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--mist);
  font-weight: 700;
}
.t-dash .line-chart {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 3.2rem;
  height: 28%;
}
.t-dash .line-chart path {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-d);
  padding-block: clamp(1rem, 0.6rem + 1vw, 1.75rem);
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-right: clamp(1.5rem, 1rem + 2vw, 3rem);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.2rem + 4.5vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.marquee__group span:nth-child(4n + 1) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--mist-2);
}
.marquee__group span:nth-child(4n + 3) {
  color: var(--paper);
}
.marquee__group i {
  width: 0.32em;
  height: 0.32em;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
}
@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat {
  padding: 2rem 1.25rem 2rem 0;
  border-bottom: 1px solid var(--line-d);
}
@media (min-width: 900px) {
  .stat {
    border-bottom: 0;
    padding-right: 2rem;
  }
  .stat + .stat {
    border-left: 1px solid var(--line-d);
    padding-left: 2rem;
  }
}
.stat__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 1.5rem + 6vw, 7.5rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  display: flex;
  align-items: flex-start;
}
.stat__n sup {
  font-size: 0.36em;
  color: var(--gold);
  margin-left: 0.05em;
  line-height: 1.2;
}
.stat__l {
  margin-top: 0.9rem;
  color: var(--mist);
  font-size: var(--t-small);
  max-width: 18ch;
}

/* ---------- Problem (light) ---------- */
.problem__cards {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
@media (min-width: 900px) {
  .problem__cards {
    grid-template-columns: 1fr 1fr;
  }
}
.pcard {
  position: relative;
  border-radius: var(--r-l);
  padding: clamp(1.75rem, 1rem + 2vw, 3rem);
  background: var(--bone);
  border: 1px solid var(--line-l);
}
.pcard--right {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pcard__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--muted-l);
}
.light .pcard--right .muted {
  color: var(--mist);
}
.pcard--right .pcard__tag {
  background: var(--gold);
  color: var(--ink);
}
.pcard ul {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.1rem;
}
.pcard li {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  line-height: 1.15;
  padding-left: 2.6rem;
}
.pcard--left li {
  color: var(--muted-l);
  width: fit-content;
}
.pcard--left li svg.strike {
  position: absolute;
  left: 2.2rem;
  right: -0.4rem;
  top: 50%;
  width: calc(100% - 1.8rem);
  height: 18px;
  transform: translateY(-50%);
  overflow: visible;
}
.pcard--left li svg.strike path {
  stroke: var(--text-l);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}
.pcard li .mk {
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.7rem;
  height: 1.7rem;
}
.pcard li .mk path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcard--left .mk path {
  stroke: var(--muted-l);
}
.pcard--right .mk path {
  stroke: var(--gold);
}
.pcard--right li {
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.5rem);
}
.problem__close {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.underline-anno {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underline-anno .doodle {
  left: -2%;
  right: -2%;
  bottom: -0.22em;
  width: 104%;
  height: 0.35em;
}

/* ---------- Process (stacked sticky cards) ---------- */
.stack {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.scard {
  position: relative;
  display: grid;
  gap: 2rem;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1rem + 3vw, 4rem);
  background: var(--coal-2);
  border: 1px solid var(--line-d);
  overflow: hidden;
  transform-origin: center top;
}
@media (min-width: 900px) {
  .scard {
    position: sticky;
    top: calc(var(--header-h) + 1rem + var(--i, 0) * 1.6rem);
    min-height: min(36rem, calc(100svh - var(--header-h) - 8rem));
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
  }
}
.scard:nth-child(2) {
  background: var(--coal-3);
}
.scard:nth-child(3) {
  background: var(--bone);
  color: var(--text-l);
  border-color: var(--line-l);
}
.scard:nth-child(4) {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.scard__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4rem, 2rem + 6vw, 8.5rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  display: block;
}
.scard:nth-child(3) .scard__n {
  -webkit-text-stroke-color: var(--gold-deep);
}
.scard:nth-child(4) .scard__n {
  -webkit-text-stroke-color: var(--ink);
}
.scard h3 {
  margin-top: 1.25rem;
}
.scard p {
  margin-top: 1rem;
  max-width: 44ch;
  color: var(--mist);
  font-size: var(--t-lead);
  line-height: 1.5;
}
.scard:nth-child(3) p {
  color: var(--muted-l);
}
.scard:nth-child(4) p {
  color: rgb(13 12 10 / 0.78);
}
.scard__get {
  margin-top: 1.75rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.8rem 1rem;
  border-radius: var(--r-m);
  background: rgb(255 255 255 / 0.06);
  font-size: var(--t-small);
}
.scard:nth-child(3) .scard__get {
  background: var(--sand);
}
.scard:nth-child(4) .scard__get {
  background: rgb(13 12 10 / 0.1);
}
.scard__get b {
  white-space: nowrap;
}
.scard__art {
  position: relative;
  border-radius: var(--r-l);
  background: rgb(255 255 255 / 0.04);
  min-height: 14rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.scard:nth-child(3) .scard__art {
  background: var(--sand);
}
.scard:nth-child(4) .scard__art {
  background: rgb(13 12 10 / 0.08);
}
.scard__art svg {
  width: min(78%, 22rem);
  height: auto;
}
.scard__art svg .s {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scard__art svg .g {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scard:nth-child(3) .scard__art svg .g {
  stroke: var(--gold-deep);
}
.scard:nth-child(4) .scard__art svg .g {
  stroke: var(--ink);
}

/* ---------- Services list (hover preview) ---------- */
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.svc-group + .svc-group {
  margin-top: 3rem;
}
.svc-group__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
}
.light .svc-group__label {
  color: var(--gold-ink);
}
.svc-group__label span {
  color: var(--mist);
}
.light .svc-group__label span {
  color: var(--muted-l);
}
.svc-row {
  border-top: 1px solid var(--line-d);
}
.light .svc-row {
  border-color: var(--line-l);
}
.svc-group .svc-row:last-child {
  border-bottom: 1px solid var(--line-d);
}
.light .svc-group .svc-row:last-child {
  border-color: var(--line-l);
}
.svc-row a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: clamp(1.1rem, 0.8rem + 1vw, 1.9rem);
  position: relative;
}
@media (min-width: 900px) {
  .svc-row a {
    grid-template-columns: 3rem minmax(0, 1.4fr) minmax(0, 1fr) auto;
  }
}
.svc-row__i {
  display: none;
  font-size: var(--t-micro);
  font-weight: 800;
  color: var(--mist);
}
@media (min-width: 900px) {
  .svc-row__i {
    display: block;
  }
}
.svc-row__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 3.2vw, 4.2rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  transition:
    color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
}
.svc-row__desc {
  display: none;
  color: var(--mist);
  font-size: var(--t-small);
  max-width: 36ch;
}
.light .svc-row__desc {
  color: var(--muted-l);
}
@media (min-width: 900px) {
  .svc-row__desc {
    display: block;
  }
}
.svc-row__go {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-d);
  display: grid;
  place-items: center;
  transition:
    background-color var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
}
.light .svc-row__go {
  border-color: var(--line-l);
}
.svc-row a:hover .svc-row__name,
.svc-row a:focus-visible .svc-row__name {
  color: var(--gold);
  transform: translateX(0.5rem);
}
.light .svc-row a:hover .svc-row__name {
  color: var(--gold-deep);
}
.svc-row a:hover .svc-row__go {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: rotate(45deg);
}

.preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-preview);
  width: 19rem;
  height: 13rem;
  border-radius: var(--r-m);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition:
    opacity 220ms var(--ease),
    transform 380ms var(--ease-out);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.preview.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.preview .tile {
  height: 100%;
  width: 100%;
  border-radius: 0;
  aspect-ratio: auto;
}

/* ---------- Principles (light) ---------- */
.principles {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 1.5px solid var(--text-l);
}
@media (min-width: 900px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.principle {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-l);
}
@media (min-width: 900px) {
  .principle:nth-child(odd) {
    padding-right: 2.5rem;
    border-right: 1px solid var(--line-l);
  }
  .principle:nth-child(even) {
    padding-left: 2.5rem;
  }
}
.principle svg {
  width: 2.6rem;
  height: 2.6rem;
}
.principle svg path {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principle h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.9rem);
  line-height: 1.05;
}
.principle p {
  margin-top: 0.6rem;
  color: var(--muted-l);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1.5px solid currentColor;
}
.faq details {
  border-bottom: 1px solid var(--line-l);
}
.faq:not(.light .faq) details {
  border-color: var(--line-d);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2.4rem;
  align-items: center;
  gap: 1rem;
  padding-block: 1.4rem;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .q-n {
  font-family: var(--f-body);
  font-size: var(--t-micro);
  font-weight: 800;
  color: var(--gold-ink);
}
.dark-faq .faq summary .q-n {
  color: var(--gold);
}
.faq summary .q-i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-l);
  position: relative;
  transition:
    background-color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
}
.dark-faq .faq summary .q-i {
  border-color: var(--line-d);
}
.faq summary .q-i::before,
.faq summary .q-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq summary .q-i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq details[open] summary .q-i {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.faq summary:hover {
  color: var(--gold-deep);
}
.dark-faq .faq summary:hover {
  color: var(--gold);
}
.faq .a {
  padding: 0 3.4rem 1.6rem 3.6rem;
  color: var(--muted-l);
  max-width: 62ch;
}
.dark-faq .faq .a {
  color: var(--mist);
}
@media (max-width: 600px) {
  .faq summary {
    grid-template-columns: 2rem minmax(0, 1fr) 2.2rem;
  }
  .faq .a {
    padding: 0 0 1.4rem 3rem;
  }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: left;
}
.cta .burst {
  position: absolute;
  width: clamp(5rem, 3rem + 6vw, 9rem);
  right: 5%;
  top: 9%;
}
.cta .burst path {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}
.cta__row {
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-d);
  padding-block: clamp(3.5rem, 2rem + 4vw, 6rem) 2rem;
  color: var(--mist);
  font-size: var(--t-small);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  }
}
.footer-grid h2 {
  color: var(--gold);
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul {
  display: grid;
  gap: 0.55rem;
}
.footer-grid a {
  transition: color var(--fast) var(--ease);
}
.footer-grid a:hover {
  color: var(--paper);
}
.footer-brand p {
  margin-top: 1.25rem;
  max-width: 30ch;
}
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-d);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--t-micro);
}
.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -15%;
  top: -30%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgb(214 176 106 / 0.14), transparent 70%);
  pointer-events: none;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 2rem;
}
.crumbs a:hover {
  color: var(--paper);
}
.crumbs [aria-current] {
  color: var(--paper);
}
.page-hero__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: end;
}
@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}
.page-hero__art .tile {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
}

/* ---------- Generic blocks ---------- */
.list-lines li {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-l);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.list-lines li:first-child {
  border-top: 1.5px solid var(--text-l);
}
.list-lines .mk {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  margin-top: 0.2rem;
}
.list-lines .mk path {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deliver {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
@media (min-width: 700px) {
  .deliver {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .deliver {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.dcard {
  border-radius: var(--r-l);
  padding: 1.75rem;
  background: var(--coal-2);
  border: 1px solid var(--line-d);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 15rem;
  transition:
    border-color var(--fast) var(--ease),
    transform var(--base) var(--ease-out);
}
.dcard:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.dcard__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--gold);
}
.dcard h3 {
  margin-top: auto;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.45rem;
  line-height: 1.1;
}
.dcard p {
  color: var(--mist);
  font-size: var(--t-small);
}
.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}
.step {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--text-l);
}
.step__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.2rem;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--gold-deep);
}
.step h3 {
  margin-top: 0.75rem;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}
.step p {
  margin-top: 0.5rem;
  font-size: var(--t-small);
  color: var(--muted-l);
}
.related {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.related a {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--r-l);
  padding: 1.75rem;
  min-height: 14rem;
  border: 1px solid var(--line-d);
  background: var(--coal);
  transition:
    border-color var(--fast) var(--ease),
    background-color var(--fast) var(--ease);
}
.related a:hover {
  border-color: var(--gold);
  background: var(--coal-2);
}
.related h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.9rem;
  line-height: 1;
}
.related p {
  color: var(--mist);
  font-size: var(--t-small);
}
.related .go {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--gold);
}

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: 1.5rem;
}
.form .row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .form .row {
    grid-template-columns: 1fr 1fr;
  }
}
.field label,
.field legend {
  display: block;
  font-weight: 700;
  font-size: var(--t-small);
  margin-bottom: 0.5rem;
}
.field .opt {
  font-weight: 500;
  color: var(--mist);
}
.input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line-d);
  background: var(--coal);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
}
.input::placeholder {
  color: var(--mist-2);
}
.input:hover {
  border-color: var(--mist-2);
}
.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(214 176 106 / 0.25);
}
.input[aria-invalid="true"] {
  border-color: var(--bad);
}
textarea.input {
  min-height: 10rem;
  resize: vertical;
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b9b0a3' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.75rem;
}
.err {
  margin-top: 0.45rem;
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--bad);
}
.hint {
  margin-top: 0.45rem;
  font-size: var(--t-micro);
  color: var(--mist);
}
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-d);
  font-weight: 700;
  font-size: var(--t-small);
  transition:
    background-color var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    color var(--fast) var(--ease);
}
.choice input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: var(--t-small);
  color: var(--mist);
}
.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--gold);
  flex: none;
}
.consent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice {
  border-radius: var(--r-m);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-d);
  background: var(--coal-2);
  font-size: var(--t-small);
}
.notice strong {
  display: block;
  margin-bottom: 0.25rem;
}
.notice--warn {
  border-color: rgb(231 182 92 / 0.4);
}
.notice--warn strong {
  color: var(--warn);
}
.notice--bad {
  border-color: rgb(229 139 120 / 0.45);
}
.notice--bad strong {
  color: var(--bad);
}
.notice--ok {
  border-color: rgb(111 191 142 / 0.45);
}
.notice--ok strong {
  color: var(--ok);
}
.notice ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.4rem;
}
.notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Legal ---------- */
.prose {
  max-width: 46rem;
}
.prose h2 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.1;
  margin: 3rem 0 0.9rem;
}
.prose h3 {
  font-weight: 800;
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}
.prose p,
.prose ul {
  color: var(--muted-l);
  margin-bottom: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.prose a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.todo {
  background: #f8e8c4;
  color: #6b4500;
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-weight: 700;
  font-size: 0.92em;
}

/* ---------- Concierge ---------- */
.cg-launch {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-concierge);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.25rem;
  padding: 0 1.15rem 0 0.45rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  font-size: var(--t-small);
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.7);
  border: 1px solid rgb(137 96 10 / 0.25);
  transition: transform var(--base) var(--ease-out);
}
.cg-launch:hover {
  transform: translateY(-2px);
}
.cg-launch.is-tucked {
  transform: translateY(160%);
  pointer-events: none;
}
.cg-launch .dot {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.cg-launch .dot i {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
@media (min-width: 640px) {
  .cg-launch {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}
.cg {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  background: var(--coal);
  color: var(--paper);
  border: 1px solid var(--line-d);
}
@media (min-width: 640px) {
  .cg {
    inset: auto 1.5rem 5.75rem auto;
    width: 25.5rem;
    height: min(41rem, calc(100svh - 7.5rem));
    border-radius: var(--r-l);
    box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.9);
  }
}
.cg__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line-d);
}
.cg__head h2 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.45rem;
  line-height: 1;
}
.cg__mode {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-micro);
  color: var(--mist);
}
.cg__mode::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist-2);
}
.cg__btns {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.cg__restart {
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--mist);
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
}
.cg__restart:hover {
  background: var(--coal-3);
  color: var(--paper);
}
.cg__close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-d);
  display: grid;
  place-items: center;
}
.cg__close:hover {
  border-color: var(--paper);
}
.cg__log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cg__msg {
  max-width: 92%;
  font-size: var(--t-small);
  color: var(--mist);
  display: grid;
  gap: 0.6rem;
}
.cg__msg p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cg__msg--user {
  align-self: flex-end;
  max-width: 85%;
  background: var(--gold);
  color: var(--ink);
  padding: 0.65rem 0.95rem;
  border-radius: 16px 16px 4px 16px;
  font-weight: 600;
}
.cg__svc {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--r-m);
  border: 1px solid var(--line-d);
  background: var(--coal-2);
  transition: border-color var(--fast) var(--ease);
}
.cg__svc:hover {
  border-color: var(--gold);
}
.cg__svc b {
  display: block;
  color: var(--paper);
}
.cg__svc span {
  display: block;
  font-size: var(--t-micro);
  margin-top: 0.15rem;
}
.cg__svc em {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--gold);
}
.cg__brief {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: var(--t-small);
  background: var(--coal-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-m);
  padding: 0.9rem 1rem;
  margin: 0;
  color: var(--paper);
}
.cg__foot {
  border-top: 1px solid var(--line-d);
  padding: 0.85rem 1.25rem 1rem;
}
.cg__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 12rem;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}
.cg__opt {
  min-height: 2.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-d);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: left;
  color: var(--paper);
  transition:
    border-color var(--fast) var(--ease),
    background-color var(--fast) var(--ease);
}
.cg__opt:hover {
  border-color: var(--paper);
}
.cg__opt--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.cg__opt--primary:hover {
  background: var(--gold-2);
}
.cg__form {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.cg__input {
  flex: 1;
  min-height: 2.9rem;
  max-height: 8rem;
  resize: none;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line-d);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: var(--t-small);
}
.cg__input:focus {
  outline: none;
  border-color: var(--gold);
}
.cg__send {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.cg__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cg__note {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--mist);
  line-height: 1.4;
}
.cg__note a {
  text-decoration: underline;
}
.cg__status {
  font-size: var(--t-micro);
  color: var(--ok);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* ---------- Motion (progressive enhancement) ----------
   Hidden states apply only after the animation library loads (html.motion). */
html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}
/* Hero headline animates with CSS so it never waits for JavaScript (faster LCP) */
@keyframes line-up {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}
html.motion .hero .line > span {
  animation: line-up 1.1s var(--ease-out) both;
}
html.motion .hero .line:nth-child(2) > span {
  animation-delay: 0.08s;
}
html.motion .hero .line:nth-child(3) > span {
  animation-delay: 0.16s;
}
html.motion .doodle path[data-draw] {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track {
    animation: none;
  }
  .scard {
    position: relative !important;
    top: auto !important;
  }
}
