/* ============================================================
   BRAND FORGE STUDIOS
   Black, dark gray, and white. Mobile first.
   Base styles target a 360px screen. Columns arrive at 820px.

   Sections alternate black and dark gray. Each section sets
   --sbg (its background) and --sfill (shading inside graphics).
   Anything inverted uses white with the section colour as text,
   so a component always matches the section it sits in.
   ============================================================ */

:root {
  --black: #0a0a0a;
  --gray: #1c1c1c;
  --ink: #f4f4f4;   /* text, lines, solid fills. 18.1:1 on black, 15.6:1 on gray */
  --mute: #a3a3a3;  /* secondary text. 8.3:1 on black, 7.1:1 on gray */
  --soft: #4a4a4a;  /* quiet lines inside components. Never text */

  /* burnt orange accent, the same in both palettes.
     White text on it: 5.6:1. On black it is 3.2:1 and on dark gray 2.8:1,
     so here it is used for large type, icons, and fills, never small text. */
  --accent: #a8410c;          /* graphics, icons, marks */
  --accent-text: #a8410c;     /* large orange words (stats) */
  --btn-bg: #a8410c;          /* buttons and pills */
  --btn-fg: #f4f4f4;
  --btn-hover-fg: var(--ink); /* button text when hovered (outline state) */

  --sbg: var(--black);
  --sfill: #1a1a1a;

  --sans: "fieldwork", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.45, 0, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 70px;

  color-scheme: dark;
}

.theme-black { --sbg: var(--black); --sfill: #1a1a1a; }
.theme-gray  { --sbg: var(--gray);  --sfill: #2b2b2b; }

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* hidden always wins over a component's own display */
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

h1 {
  font-size: clamp(1.9rem, 6.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

p { max-width: 62ch; }

.lede { font-size: 1.08rem; color: var(--mute); }

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--black);
  font-weight: 600;
}
.skip:focus { top: 8px; }

.wrap { max-width: 1100px; margin-inline: auto; padding-inline: 18px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head { display: flex; flex-direction: column; gap: 12px; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- header: white ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--black);
}
.site-header :focus-visible { outline-color: var(--black); }

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* The logo file has headroom above the anvil for the hammer swing (the top 17%).
   Shifting it up by half of that centres the anvil and wordmark in the bar. */
.logo img { height: 48px; width: auto; transform: translateY(-8.6%); }
.logo-light { display: none; }

/* light / dark switch: a crisp square, sun in dark mode, moon in light mode */
.theme-btn {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--black);
  border-radius: 0;
  color: var(--black);
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.theme-btn .icon { width: 20px; height: 20px; }
@media (hover: hover) {
  .theme-btn:hover { background: var(--black); color: var(--ink); }
}
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.menu-btn {
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--black);
  border-radius: 0;
  color: var(--black);
  font-weight: 600;
  cursor: pointer;
}

/* Phone menu: a cabinet that unfolds down over the page from under the
   header (nothing below moves), then the links fade in one after another.
   Closing runs the same motion in reverse. */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 18px 18px;
  background: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 420ms var(--ease-out) 120ms, visibility 0s linear 560ms;
}
.site-nav.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 480ms var(--ease-out), visibility 0s;
}

.site-nav > a {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.site-nav.is-open > a {
  opacity: 1;
  transform: none;
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}
.site-nav.is-open > a:nth-child(1) { transition-delay: 140ms; }
.site-nav.is-open > a:nth-child(2) { transition-delay: 195ms; }
.site-nav.is-open > a:nth-child(3) { transition-delay: 250ms; }
.site-nav.is-open > a:nth-child(4) { transition-delay: 305ms; }
.site-nav.is-open > a:nth-child(5) { transition-delay: 360ms; }
.site-nav.is-open > a:nth-child(6) { transition-delay: 415ms; }

.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid rgb(10 10 10 / 0.15);
  text-decoration: none;
  font-weight: 600;
}

