/* RM Investing: page styles. The engine (scrollcraft.css) is untouched; this
   file themes its tokens and styles our own markup. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/archivo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  /* brand */
  --rm-ink: #10182B;
  --rm-ink-2: #172238;      /* raised surface on ink */
  --rm-ink-3: #0B1120;      /* deepest ground */
  --rm-amber: #F5A524;
  --rm-amber-deep: #8A5300; /* amber as TEXT on paper (6:1) */
  --rm-amber-line: #B86E00; /* amber as a mark on paper (3.6:1) */
  --rm-paper: #F7F7F4;
  --rm-paper-2: #ECECE6;
  --rm-white: #FFFFFF;

  /* engine roles (dark ground is the default) */
  --sc-canvas: var(--rm-ink);
  --sc-surface: var(--rm-ink-2);
  --sc-ink: #F4F5F7;
  --sc-ink-soft: #BAC2D1;   /* 9.6:1 on ink */
  --sc-accent: var(--rm-amber);
  --sc-accent-ink: var(--rm-ink);
  --sc-shadow-color: 222 46% 6%;

  --sc-font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* his floor: body 18px, secondary 16.5px */
  --sc-t-base: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --sc-t-sm: clamp(1.04rem, 1rem + 0.15vw, 1.1rem);
  --sc-t-xs: 1.04rem;
  --sc-t-lg: clamp(1.25rem, 1.12rem + 0.55vw, 1.6rem);

  --bar-h: 4rem;
  --radius: 14px;
}

html { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { background: var(--rm-ink); }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 1rem; top: 0.75rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--rm-amber); color: var(--rm-ink);
  font-weight: 700; border-radius: 10px; transform: translateY(-160%);
}
.skip:focus { transform: none; }
.num { font-family: var(--sc-font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ------------------------------------------------------------- mark ---- */
.mark { display: block; }
/* <use> copies don't match class selectors, but custom properties inherit
   into them, so the tile and letter colours travel as variables. */
.mark__tile { fill: var(--mark-tile, #10182B); }
.mark__letters { fill: var(--mark-letters, #FFFFFF); }
.mark--inverse { --mark-tile: #FFFFFF; --mark-letters: #10182B; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.8rem 1.4rem;
  border: 0; border-radius: 12px;
  font-family: var(--sc-font-display); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.005em; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--amber { background: var(--rm-amber); color: var(--rm-ink); box-shadow: var(--sc-e1); }
.btn--ink { background: var(--rm-ink); color: var(--rm-white); box-shadow: var(--sc-e1); }
@media (hover: hover) and (pointer: fine) {
  .btn--amber:hover { background: #FFB841; box-shadow: var(--sc-e2); }
  .btn--ink:hover { background: #1D2A45; box-shadow: var(--sc-e2); }
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* -------------------------------------------------------------- bar ---- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--sc-gutter);
  padding-top: env(safe-area-inset-top);
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  background: var(--rm-ink);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.bar__brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 44px; text-decoration: none; color: var(--rm-white);
}
.bar__brand .mark { width: 2.5rem; height: 2.5rem; }
.bar__word { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.bar__cta { min-height: 2.875rem; padding: 0.55rem 0.95rem; font-size: 1.125rem; gap: 0.5rem; }
.bar__count {
  display: inline-grid; place-items: center;
  min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem;
  border-radius: 999px; background: var(--rm-ink); color: var(--rm-amber);
  font-family: var(--sc-font-mono); font-weight: 500; font-size: 1.06rem; line-height: 1;
}
.bar__count[hidden] { display: none; }
.bar__count.is-bump { animation: bump 360ms var(--sc-ease-out); }
@keyframes bump { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: none; } }
@media (max-width: 420px) {
  .bar__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------------------------------------------------------------- HERO -- */
/* The event photo full bleed; the plain mark and the promise over a scrim
   that sits only where the copy is. Motion: the photo drifts, the copy rises. */
.hero__stage {
  position: relative; overflow: clip; background: var(--rm-ink-3);
  height: 100vh; height: 100svh; min-height: 34rem;
}
.hero__media, .hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
}
.hero__photo { object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
.hero__topscrim {
  position: absolute; inset: 0 0 auto 0; height: 9rem; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(11 17 32 / 0.6), rgb(11 17 32 / 0));
}
/* desktop: copy holds the right-hand column, so the stage on the left stays clear */
.hero__scrim {
  z-index: 1;
  background:
    linear-gradient(to left, rgb(11 17 32 / 0.9) 0%, rgb(11 17 32 / 0.82) 34%, rgb(11 17 32 / 0.42) 52%, rgb(11 17 32 / 0) 66%),
    linear-gradient(to top, rgb(11 17 32 / 0.55) 0%, rgb(11 17 32 / 0) 40%);
}
.hero__lift { position: absolute; inset: 0; z-index: 4; pointer-events: none; will-change: transform; }
.hero__copy {
  position: absolute; pointer-events: auto;
  left: 56%; right: var(--sc-gutter);
  bottom: clamp(2.5rem, 8vh, 6rem);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__mark {
  width: clamp(7.5rem, 4rem + 5vw, 9.5rem); height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 10px 24px rgb(6 10 20 / 0.45)) drop-shadow(0 2px 4px rgb(6 10 20 / 0.35));
}
.hero__name {
  margin: 1rem 0 0; font-family: var(--sc-font-display); font-weight: 700;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); letter-spacing: -0.02em; color: var(--rm-white);
}
.hero__title {
  margin: clamp(1rem, 2.4vh, 1.75rem) 0 0;
  font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.2rem + 3.2vw, 4.6rem);
  line-height: 1.0; letter-spacing: -0.04em; text-wrap: balance; max-width: 13ch;
  color: var(--rm-white);
}
.hero__sub {
  margin: clamp(0.9rem, 2vh, 1.25rem) 0 clamp(1.25rem, 3vh, 1.75rem);
  max-width: 36ch; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); line-height: 1.5;
  color: #D3D9E3; text-wrap: pretty;
}

@media (max-width: 860px) {
  .hero__photo { transform-origin: 50% 100%; }
  .hero__topscrim { height: 7rem; }
  .hero__scrim {
    background: linear-gradient(to top,
      rgb(11 17 32 / 0.95) 0%, rgb(11 17 32 / 0.88) 42%, rgb(11 17 32 / 0.55) 60%, rgb(11 17 32 / 0) 76%);
  }
  .hero__copy { left: var(--sc-gutter); right: var(--sc-gutter); bottom: max(1.5rem, env(safe-area-inset-bottom)); }
  .hero__mark { width: clamp(6rem, 22svh - 3rem, 8.25rem); }
  .hero__name { margin-top: 0.75rem; font-size: 1.35rem; }
  .hero__title { margin-top: 0.85rem; font-size: clamp(2.2rem, 1.5rem + 3vw, 2.9rem); max-width: 14ch; }
  .hero__sub { margin: 0.75rem 0 1.15rem; font-size: 1.125rem; }
  .hero__cta { width: 100%; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero__mark { width: 5.25rem; }
  .hero__name { margin-top: 0.5rem; font-size: 1.2rem; }
  .hero__title { margin-top: 0.5rem; font-size: 1.95rem; }
  .hero__sub { line-height: 1.42; margin: 0.5rem 0 0.85rem; }
}
/* Short landscape phones: no room for the big mark; the bar carries it. */
@media (orientation: landscape) and (max-height: 560px) {
  .hero__stage { min-height: 22rem; }
  .hero__mark, .hero__name { display: none; }
  .hero__copy { left: 46%; bottom: 1rem; }
  .hero__title { margin-top: 0; font-size: 1.85rem; max-width: 16ch; }
  .hero__sub { margin: 0.5rem 0 0.75rem; max-width: 40ch; }
  .hero__cta { width: auto; }
  .hero__scrim {
    background: linear-gradient(to left, rgb(11 17 32 / 0.92) 0%, rgb(11 17 32 / 0.85) 45%, rgb(11 17 32 / 0.4) 62%, rgb(11 17 32 / 0) 76%);
  }
}

/* --------------------------------------------------------------- ABOUT -- */
.about { background: var(--rm-ink); padding-top: clamp(4rem, 9vw, 9rem); }
.about__grid {
  display: grid; gap: clamp(1rem, 3vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr); align-items: start; }
}
.about__h {
  margin: 0; padding-top: 0.6rem;
  font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-lg);
  letter-spacing: -0.01em; color: var(--rm-amber);
}
.about__lead {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4.1rem); line-height: 1.05; letter-spacing: -0.035em;
  color: var(--rm-white); max-width: 18ch; text-wrap: balance;
}
.about__body {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.55;
  color: var(--sc-ink-soft); max-width: 40ch; text-wrap: pretty;
}
.about__sign {
  font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base);
  color: var(--sc-ink-soft); letter-spacing: -0.005em;
}
.about__text.sc-stack > * + * { margin-top: clamp(1.25rem, 2.5vw, 2.25rem); }

/* ---------------------------------------------------------------- HELP -- */
.help__stage { background: var(--rm-ink-3); }
.help__scene { position: absolute; inset: 0; margin: 0; }
.help__scene picture, .help__scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.help__scrim {
  z-index: 2; --sc-canvas: var(--rm-ink-3);
  background:
    linear-gradient(to right, rgb(11 17 32 / 0.9) 0%, rgb(11 17 32 / 0.84) 34%, rgb(11 17 32 / 0.5) 54%, rgb(11 17 32 / 0) 72%),
    linear-gradient(to top, rgb(11 17 32 / 0.65) 0%, rgb(11 17 32 / 0) 50%);
}
.help__topscrim {
  position: absolute; inset: 0 0 auto 0; height: 15rem; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgb(11 17 32 / 0.9) 0%, rgb(11 17 32 / 0.7) 45%, rgb(11 17 32 / 0));
}
.help__h {
  position: absolute; z-index: 5; margin: 0;
  left: var(--sc-gutter); top: calc(var(--bar-h) + clamp(1.25rem, 4vh, 2.75rem));
  font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  line-height: 1.05; letter-spacing: -0.025em; color: var(--rm-amber);
  text-shadow: 0 2px 12px rgb(6 10 20 / 0.45);
}
.help__index {
  position: absolute; z-index: 5; margin: 0; padding: 0; list-style: none;
  right: var(--sc-gutter); top: calc(var(--bar-h) + clamp(1.25rem, 4vh, 2.75rem));
  display: grid; gap: 0.35rem; text-align: right;
}
.help__index li {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem;
  font-size: var(--sc-t-sm); color: rgb(244 245 247 / 0.72);
  transition: color 200ms var(--sc-ease-out);
}
.help__index li::after {
  content: ""; width: 0.75rem; height: 0.75rem; border-radius: 3px;
  border: 1.5px solid currentColor; flex: none;
}
.help__index li.is-active { color: var(--rm-white); font-weight: 600; }
.help__index li.is-picked::after { background: var(--rm-amber); border-color: var(--rm-amber); }

.help__item {
  position: absolute; z-index: 6;
  left: var(--sc-gutter); bottom: clamp(2.5rem, 10vh, 7rem);
  max-width: min(44rem, 80vw);
}
.help__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.04em;
  color: var(--rm-white); text-wrap: balance;
}
.help__line {
  margin: clamp(0.9rem, 2vh, 1.4rem) 0 clamp(1.25rem, 3vh, 2rem);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.45;
  color: #DCE1EA; max-width: 34ch; text-wrap: pretty;
}

