/* ==========================================================================
   Devsoll — design system
   Light canvas, ink sections, restrained gold. No framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Ink */
  --ink-950: #06070a;
  --ink-900: #0a0c11;
  --ink-850: #101319;
  --ink-800: #161a22;
  --ink-750: #1d222c;

  /* Paper */
  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --paper-3: #eff1f5;

  /* Text on light */
  --text: #12151c;
  --text-2: #4a5262;
  --text-3: #666e7d;

  /* Text on ink */
  --on-dark: #f2f4f8;
  --on-dark-2: rgba(242, 244, 248, 0.68);
  --on-dark-3: rgba(242, 244, 248, 0.52);

  /* Lines */
  --line: #e3e6ec;
  --line-strong: #d2d7e0;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-strong: rgba(255, 255, 255, 0.18);

  /* Accent */
  --gold-300: #efd4a6;
  --gold-400: #ddb477;
  --gold-500: #c08f45;
  --gold-600: #8c6529;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1200px;
  --container-wide: 1360px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(10, 12, 17, 0.05), 0 1px 1px rgba(10, 12, 17, 0.03);
  --sh-md: 0 4px 12px -2px rgba(10, 12, 17, 0.06), 0 12px 28px -8px rgba(10, 12, 17, 0.08);
  --sh-lg: 0 8px 20px -4px rgba(10, 12, 17, 0.08), 0 28px 56px -16px rgba(10, 12, 17, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;

  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: 'ss01' 1, 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--gold-300);
  color: var(--ink-900);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.85rem 1.25rem;
  background: var(--ink-900);
  color: var(--on-dark);
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}

.skip:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink-900);
  color: var(--on-dark);
}

.section--ruled {
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

.display {
  font-size: clamp(2.6rem, 1.1rem + 5.6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.033em;
  font-weight: 600;
  text-wrap: balance;
}

.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gold-400);
}

.sec-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head__title {
  font-size: clamp(1.9rem, 1rem + 2.9vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 600;
  text-wrap: balance;
}

.sec-head__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-600);
}

.section--ink .sec-head__title em {
  color: var(--gold-400);
}

.sec-head__body {
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  line-height: 1.68;
  color: var(--text-2);
  max-width: 42rem;
  text-wrap: pretty;
}

.sec-head--center .sec-head__body {
  margin-inline: auto;
}

.section--ink .sec-head__body {
  color: var(--on-dark-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow__tick {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light,
.section--ink .eyebrow {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
}

.btn--primary:hover {
  --btn-bg: var(--ink-750);
}

.btn--gold {
  --btn-bg: var(--gold-400);
  --btn-fg: var(--ink-950);
}

.btn--gold:hover {
  --btn-bg: var(--gold-300);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}

.btn--outline:hover {
  --btn-bd: var(--ink-900);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  --btn-bd: var(--line-dark-strong);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.07);
  --btn-bd: rgba(255, 255, 255, 0.3);
}

.section--ink .btn--primary,
.cta-band .btn--primary {
  --btn-bg: var(--gold-400);
  --btn-fg: var(--ink-950);
}

.section--ink .btn--primary:hover,
.cta-band .btn--primary:hover {
  --btn-bg: var(--gold-300);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.93);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-900);
  flex-shrink: 0;
}

.logomark {
  color: var(--ink-900);
  transition: color 0.3s var(--ease);
}

.logo:hover .logomark {
  color: var(--gold-500);
}

.logo__word {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.site-footer .logo,
.site-footer .logomark {
  color: var(--on-dark);
}

.nav {
  margin-inline: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
  background: var(--paper-3);
}

.nav__chev {
  transition: transform 0.25s var(--ease);
  opacity: 0.6;
}

.nav__trigger[aria-expanded='true'] .nav__chev {
  transform: rotate(180deg);
}

.megamenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 78vw);
  padding: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  animation: menuIn 0.22s var(--ease-out);
}

.megamenu[hidden] {
  display: none;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
}

.megamenu__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

.mega__link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: var(--r-md);
  transition: background-color 0.2s var(--ease);
}

.mega__link:hover {
  background: var(--paper-2);
}

.mega__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--gold-600);
  background: var(--paper-2);
}

.mega__text {
  display: block;
  min-width: 0;
}

.mega__label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.mega__desc {
  display: block;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-3);
  margin-top: 0.15rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease);
}

.burger[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.burger[aria-expanded='true'] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile nav */

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: sheetIn 0.28s var(--ease-out);
}