.site-nav .btn { margin-top: 12px; }
.site-nav .btn:hover { background: transparent; color: var(--black); border-color: var(--black); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--btn-bg);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.btn:hover { background: transparent; color: var(--btn-hover-fg); }

.btn-row { display: flex; }
.btn-row .btn { width: 100%; }

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

section {
  padding-block: 64px;
  background: var(--sbg);
  scroll-margin-top: var(--header-h);
}

/* ---------- cards ---------- */

.cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ink);
  background: var(--sbg);
  transition: transform 320ms var(--ease-out), background 320ms var(--ease), color 320ms var(--ease);
}
.card p { color: var(--mute); transition: color 320ms var(--ease); }

.mini { flex-direction: row; align-items: flex-start; gap: 14px; }
.mini > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini p { font-size: 0.94rem; }
.mini .card-icon { width: 30px; height: 30px; margin-top: 1px; }
/* hero: two headline cards that jump to their sections */
.hero-links { gap: 8px; }
.hero-link { align-items: center; padding: 14px 16px; text-decoration: none; }
.hero-link h3 { flex: 1; min-width: 0; }
.hero-link .card-icon { margin-top: 0; }
.hero-link .go { width: 20px; height: 20px; }

.card-icon,
.about .card > .icon,
.cmp-ours .icon,
.step-icon { color: var(--accent); transition: color 320ms var(--ease); }


/* hover: the card inverts. Nothing moves. */
@media (hover: hover) {
  .card.lift:hover { background: var(--ink); color: var(--sbg); }
  .card.lift:hover p,
  .card.lift:hover .n { color: var(--sbg); }
  .card.lift:hover .pill { background: var(--sbg); color: var(--ink); border-color: var(--sbg); }
  .card.lift:hover .card-icon { color: var(--sbg); }
}

/* pills: inverted by default */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid var(--btn-bg);
  border-radius: 20px;
  padding: 6px 14px 6px 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 320ms var(--ease), color 320ms var(--ease), border-color 320ms var(--ease);
}
.pill .icon { width: 18px; height: 18px; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.more .icon { width: 18px; height: 18px; transition: transform 320ms var(--ease-out); }

/* ---------- section layouts ---------- */

.split { display: flex; flex-direction: column; gap: 32px; }

.anim svg { width: 100%; height: auto; overflow: visible; color: var(--ink); }

/* hero forge: cropped tight to the anvil and resting hammer so it fills
   its column. The raised hammer swings into the space above. */
/* Phones: the graphic sits under the button but is pulled up, so the
   hammer swings behind the button and text. The svg's top 29.6% is headroom
   above the anvil; this margin leaves the anvil top 28px under the button.
   A soft overlay in the section colour sits behind the text and above the
   graphic, so the hammer stays visible but never fights the words. */
.forge-anim {
  max-width: 520px;
  width: 100%;
  margin: calc(28px - 29.6%) auto 0;
  position: relative;
  z-index: 0;
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -16px -18px -24px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--sbg) 84%, transparent) 0,
    color-mix(in srgb, var(--sbg) 84%, transparent) calc(100% - 24px),
    transparent 100%
  );
}

/* SVG paint helpers, bound to the section colours */
.k { fill: var(--ink); }
.b { fill: var(--sbg); }
.f { fill: var(--sfill); }
.st { stroke: var(--ink); stroke-width: 1.5; }
.st-only { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.acc { fill: var(--accent); }
.acc-st { stroke: var(--accent); }
.sparks line { stroke: var(--accent); }
.tile-ico { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- accordion ---------- */

.acc details {
  border: 1px solid var(--ink);
  background: var(--sbg);
  color: var(--ink);
  transition: background 380ms var(--ease), color 380ms var(--ease);
}
.acc details + details { border-top: 0; }

.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }

/* plus that turns into a minus */
.acc summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 380ms var(--ease), background-size 380ms var(--ease);
}