/* the pick: add this item to your brief */
.pick {
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 3.25rem; padding: 0.7rem 1.25rem 0.7rem 0.9rem;
  border-radius: 12px; border: 1.5px solid rgb(255 255 255 / 0.7);
  background: rgb(11 17 32 / 0.55); color: var(--rm-white);
  font-family: var(--sc-font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.1;
  cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.pick:active { transform: translateY(1px) scale(0.985); }
.pick__box {
  width: 1.5rem; height: 1.5rem; border-radius: 6px; flex: none;
  border: 2px solid currentColor; position: relative;
}
.pick__on { display: none; }
.pick[aria-pressed="true"] { background: var(--rm-amber); border-color: var(--rm-amber); color: var(--rm-ink); }
.pick[aria-pressed="true"] .pick__on { display: inline; }
.pick[aria-pressed="true"] .pick__off { display: none; }
.pick[aria-pressed="true"] .pick__box { background: var(--rm-ink); border-color: var(--rm-ink); }
.pick[aria-pressed="true"] .pick__box::after {
  content: ""; position: absolute; left: 0.42rem; top: 0.14rem; width: 0.38rem; height: 0.72rem;
  border: solid var(--rm-amber); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
  .pick:hover { border-color: var(--rm-white); background: rgb(11 17 32 / 0.8); }
  .pick[aria-pressed="true"]:hover { background: #FFB841; }
}

@media (max-width: 860px) {
  .help__index { display: none; }
  .help__scrim {
    background: linear-gradient(to top,
      rgb(11 17 32 / 0.96) 0%, rgb(11 17 32 / 0.86) 30%, rgb(11 17 32 / 0.4) 52%, rgb(11 17 32 / 0) 68%);
  }
  .help__item { right: var(--sc-gutter); max-width: none; bottom: max(1.75rem, env(safe-area-inset-bottom)); }
  .help__title { font-size: clamp(2.1rem, 1.5rem + 3vw, 3rem); }
  .pick { width: 100%; justify-content: flex-start; }
}

/* ---------------------------------------------------------------- WORK -- */
.work {
  --sc-ink: var(--rm-ink); --sc-ink-soft: #465066;
  background: var(--rm-paper); color: var(--rm-ink);
  padding-block: clamp(4.5rem, 9vw, 9rem);
}
.work ::selection { background: var(--rm-ink); color: var(--rm-paper); }
.work :focus-visible { outline-color: var(--rm-ink); }
.work__wrap {
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
}
.work__h {
  margin: 0; font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em;
}
.work__figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--rm-paper-2); }
.work__figure img { width: 100%; height: auto; aspect-ratio: 1920 / 814; object-fit: cover; }
.work__statement {
  margin: 0; font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 3.1rem); line-height: 1.22; letter-spacing: -0.028em;
  color: var(--rm-ink); max-width: 30ch; text-wrap: pretty;
}
@media (min-width: 900px) {
  .work__wrap { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); column-gap: clamp(2rem, 5vw, 6rem); }
  .work__h { grid-column: 1; grid-row: 1; align-self: start; padding-top: 0.35rem; }
  .work__statement { grid-column: 2; grid-row: 1; }
  .work__figure { grid-column: 1 / -1; grid-row: 2; margin-top: clamp(1rem, 3vw, 3rem); }
}
@media (max-width: 700px) {
  .work__figure img { aspect-ratio: 900 / 750; }
}