.mobile-nav[hidden] {
  display: none;
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.mobile-nav__inner {
  padding: 1.5rem var(--gutter) 3rem;
}

.mobile-nav__label {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mobile-nav__inner > .mobile-nav__label:first-child {
  margin-top: 0;
}

.mobile-nav__list li + li {
  border-top: 1px solid var(--line);
}

.mobile-nav__list a {
  display: block;
  padding: 0.95rem 0;
}

.mobile-nav__list span {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.mobile-nav__list small {
  display: block;
  font-size: 0.83rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}

.mobile-nav__cta {
  margin-top: 2rem;
}

.mobile-nav__cta .btn {
  width: 100%;
}

body.is-locked {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid,
.hero__glow,
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  opacity: 0.55;
}

.hero__glow {
  background: radial-gradient(60% 55% at 22% 8%, rgba(221, 180, 119, 0.16), transparent 62%),
    radial-gradient(50% 50% at 88% 26%, rgba(110, 143, 245, 0.1), transparent 66%);
}

.hero__inner {
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(3.5rem, 6vw, 5rem);
  position: relative;
}

.hero__title {
  max-width: 17ch;
}

.hero__lede {
  margin-top: 1.65rem;
  max-width: 44rem;
  font-size: clamp(1.06rem, 0.98rem + 0.42vw, 1.28rem);
  line-height: 1.62;
  color: var(--on-dark-2);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 2.4rem;
}

.hero__ticker {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}

.hero__ticker > * {
  background: var(--ink-900);
}

.tick {
  padding: 1.35rem 1.5rem 1.5rem;
}

.tick__index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold-400);
}

.tick__name {
  margin-top: 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.tick__desc {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--on-dark-3);
}

/* --------------------------------------------------------------------------
   8. Page hero (interior)
   -------------------------------------------------------------------------- */

.phero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.phero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 70% at 15% 0%, rgba(221, 180, 119, 0.14), transparent 60%),
    radial-gradient(50% 60% at 92% 20%, rgba(110, 143, 245, 0.08), transparent 65%);
  pointer-events: none;
}

.phero__inner {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3.5rem, 7vw, 5.5rem);
}

.phero__title {
  max-width: 20ch;
  font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
  text-wrap: balance;
}

.phero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
}

.phero__body {
  margin-top: 1.4rem;
  max-width: 44rem;
  font-size: clamp(1.02rem, 0.97rem + 0.28vw, 1.17rem);
  line-height: 1.68;
  color: var(--on-dark-2);
  text-wrap: pretty;
}

.phero__actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.crumb {
  margin-bottom: 1.6rem;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.crumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.5;
}

.crumb a:hover {
  color: var(--gold-400);
}

.crumb [aria-current] {
  color: var(--on-dark-2);
}

/* --------------------------------------------------------------------------
   9. Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
}

.section--paper2 .stat {
  background: var(--paper-2);
}

.section--ink .stats {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.section--ink .stat {
  background: var(--ink-900);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.section--ink .stat__label {
  color: var(--gold-400);
}

.stat__value {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stat__note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-3);
}

.section--ink .stat__note {
  color: var(--on-dark-3);
}

/* --------------------------------------------------------------------------
   10. Division cards
   -------------------------------------------------------------------------- */

.divisions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.divisions-layout__aside {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.divisions-layout__aside .sec-head {
  margin-bottom: 2rem;
}

.dcards {
  display: grid;
  gap: 1.25rem;
}

.dcard {
  position: relative;
  display: block;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color 0.3s var(--ease);
}

.dcard::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}

.dcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-lg);
}

.dcard:hover::after {
  transform: scaleY(1);
}

.dcard__index {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.1rem);
  right: clamp(1.5rem, 3vw, 2.1rem);
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--paper-3);
  transition: color 0.35s var(--ease);
}

.dcard:hover .dcard__index {
  color: var(--gold-300);
}

.dcard__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--gold-600);
  margin-bottom: 1.35rem;
}

.dcard__title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.024em;
}

.dcard__kicker {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.dcard__body {
  margin-top: 1rem;
  color: var(--text-2);
  line-height: 1.66;
  max-width: 44ch;
}

.dcard__props {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.35rem;
}

.dcard__props li {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--text-3);
  background: var(--paper-2);
}

.dcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.dcard__cta .icon {
  transition: transform var(--dur) var(--ease-out);
}

.dcard:hover .dcard__cta .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   11. Feature grid
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

