/* ==========================================================================
   CL Legacy Solutions — Travel Insurance
   Palette: beige, black, gold
   ========================================================================== */

:root {
  --ink: #14120f;
  --ink-2: #211d18;
  --ink-soft: #4a443b;
  --muted: #6f675b;
  --beige: #f6f0e6;
  --beige-2: #efe6d7;
  --cream: #fffdf8;
  --sand: #e3d5bf;
  --line: #ded2bf;
  --gold: #b08d57;
  --gold-2: #c9a86a;
  --gold-3: #7c5c30;
  --gold-grad: linear-gradient(120deg, #8a6a3c 0%, #c9a86a 48%, #a98550 100%);
  --shadow: 0 30px 80px rgba(20, 18, 15, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1200px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.022;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.15rem);
  line-height: 1;
  margin: 18px 0 22px;
}

p {
  margin: 0 0 18px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

section[id],
footer[id] {
  scroll-margin-top: 90px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

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

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.eyebrow span {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.light {
  color: var(--gold-2);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

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

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

.btn-gold {
  background: var(--gold-grad);
  border-color: transparent;
  color: #17130d;
  box-shadow: 0 10px 30px rgba(176, 141, 87, 0.18);
}

.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(176, 141, 87, 0.25);
}

.btn-ghost {
  border-color: rgba(255, 253, 248, 0.35);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.08);
  border-color: var(--gold-2);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--ink);
}

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

.btn-outline:hover {
  background: rgba(176, 141, 87, 0.08);
  border-color: var(--gold);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 10px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--cream);
  background-color: rgba(10, 9, 7, 0.88);
  background-image: linear-gradient(
    180deg,
    rgba(10, 9, 7, 0.1),
    rgba(10, 9, 7, 0)
  );
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--ink);
  color: var(--cream);
  border-bottom-color: rgba(201, 168, 106, 0.3);
  box-shadow: 0 10px 40px rgba(20, 18, 15, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 88px;
  transition: height 0.4s var(--ease);
}

.site-header.scrolled .header-inner {
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  position: relative;
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand-mark {
  opacity: 0.86;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-sub {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid rgba(201, 168, 106, 0.4);
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle:hover span:first-child {
  transform: translateX(3px);
}

.nav-toggle:hover span:last-child {
  transform: translateX(-3px);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 36px;
  background: var(--ink);
  color: var(--cream);
  overflow-y: auto;
  animation: menuIn 0.45s var(--ease) both;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.mobile-menu-top .brand-name {
  color: var(--cream);
}

.menu-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(201, 168, 106, 0.4);
  color: var(--gold-2);
  cursor: pointer;
}

.menu-close svg {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  line-height: 1;
  color: var(--cream);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-nav a span {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
}

.mobile-nav a:hover {
  color: var(--gold-2);
  padding-left: 8px;
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 36px;
}

.mobile-menu-foot .btn {
  width: 100%;
}

.mobile-menu-foot a {
  color: var(--gold-2);
}

.mobile-contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mobile-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 253, 248, 0.62);
  transition: color 0.3s var(--ease);
}

.mobile-contact a:hover {
  color: var(--gold-2);
}

.mobile-contact .contact-icon {
  width: 15px;
  height: 15px;
  margin-top: 0;
  color: var(--gold-2);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 0 74px;
  overflow: hidden;
  background: #17130e;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(12, 10, 8, 0.92) 0%,
      rgba(12, 10, 8, 0.68) 44%,
      rgba(12, 10, 8, 0.24) 100%
    ),
    linear-gradient(0deg, rgba(12, 10, 8, 0.82) 0%, rgba(12, 10, 8, 0) 42%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 78% 22%,
      rgba(201, 168, 106, 0.24),
      transparent 52%
    ),
    linear-gradient(120deg, rgba(176, 141, 87, 0.1), transparent 55%);
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  margin: 26px 0 24px;
  color: var(--cream);
  font-size: clamp(3.3rem, 6.8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 253, 248, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 44px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.6);
}

.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold-2);
  transform: rotate(45deg);
  flex: none;
}

/* Hero policy card */

.policy-card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 356px;
  padding: 28px 30px 24px;
  background: rgba(20, 17, 13, 0.58);
  border: 1px solid rgba(201, 168, 106, 0.4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 168, 106, 0.14);
  pointer-events: none;
}

.policy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.policy-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.14);
}

.policy-route {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px 0 6px;
}

.policy-card h2 {
  margin: 0 0 18px;
  color: var(--cream);
  font-size: 42px;
  font-weight: 400;
  line-height: 0.94;
}

.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(255, 253, 248, 0.72);
}

.policy-list li span:last-child {
  flex: none;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.policy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.42);
}