/* .is-active drives the look so colour can fade while height animates.
   [open] alone covers the no-script case. */
.acc details.is-active,
.no-js .acc details[open] { background: var(--ink); color: var(--sbg); }
.acc details.is-active summary::after,
.no-js .acc details[open] summary::after { transform: rotate(180deg); background-size: 14px 1.5px, 1.5px 0; }
.acc details.is-active :focus-visible { outline-color: var(--sbg); outline-offset: -4px; }

.acc .acc-body { overflow: hidden; }
.acc .acc-body p { padding: 0 16px 18px; opacity: 0.85; }

.step-n { font-weight: 400; opacity: 0.7; }

/* plan: accordion on phones, cards on desktop */
.plan-cards { display: none; }
.plan-cards .n { font-size: 0.9rem; color: var(--mute); transition: color 320ms var(--ease); }
.step-head { display: flex; align-items: center; gap: 10px; }
.step-head .step-icon { width: 28px; height: 28px; }
.step-sum { display: flex; align-items: center; gap: 12px; }
.step-sum .step-icon { width: 22px; height: 22px; }

/* ---------- comparison table ----------
   The table takes the opposite tone to its section: gray on black,
   black on gray. A white header bar, muted text with an X on the left,
   white text with a check on the right. */

.cmp {
  --tbg: var(--gray);
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--tbg);
  border: 1px solid var(--ink);
  font-size: 0.94rem;
}
.cmp.cmp-on-gray { --tbg: var(--gray); }
.cmp.cmp-on-black { --tbg: var(--black); }

.cmp th {
  padding: 14px 16px;
  background: var(--ink);
  color: var(--tbg);
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
  line-height: 1.3;
}

.cmp td {
  padding: 16px;
  vertical-align: top;
  border-top: 1px solid var(--soft);
}
.cmp tbody tr:first-child td { border-top: 0; }
.cmp td + td,
.cmp th + th { border-left: 1px solid var(--soft); }
.cmp th + th { border-left-color: rgb(10 10 10 / 0.18); }

.cmp-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cmp-cell .icon { width: 22px; height: 22px; margin-top: -1px; }

.cmp-typical { color: var(--mute); }
.cmp-ours { color: var(--ink); font-weight: 600; }

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

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

.about-head { display: flex; align-items: center; gap: 20px; }

.avatar {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
}
.avatar { display: block; position: relative; }
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
/* a light orange wash over the greyscale photo */
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: color;
  opacity: 0.22;
  pointer-events: none;
}