.section--paper2 .feature {
  background: var(--paper);
}

.section--ink .feature {
  background: var(--ink-850);
  border-color: var(--line-dark);
}

.section--ink .feature:hover {
  border-color: var(--line-dark-strong);
  box-shadow: none;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--gold-600);
  margin-bottom: 1.15rem;
}

.section--ink .feature__icon {
  background: var(--ink-800);
  border-color: var(--line-dark);
  color: var(--gold-400);
}

.feature__title {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.feature__body {
  margin-top: 0.6rem;
  font-size: 0.945rem;
  line-height: 1.66;
  color: var(--text-2);
}

.section--ink .feature__body {
  color: var(--on-dark-2);
}

/* --------------------------------------------------------------------------
   12. Platforms
   -------------------------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.platform {
  background: var(--paper);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background-color 0.3s var(--ease);
}

.platform:hover {
  background: var(--paper-2);
}

.platform__name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.platform__detail {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.pstep {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.pstep:last-child {
  border-bottom: 1px solid var(--line);
}

.section--ink .pstep {
  border-color: var(--line-dark);
}

.pstep__num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 0.85;
  color: var(--gold-600);
  opacity: 0.9;
}

.section--ink .pstep__num {
  color: var(--gold-400);
  opacity: 0.75;
}

.pstep__title {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 0.6rem;
}

.pstep__body p {
  color: var(--text-2);
  line-height: 1.7;
  max-width: 54ch;
}

.section--ink .pstep__body p {
  color: var(--on-dark-2);
}

/* --------------------------------------------------------------------------
   14. Properties
   -------------------------------------------------------------------------- */

.props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.prop {
  padding: clamp(1.4rem, 2.4vw, 1.85rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color 0.3s var(--ease);
}

.prop:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
}

.prop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.prop__name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.prop__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.prop__link:hover {
  color: var(--gold-600);
}

.prop__arrow {
  opacity: 0.5;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease);
}

.prop__link:hover .prop__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.prop__desc {
  font-size: 0.945rem;
  line-height: 1.65;
  color: var(--text-2);
}

.prop__meta {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.pill__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.pill.is-live {
  color: #1d7a4c;
  border-color: #b9e2cc;
  background: #f0faf5;
}

.pill.is-building {
  color: var(--gold-600);
  border-color: var(--gold-300);
  background: #fdf8f0;
}

.pill.is-planned {
  color: var(--text-3);
  background: var(--paper-2);
}

/* --------------------------------------------------------------------------
   15. Accordion
   -------------------------------------------------------------------------- */

.accordion {
  max-width: 52rem;
  border-top: 1px solid var(--line);
}

.acc {
  border-bottom: 1px solid var(--line);
}

.acc__h {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  transition: color 0.2s var(--ease);
}

.acc__btn:hover {
  color: var(--gold-600);
}

.acc__q {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.018em;
}

.acc__sign {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-2);
  transition: transform 0.35s var(--ease-out), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.acc__btn[aria-expanded='true'] .acc__sign {
  transform: rotate(45deg);
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}

.acc__panel {
  padding-bottom: 1.5rem;
  max-width: 46rem;
}

.acc__panel[hidden] {
  display: none;
}

.acc__panel p {
  color: var(--text-2);
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   16. Case studies
   -------------------------------------------------------------------------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.case__aside .eyebrow {
  margin-bottom: 0.9rem;
}

.case__title {
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 600;
  text-wrap: balance;
}

.case__division {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.case__stat-value {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.case__stat-label {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-3);
}

.case__block + .case__block {
  margin-top: 1.75rem;
}

.case__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.7rem;
}

.case__body p {
  color: var(--text-2);
  line-height: 1.72;
}

.checklist {
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  color: var(--text-2);
  line-height: 1.62;
}

.checklist .icon {
  flex-shrink: 0;
  margin-top: 0.32rem;
  color: var(--gold-500);
}

.case__outcome {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  background: var(--paper-2);
  border-left: 2px solid var(--gold-400);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.case__outcome p {
  color: var(--text);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 80% at 80% 50%, rgba(221, 180, 119, 0.15), transparent 65%);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  flex-wrap: wrap;
}

.cta-band__title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 20ch;
  text-wrap: balance;
}

.cta-band__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
}

