/* ==========================================================================
   Iryna Bremond — editorial sports design system
   ========================================================================== */

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

:root {
  --paper: #f6f2ea;
  --paper-2: #ece5d7;
  --chalk: #fbfaf7;
  --ink: #14110f;
  --ink-2: #4b443d;
  --ink-3: #6a6158;
  --clay: #b4472a;
  --clay-2: #8e3520;
  --court: #1d3830;
  --line: rgba(20, 17, 15, 0.14);
  --line-2: rgba(20, 17, 15, 0.28);
  --line-light: rgba(246, 242, 234, 0.18);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --shell: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset and base -------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

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

::selection {
  background: var(--clay);
  color: var(--chalk);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--ink);
  color: var(--chalk);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* 3. Typography ------------------------------------------------------------ */

.display,
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.4vw, 6.1rem);
}

h2 {
  font-size: clamp(2.05rem, 4.4vw, 3.9rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.014em;
}

h4 {
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.italic {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.lede {
  font-size: clamp(1.06rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  font-weight: 300;
}

.prose p {
  margin-bottom: 1.15em;
  max-width: 66ch;
  color: var(--ink-2);
}

.prose p:last-child {
  margin-bottom: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--clay {
  color: var(--clay);
}

.eyebrow--light {
  color: rgba(246, 242, 234, 0.66);
}

.num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

/* 4. Layout ---------------------------------------------------------------- */

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

.section {
  padding: clamp(64px, 9vw, 132px) 0;
  position: relative;
}

main {
  padding-top: var(--header-h);
}

body[data-header="over"] main {
  padding-top: 0;
}

.section--tight {
  padding: clamp(44px, 5.5vw, 76px) 0;
}

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

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--court {
  background: var(--court);
  color: var(--paper);
}

.section--ink .lede,
.section--court .lede,
.section--ink .prose p,
.section--court .prose p {
  color: rgba(246, 242, 234, 0.74);
}

.section--ink .eyebrow,
.section--court .eyebrow {
  color: rgba(246, 242, 234, 0.6);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section--ink .rule,
.section--court .rule {
  background: var(--line-light);
}

.grid {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: clamp(32px, 6vw, 96px);
  }
}

.section-head h2 {
  max-width: 20ch;
}

.section-head .lede {
  padding-bottom: 6px;
}

/* 5. Buttons and links ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--chalk);
}

.btn:active {
  transform: translateY(1px);
}

.btn--clay {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--chalk);
}

.btn--clay:hover {
  background: var(--clay-2);
  border-color: var(--clay-2);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 242, 234, 0.4);
}

.btn--light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn__arrow {
  width: 16px;
  height: 10px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.link-draw {
  position: relative;
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 4px;
  color: var(--clay);
}

.link-draw::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.link-draw:hover::after {
  transform: scaleX(1);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.wordmark__mark {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.wordmark__role {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
}

.nav-link {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-cta {
  display: none;
}

body[data-header="over"] .site-header .header-cta {
  background: transparent;
  border-color: rgba(251, 250, 247, 0.42);
  color: var(--chalk);
}

body[data-header="over"] .site-header .header-cta:hover {
  background: var(--chalk);
  border-color: var(--chalk);
  color: var(--ink);
}

/* transparent over hero */
body[data-header="over"] .site-header {
  background: transparent;
  border-bottom-color: transparent;
}

body[data-header="over"] .site-header .wordmark__name,
body[data-header="over"] .site-header .nav-link,
body[data-header="over"] .site-header .nav-toggle span {
  color: rgba(251, 250, 247, 0.9);
}

body[data-header="over"] .site-header .wordmark__role {
  color: rgba(251, 250, 247, 0.6);
}

body[data-header="over"] .site-header .wordmark__mark {
  color: rgba(251, 250, 247, 0.9);
}

body[data-header="over"] .site-header .nav-toggle__bars span {
  background: rgba(251, 250, 247, 0.9);
}

body[data-header="over"] .site-header.is-stuck {
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line);
}

body[data-header="over"] .site-header.is-stuck .wordmark__name,
body[data-header="over"] .site-header.is-stuck .nav-link {
  color: var(--ink-2);
}

body[data-header="over"] .site-header.is-stuck .nav-link[aria-current="page"],
body[data-header="over"] .site-header.is-stuck .nav-link:hover {
  color: var(--ink);
}

body[data-header="over"] .site-header.is-stuck .wordmark__role {
  color: var(--ink-3);
}

body[data-header="over"] .site-header.is-stuck .wordmark__mark {
  color: var(--ink);
}

body[data-header="over"] .site-header.is-stuck .nav-toggle__bars span {
  background: var(--ink);
}

body[data-header="over"] .site-header.is-stuck .header-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

body[data-header="over"] .site-header.is-stuck .header-cta:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--chalk);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line-2);
  cursor: pointer;
}

body[data-header="over"] .site-header .nav-toggle {
  border-color: rgba(251, 250, 247, 0.32);
}

body[data-header="over"] .site-header.is-stuck .nav-toggle {
  border-color: var(--line-2);
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

body.nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

body.nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

@media (min-width: 1040px) {
  .nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
    padding: 12px 20px;
  }
  .nav-toggle {
    display: none;
  }
}

/* mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 110;
  background: var(--paper);
  padding: clamp(28px, 7vw, 56px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease),
    visibility 0.35s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.1;
}

.mobile-nav__list a span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 1040px) {
  .mobile-nav {
    display: none;
  }
}

/* 7. Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
  padding-top: calc(var(--header-h) + 40px);
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.04);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(12, 10, 8, 0.92) 0%,
      rgba(12, 10, 8, 0.58) 42%,
      rgba(12, 10, 8, 0.22) 72%,
      rgba(12, 10, 8, 0.42) 100%
    ),
    radial-gradient(
      120% 90% at 15% 100%,
      rgba(180, 71, 42, 0.3) 0%,
      transparent 60%
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__eyebrow {
  color: rgba(251, 250, 247, 0.72);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 6.6vw, 6rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: #f0c8a8;
}

.hero__bottom {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(32px, 4.5vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(251, 250, 247, 0.22);
}

@media (min-width: 900px) {
  .hero__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.hero__lede {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.58;
  color: rgba(251, 250, 247, 0.8);
  max-width: 52ch;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn--light {
  border-color: rgba(251, 250, 247, 0.45);
}

.hero__actions .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero__actions .btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--chalk);
}

.hero__actions .btn--light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 250, 247, 0.45);
}

.hero__actions .btn--light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero__actions .btn--whatsapp {
  background: #128c7e;
  color: #fff;
  border-color: #128c7e;
}

.hero__actions .btn--whatsapp:hover {
  background: #075e54;
  border-color: #075e54;
}

.hero__scroll {
  display: none;
}

@media (min-width: 1040px) {
  .hero__scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: var(--gutter);
    bottom: clamp(40px, 6vw, 72px);
    z-index: 2;
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(251, 250, 247, 0.5);
  }
}

/* compact page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--chalk);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0
    clamp(40px, 5.5vw, 76px);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 10, 8, 0.92) 0%,
    rgba(12, 10, 8, 0.66) 46%,
    rgba(12, 10, 8, 0.34) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

@media (min-width: 960px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: end;
  }
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.7rem);
  font-weight: 300;
  max-width: 20ch;
}

.page-hero .lede {
  color: rgba(246, 242, 234, 0.78);
  max-width: 46ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.5);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.breadcrumb a {
  color: rgba(246, 242, 234, 0.72);
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--chalk);
}

.breadcrumb span[aria-hidden] {
  opacity: 0.45;
}

/* 8. Marquee --------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--clay);
  border-radius: 50%;
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

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

@media (min-width: 780px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  background: var(--paper);
  padding: clamp(22px, 3vw, 36px) clamp(18px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.section--ink .stat,
.section--court .stat {
  background: transparent;
}

.stat__num {
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.4vw, 4.6rem);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}

.section--ink .stat__num,
.section--court .stat__num {
  -webkit-text-stroke-color: rgba(246, 242, 234, 0.55);
}

.stat__num--solid {
  color: var(--clay);
  -webkit-text-stroke: 0;
}

.stat__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}

.section--ink .stat__label,
.section--court .stat__label {
  color: rgba(246, 242, 234, 0.55);
}

/* 10. Service cards -------------------------------------------------------- */

.cards {
  display: grid;
  gap: clamp(20px, 2.4vw, 30px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 820px) {
  .cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(20, 17, 15, 0.4);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: saturate(0.92);
}

.card:hover .card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(246, 242, 234, 0.94);
  color: var(--ink);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  flex: 1;
}

.card__body h3 {
  max-width: 22ch;
}

.card__body p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card__foot {
  margin-top: auto;
  padding-top: 8px;
}

.card--link {
  display: block;
}

.card--link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* 11. Split / editorial blocks -------------------------------------------- */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--wide-left {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
  .split--wide-right {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
  .split--top {
    align-items: start;
  }
}

.figure {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}

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

.figure--portrait {
  aspect-ratio: 3 / 4;
}

.figure--landscape {
  aspect-ratio: 3 / 2;
}

.figure--tall {
  aspect-ratio: 3 / 4;
}

.figure__caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--ink-3);
  text-transform: uppercase;
}

