/* ==========================================================================
   Equinox Vector — one-page site
   Palette: Equilibrium Passage (Day cores)
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */

@font-face {
  font-family: "Spectral";
  src: url("/media/fonts/Spectral-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/media/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/media/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/media/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/media/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  /* Primary — Balanced Horizon */
  --color-primary: #8a9ca8;
  --color-primary-soft: #B6C1C9;
  --color-primary-deep: #647582;

  /* Secondary — Harmony Mist */
  --color-secondary: #B6C1C9;
  --color-secondary-soft: #C4CDD4;
  --color-secondary-deep: #8A9BA8;

  /* Tertiary — Vector Silver */
  --color-tertiary: #C4CDD4;
  --color-tertiary-soft: #E2E6E9;
  --color-tertiary-deep: #B6C1C9;

  /* Neutral — Pure Equinox */
  --color-neutral: #E2E6E9;
  --color-neutral-soft: #F0F3F4;
  --color-neutral-deep: #C4CDD4;

  /* Obsidian — Anchor Slate */
  --color-obsidian: #21272C;
  --color-obsidian-soft: #2B343B;
  --color-obsidian-deep: #1C2226;

  /* Text — Resolution Ink */
  --color-text: #2B343B;
  --color-text-soft: #576975;
  --color-text-deep: #21272C;

  --color-white: #ffffff;

  /* Type */
  --font-display: "Spectral", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;

  /* Layout — 12-col grid shares the header content edges */
  --header-height: 4.5rem;
  --page-gutter: 1.5rem;
  --container: 70rem;
  --grid-gap: clamp(1.75rem, 3.2vw, 3.25rem);
  --section-pad: clamp(5.5rem, 11vw, 8.5rem);
  --shadow-panel: 0 0.5rem 1.25rem rgba(14, 18, 22, 0.28);
}

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

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-obsidian-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  margin: 0 0 1.25em;
  max-width: 49ch; /* ~75% of prior 65ch — body copy, not layout width */
  font-size: 0.875rem;
}

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

a {
  color: inherit;
}

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

.section--obsidian :focus-visible,
.hero :focus-visible,
.site-header :focus-visible {
  outline-color: var(--color-tertiary);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--color-obsidian-deep);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

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

/* Anchor offset for the fixed header */
section[id],
#contact {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-deep);
  border-color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(43, 52, 59, 0.35);
  color: var(--color-text-deep);
}

.btn-secondary:hover {
  border-width: 1px;
  border-color: var(--color-text-deep);
}

.section--obsidian .btn-secondary,
.hero .btn-secondary {
  border-color: rgba(196, 205, 212, 0.4);
  color: var(--color-neutral);
}

.section--obsidian .btn-secondary:hover,
.hero .btn-secondary:hover {
  border-width: 1px;
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Dark-context CTAs — compact white rim glow */
.section--obsidian .btn:hover,
.hero .btn:hover,
.site-header .btn:hover {
  z-index: 2;
  transform: scale(1.018);
  box-shadow:
    0 0 8px 0 color-mix(in srgb, var(--color-white) 32%, transparent),
    0 0 18px 2px color-mix(in srgb, var(--color-white) 14%, transparent),
    0 0 28px 4px color-mix(in srgb, var(--color-white) 6%, transparent);
}

/* Light-context CTAs — compact deepened shadow */
.section--neutral .btn:hover {
  z-index: 2;
  transform: scale(1.018);
  box-shadow:
    0 0.25rem 0.65rem rgba(14, 18, 22, 0.18),
    0 0.45rem 1rem rgba(14, 18, 22, 0.12);
}

.section-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
}

.text-link {
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-tertiary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  color: var(--color-white);
  border-color: var(--color-tertiary);
}

