/* FONTS */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-ext-400.1ad231aac0a8.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400.260c81a4759b.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-ext-500.1ad231aac0a8.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500.260c81a4759b.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   AMAZING SPORTS - Design system v2
   Warm editorial. Photography-led. Flat surfaces, pill shapes, big type.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Warm neutral palette */
  --clay-700: #8c6246;
  --clay-600: #a8775a;
  --clay-500: #c08f6d;
  --clay-400: #d4a888;
  --clay-200: #ecd9c8;
  --clay-100: #f6ece3;

  --ink-900: #16130f;
  --ink-800: #272320;
  --ink-600: #5c5550;
  --ink-500: #837b74;
  --ink-400: #a69e97;
  --ink-300: #cfc8c1;
  --ink-200: #e5e0da;
  --ink-100: #f2efeb;
  --paper: #faf8f5;
  --white: #ffffff;

  /* Semantic - LIGHT */
  --bg: var(--paper);
  --bg-alt: var(--white);
  --bg-warm: var(--clay-500);
  --bg-deep: var(--ink-900);
  --surface: var(--white);
  --surface-sunken: var(--ink-100);
  --line: var(--ink-200);

  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-400);
  --text-on-warm: #ffffff;
  --text-on-warm-muted: rgba(255, 255, 255, 0.72);
  --text-on-deep: #f5f2ef;
  --text-on-deep-muted: rgba(245, 242, 239, 0.6);

  --accent: var(--clay-600);
  --accent-hover: var(--clay-700);

  --focus-ring: var(--ink-900);
  --error: #a63d2f;
  --error-bg: #fbeeec;
  --success: #3f6b4f;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6.5rem;
  --sp-10: 9rem;

  /* Type scale - editorial, large steps at the top */
  --fs-micro: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.06rem + 0.32vw, 1.375rem);
  --fs-xl: clamp(1.5rem, 1.34rem + 0.8vw, 2.125rem);
  --fs-2xl: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.75rem + 3.75vw, 4.75rem);
  --fs-stat: clamp(1.75rem, 1.2rem + 3.2vw, 4.5rem);

  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-normal: 1.55;
  --lh-loose: 1.7;

  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi: 600;

  --track-wide: 0.12em;
  --track-tight: -0.025em;
  --track-tighter: -0.04em;

  /* Radii - pill language */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Shadow - used sparingly */
  --shadow-float: 0 24px 60px -20px rgba(22, 19, 15, 0.22);
  --shadow-soft: 0 2px 10px rgba(22, 19, 15, 0.05);

  /* Layout */
  --container: 1280px;
  --container-narrow: 720px;
  --gutter: 1.25rem;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  color-scheme: light dark;
}

/* DARK */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14110e;
    --bg-alt: #1c1815;
    --bg-deep: #0c0a08;
    --surface: #1c1815;
    --surface-sunken: #221d19;
    --line: #322c27;
    --text: #f3efea;
    --text-muted: #b5aca4;
    --text-faint: #7d746c;
    --accent: var(--clay-400);
    --accent-hover: var(--clay-200);
    --error-bg: #3a1f1b;
    --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
}

:root[data-theme="dark"] {
  --bg: #14110e;
  --bg-alt: #1c1815;
  --bg-deep: #0c0a08;
  --surface: #1c1815;
  --surface-sunken: #221d19;
  --line: #322c27;
  --text: #f3efea;
  --text-muted: #b5aca4;
  --text-faint: #7d746c;
  --accent: var(--clay-400);
  --accent-hover: var(--clay-200);
  --error-bg: #3a1f1b;
  --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
  letter-spacing: var(--track-tighter);
}
h2 {
  font-size: var(--fs-2xl);
  letter-spacing: var(--track-tighter);
}
h3 {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
}
h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  max-width: 54ch;
}

/* The signature meta line: "team wear / featured" */
.meta-line {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: var(--sp-2);
}

.meta-line em {
  font-style: normal;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}

.display-note {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   4. A11Y
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--ink-900);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 0;
}

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

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

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

.section--lg {
  padding-block: var(--sp-9);
}

.section--alt {
  background: var(--bg-alt);
}

.section--deep {
  background: var(--bg-deep);
  color: var(--text-on-deep);
}

.section--deep .lead,
.section--deep p {
  color: var(--text-on-deep-muted);
}

.section--deep .eyebrow,
.section--deep .meta-line {
  color: var(--text-on-deep-muted);
}