/* Hero card: legal entity, centred in gold. */
.policy-legal {
  justify-content: center;
  text-align: center;
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: none;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 17px 0;
  background: var(--ink);
  border-top: 1px solid rgba(201, 168, 106, 0.24);
  border-bottom: 1px solid rgba(201, 168, 106, 0.24);
}

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

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

.marquee-group {
  display: flex;
  align-items: center;
}

.marquee-group span {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 253, 248, 0.64);
}

.marquee-group span::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

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

/* ---------- Sections ---------- */

.section {
  padding: clamp(84px, 10vw, 140px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head p {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- About ---------- */

.about {
  position: relative;
  background: var(--beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.about-media {
  position: relative;
  padding: 0 26px 26px 0;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 26px 0 0 26px;
  border: 1px solid rgba(176, 141, 87, 0.5);
  z-index: 0;
}

.photo-main {
  position: relative;
  z-index: 1;
  height: clamp(420px, 46vw, 600px);
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

.photo-main::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  pointer-events: none;
}

.photo-main img,
.photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.14) contrast(1.02);
}

.photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 42%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--beige);
  background: var(--sand);
  box-shadow: 0 24px 60px rgba(20, 18, 15, 0.18);
}

.about-quote {
  position: absolute;
  left: 0;
  bottom: 13%;
  z-index: 3;
  max-width: 255px;
  padding: 22px 26px;
  background: var(--ink);
  border-left: 2px solid var(--gold);
  box-shadow: 0 22px 55px rgba(20, 18, 15, 0.2);
}

.about-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.25;
  color: var(--cream);
}

.about-copy h2 {
  max-width: 500px;
}

.about-copy .lead {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.about-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.sig-line {
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.signature span:last-child {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-3);
}

.stats span {
  display: block;
  margin-top: 7px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cover ---------- */

.cover {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.cover::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 106, 0.14),
    transparent 66%
  );
  pointer-events: none;
}

.cover .section-head {
  position: relative;
  z-index: 1;
}

.cover h2 {
  color: var(--cream);
}

.cover .section-head p {
  color: rgba(255, 253, 248, 0.58);
}

.cover-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  border-left: 1px solid rgba(255, 253, 248, 0.14);
}

.cover-card {
  position: relative;
  padding: 34px 28px 38px;
  border-right: 1px solid rgba(255, 253, 248, 0.14);
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  transition: background 0.4s var(--ease);
}

.cover-card:hover {
  background: rgba(255, 253, 248, 0.035);
}

.cover-card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  color: var(--gold-2);
}

.cover-card .icon svg {
  width: 21px;
  height: 21px;
}

.cover-card .index {
  position: absolute;
  top: 36px;
  right: 28px;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 253, 248, 0.34);
}

.cover-card h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.cover-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.55);
}

.cover-note {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 30px 0 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.52);
}

/* ---------- Apply ---------- */

.apply {
  background: linear-gradient(180deg, var(--beige) 0%, var(--beige-2) 100%);
}

.apply-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}

.apply-aside {
  position: sticky;
  top: 110px;
}

.apply-aside h2 {
  max-width: 340px;
}

.aside-lead {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.aside-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.aside-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--gold-3);
}

/* ---------- Contact rows ---------- */

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11pt;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* Keep the small text readable as a tap target. */
a.contact-row {
  min-height: 24px;
}

.contact-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-top: 0;
  color: var(--gold);
}

.contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.aside-contact {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.aside-contact > span {
  display: block;
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-contact a {
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.aside-contact a + a {
  margin-top: 6px;
}

.aside-contact a:hover {
  color: var(--gold-3);
}

.aside-contact a.contact-row--wa {
  color: var(--gold-3);
}

.aside-contact a.contact-row--small {
  align-items: center;
  color: var(--gold-3);
}

.aside-contact a:hover .contact-icon {
  color: var(--gold-3);
}

.aside-next {
  margin-top: 30px;
  padding: 26px;
  background: var(--ink);
  border-left: 2px solid var(--gold);
  color: var(--cream);
}

.aside-next h3 {
  margin: 0 0 16px;
  color: var(--cream);
  font-size: 21px;
  font-weight: 500;
}

.aside-next ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.aside-next li {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 253, 248, 0.6);
}

.aside-next li::before {
  counter-increment: step;
  content: "0" counter(step);
  flex: none;
  padding-top: 1px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}

.aside-note {
  margin: 18px 0 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Form card ---------- */

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-grad);
}

.form-progress {
  margin-bottom: 38px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

#progress-value {
  color: var(--gold-3);
}

.progress-track {
  height: 3px;
  overflow: hidden;
  background: #e9dfcf;
}

#progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold-grad);
  transition: width 0.45s var(--ease);
}

.form-section + .form-section {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid #e9dfcf;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.section-no {
  flex: none;
  min-width: 40px;
  padding-top: 2px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}