/* ---------- Fixed header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-obsidian) 72%, transparent),
    color-mix(in srgb, var(--color-obsidian-deep) 78%, transparent)
  );
  -webkit-backdrop-filter: blur(9px) saturate(1.05);
  backdrop-filter: blur(9px) saturate(1.05);
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  z-index: 1;
}

.header-brand img {
  width: auto;
  height: 2.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  z-index: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 56.01rem) {
  .nav-list {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-nav {
    margin-left: auto;
  }
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-neutral);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--color-white);
}

.nav-list a.is-active {
  color: var(--color-white);
  border-bottom-color: var(--color-primary);
}

.nav-cta {
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid rgba(196, 205, 212, 0.3);
  border-radius: 2px;
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bars span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-neutral);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.nav-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

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

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

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-obsidian-deep);
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  filter: brightness(1.06) contrast(1.08);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 22, 0.38) 0%, rgba(14, 18, 22, 0.16) 42%, rgba(14, 18, 22, 0.42) 100%),
    radial-gradient(70% 55% at 50% 42%, rgba(14, 18, 22, 0.08) 0%, rgba(14, 18, 22, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  width: 100%;
  padding: 0 var(--page-gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin: 0 0 1.75rem;
  max-width: 16ch;
}

.hero-support {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-neutral);
  max-width: 42ch;
  margin: 0 0 2.75rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Sections (shared) ---------- */

.section {
  padding: var(--section-pad) 0;
}

/* Same horizontal bounds as .header-inner (logo start → header end) */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--page-gutter);
}

/* 12-column editorial grid — structure, balance, equality */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(2.5rem, 5vw, 4.25rem);
  align-items: start;
}

.cell--1-4 {
  grid-column: 1 / 5;
}

.cell--1-5 {
  grid-column: 1 / 6;
}

.cell--1-6 {
  grid-column: 1 / 7;
}

.cell--5-8 {
  grid-column: 5 / 9;
}

.cell--5-12 {
  grid-column: 5 / -1;
}

.cell--7-12 {
  grid-column: 7 / -1;
}

.cell--9-12 {
  grid-column: 9 / -1;
}

.cell--1-12 {
  grid-column: 1 / -1;
}

.cell--row-2 {
  grid-row: 2;
}

.cell--row-3 {
  grid-row: 3;
}

.cell--row-4 {
  grid-row: 4;
}

.section-rule {
  width: 100%;
  height: 0;
  margin: calc(clamp(2.5rem, 5vw, 4.25rem) * -0.4) 0;
  border: 0;
  border-top: 1px solid rgba(138, 156, 168, 0.55);
  align-self: center;
}

.section-rule-bottom {
  align-self: stretch;
  border-bottom: 1px solid rgba(138, 156, 168, 0.55);
  padding-bottom: 1.4rem;
}

#difference .cell--row-2 {
  align-self: stretch;
  height: 100%;
}

/* Mediation / Advisors: tighter vertical rhythm between heading, body, and CTAs */
#mediation .grid,
#advisors .grid {
  row-gap: clamp(1.25rem, 2.4vw, 2rem);
}

.section-visual {
  margin: 0;
  grid-row: 1 / span 3;
  align-self: stretch;
  position: relative;
  background: transparent;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-obsidian-deep) 18%, transparent);
}

.section-visual--row {
  grid-row: 1;
}

.section-visual__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.06) contrast(1.08);
}

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

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.55rem; /* pull into the heading group */
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.95rem, 4.2vw, 2.95rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 0 2.4rem; /* breathe before the subtitle */
  max-width: 22ch;
}

.lead {
  font-size: clamp(1.016rem, 1.5vw, 1.137rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 40ch;
}

/* Body paragraphs sit inside columns — not full layout width */
.section p:not(.eyebrow):not(.lead) {
  max-width: 42ch;
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
}

/* --- Background variants + contrast --- */

.section--obsidian {
  background: var(--color-obsidian);
  color: var(--color-neutral);
}

.section--obsidian .section-title,
.section--obsidian h4 {
  color: var(--color-white);
}

.section--obsidian .eyebrow {
  color: var(--color-primary);
}

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

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

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

.section--neutral {
  background: var(--color-neutral);
  color: var(--color-text);
}

.section--primary .section-title,
.section--secondary .section-title,
.section--tertiary .section-title,
.section--neutral .section-title {
  color: var(--color-text-deep);
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.4px currentColor;
}

.section--primary .eyebrow,
.section--secondary .eyebrow,
.section--tertiary .eyebrow,
.section--neutral .eyebrow {
  color: var(--color-text-soft);
}

/* ---------- Approach steps ---------- */

#about,
#approach,
#difference,
#principles {
  position: relative;
  background-color: var(--color-obsidian);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#about {
  background-image: url("../media/about-metallic-obsidian.webp");
}

