/* ============================================================
   AJK WEALTH MANAGEMENT GROUP
   Design system — built on the AJK brand book
   Primary: AJK Cherry #902e3a · Poppins + Cormorant Garamond
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — cherry tones (from brand book) */
  --cherry: #902e3a;
  --cherry-100: #8c2334;
  --cherry-deep: #6d1f28;
  --cherry-90: #9b424d;
  --cherry-50: #c7969c;
  --cherry-30: #ddc0c4;
  --cherry-15: #eee0e2;

  /* Gold accent — from the gold-coated stationery */
  --gold: #b5904f;
  --gold-soft: #cdb083;

  /* Neutrals — warm, slight cherry undertone */
  --ink: #1c1517;
  --ink-800: #2a2124;
  --ink-600: #574c4f;
  --ink-400: #8a7d80;
  --paper: #faf7f5;
  --paper-2: #f3ede9;
  --line: #e7ddd9;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--ink);
  --muted: var(--ink-600);
  --accent: var(--cherry);

  /* Type */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Fluid type scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-4: clamp(2.8rem, 1.9rem + 4.3vw, 5.8rem);

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm:
    0 1px 2px rgba(28, 21, 23, 0.04), 0 6px 20px -12px rgba(28, 21, 23, 0.18);
  --shadow-md: 0 24px 60px -28px rgba(28, 21, 23, 0.28);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
::selection {
  background: var(--cherry);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cherry);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
}
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cherry);
}

.section-head {
  max-width: 720px;
}
.section-head h2 {
  font-size: var(--step-3);
  margin-top: 1.1rem;
}
.section-head .lead {
  margin-top: 1.25rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.95em 1.7em;
  border-radius: 100px;
  transition:
    transform 0.4s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn--primary {
  background: var(--cherry);
  color: #fff;
}
.btn--primary:hover {
  background: var(--cherry-deep);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--cherry);
  color: var(--cherry);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Text link with animated underline */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--cherry);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.tlink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.tlink svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.tlink:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 247, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header.is-scrolled .header__inner {
  height: 66px;
}

/* Logo lockup — official AJK logotype (symbol + ajk) */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo__img {
  height: 52px;
  width: auto;
  display: block;
  transition:
    height 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.logo:hover .logo__img {
  transform: translateX(1px);
}
.header.is-scrolled .logo__img {
  height: 42px;
}
/* Light-lettered variant shows only over the dark hero */
.logo__img--light {
  display: none;
}
.header--on-dark:not(.is-scrolled) .logo__img--dark {
  display: none;
}
.header--on-dark:not(.is-scrolled) .logo__img--light {
  display: block;
}
.footer .logo__img {
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-800);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.header--on-dark:not(.is-scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.82);
}
.header--on-dark:not(.is-scrolled) .logo {
  color: #fff;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--cherry);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--cherry);
}
.header--on-dark:not(.is-scrolled) .nav__link:hover {
  color: #fff;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: inline-flex;
}

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s var(--ease),
    background 0.3s;
}
.nav__toggle span:nth-child(1) {
  top: 17px;
}
.nav__toggle span:nth-child(2) {
  top: 23px;
}
.nav__toggle span:nth-child(3) {
  top: 29px;
}
.header--on-dark:not(.is-scrolled) .nav__toggle span {
  background: #fff;
}
body.menu-open .nav__toggle span {
  background: var(--ink) !important;
}
body.menu-open .nav__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.menu-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
body.menu-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    120% 130% at 82% 8%,
    #2f1c22 0%,
    var(--ink) 46%,
    #140f11 100%
  );
  color: #fff;
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(
      1px 1px at 20% 30%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 51%
    ),
    radial-gradient(
      1px 1px at 70% 60%,
      rgba(255, 255, 255, 0.04) 50%,
      transparent 51%
    );
  background-size:
    3px 3px,
    4px 4px;
}
.hero__mark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 640px);
  color: var(--cherry);
  opacity: 0.14;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}