.section--ink .figure__caption,
.section--court .figure__caption {
  color: rgba(246, 242, 234, 0.45);
}

.figure__caption a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 12. Feature list --------------------------------------------------------- */

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  gap: 8px 28px;
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
  .feature {
    grid-template-columns: 46px minmax(0, 0.42fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

.feature__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.feature h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
}

.feature p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.62;
}

.section--ink .feature-list,
.section--ink .feature,
.section--court .feature-list,
.section--court .feature {
  border-color: var(--line-light);
}

.section--ink .feature p,
.section--court .feature p {
  color: rgba(246, 242, 234, 0.7);
}

/* 13. Timeline / record ---------------------------------------------------- */

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.timeline__row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}

@media (min-width: 760px) {
  .timeline__row {
    grid-template-columns: 92px minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.timeline__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clay);
}

.timeline__title {
  font-family: var(--display);
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--paper);
}

.timeline__note {
  font-size: 0.9rem;
  color: rgba(246, 242, 234, 0.62);
  line-height: 1.55;
}

/* 14. Data table ----------------------------------------------------------- */

.record {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.record caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
}

.record th,
.record td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.record thead th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding-bottom: 10px;
}

.record tbody th {
  font-weight: 500;
  color: var(--ink);
}

.record td {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.record tbody tr:last-child th,
.record tbody tr:last-child td {
  border-bottom: 0;
}

/* 15. Pull quote ----------------------------------------------------------- */

.quote {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  max-width: 30ch;
}

.quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.9vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.quote blockquote em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: #e9b795;
}