.section__head {
  max-width: 48ch;
  margin-bottom: var(--sp-7);
}

.section__head--split {
  max-width: none;
  display: grid;
  gap: var(--sp-5);
  align-items: end;
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--tight {
  gap: var(--sp-4);
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.stack > * + * {
  margin-top: var(--sp-4);
}

@media (min-width: 600px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  :root {
    --gutter: 2rem;
  }
  .section {
    padding-block: var(--sp-9);
  }
  .section--lg {
    padding-block: var(--sp-10);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .section__head--split {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   6. BUTTONS - pill language
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  text-decoration: none;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.btn--solid {
  background: var(--ink-900);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--ink-800);
}

.btn--light {
  background: var(--white);
  color: var(--ink-900);
}

.btn--light:hover {
  background: var(--clay-100);
}

.btn--line {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--text);
  background: var(--surface);
}

.section--deep .btn--line,
.hero .btn--line {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section--deep .btn--line:hover,
.hero .btn--line:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--sm {
  min-height: 38px;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.link-arrow:hover {
  border-color: var(--text);
  gap: var(--sp-3);
}

/* --------------------------------------------------------------------------
   7. HEADER - floating pill nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-tighter);
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.brand__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--accent);
  display: inline-block;
}

/* Pill nav bar */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0;
  padding: 5px;
  list-style: none;
  background: var(--surface-sunken);
  border-radius: var(--r-full);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link.is-active,
.nav__link[aria-expanded="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.nav__caret {
  width: 9px;
  height: 9px;
  transition: transform var(--dur) var(--ease);
}

.nav__link[aria-expanded="true"] .nav__caret {
  transform: rotate(180deg);
}

/* Mega menu */
.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  padding-block: var(--sp-6);
}

.megamenu[hidden] {
  display: none;
}

.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-2);
}

.megamenu__item {
  display: block;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.megamenu__item:hover {
  background: var(--surface-sunken);
}

.megamenu__title {
  display: block;
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--text);
  margin-bottom: 2px;
}

.megamenu__desc {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.header__cta {
  display: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  color: var(--text-muted);
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.icon-btn:hover {
  background: var(--surface-sunken);
  color: var(--text);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.theme-toggle__moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle__moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle__moon {
    display: block;
  }
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 15, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(380px, 90vw);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
}

.drawer__nav {
  padding: var(--sp-4) var(--sp-5);
  flex: 1;
}

.drawer__link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-tight);
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.drawer__link:hover {
  color: var(--accent);
}

.drawer__foot {
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

@media (min-width: 1060px) {
  .nav {
    display: block;
  }
  .header__cta {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. HERO - floating warm panel over photography
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: var(--sp-5) var(--sp-8);
}

.hero__panel {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--clay-500);
  color: var(--text-on-warm);
  box-shadow: var(--shadow-float);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(140, 98, 70, 0.92) 0%,
    rgba(140, 98, 70, 0.72) 42%,
    rgba(140, 98, 70, 0.28) 100%
  );
}

.hero__body {
  padding: var(--sp-7) var(--sp-5) var(--sp-8);
  display: grid;
  gap: var(--sp-5);
}

.hero h1 {
  max-width: 16ch;
}

.hero__aside {
  font-size: var(--fs-sm);
  color: var(--text-on-warm-muted);
  line-height: var(--lh-loose);
  max-width: 42ch;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-5) 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.tag:hover,
.tag.is-active {
  background: #fff;
  color: var(--ink-900);
}

/* White inset panel that floats inside the hero */
.hero__inset {
  margin: var(--sp-5);
  padding: var(--sp-5);
  background: var(--surface);
  border-radius: var(--r-xl);
  color: var(--text);
}

.hero__inset-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.hero__inset-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
}

@media (min-width: 860px) {
  .hero__body {
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    padding: var(--sp-9) var(--sp-7) var(--sp-6);
  }
  .hero__tags {
    padding-inline: var(--sp-7);
  }
  .hero__inset {
    margin: var(--sp-6) var(--sp-7) var(--sp-7);
    padding: var(--sp-6);
  }
}

/* --------------------------------------------------------------------------
   9. CARDS - flat, no border, image-led
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-sunken);
  margin-bottom: var(--sp-3);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: 4px var(--sp-3);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  border-radius: var(--r-full);
}

.card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.card__title a {
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__foot {
  margin-top: var(--sp-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
}

.card__spec {
  color: var(--text-muted);
}

.card__spec-alt {
  color: var(--text-faint);
}

/* Wide editorial card */
.card--wide .card__media {
  aspect-ratio: 16 / 10;
}

/* Capability card on a surface */
.panel {
  padding: var(--sp-6);
  background: var(--surface);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--dur) var(--ease);
}

.panel:hover {
  transform: translateY(-3px);
}

.panel__num {
  font-size: var(--fs-sm);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.panel__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-loose);
}