.hero__glow {
  position: absolute;
  width: 44vw;
  height: 44vw;
  right: 4%;
  top: 8%;
  background: radial-gradient(circle, rgba(144, 46, 58, 0.55), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 900px;
}
.hero .eyebrow {
  color: var(--gold-soft);
}
.hero .eyebrow::before {
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--cherry-50);
}
.hero__lead {
  margin-top: 1.6rem;
  max-width: 560px;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__meta {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}
.hero__meta div {
  display: flex;
  flex-direction: column;
}
.hero__meta dt {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.hero__meta dd {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero__scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(280%);
  }
}

/* ============================================================
   MARQUEE / TRUST STRIP
   ============================================================ */
.trust {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding-block: 1.6rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-inline: clamp(1rem, 2.4vw, 2rem);
  position: relative;
}
.trust__item:first-child {
  padding-left: 0;
}
.trust__item:last-child {
  padding-right: 0;
}
/* thin divider between columns */
.trust__item + .trust__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: var(--line);
}
.trust__ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cherry-15);
  color: var(--cherry);
}
.trust__ic svg {
  width: 20px;
  height: 20px;
}
.trust__txt {
  font-size: var(--step--1);
  color: var(--ink-600);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.trust__txt strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__body p + p {
  margin-top: 1.2rem;
}
.quote {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.28;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 1.6rem;
  border-left: 2px solid var(--cherry);
}
.quote em {
  color: var(--cherry);
  font-style: italic;
}
.about__note {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.stat dt {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--cherry);
  line-height: 1;
}
.stat dd {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

/* ============================================================
   PHILOSOPHY (dark)
   ============================================================ */
.philosophy {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.philosophy .eyebrow {
  color: var(--gold-soft);
}
.philosophy .eyebrow::before {
  background: var(--gold);
}
.philosophy__head {
  max-width: 780px;
}
.philosophy__head h2 {
  font-size: var(--step-3);
  margin-top: 1.1rem;
}
.philosophy__head .display em {
  font-style: italic;
  color: var(--cherry-50);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.pillar {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}
.pillar__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}
.pillar h3 {
  font-size: var(--step-1);
  font-weight: 500;
  margin-top: 1rem;
  color: #fff;
}
.pillar p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--step-0);
  font-weight: 300;
}
.philosophy__glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(144, 46, 58, 0.4), transparent 65%);
  filter: blur(40px);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__hint {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--cherry);
  font-weight: 500;
}
/* Expandable service list — summary visible, full (verbatim) text on hover / tap */
.svc-list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.svc-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.45s var(--ease);
}
.svc-row.is-open {
  background: rgba(255, 255, 255, 0.55);
}
.svc-row__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  text-align: left;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(0.75rem, 2vw, 1.4rem);
  cursor: pointer;
}
.svc-row__ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--cherry-15);
  color: var(--cherry);
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.svc-row__ic svg {
  width: 23px;
  height: 23px;
}
.svc-row.is-open .svc-row__ic {
  background: var(--cherry);
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}
.svc-row__titles {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.svc-row__title {
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.svc-row.is-open .svc-row__title {
  color: var(--cherry);
}
.svc-row__teaser {
  font-size: var(--step-0);
  color: var(--muted);
}
.svc-row__toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
  position: relative;
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.svc-row__toggle::before,
.svc-row__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cherry);
  border-radius: 2px;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease),
    background 0.4s var(--ease);
}
.svc-row__toggle::before {
  width: 13px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}
.svc-row__toggle::after {
  width: 1.6px;
  height: 13px;
  transform: translate(-50%, -50%);
}
.svc-row.is-open .svc-row__toggle {
  border-color: var(--cherry);
  background: var(--cherry);
}
.svc-row.is-open .svc-row__toggle::before,
.svc-row.is-open .svc-row__toggle::after {
  background: #fff;
}
.svc-row.is-open .svc-row__toggle::after {
  opacity: 0;
}

.svc-row__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.svc-row.is-open .svc-row__panel {
  grid-template-rows: 1fr;
}
.svc-row__panel-inner {
  overflow: hidden;
}
.svc-row__body {
  padding: 0.2rem clamp(0.75rem, 2vw, 1.4rem) clamp(1.6rem, 3vw, 2.2rem)
    calc(50px + clamp(1rem, 2vw, 1.5rem) + clamp(0.75rem, 2vw, 1.4rem));
  max-width: 76ch;
}
.svc-row__body p {
  color: var(--ink-800);
  margin-bottom: 0.9rem;
  font-size: var(--step-0);
}
.svc-row__body p:last-child {
  margin-bottom: 0;
}
.svc-row__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}
.svc-row__body li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-800);
}
.svc-row__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cherry);
}
.svc-row__body a {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svc-row__disclaimer {
  margin-top: 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--paper-2);
  border-left: 2px solid var(--cherry-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-600);
}
.svc-row__disclaimer strong {
  color: var(--cherry);
  font-weight: 600;
}
/* Expand on hover only on real pointer devices; touch relies on tap (.is-open)
   so a tap can also close the row (avoids sticky-hover keeping it open). */
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover {
    background: rgba(255, 255, 255, 0.55);
  }
  .svc-row:hover .svc-row__ic {
    background: var(--cherry);
    color: #fff;
    transform: rotate(-4deg) scale(1.05);
  }
  .svc-row:hover .svc-row__title {
    color: var(--cherry);
  }
  .svc-row:hover .svc-row__toggle {
    border-color: var(--cherry);
    background: var(--cherry);
  }
  .svc-row:hover .svc-row__toggle::before,
  .svc-row:hover .svc-row__toggle::after {
    background: #fff;
  }
  .svc-row:hover .svc-row__toggle::after {
    opacity: 0;
  }
  .svc-row:hover .svc-row__panel {
    grid-template-rows: 1fr;
  }
}