/* -------------------------------------------------------------- FUTURE --
   The tagline's own moment: full width, the largest type on the page. */
.future {
  position: relative; overflow: hidden;
  /* the logo tile's gradient: lighter navy at the top, settling to ink */
  background: linear-gradient(180deg, #26355A 0%, #10182B 75%);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  min-height: 92vh; min-height: 92svh;
  display: grid; align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
}
.future > .sc-wrap { position: relative; z-index: 1; }
.future__curve {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 58%; pointer-events: none;
}
.future__curve-line {
  fill: none; stroke: var(--rm-amber); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.future__arrow .future__arrow-edge { stroke: #A8680F; }
.future__line {
  margin: 0; font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(4.1rem, 1rem + 12.4vw, 14rem);
  line-height: 0.88; letter-spacing: -0.06em; color: var(--rm-white);
}
.future__row { display: block; white-space: nowrap; }
.future__mark {
  width: clamp(6.5rem, 3rem + 6vw, 9.5rem); height: auto; aspect-ratio: 1;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 699px) { .future__line { font-size: min(19.4vw, 5.5rem); } }
@media (min-width: 700px) {
  .future__row:nth-child(2) { padding-left: 0.95em; }
  .future__row:nth-child(3) { padding-left: 1.9em; }
}
.future__arrow {
  display: inline-block; width: 0.55em; height: 0.55em; margin-left: 0.06em;
  vertical-align: 0.36em; overflow: visible;
  fill: none; stroke: var(--rm-amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .future__arrow { transform: translate(calc(var(--sc-p, 0.5) * 0.16em - 0.08em), calc(var(--sc-p, 0.5) * -0.16em + 0.08em)); }
}

/* ------------------------------------------------------------- CONTACT -- */
.contact {
  --sc-ink: var(--rm-ink); --sc-ink-soft: #465066;
  background: var(--rm-paper); color: var(--rm-ink);
  padding-block: clamp(4.5rem, 9vw, 9rem);
}
.contact ::selection { background: var(--rm-ink); color: var(--rm-paper); }
.contact :focus-visible { outline-color: var(--rm-ink); }
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 6rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; } }
.contact__h {
  margin: 0; font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.8rem); line-height: 0.96; letter-spacing: -0.045em;
}
.contact__lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem); line-height: 1.5; color: #2A3348; max-width: 34ch; }
.contact__alt { font-size: var(--sc-t-base); color: #465066; }
.contact__alt a, .contact a { color: var(--rm-ink); font-weight: 600; text-decoration-thickness: 1.5px; }
.contact__alt a { display: inline-block; padding-block: 0.6rem; }

.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label:not(.check), .field > legend {
  font-weight: 700; font-size: 1.125rem; color: var(--rm-ink); padding: 0;
}
.field > legend { margin-bottom: 0.5rem; }
.field__opt { font-weight: 400; color: #465066; }
.field__hint { margin: -0.15rem 0 0.1rem; font-size: 1.04rem; color: #465066; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem;
  font-size: 1.125rem; line-height: 1.4;
  background: var(--rm-white); color: var(--rm-ink);
  border: 1.5px solid #8A93A6; border-radius: 12px;
  transition: border-color 150ms var(--sc-ease-out), box-shadow 150ms var(--sc-ease-out);
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible {
  outline: none; border-color: var(--rm-ink); box-shadow: 0 0 0 3px rgb(245 165 36 / 0.9);
}
.form [aria-invalid="true"] { border-color: #B42318; }
.field__err { margin: 0; font-size: 1.125rem; font-weight: 600; color: #B42318; }
.field__err[hidden] { display: none; }

.picks { display: grid; gap: 0.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .picks > legend { grid-column: 1 / -1; } }
.check {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 3.25rem; padding: 0.6rem 0.9rem;
  border: 1.5px solid #B7BDC9; border-radius: 12px; background: var(--rm-white);
  font-size: 1.125rem; font-weight: 500; cursor: pointer;
  transition: border-color 150ms var(--sc-ease-out), background-color 150ms var(--sc-ease-out);
}
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 1.5rem; height: 1.5rem; border-radius: 6px; border: 2px solid #5A6478; background: var(--rm-white);
  display: grid; place-items: center; cursor: pointer;
}
.check input::after {
  content: ""; width: 0.38rem; height: 0.72rem; margin-top: -0.15rem;
  border: solid var(--rm-amber); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0);
  transition: transform 140ms var(--sc-ease-out);
}
.check input:checked { background: var(--rm-ink); border-color: var(--rm-ink); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check:has(input:checked) { border-color: var(--rm-ink); background: #FFF6E5; }
.check:has(input:focus-visible) { box-shadow: 0 0 0 3px rgb(245 165 36 / 0.9); border-color: var(--rm-ink); }
.check input:focus-visible { outline: none; }
.check.is-new { animation: flash 900ms var(--sc-ease-out); }
@keyframes flash { 0% { background: #FFE2A8; } 100% { background: #FFF6E5; } }

.form__send { justify-self: start; min-width: 14rem; }
@media (max-width: 560px) { .form__send { width: 100%; } }
.form__status { font-size: 1.125rem; line-height: 1.5; color: var(--rm-ink); }
.form__status:empty { display: none; }
.form__status p { margin: 0; }
.form__status p + p { margin-top: 0.35rem; color: #465066; }

/* -------------------------------------------------------------- FOOTER -- */
.foot { background: var(--rm-ink); padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.foot__grid { display: grid; gap: 1.5rem; }
.foot__lockup { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.5rem); }
.foot__mark { width: clamp(4rem, 8vw, 5.5rem); height: auto; aspect-ratio: 1; flex: none; }
.foot__word { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; color: var(--sc-ink-soft); }
.foot__tag {
  margin: 0.15rem 0 0; font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; color: var(--rm-white);
}
.foot__mail { margin: 0; }
.foot__mail a {
  display: inline-block; padding-block: 0.5rem; min-height: 44px;
  font-size: var(--sc-t-lg); font-weight: 600; color: var(--rm-white);
}
.foot__legal {
  margin: 0.5rem 0 0; max-width: 60ch; padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 1.04rem; line-height: 1.6; color: #9DA6B8; /* 6.9:1 on ink */
}
.foot__legal a { color: #C9CFDB; display: inline-block; min-height: 44px; padding-block: 0.6rem; margin-block: -0.6rem; }

/* ------------------------------------------------- REDUCED MOTION / STATIC
   site.js turns the two pinned acts into ordinary flow before mounting, so
   nothing holds the reader in place. Everything here is the static layout. */
:is(html.rm-static, html:not(.js)) [data-sc-cue] { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
:is(html.rm-static, html:not(.js)) .sc-split__i { opacity: 1 !important; }
:is(html.rm-static, html:not(.js)) .help__stage { position: relative; height: auto; display: grid; gap: 0; padding-top: calc(var(--bar-h) + 1.5rem); }
:is(html.rm-static, html:not(.js)) .help__scrim, :is(html.rm-static, html:not(.js)) .help__topscrim, :is(html.rm-static, html:not(.js)) .help__index { display: none; }
:is(html.rm-static, html:not(.js)) .help__h { position: static; padding: 0 var(--sc-gutter) 1rem; }
:is(html.rm-static, html:not(.js)) .help__scene, :is(html.rm-static, html:not(.js)) .help__item { position: relative; inset: auto; }
:is(html.rm-static, html:not(.js)) .help__scene { height: 56svh; min-height: 18rem; }
:is(html.rm-static, html:not(.js)) .help__item { left: auto; bottom: auto; max-width: none; padding: 1.5rem var(--sc-gutter) 3rem; }
:is(html.rm-static, html:not(.js)) .help__scene:nth-of-type(1) { order: 1; } :is(html.rm-static, html:not(.js)) .help__item[data-item="0"] { order: 2; }
:is(html.rm-static, html:not(.js)) .help__scene:nth-of-type(2) { order: 3; } :is(html.rm-static, html:not(.js)) .help__item[data-item="1"] { order: 4; }
:is(html.rm-static, html:not(.js)) .help__scene:nth-of-type(3) { order: 5; } :is(html.rm-static, html:not(.js)) .help__item[data-item="2"] { order: 6; }
:is(html.rm-static, html:not(.js)) .help__scene:nth-of-type(4) { order: 7; } :is(html.rm-static, html:not(.js)) .help__item[data-item="3"] { order: 8; }
:is(html.rm-static, html:not(.js)) .help__h { order: 0; }
:is(html.rm-static, html:not(.js)) .pick { width: auto; }
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
html:not(.js) .pick { display: none; }
html:not(.js) .help__scene[data-sc-reveal] { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .btn, .pick, .check, .check input::after { transition: none; }
  .bar__count.is-bump, .check.is-new { animation: none; }
}

/* ----------------------------------------------------------------- 404 -- */
.nf { min-height: 100svh; display: grid; place-items: center; }
.nf__main { display: grid; gap: 1.25rem; justify-items: start; padding-block: 4rem; max-width: 40rem; }
.nf__mark { width: 5.5rem; height: 5.5rem; border-radius: 18px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18); }
.nf__h { margin: 0.5rem 0 0; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; }
.nf__p { margin: 0 0 0.75rem; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); }