/* --------------------------------------------------------------------------
   10. EDITORIAL SPLIT BLOCK
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.split__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-sunken);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .split--reverse .split__media {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   11. STATS
   -------------------------------------------------------------------------- */
.stat__value {
  display: block;
  overflow-wrap: anywhere;
  font-size: var(--fs-stat);
  font-weight: var(--fw-light);
  line-height: 0.95;
  letter-spacing: var(--track-tighter);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 22ch;
}

.section--deep .stat__label {
  color: var(--text-on-deep-muted);
}

/* --------------------------------------------------------------------------
   12. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.step__num {
  font-size: var(--fs-sm);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.step__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  letter-spacing: var(--track-tight);
}

.step__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  max-width: 48ch;
}

.section--deep .step,
.section--deep .steps {
  border-color: rgba(255, 255, 255, 0.14);
}

.section--deep .step__num {
  color: var(--text-on-deep-muted);
}

@media (min-width: 800px) {
  .step {
    grid-template-columns: 60px 1.1fr 1.4fr;
    gap: var(--sp-5);
    padding-block: var(--sp-6);
  }
}

/* --------------------------------------------------------------------------
   13. LOGO STRIP
   -------------------------------------------------------------------------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6) var(--sp-8);
  opacity: 0.55;
}

.logo-strip img {
  height: 26px;
  width: auto;
  filter: grayscale(1);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  padding-block: var(--sp-8) var(--sp-5);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.site-footer a:hover {
  color: var(--text);
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

.footer__tagline {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-faint);
  max-width: 32ch;
}

.footer__col h2 {
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}

.footer__list {
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-7);
  }
}

/* --------------------------------------------------------------------------
   15. FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: var(--sp-4);
  bottom: calc(var(--sp-4) + 60px);
  z-index: 90;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-float);
  transition: transform var(--dur) var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 27px;
  height: 27px;
}

.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.mobile-cta .btn {
  flex: 1;
}

@media (min-width: 1060px) {
  .mobile-cta {
    display: none;
  }
  .wa-float {
    bottom: var(--sp-5);
  }
}

/* --------------------------------------------------------------------------
   16. FORMS
   -------------------------------------------------------------------------- */
.field {
  position: relative;
  margin-bottom: var(--sp-4);
}

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  min-height: 54px;
  padding: var(--sp-5) var(--sp-4) var(--sp-2);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease);
}

.field__textarea {
  min-height: 120px;
  resize: vertical;
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  border-color: var(--text);
  outline: none;
}