.form-section-head h3 {
  margin: 0 0 3px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.form-section-head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Form fields ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.span-2 {
  grid-column: 1 / -1;
}

.field > label,
.field-label,
.consent label {
  display: block;
  padding: 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #5f574a;
}

.req {
  color: var(--gold-3);
}

.field-hint {
  margin: -1px 0 3px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #766e60;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: #fcf9f3;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a79d8e;
  opacity: 1;
}

input[type="date"] {
  color-scheme: light;
}

input:hover,
textarea:hover {
  border-color: #cbbba2;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.13);
}

input.invalid,
textarea.invalid,
.field.invalid input,
.field.invalid textarea,
.field.invalid .segmented label {
  border-color: #b05644;
  background: #fff9f7;
}

.field.invalid .segmented label {
  background: #fcf9f3;
}

.error {
  display: none;
  margin: 1px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #a94836;
}

.field.invalid .error,
.child-card.invalid .error,
.consent.invalid .error {
  display: block;
}

/* Segmented radio controls */

.radio-field {
  gap: 8px;
}

.radio-field .field-label {
  width: 100%;
}

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

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 43px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fcf9f3;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.segmented label:hover {
  border-color: var(--gold);
}

.segmented input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.segmented input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Conditional fields */

.conditional {
  animation: fieldIn 0.32s var(--ease) both;
}

@keyframes fieldIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Children */

.children-note {
  margin: -4px 0 16px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.child-list {
  display: grid;
  gap: 14px;
}

.child-card {
  padding: 18px;
  border: 1px solid #e6dbc9;
  background: #fbf7f0;
}

.child-card.invalid {
  border-color: #d5a99f;
}

.child-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.child-card-head h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.child-card-head h4 span {
  color: var(--gold-3);
}

.child-remove {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(169, 72, 54, 0.3);
  background: none;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a94836;
  cursor: pointer;
}

.child-remove:hover {
  border-bottom-color: #a94836;
}

.child-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.add-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px dashed var(--gold);
  background: transparent;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-3);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.add-child svg {
  width: 13px;
  height: 13px;
}

.add-child:hover {
  background: rgba(176, 141, 87, 0.08);
  border-style: solid;
}

/* Consent */

.consent {
  position: relative;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e9dfcf;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent input {
  position: relative;
  flex: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fcf9f3;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.consent input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.consent input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--gold-2);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.consent input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.consent label {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
  text-transform: none;
  color: var(--muted);
  cursor: pointer;
}

.consent .error {
  margin-top: 8px;
}

/* Submit */

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.submit-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.submit-note svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--gold-3);
}

.submit-note a {
  color: var(--gold-3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.25s var(--ease);
}

.submit-note a:hover,
.submit-note a:focus-visible {
  color: var(--ink);
}

.btn-submit {
  min-width: 238px;
  justify-content: space-between;
  padding: 17px 22px;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-footnote {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 10px;
  line-height: 1.7;
  color: #766e60;
}

/* Success panel */

.success-panel {
  padding: 18px 0 8px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.06);
  color: var(--gold-3);
}

.success-icon svg {
  width: 26px;
  height: 26px;
}

.success-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
}

.success-panel > p {
  max-width: 570px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.success-ref {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0 20px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: #fbf7f0;
}

.success-ref span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.success-ref strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.success-note {
  margin: 18px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}

.link-btn {
  margin-top: 26px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(176, 141, 87, 0.45);
  background: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-3);
  cursor: pointer;
}

.link-btn:hover {
  border-bottom-color: var(--gold-3);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
  background: var(--ink);
  color: var(--cream);
}

.site-footer::after {
  content: "CL";
  position: absolute;
  right: -20px;
  bottom: -110px;
  font-family: var(--serif);
  font-size: 380px;
  line-height: 1;
  color: rgba(255, 253, 248, 0.025);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.footer-brand .brand {
  color: var(--cream);
}

.footer-brand .brand-sub {
  color: var(--gold-2);
}

.footer-brand p {
  max-width: 370px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 253, 248, 0.52);
}

.site-footer h3 {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 12.5px;
  color: rgba(255, 253, 248, 0.62);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-links a:hover {
  padding-left: 4px;
  color: var(--gold-2);
}

.footer-contact a {
  margin-bottom: 8px;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}

.footer-contact a.contact-row--wa {
  color: var(--gold-2);
}

.footer-contact a:hover {
  color: var(--gold-2);
}

.footer-contact > span {
  margin-top: 5px;
  color: rgba(255, 253, 248, 0.54);
}

.footer-contact .contact-icon {
  color: var(--gold-2);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 26px;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255, 253, 248, 0.55);
}