/* Shared frosted glass — keep free of transform/will-change so backdrop-filter works */
.about-glass {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-obsidian) 22%, transparent),
    color-mix(in srgb, var(--color-obsidian-deep) 22%, transparent)
  );
  -webkit-backdrop-filter: blur(9px) saturate(1.05);
  backdrop-filter: blur(9px) saturate(1.05);
  box-shadow: var(--shadow-panel);
  border: 2px solid var(--color-obsidian-soft);
  border-radius: 0.375rem;
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
}

.about-glass__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
}

.about-glass__ctas {
  grid-column: 2;
}

.about-glass--stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

#approach {
  background-image: url("../media/process-metallic-obsidian.webp");
}

#difference {
  background-image: url("../media/difference-metallic-obsidian.webp");
}

#principles {
  background-image: url("../media/principles-metallic-obsidian.webp");
}

#about::before,
#approach::before,
#difference::before,
#principles::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--color-obsidian) 50%, transparent);
}

#about::before {
  background: color-mix(in srgb, var(--color-obsidian) 70%, transparent);
}

#about > .container,
#approach > .container,
#difference > .container,
#principles > .container {
  position: relative;
  z-index: 1;
}

.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

.step-icon,
.client-icon {
  display: block;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  transition: background-color 0.4s ease;
}

.step-icon {
  margin: 0 0 0.35rem;
}

.client-icon {
  margin: 0 0 1.1rem;
}

.approach-step:hover .step-icon,
.principle:hover .step-icon {
  background-color: var(--color-white);
}

.client-group:hover .client-icon {
  background-color: var(--color-text);
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.step-title {
  margin-bottom: 0.55rem;
}

.approach-step,
.principle,
.client-group {
  position: relative;
  z-index: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    border-width 0.4s ease;
}

.approach-step:hover,
.principle:hover {
  z-index: 2;
  transform: scale(1.018);
  border-width: 1px;
  border-color: color-mix(in srgb, var(--color-white) 42%, var(--color-obsidian-soft));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-white) 28%, transparent),
    0 0 14px 1px color-mix(in srgb, var(--color-white) 38%, transparent),
    0 0 32px 4px color-mix(in srgb, var(--color-white) 18%, transparent),
    0 0 56px 8px color-mix(in srgb, var(--color-white) 8%, transparent);
}

.client-group:hover {
  z-index: 2;
  transform: scale(1.018);
  box-shadow:
    0 0.5rem 1.25rem rgba(14, 18, 22, 0.22),
    0 0.85rem 2rem rgba(14, 18, 22, 0.16);
}

.approach-step p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-neutral);
  margin: 0;
  max-width: none;
}

/* ---------- Who we help ---------- */

.client-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

.client-group {
  background: linear-gradient(
    to bottom,
    var(--color-neutral-soft),
    var(--color-neutral)
  );
  border: 2px solid var(--color-neutral-soft);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(14, 18, 22, 0.12);
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
}

.client-group h4 {
  margin-top: 0;
}

.client-group p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin: 0;
  max-width: none;
}

/* ---------- Principles ---------- */

.principle-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
}

.principle h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin: 0.9rem 0 0.55rem;
}

.principle p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-neutral);
  margin: 0;
  max-width: none;
}

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