.field__label {
  position: absolute;
  left: calc(var(--sp-4) + 1px);
  top: 17px;
  font-size: var(--fs-md);
  color: var(--text-faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__textarea:focus + .field__label,
.field__textarea:not(:placeholder-shown) + .field__label,
.field__select:focus + .field__label,
.field__select:valid + .field__label {
  transform: translateY(-11px) scale(0.76);
  color: var(--text-muted);
}

.field__error {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--error);
}

.field--invalid .field__input,
.field--invalid .field__textarea,
.field--invalid .field__select {
  border-color: var(--error);
}

.honeypot {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
}

/* --------------------------------------------------------------------------
   17. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding-block: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--sp-2);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   18. REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. UTILITIES
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.mb-5 {
  margin-bottom: var(--sp-5);
}
.no-scroll {
  overflow: hidden;
}

/* STAT CARDS */
.glance {
  --f1: 8px; --f2: 13px; --f3: 21px; --f4: 34px; --f5: 55px; --f6: 89px;
  padding-block: var(--f5);
}
@media (min-width: 1000px) { .glance { padding-block: var(--f6); } }

.glance__head { margin-bottom: var(--f4); }
.glance__head h2 { max-width: 20ch; }

.glance__grid { display: grid; gap: var(--f3); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .glance__grid { grid-template-columns: 1.618fr 1fr; }
  .gcard--markets { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.618fr; align-items: center; gap: var(--f4); }
}

.gcard {
  display: flex; flex-direction: column; gap: var(--f3);
  padding: var(--f4); background: var(--surface); border-radius: var(--r-xl);
}
.glabel { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.gbig {
  display: block; font-weight: 300; line-height: 1; letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.236rem); font-variant-numeric: tabular-nums;
}
.gcard--markets .gbig { margin-bottom: var(--f2); }

.gcard__top { display: flex; flex-wrap: wrap; gap: var(--f3) var(--f5); }
.gnum b { display: block; font-weight: 300; line-height: 1; letter-spacing: -0.04em; font-size: clamp(2rem, 1.3rem + 2.4vw, 2.618rem); }
.gnum span { display: block; margin-top: var(--f2); font-size: 0.8125rem; color: var(--text-muted); }

/* dots */
.gdots { display: grid; grid-template-columns: repeat(5, 21px); gap: var(--f1); margin-top: auto; }
.gdot { width: 21px; height: 21px; border-radius: 50%; background: var(--accent); }

/* timeline */
.gsteps { list-style: none; margin: var(--f3) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.gsteps::before, .gsteps::after { content: ""; position: absolute; top: 11px; left: 10%; right: 10%; height: 2px; }
.gsteps::before { background: var(--line); }
.gsteps::after { background: var(--accent); }
.gstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--f1); padding-inline: var(--f1); }
.gstep__node { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--surface); position: relative; z-index: 1; margin-bottom: var(--f2); }
.gstep h3 { font-size: 1rem; font-weight: 500; }
.gstep p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }
.chip { padding: 3px 12px; border-radius: var(--r-full); font-size: 0.75rem; background: var(--text); color: var(--bg); }

@media (max-width: 899px) {
  .gsteps { grid-template-columns: 1fr; gap: var(--f3); }
  .gsteps::before, .gsteps::after { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; }
  .gstep { align-items: flex-start; text-align: left; padding: 0 0 0 var(--f5); }
  .gstep__node { position: absolute; left: 0; top: 0; margin: 0; }
}

/* markets */
.gpills { display: flex; flex-wrap: wrap; gap: var(--f1); }
.gpill { display: inline-flex; align-items: center; gap: var(--f1); padding: 7px 15px; border-radius: var(--r-full); font-size: 0.8125rem; background: var(--surface-sunken); color: var(--text); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.gpill:hover { background: var(--clay-200); color: var(--ink-900); transform: translateY(-2px); }
.gpill--main { background: var(--text); color: var(--bg); font-weight: 500; }
.gpill--main:hover { background: var(--text); color: var(--bg); }
.gpill--main::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay-400); animation: gpulse 2s infinite; }
@keyframes gpulse { 0% { box-shadow: 0 0 0 0 rgba(212,168,136,.7); } 70% { box-shadow: 0 0 0 8px rgba(212,168,136,0); } 100% { box-shadow: 0 0 0 0 rgba(212,168,136,0); } }

/* unfold animation (only when JS has armed the card) */
.is-armed .gdot { background: var(--line); opacity: 0; transform: scale(.3); }
.is-armed.is-in .gdot { background: var(--accent); opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .4s var(--ease); transition-delay: calc(var(--i) * 60ms); }

.is-armed .gsteps::after { transform: scaleX(0); transform-origin: left; }
.is-armed.is-in .gsteps::after { transform: scaleX(1); transition: transform 3.6s linear; }
.is-armed .gstep__node { background: var(--surface); border-color: var(--line); transform: scale(.7); }
.is-armed.is-in .gstep__node { background: var(--accent); border-color: var(--accent); transform: none; transition: all .5s var(--ease); transition-delay: calc(var(--i) * 0.9s); }
.is-armed .gstep h3, .is-armed .gstep .chip, .is-armed .gstep p { opacity: 0; transform: translateY(10px); }
.is-armed.is-in .gstep h3, .is-armed.is-in .gstep .chip, .is-armed.is-in .gstep p { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 0.9s + 0.15s); }

.is-armed .gpill { opacity: 0; transform: translateY(12px) scale(.92); }
.is-armed.is-in .gpill { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 90ms); }
@media (max-width: 899px) {
  .is-armed.is-in .gsteps::after { transform: scaleY(1); }
  .is-armed .gsteps::after { transform: scaleY(0); transform-origin: top; }
}