/* ============================================================
   WHY AJK
   ============================================================ */
.why {
  background: var(--paper-2);
}
.why__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why__sticky {
  position: sticky;
  top: 96px;
}
.why__sticky h2 {
  font-size: var(--step-3);
  margin-top: 1.1rem;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition:
    background 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.why__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--cherry), var(--gold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.why__item:hover {
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why__item:hover::before {
  transform: scaleY(1);
}
.why__idx {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cherry-50);
  min-width: 2rem;
  margin-top: 0.1rem;
  font-feature-settings: 'lnum' 1;
  transition:
    color 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.why__item:hover .why__idx {
  color: var(--cherry);
  transform: scale(1.06);
}
.why__item h3 {
  font-size: var(--step-1);
  font-weight: 500;
}
.why__item p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: var(--step-0);
  max-width: 48ch;
}

/* ============================================================
   PEOPLE / MANAGEMENT
   ============================================================ */
.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.person::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--cherry), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.person:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.person:hover::before {
  transform: scaleX(1);
}
.person__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.person__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--cherry), var(--cherry-deep));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px var(--white),
    0 0 0 3px var(--cherry-15);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.person:hover .person__avatar {
  transform: scale(1.06) rotate(-3deg);
  box-shadow:
    0 0 0 1px var(--white),
    0 0 0 4px var(--cherry-30);
}
.person__no {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cherry-15);
  transition: color 0.5s var(--ease);
}
.person:hover .person__no {
  color: var(--cherry-30);
}
.person__name {
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.person__role {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  color: var(--cherry);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.person__cred {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-400);
  line-height: 1.5;
}

/* People CTA band */
.people__cta {
  margin-top: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  background: radial-gradient(120% 160% at 85% 10%, #2f1c22 0%, var(--ink) 55%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.8rem) clamp(1.8rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.people__cta-text h3 {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.1;
}
.people__cta-text p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--step-0);
  max-width: 46ch;
}

/* ============================================================
   CSR
   ============================================================ */