.contact-details {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-details dl {
  margin: 0;
}

.contact-item {
  margin-bottom: 1.6rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 0.3rem;
}

.contact-item dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
  color: inherit;
  max-width: 42ch;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.25s ease;
}

.contact-item a:hover {
  opacity: 0.75;
}

/* Form — same surface treatment as audience columns */
.contact-form {
  background: linear-gradient(
    to bottom,
    var(--color-neutral-soft),
    var(--color-neutral)
  );
  border: 2px solid var(--color-neutral-soft);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(14, 18, 22, 0.12);
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label,
.form-field legend {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 0.55rem;
}

.req {
  color: var(--color-primary-deep);
  letter-spacing: 0;
}

.form-field--float {
  position: relative;
}

.form-field--float > label {
  position: absolute;
  left: 0;
  top: 1.2rem;
  margin: 0;
  pointer-events: none;
  transform-origin: left center;
  transition:
    top 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease,
    font-size 0.2s ease,
    letter-spacing 0.2s ease;
  z-index: 1;
}

.form-field--float.form-field--select > label {
  left: 0.9rem;
  top: 1.25rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-deep);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-secondary-deep);
  border-radius: 0;
  padding: 1.45rem 0 0.5rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.form-field input:hover,
.form-field textarea:hover {
  border-bottom-color: var(--color-primary-deep);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-text-deep);
  box-shadow: none;
  background-color: color-mix(in srgb, var(--color-neutral-deep) 28%, transparent);
}

.form-field--float:focus-within > label,
.form-field--float input:not(:placeholder-shown) ~ label,
.form-field--float textarea:not(:placeholder-shown) ~ label,
.form-field--float.is-filled > label,
.form-field--float.is-open > label {
  top: 0.1rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--color-primary-deep);
}

.form-field--float.form-field--select.is-filled > label,
.form-field--float.form-field--select.is-open > label,
.form-field--float.form-field--select:focus-within > label {
  top: 0.35rem;
  left: 0.9rem;
}

.form-field--select > select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select__trigger {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-deep);
  background-color: color-mix(in srgb, var(--color-neutral-deep) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-neutral-deep) 80%, var(--color-secondary-deep));
  border-radius: 0.35rem;
  padding: 1.45rem 2.35rem 0.65rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-select__trigger::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.85rem;
  height: 0.5rem;
  margin-top: -0.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.25L7 6.75L13 1.25' stroke='%23647582' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}

.custom-select__value {
  color: var(--color-text-deep);
}

.custom-select__value[data-placeholder="true"] {
  color: transparent;
}

.custom-select:hover .custom-select__trigger {
  border-color: var(--color-primary-deep);
  background-color: color-mix(in srgb, var(--color-neutral-deep) 58%, var(--color-neutral-soft));
}

.form-field--select.is-open .custom-select__trigger,
.custom-select__trigger:focus-visible {
  outline: none;
  border-color: var(--color-primary-deep);
  background-color: color-mix(in srgb, var(--color-neutral-deep) 65%, var(--color-neutral-soft));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-neutral-deep) 55%, transparent);
}

.form-field--select.is-open .custom-select__trigger::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.25L7 6.75L13 1.25' stroke='%2321272C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.custom-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: linear-gradient(
    to bottom,
    var(--color-neutral-soft),
    var(--color-neutral)
  );
  border: 1px solid var(--color-secondary);
  border-radius: 0.35rem;
  box-shadow: 0 0.65rem 1.5rem rgba(33, 39, 44, 0.16);
}

.custom-select__list[hidden] {
  display: none;
}