.gpill__flag { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gpill--main::before { display: none; }
.gpill--main { padding: 9px 18px 9px 12px; }

/* HOME EXTRAS */
.facts { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); }
.facts b { display: block; font-weight: 300; font-size: var(--fs-xl); letter-spacing: -0.03em; }
.facts span { font-size: var(--fs-sm); color: var(--text-muted); }
.quote { margin: var(--sp-6) 0 0; padding-left: var(--sp-5); border-left: 2px solid var(--accent); font-size: var(--fs-lg); line-height: 1.5; max-width: 46ch; }
.cert-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-pill { padding: 10px 20px; border-radius: var(--r-full); background: var(--surface); font-size: var(--fs-sm); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 64px; padding-block: var(--sp-4); cursor: pointer; font-size: var(--fs-lg); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--sp-5); color: var(--text-muted); max-width: 60ch; }

.faq summary { transition: color .3s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq details[open] summary { color: var(--accent); }

/* INQUIRY FORM */
.inq { display: grid; gap: var(--sp-7); }
@media (min-width: 960px) {
  .inq { grid-template-columns: 1fr 1.618fr; gap: var(--sp-8); align-items: start; }
  .inq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.inq__points { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }
.inq__points li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.inq__form { padding: var(--sp-6); background: var(--surface); border-radius: var(--r-xl); }
.inq__form .field__input, .inq__form .field__textarea { background: var(--bg); }
.form-row { display: grid; gap: var(--sp-4); }
.form-row .field { margin-bottom: var(--sp-4); }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-alert { padding: var(--sp-4); margin-bottom: var(--sp-4); border-radius: var(--r-md); background: var(--error-bg); color: var(--error); font-size: var(--fs-sm); }
.form-alert[hidden] { display: none; }
.form-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--text-faint); text-align: center; }
.field--date .field__label { transform: translateY(-11px) scale(.76); color: var(--text-muted); }
.file-label { display: block; margin-bottom: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.file-input { width: 100%; padding: var(--sp-3); border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--bg); }
.chips { border: 0; padding: 0; margin: 0 0 var(--sp-4); }
.chips legend { margin-bottom: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip-check span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-sm); transition: background-color .3s var(--ease), color .3s var(--ease); }
.chip-check input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-check input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.more { margin-bottom: var(--sp-4); border-top: 1px solid var(--line); }
.more summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; transition: transform .3s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more__body { padding-top: var(--sp-3); }

/* INQUIRY UI */
.field--date .field__input { cursor: pointer; padding-right: 48px; }
.field--date::after {
  content: ""; position: absolute; right: 16px; top: 19px; width: 18px; height: 18px;
  background: var(--text-faint); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cal {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
  width: min(330px, 100%); min-width: 290px; padding: var(--sp-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.cal.is-open { opacity: 1; transform: none; }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.cal__head strong { font-weight: 500; font-size: var(--fs-base); }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--text-muted); transition: background-color .3s var(--ease); }
.cal__nav:hover:not(:disabled) { background: var(--surface-sunken); color: var(--text); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow { padding: 6px 0; font-size: var(--fs-micro); color: var(--text-faint); }
.cal__day { aspect-ratio: 1; min-height: 40px; border-radius: 50%; font-size: var(--fs-sm); transition: background-color .25s var(--ease), color .25s var(--ease); }
.cal__day:hover:not(:disabled) { background: var(--surface-sunken); }
.cal__day:disabled { opacity: .35; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--text-faint); }
.cal__day[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.cal__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.cal__quick button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-xs); transition: border-color .3s var(--ease); }
.cal__quick button:hover { border-color: var(--text); }
.cal__clear { color: var(--text-faint); }

.progress { margin-bottom: var(--sp-5); }
.progress__bar { height: 4px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: calc(var(--p, 0) * 1%); background: var(--accent); transition: width .5s var(--ease); }
.progress__text { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }

.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 var(--sp-4); }
.suggest button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-xs); color: var(--text-muted); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.suggest button:hover { border-color: var(--text); color: var(--text); }
.suggest button.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.field__hint { display: block; margin: -8px 0 var(--sp-4); font-size: var(--fs-sm); color: var(--accent); }
.field__hint[hidden] { display: none; }
.field--valid .field__input, .field--valid .field__textarea { border-color: var(--success); }
.inq__form .field__textarea { overflow: hidden; }