.cta-band__body {
  margin-top: 1rem;
  max-width: 42ch;
  color: var(--on-dark-2);
  line-height: 1.66;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   18. Prose (legal + long-form)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 44rem;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.prose p,
.prose li {
  color: var(--text-2);
  line-height: 1.75;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.25rem;
}

.prose ul li {
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold-400);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.prose a:hover {
  color: var(--gold-600);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose__updated {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}

.legal-toc h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.legal-toc ul {
  display: grid;
  gap: 0.15rem;
}

.legal-toc a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

.legal-toc a:hover {
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.field label .req {
  color: var(--gold-600);
  margin-left: 0.15rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7383' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(192, 143, 69, 0.15);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

.field__error {
  font-size: 0.8rem;
  color: #b3261e;
  font-weight: 500;
}

.field__error:empty {
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.28rem;
  flex-shrink: 0;
  accent-color: var(--ink-900);
}

.consent label {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.55;
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form__status:empty {
  display: none;
}

.form__status.is-ok {
  background: #f0faf5;
  border: 1px solid #b9e2cc;
  color: #14603b;
}

.form__status.is-err {
  background: #fdf2f1;
  border: 1px solid #f0c4c0;
  color: #92211a;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.info-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}

.info-card + .info-card {
  margin-top: 1.25rem;
}

.info-card h2,
.info-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}

.info-card p,
.info-card address {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-2);
}

.info-card a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold-400);
  text-underline-offset: 3px;
}

.info-list {
  display: grid;
  gap: 0.85rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2);
}

.info-list .icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   20. Split feature
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split__body p {
  color: var(--text-2);
  line-height: 1.72;
}

.split__body p + p {
  margin-top: 1.1rem;
}

.section--ink .split__body p {
  color: var(--on-dark-2);
}

.panel {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper-2);
}

.section--ink .panel {
  background: var(--ink-850);
  border-color: var(--line-dark);
}

.panel__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.section--ink .panel__row {
  border-color: var(--line-dark);
}

.panel__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel__row:first-child {
  padding-top: 0;
}

.panel__key {
  font-size: 0.9rem;
  color: var(--text-3);
}

.section--ink .panel__key {
  color: var(--on-dark-3);
}

.panel__val {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-align: right;
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-950);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
}

.site-footer__pitch {
  margin-top: 1.15rem;
  max-width: 26ch;
  color: var(--on-dark-2);
  line-height: 1.6;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--on-dark-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.socials a:hover {
  color: var(--ink-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.fcol__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.15rem;
}

.fcol ul {
  display: grid;
  gap: 0.7rem;
}

.fcol a {
  font-size: 0.91rem;
  color: var(--on-dark-2);
  transition: color 0.2s var(--ease);
}

.fcol a:hover {
  color: var(--on-dark);
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2.25rem;
}

.site-footer__entity p,
.site-footer__entity address {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--on-dark-3);
  max-width: 52ch;
}

.site-footer__entity strong {
  color: var(--on-dark-2);
  font-weight: 600;
}

.site-footer__meta {
  text-align: right;
}

.site-footer__meta p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--on-dark-3);
}

.site-footer__meta a:hover {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   22. 404
   -------------------------------------------------------------------------- */

.nf {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 62vh;
  padding-block: 5rem;
}

.nf__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 0.9;
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   23. Motion
   -------------------------------------------------------------------------- */

/* Reveal is opt-in: only hidden once JS confirms it can bring it back. */
html.js-on .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

html.js-on .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .divisions-layout {
    grid-template-columns: 1fr;
  }

  .divisions-layout__aside {
    position: static;
  }

  .platforms {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav,
  .site-header__actions .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .grid-3,
  .props {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .case,
  .split,
  .form-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .grid-3,
  .grid-2,
  .props,
  .platforms,
  .stats,
  .hero__ticker,
  .field--split {
    grid-template-columns: 1fr;
  }

  .platforms {
    border-radius: var(--r-md);
  }

  .pstep {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .pstep__num {
    font-size: 2.25rem;
  }

  .case__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .case__stat-value {
    font-size: 1.3rem;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__actions .btn {
    flex: 1 1 auto;
  }

  .site-footer__legal {
    flex-direction: column;
  }

  .site-footer__meta {
    text-align: left;
  }

  .dcard__index {
    font-size: 2rem;
  }

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

  .hero__actions .btn {
    width: 100%;
  }
}

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

/* --------------------------------------------------------------------------
   25. Preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js-on .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .cta-band,
  .site-footer,
  .skip {
    display: none !important;
  }

  body {
    color: #000;
  }

  html.js-on .reveal {
    opacity: 1;
    transform: none;
  }
}