.footer-bottom a {
  color: var(--gold-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.18s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.26s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .cover-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cover-card {
    padding: 30px 26px 34px;
  }

  .cover-card .icon {
    margin-bottom: 30px;
  }

  .apply-grid {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 920px) {
  :root {
    --shell: min(760px, calc(100vw - 48px));
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 66px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-lead {
    max-width: 560px;
  }

  .policy-card {
    justify-self: start;
    max-width: 100%;
  }

  .policy-card h2 {
    font-size: 36px;
  }

  .policy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-media {
    max-width: 580px;
    width: 100%;
  }

  .about-copy {
    max-width: 640px;
  }

  .apply-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .apply-aside {
    position: static;
  }

  .aside-lead,
  .apply-aside h2 {
    max-width: 560px;
  }

  .aside-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }

  .aside-contact {
    max-width: 480px;
  }

  .aside-next {
    max-width: 480px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .header-inner {
    height: 74px;
  }

  .header-cta {
    display: none;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 118px 0 54px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 13.5vw, 4.4rem);
  }

  .hero-lead {
    font-size: 14.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 9px;
    margin-top: 34px;
  }

  .policy-card {
    padding: 24px 22px 20px;
  }

  .policy-list {
    grid-template-columns: 1fr;
  }

  .policy-list li {
    padding: 9px 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .about-media {
    padding: 0 16px 16px 0;
  }

  .about-media::before {
    inset: 16px 0 0 16px;
  }

  .photo-main {
    height: 380px;
  }

  .photo-small {
    width: 40%;
    border-width: 6px;
  }

  .about-quote {
    position: relative;
    left: 0;
    bottom: auto;
    max-width: 280px;
    margin-top: -30px;
    margin-left: 16px;
  }

  .about-quote p {
    font-size: 19px;
  }

  .stats {
    gap: 10px;
  }

  .stats strong {
    font-size: 29px;
  }

  .stats span {
    font-size: 7.5px;
    letter-spacing: 0.1em;
  }

  .cover-grid {
    grid-template-columns: 1fr;
  }

  .cover-card {
    padding: 26px 24px 30px;
  }

  .cover-card .icon {
    margin-bottom: 24px;
  }

  .cover-card .index {
    top: 28px;
    right: 24px;
  }

  .cover-card h3 {
    font-size: 24px;
  }

  .apply-aside h2 {
    font-size: 2.5rem;
  }

  .aside-list {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px 18px 26px;
  }

  .form-section + .form-section {
    margin-top: 36px;
    padding-top: 32px;
  }

  .form-section-head {
    gap: 10px;
  }

  .section-no {
    min-width: 30px;
    font-size: 25px;
  }

  .form-section-head h3 {
    font-size: 23px;
  }

  .form-grid,
  .child-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-note {
    order: 2;
    justify-content: center;
  }

  .btn-submit {
    width: 100%;
  }

  .success-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .success-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer::after {
    font-size: 260px;
    bottom: -70px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 0.2em;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats span {
    margin-top: 3px;
  }
}

/* ---------- Reduced motion ---------- */

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ---------- WordPress integration ---------- */

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Honeypot field: visually hidden but still submitted */
.cl-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submission error message */
.form-error {
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(176, 58, 46, 0.35);
  background: rgba(176, 58, 46, 0.06);
  color: #8d2a21;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Cloudflare Turnstile */
.turnstile-field {
  margin: 20px 0 0;
}

.turnstile-field .cf-turnstile {
  min-height: 65px;
}

/* Minimal styles for standard pages and the blog fallback */
.page-content,
.entry-content {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-content h1,
.entry-content h1,
.page-content h2,
.entry-content h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
}

.page-content a,
.entry-content a {
  color: var(--gold-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-shell {
  padding: 150px 0 100px;
  background: var(--beige);
}

.page-shell .shell {
  max-width: 900px;
}

/* ---------- Long-form legal content (privacy policy, PAIA manual) ----------
   All headings use the site's interface font (Inter) at one size and weight.
   Hierarchy comes from spacing and weight, not from serif or size jumps.
   -------------------------------------------------------------------------- */

.page-shell h1,
.page-shell h2,
.page-shell h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}

.page-shell h1 {
  margin: 0 0 22px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table {
  margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--beige-2);
  color: var(--ink);
  font-weight: 600;
}

.entry-content .policy-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 620px) {
  .entry-content table {
    display: block;
    overflow-x: auto;
    min-width: 520px;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.consent-note {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: #766e60;
}

.consent-note a {
  color: var(--gold-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* CookieYes banner: inline links must not rely on colour alone (WCAG / Lighthouse). */
.cky-consent-container a,
.cky-preference-center a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Social links (gold) ---------- */

.footer-contact a.contact-row--social,
.mobile-contact a.contact-row--social {
  color: var(--gold-2);
}

.aside-contact a.contact-row--social {
  color: var(--gold-3);
}