.drop { position: relative; display: grid; place-items: center; min-height: 112px; padding: var(--sp-4); border: 1.5px dashed var(--line); border-radius: var(--r-md); background: var(--bg); text-align: center; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.drop:hover, .drop.is-over { border-color: var(--text); }
.drop.is-over { background: var(--surface-sunken); }
.drop:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.drop .file-input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.drop__msg strong { display: block; font-weight: 500; }
.drop__msg span { font-size: var(--fs-sm); color: var(--text-faint); }
.drop__file { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.drop__file[hidden], .drop__msg[hidden] { display: none; }
.drop__remove { width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; line-height: 1; border: 1px solid var(--line); }
.drop__remove:hover { background: var(--surface-sunken); }
.drop.has-file { border-style: solid; border-color: var(--success); }

.btn:disabled { opacity: .75; cursor: progress; transform: none; }
.btn:disabled::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--solid { background: var(--text); color: var(--bg); }
  :root:not([data-theme="light"]) .btn--solid:hover { background: var(--clay-200); }
}
:root[data-theme="dark"] .btn--solid { background: var(--text); color: var(--bg); }
:root[data-theme="dark"] .btn--solid:hover { background: var(--clay-200); }

/* PAGES */
.h-sm { font-size: var(--fs-lg); margin-bottom: var(--sp-4); }
.prose p + p { margin-top: var(--sp-3); }
.prose { color: var(--text-muted); max-width: 52ch; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.tick-list li { position: relative; padding-left: 26px; color: var(--text-muted); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.gallery figcaption { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-faint); }

/* PRODUCT PAGES */
.cat-block { margin-top: var(--sp-8); }
.cat-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.cat-block__head h2 { font-size: var(--fs-xl); }
.tag-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--r-full); text-decoration: none; font-size: var(--fs-sm); transition: border-color .3s var(--ease); }
.tag-link:hover { border-color: var(--text); }

/* TIMELINE */
.timeline { list-style: none; padding: 0; margin: var(--sp-6) 0 0; border-top: 1px solid var(--line); }
.timeline__item { display: grid; gap: var(--sp-3); padding-block: var(--sp-6); border-bottom: 1px solid var(--line); }
.timeline__num { font-size: var(--fs-sm); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.timeline__item h2 { font-size: var(--fs-xl); font-weight: 300; }
.timeline__item p { color: var(--text-muted); max-width: 52ch; margin-top: var(--sp-2); }
@media (min-width: 800px) { .timeline__item { grid-template-columns: 80px 1fr; } }

/* MARKETS */
.market-flag { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-bottom: var(--sp-4); }
a.gpill { text-decoration: none; }

/* BLOG */
.post-cover { margin: var(--sp-6) 0; aspect-ratio: 16 / 9; }
.post-body { max-width: 62ch; font-size: var(--fs-md); line-height: 1.75; }
.post-body p { margin-top: var(--sp-4); color: var(--text-muted); }
.post-body h2 { margin-top: var(--sp-7); font-size: var(--fs-xl); font-weight: 400; }
.post-body .tick-list { margin-top: var(--sp-4); }
.post-links { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line); }

/* CONTACT */
.contact-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.618fr 1fr; align-items: start; } }
.contact-cards { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } .contact-cards .form-note { grid-column: 1 / -1; } }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-5); background: var(--surface); border-radius: var(--r-xl); text-decoration: none; transition: transform .3s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); }
.contact-card strong { font-size: var(--fs-lg); font-weight: 500; }
.contact-card span:last-child { color: var(--text-muted); font-size: var(--fs-sm); word-break: break-word; }

/* ACCESSIBILITY FIXES */
:root { --text-faint: #6b635c; }
:root[data-theme="dark"] { --text-faint: #a69e97; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --text-faint: #a69e97; } }
.hero__aside, .tag { color: #fff; }
.footer__col h2 { font-size: var(--fs-micro); }

/* CONSENT */
.consent { position: fixed; z-index: 120; left: var(--sp-4); right: var(--sp-4); bottom: calc(var(--sp-4) + 72px); display: grid; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); font-size: var(--fs-sm); color: var(--text-muted); opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.consent.is-open { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: var(--sp-2); }
@media (min-width: 700px) { .consent { max-width: 560px; left: var(--sp-5); right: auto; bottom: var(--sp-5); grid-template-columns: 1fr auto; align-items: center; } }
.footer-link-btn { color: var(--text-muted); font-size: inherit; text-decoration: underline; padding: 0; min-height: 44px; }

/* ABOUT */
.company-facts { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .company-facts { grid-template-columns: 1fr 1fr; } }
.company-facts b { display: block; font-weight: 500; }