.csr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.csr__list {
  margin-top: 0;
}
.csr__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.csr__item:last-child {
  border-bottom: 1px solid var(--line);
}
.csr__ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cherry-15);
  color: var(--cherry);
  display: grid;
  place-items: center;
  flex: none;
}
.csr__ic svg {
  width: 20px;
  height: 20px;
}
.csr__item h3 {
  font-size: var(--step-0);
  font-weight: 600;
}
.csr__item p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: var(--step--1);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact .eyebrow {
  color: var(--gold-soft);
}
.contact .eyebrow::before {
  background: var(--gold);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact h2 {
  font-size: var(--step-3);
  margin-top: 1.1rem;
}
.contact__lead {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: var(--step-1);
  max-width: 30ch;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  color: #fff;
}
.contact__email:hover {
  color: var(--gold-soft);
}
.offices {
  display: grid;
  gap: 1.2rem;
}
.office {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.office:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
}
.office__flag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.office h3 {
  font-size: var(--step-1);
  font-weight: 500;
  margin-top: 0.6rem;
  color: #fff;
}
.office__reg {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}
.office__rows {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.office__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  align-items: start;
}
.office__row svg {
  width: 15px;
  height: 15px;
  color: var(--cherry-50);
  margin-top: 4px;
}
.office__row a:hover,
.office__addr:hover {
  color: #fff;
}
.office__addr {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s var(--ease);
}
/* Embedded office map — non-interactive preview, click opens full map */
.office__map {
  display: block;
  margin-top: 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
  position: relative;
  transition: border-color 0.4s var(--ease);
}
.office__map::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: inherit;
  transition: background 0.4s var(--ease);
}
.office__map:hover {
  border-color: rgba(255, 255, 255, 0.32);
}
.office__map:hover::after {
  background: rgba(144, 46, 58, 0.08);
}
.office__map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  pointer-events: none;
}
.office__directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--gold-soft);
  transition: color 0.3s var(--ease);
}
.office__directions:hover {
  color: #fff;
}
.office__directions svg {
  width: 15px;
  height: 15px;
}
.office__directions .ext {
  width: 12px;
  height: 12px;
  opacity: 0.75;
}
.contact__glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  right: -8%;
  top: -12%;
  background: radial-gradient(circle, rgba(144, 46, 58, 0.38), transparent 65%);
  filter: blur(44px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #140f11;
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo__word {
  color: #fff;
}
.footer__blurb {
  margin-top: 1.3rem;
  max-width: 34ch;
  font-size: 0.9rem;
  font-weight: 300;
}
.footer__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.footer__col a {
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer__legal a:hover {
  color: #fff;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  /* Sits BELOW the header (z-index 100) so the header's toggle stays on top
     and morphs into a working X to close the menu. */
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  padding-top: calc(82px + var(--gutter));
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}
/* While the menu is open, keep the header transparent so the paper menu shows
   through, and force the dark logo (menu background is light on every page). */
body.menu-open .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.menu-open .logo__img--dark {
  display: block !important;
}
body.menu-open .logo__img--light {
  display: none !important;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  display: inline-block;
  padding: 0.3rem 0;
  transition:
    color 0.3s,
    transform 0.3s var(--ease);
}
.mobile-menu a:hover {
  color: var(--cherry);
  transform: translateX(8px);
}
.mobile-menu__foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.mobile-menu__foot a {
  color: var(--cherry);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay='1'] {
  transition-delay: 0.08s;
}
[data-reveal-delay='2'] {
  transition-delay: 0.16s;
}
[data-reveal-delay='3'] {
  transition-delay: 0.24s;
}
[data-reveal-delay='4'] {
  transition-delay: 0.32s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .people__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Trust strip → 2 × 2 */
  .trust__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 0;
  }
  .trust__item {
    padding-inline: clamp(1rem, 4vw, 2.4rem);
  }
  .trust__item:nth-child(odd) {
    padding-left: 0;
  }
  .trust__item:nth-child(even) {
    padding-right: 0;
  }
  .trust__item:nth-child(3)::before,
  .trust__item:nth-child(4)::before {
    display: none;
  }
}
@media (max-width: 860px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .about__grid,
  .why__grid,
  .csr__grid,
  .contact__grid,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .why__grid {
    gap: 2.5rem;
  }
  .why__sticky {
    position: static;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pillar {
    padding-block: 1.6rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .people__grid {
    grid-template-columns: 1fr;
  }
  .svc-row__body {
    padding-left: clamp(0.75rem, 2vw, 1.4rem);
  }
  .svc-row__head {
    gap: 0.9rem;
    padding-inline: 0.4rem;
  }
  .svc-row__ic {
    width: 42px;
    height: 42px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero__meta {
    gap: 1.5rem 2rem;
  }
  .logo__sub {
    display: none;
  }
  /* Trust strip → single column */
  .trust__inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .trust__item,
  .trust__item:nth-child(odd),
  .trust__item:nth-child(even) {
    padding-inline: 0;
  }
  .trust__item + .trust__item::before {
    display: none;
  }
}

/* ============================================================
   SUB-PAGES (legal, careers)
   ============================================================ */
/* On inner pages the header sits over light content — keep it solid. */
body.subpage .header {
  background: rgba(250, 247, 245, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.subhead {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
  padding-top: clamp(7rem, 12vh, 9rem);
  padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
}
/* Sub-pages have no tall hero — pull the first content section up so
   information is visible on load without scrolling. */
body.subpage main > .section {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
}
.subhead__mark {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 340px);
  color: var(--cherry);
  opacity: 0.06;
  pointer-events: none;
}
.subhead__inner {
  position: relative;
  max-width: 780px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  color: var(--ink-400);
  margin-bottom: 1.4rem;
}
.breadcrumb a {
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.breadcrumb a:hover {
  color: var(--cherry);
}
.breadcrumb svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}
.subhead h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.subhead__lead {
  margin-top: 1.2rem;
  font-size: var(--step-1);
  font-weight: 300;
  color: var(--muted);
  max-width: 60ch;
}

/* ---- Legal prose ---- */
.legal {
  max-width: 800px;
}
.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1.8rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-400);
}
.legal__meta strong {
  color: var(--ink-600);
  font-weight: 600;
}
.legal h2 {
  font-size: var(--step-2);
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal h3 {
  font-size: var(--step-1);
  font-weight: 500;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}
.legal p {
  color: var(--ink-800);
  margin-bottom: 1.1rem;
}
.legal p.legal__intro {
  font-size: var(--step-1);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}
.legal ul {
  margin: 0 0 1.4rem;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.legal ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-800);
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cherry);
}
.legal ul li strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a:not(.btn):not(.doc-card) {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--cherry-30);
  transition: text-decoration-color 0.3s;
}
.legal a:not(.btn):not(.doc-card):hover {
  text-decoration-color: var(--cherry);
}
.legal__note {
  margin-top: 2.5rem;
  padding: 1.3rem 1.5rem;
  background: var(--cherry-15);
  border-radius: var(--radius-lg);
  font-size: var(--step--1);
  color: var(--ink-800);
}
.legal__note strong {
  color: var(--cherry);
}

/* Downloadable document cards (privacy PDFs) */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.8rem 0 2.4rem;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.doc-card__ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--cherry-15);
  color: var(--cherry);
  display: grid;
  place-items: center;
}
.doc-card__ic svg {
  width: 22px;
  height: 22px;
}
.doc-card__t {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--step-0);
  line-height: 1.3;
}
.doc-card__s {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-400);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}
.doc-card__arrow {
  margin-left: auto;
  color: var(--cherry);
}
.doc-card__arrow svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   CAREERS FORM
   ============================================================ */