.custom-select__list [role="option"] {
  padding: 0.65rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-select__list [role="option"]:hover,
.custom-select__list [role="option"].is-active {
  background-color: color-mix(in srgb, var(--color-primary) 28%, var(--color-neutral-soft));
  color: var(--color-text-deep);
}

.custom-select__list [role="option"][aria-selected="true"] {
  background-color: color-mix(in srgb, var(--color-primary-deep) 18%, var(--color-neutral-soft));
  color: var(--color-text-deep);
  font-weight: 500;
}

.form-field textarea {
  resize: vertical;
  min-height: 3.5rem;
  line-height: 1.55;
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error .custom-select__trigger {
  border-color: #a0522d;
  border-bottom-color: #a0522d;
}

.field-error {
  font-size: 0.8rem;
  color: #8c3b1b;
  margin: 0.45rem 0 0;
}

.form-field--radios {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  cursor: pointer;
  margin: 0;
}

.form-field .radio-option {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  margin-bottom: 0;
}

.radio-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border: 1px solid var(--color-secondary-deep);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
  transition: border-color 0.2s ease;
  accent-color: unset;
}

.radio-option input::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-primary-deep);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.radio-option input:checked {
  border-color: var(--color-primary-deep);
}

.radio-option input:checked::before {
  transform: scale(1);
}

.radio-option input:focus-visible {
  outline: 2px solid var(--color-primary-deep);
  outline-offset: 2px;
}

.contact-form .btn {
  margin-top: 0.25rem;
}

.form-reassurance {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin: 1.35rem 0 0;
  max-width: 42ch;
}

.form-success {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-deep);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--color-primary-deep);
  padding: 1.15rem 0 0;
  margin: 1.75rem 0 0;
  max-width: 42ch;
}

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

.site-footer {
  background: var(--color-obsidian-deep);
  color: var(--color-neutral);
  padding: 4.5rem 0 3rem;
  border-top: 1px solid rgba(196, 205, 212, 0.12);
}

.footer-inner {
  row-gap: 1rem;
  align-items: center;
}

.footer-meta,
.footer-credit {
  font-size: 0.82rem;
  color: var(--color-primary-soft);
  margin: 0;
}

.footer-credit {
  text-align: right;
}

.footer-credit a {
  color: var(--color-primary-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-credit a:hover {
  color: var(--color-white);
  border-color: var(--color-tertiary);
}

/* ---------- Reveal helper (GSAP drives the motion; this is a resting hint) ---------- */

/* JS adds .js-anim only when GSAP is running and motion is allowed,
   so content stays visible without JS or with reduced motion. */
.js-anim .grid > *:not(.section-visual):not(.about-glass):not(.approach-steps):not(.client-groups):not(.principle-groups) {
  will-change: transform, opacity;
}

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

@media (max-width: 64rem) {
  .approach-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .client-groups {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .principle-groups {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .nav-list {
    gap: 1rem;
  }
}

@media (max-width: 56rem) {
  :root {
    --page-gutter: 1.85rem;
    --mobile-nav-inset: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--mobile-nav-inset));
    left: var(--mobile-nav-inset);
    right: var(--mobile-nav-inset);
    bottom: var(--mobile-nav-inset);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--color-obsidian) 72%, transparent),
      color-mix(in srgb, var(--color-obsidian-deep) 78%, transparent)
    );
    -webkit-backdrop-filter: blur(9px) saturate(1.05);
    backdrop-filter: blur(9px) saturate(1.05);
    border: 2px solid var(--color-obsidian-soft);
    border-radius: 0.375rem;
    box-shadow: var(--shadow-panel);
    padding: 1.75rem 1.5rem;
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-list a {
    display: block;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .cell--1-4,
  .cell--1-5,
  .cell--1-6,
  .cell--5-8,
  .cell--5-12,
  .cell--7-12,
  .cell--9-12,
  .cell--1-12,
  .cell--row-2,
  .cell--row-3,
  .cell--row-4,
  .section-visual {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-credit {
    text-align: left;
  }

  .about-glass__columns {
    grid-template-columns: 1fr;
  }

  .about-glass__ctas {
    grid-column: 1;
  }

  .section-visual {
    aspect-ratio: 3 / 4;
  }

  .section-visual--row {
    aspect-ratio: 16 / 10;
  }

  .nav-list {
    position: static;
    transform: none;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .hero-ctas {
    flex-direction: column;
    gap: 1.4rem;
  }

  .header-brand img {
    height: 2rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