.quote figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.55);
}

/* 16. CTA band ------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--clay);
  color: var(--chalk);
}

.cta-band__inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(56px, 8vw, 108px) 0;
  align-items: end;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }
}

.cta-band h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 300;
  max-width: 18ch;
}

.cta-band p {
  color: rgba(251, 250, 247, 0.82);
  max-width: 44ch;
}

.cta-band .btn {
  background: var(--chalk);
  color: var(--ink);
  border-color: var(--chalk);
}

.cta-band .btn:hover {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 17. Forms ---------------------------------------------------------------- */

.form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--half {
  min-width: 0;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field label .req {
  color: var(--clay);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 11px 0;
  font-size: 1rem;
  font-family: var(--body);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d746a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 26px;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.55;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-bottom-color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--clay);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 1px 0 0 var(--clay);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(125, 116, 106, 0.7);
}

.form__row {
  display: grid;
  gap: 22px;
}

@media (min-width: 620px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}

.form__note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 40ch;
}

.form__status {
  display: none;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  background: var(--chalk);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form__status.is-visible {
  display: grid;
}

.form__status--error {
  border-color: var(--clay);
  color: var(--clay-2);
}

.form__status strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}

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

/* 18. Contact aside -------------------------------------------------------- */

.contact-aside {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  align-content: start;
}

.info-block {
  display: grid;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

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

.info-block dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.info-block dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.contact-phone {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--clay);
}