.stat {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.card .stat { color: var(--accent-text); transition: color 320ms var(--ease); }
.about .card { overflow: hidden; --sbg: var(--black); } /* black cards on the gray section */
.about .card p { max-width: none; }

/* about cards invert on hover */
@media (hover: hover) {
  .about .card:hover { background: var(--ink); color: var(--sbg); }
  .about .card:hover p { color: var(--sbg); }
  .about .card:hover .reel-item { border-color: var(--sbg); }
  .about .card:hover .stat,
  .about .card:hover > .icon { color: var(--sbg); }
}

/* name reels: left to right, same speed everywhere (set in JS) */
.reel {
  margin: auto -20px -20px;
  padding-block: 4px 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reel-track { display: flex; width: max-content; }
.reel.is-ready .reel-track { animation: reel-right var(--reel-dur, 30s) linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }

@keyframes reel-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.reel-item {
  flex: none;
  display: grid;
  place-items: center;
  height: 40px;
  margin-right: 10px;
  padding-inline: 14px;
  border: 1px solid var(--soft);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 320ms var(--ease);
}

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

#contact .wrap { align-items: flex-start; }
.signoff { font-weight: 600; font-size: 1.08rem; }

/* ---------- footer: white ---------- */

.site-footer {
  padding-block: 36px 44px;
  background: var(--ink);
  color: var(--black);
  font-size: 0.9rem;
}
.site-footer :focus-visible { outline-color: var(--black); }
.site-footer .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.footer-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-mark { width: 72px; height: auto; flex: none; }
.site-footer .small { color: #4a4a4a; } /* 8.7:1 on white */
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* analytics cookie switch: crisp and square, like the theme toggle.
   No banner anywhere; this switch (and the one on /cookies/) is the control. */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.switch {
  position: relative;
  width: 32px;
  height: 18px;
  flex: none;
  border: 1.5px solid currentColor;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}
.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  background: currentColor;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
[aria-pressed="true"] .switch { background: var(--accent); border-color: var(--accent); }
[aria-pressed="true"] .switch .knob { transform: translateX(14px); background: #f4f4f4; }
.cookie-state { min-width: 2em; text-align: left; }

.cookie-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--ink);
}
.cookie-panel p { color: var(--ink); margin: 0; }
.cookie-panel .cookie-btn { font-size: 0.95rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

/* ---------- dialog: white, black text ---------- */

.dialog {
  --dbg: var(--ink);
  --dfg: var(--black);
  --sbg: var(--dbg);
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--dfg);
  background: var(--dbg);
  color: var(--dfg);
}
.dialog::backdrop { background: rgb(10 10 10 / 0.72); }
.dialog :focus-visible { outline-color: var(--dfg); }

.dialog-box { padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.close-btn {
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--dfg);
  border-radius: 0;
  color: var(--dfg);
  font-weight: 600;
  cursor: pointer;
}

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.94rem; }
.form .opt { font-weight: 400; color: #4a4a4a; } /* 8.7:1 on white */

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--dfg);
  border-radius: 0;
  background: var(--dbg);
  color: var(--dfg);
  font-size: 16px; /* keeps iOS from zooming */
  font-weight: 400;
}
.form textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 340px) { .form-row { grid-template-columns: 1fr 1fr; gap: 12px; } }
.dialog .btn { width: 100%; }
.dialog .btn:hover { color: var(--dfg); border-color: var(--dfg); }

.form-status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

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

.legal { padding-block: 48px 64px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal p, .legal li { color: var(--mute); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal .meta { font-size: 0.9rem; color: var(--mute); }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   820px and up
   ============================================================ */

@media (min-width: 820px) {
  :root { --header-h: 76px; }

  .wrap { padding-inline: 24px; }

  .menu-btn { display: none; }
  .site-header .wrap { flex-wrap: nowrap; }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    width: auto;
    padding: 0;
    margin-left: 22px;
    background: none;
    visibility: visible;
    clip-path: none;
    transition: none;
  }
  .site-nav > a { opacity: 1; transform: none; }
  .site-nav > a:not(.btn) { transition: none; }
  .site-nav > .btn { transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease); }
  .site-nav a:not(.btn) { min-height: 44px; border: 0; font-size: 0.95rem; text-underline-offset: 6px; }
  .site-nav a:not(.btn):hover { text-decoration: underline; }
  .site-nav .btn { margin: 0; min-height: 44px; padding: 8px 18px; }

  section { padding-block: 96px; }

  .btn-row .btn { width: auto; }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }
  .forge-anim { margin: 0 auto; }
  .hero-copy::before { display: none; }

  .c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .split.flip > :first-child { order: 2; }


  .cmp { font-size: 1rem; }
  .cmp-cell { flex-direction: row; gap: 10px; }
  .cmp th, .cmp td { padding: 18px 22px; }
  .avatar { width: 128px; height: 128px; }
  .logo img { height: 56px; }
  .footer-mark { width: 96px; }

  .plan-acc { display: none; }
  .plan-cards { display: grid; }

  .dialog {
    width: calc(100% - 48px);
    max-width: 520px;
    margin: auto;
    border: 1px solid var(--dfg);
  }
  .dialog-box { padding: 24px; }
}

/* ============================================================
   Reduced motion: nothing moves
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reel.is-ready .reel-track { animation: none; }
}