.careers__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.careers__aside h2 {
  font-size: var(--step-2);
  margin-bottom: 1rem;
}
.careers__aside p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.careers__perks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.careers__perks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: var(--step-0);
  color: var(--ink-800);
}
.careers__perks svg {
  width: 20px;
  height: 20px;
  color: var(--cherry);
  margin-top: 3px;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field {
  margin-bottom: 1.3rem;
}
.field label,
.field .field__label {
  display: block;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-800);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.field .req {
  color: var(--cherry);
}
.field input[type='text'],
.field input[type='email'],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cherry);
  background: #fff;
  box-shadow: 0 0 0 3px var(--cherry-15);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-400);
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 0.7rem;
}
.radio-pill {
  position: relative;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.radio-pill span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--1);
  color: var(--ink-600);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.radio-pill input:checked + span {
  background: var(--cherry);
  border-color: var(--cherry);
  color: #fff;
}
.radio-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--cherry-15);
}

/* File input */
.file-drop {
  position: relative;
  border: 1.5px dashed var(--cherry-30);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  background: var(--paper);
  transition:
    border-color 0.3s,
    background 0.3s;
  cursor: pointer;
}
.file-drop:hover {
  border-color: var(--cherry);
  background: var(--cherry-15);
}
.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop svg {
  width: 26px;
  height: 26px;
  color: var(--cherry);
  margin: 0 auto 0.6rem;
}
.file-drop__t {
  font-size: var(--step-0);
  color: var(--ink-800);
  font-weight: 500;
}
.file-drop__s {
  font-size: 0.78rem;
  color: var(--ink-400);
  margin-top: 0.25rem;
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--cherry);
  background: var(--cherry-15);
}

/* Consent checkboxes */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.consent:first-of-type {
  border-top: none;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--cherry-50);
  border-radius: 5px;
  cursor: pointer;
  flex: none;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.consent input:checked {
  background: var(--cherry);
  border-color: var(--cherry);
}
.consent input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent input:focus-visible {
  box-shadow: 0 0 0 3px var(--cherry-15);
}
.consent label {
  font-size: 0.86rem;
  color: var(--ink-600);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}
.consent label a {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__actions {
  margin-top: 1.8rem;
}
.form__actions .btn {
  width: 100%;
  justify-content: center;
}
.form__hint {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-400);
  text-align: center;
}

/* Success state */
.form__success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form__success.is-visible {
  display: block;
}
.form.is-sent .form__body {
  display: none;
}
.form__success svg {
  width: 54px;
  height: 54px;
  color: var(--cherry);
  margin: 0 auto 1.2rem;
}
.form__success h3 {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.form__success p {
  color: var(--muted);
}
.field__error {
  display: none;
  color: var(--cherry-100);
  font-size: 0.78rem;
  margin-top: 0.4rem;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--cherry-100);
}
.field.is-invalid .field__error,
.consent.is-invalid .field__error {
  display: block;
}

@media (max-width: 860px) {
  .careers__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */

.cookie-banner {
  position: fixed;
  z-index: 1000;
  left: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(28, 21, 23, 0.25);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.cookie-banner__content p {
  margin-top: 0.65rem;
  max-width: 68ch;
  color: var(--ink-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner__content a {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

.cookie-settings-button {
  position: fixed;
  z-index: 999;
  left: 1rem;
  bottom: 1rem;
  display: none;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
}

.cookie-settings-button.is-visible {
  display: inline-flex;
}

.cookie-settings-button:hover {
  color: var(--cherry);
  border-color: var(--cherry);
}

@media (max-width: 760px) {
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 160px;
    justify-content: center;
  }
}