.whatsapp-phone {
  color: #075e54;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.whatsapp-phone:hover {
  color: #128c7e;
}

.info-block dd span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-top: 3px;
}

/* 19. FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.35;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 17px;
  color: var(--clay);
  flex: none;
  line-height: 1;
  margin-top: 4px;
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 0 24px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.66;
}

/* 20. Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(52px, 7vw, 88px) 0 32px;
}

.footer__top {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line-light);
}

@media (min-width: 860px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 0.6fr);
  }
}

.footer__brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer__wordmark {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.footer__tagline {
  color: rgba(246, 242, 234, 0.62);
  font-size: 0.92rem;
  max-width: 38ch;
  line-height: 1.6;
}

.footer__col h2 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.42);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__list a {
  font-size: 0.92rem;
  color: rgba(246, 242, 234, 0.78);
  transition: color 0.25s var(--ease);
}

.footer__list a:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(246, 242, 234, 0.4);
  text-transform: uppercase;
}

.footer__bottom a {
  color: rgba(246, 242, 234, 0.55);
}

.footer__bottom a:hover {
  color: var(--paper);
}

/* 21. Reveal animation ----------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* 22. Utilities ------------------------------------------------------------ */

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

.stack {
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
  align-content: start;
}

.stack--lg {
  gap: clamp(28px, 3.6vw, 44px);
}

.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.measure {
  max-width: 62ch;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.section--ink .tag,
.section--court .tag {
  border-color: rgba(246, 242, 234, 0.24);
  color: rgba(246, 242, 234, 0.72);
}

.tag--clay {
  border-color: var(--clay);
  color: var(--clay);
}

/* price / format cards */
.formats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .formats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.format {
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  display: grid;
  gap: 10px;
  align-content: start;
}

.format__kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.format h3 {
  font-size: 1.24rem;
}

.format p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* note strip */
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-left: 2px solid var(--clay);
  background: rgba(180, 71, 42, 0.055);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.note strong {
  color: var(--ink);
}

/* at-a-glance facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}

.fact {
  display: grid;
  gap: 9px;
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line);
}

.fact__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fact__value {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.25;
  color: var(--ink);
}

@media (min-width: 820px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fact {
    padding: 28px 24px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .fact:first-child {
    border-left: 0;
    padding-left: 0;
  }
}


/* 22. Language switch ------------------------------------------------------ */
.hero__language {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-h) + 18px);
  right: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 7px 4px 12px;
  color: var(--chalk);
  background: rgba(12, 10, 8, 0.4);
  border: 1px solid rgba(251, 250, 247, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero__language-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.72);
}

.language-switch--hero {
  gap: 1px;
}

.language-switch--hero .language-switch__link {
  display: flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: rgba(251, 250, 247, 0.78);
  border-radius: 50%;
}

.language-switch--hero .language-switch__link:hover,
.language-switch--hero .language-switch__link[aria-current="page"] {
  color: #f0c8a8;
}

.language-switch--hero .language-switch__link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.language-switch__link {
  padding: 7px 5px;
  color: var(--ink-3);
  transition: color 0.25s var(--ease);
}

.language-switch__link:hover,
.language-switch__link[aria-current="page"] {
  color: var(--clay);
}

.language-switch__link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch--mobile {
  display: none;
}

body[data-header="over"] .site-header .language-switch__link {
  color: rgba(251, 250, 247, 0.72);
}

body[data-header="over"] .site-header .language-switch__link:hover,
body[data-header="over"] .site-header .language-switch__link[aria-current="page"] {
  color: var(--chalk);
}

body[data-header="over"] .site-header.is-stuck .language-switch__link {
  color: var(--ink-3);
}

body[data-header="over"] .site-header.is-stuck .language-switch__link:hover,
body[data-header="over"] .site-header.is-stuck .language-switch__link[aria-current="page"] {
  color: var(--clay);
}

@media (max-width: 1039px) {
  .language-switch--header {
    display: none;
  }

  .language-switch--mobile {
    display: flex;
    gap: 12px;
    padding-top: 2px;
  }

  .language-switch--mobile .language-switch__link {
    padding: 7px 0;
  }
}
