/* ============================================================
   Cardilett — Apple-inspired HR Consultancy Showcase
   Brand System: Deep Crimson, Desert Sand, Skylight Blue,
                 Gulf Teal, Sage Grey, Emirati Gold, Charcoal Indigo
============================================================ */

/* -----------------------  FONTS  ----------------------- */
@font-face {
  font-family: '29LT Bukra';
  src: url('../fonts/29lt-bukra.woff2') format('woff2'),
       url('../fonts/29lt-bukra.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Inter + Newsreader come from a Google Fonts <link> enqueued by the theme.
   The legacy --font-inter / --font-newsreader names mirror what next/font
   produced in the React build, so the rest of this file keeps working. */
:root {
  --font-inter: "Inter";
  --font-newsreader: "Newsreader";
}

/* -----------------------  TOKENS  ----------------------- */
:root {
  /* Brand palette */
  --crimson: #6F0707;
  --crimson-deep: #550505;
  --crimson-glow: #8B0A0A;
  --sand: #FBEDDD;
  --sand-dim: #F4E2CD;
  --sand-deep: #EED7BA;
  --skylight: #A3BAD2;
  --skylight-soft: #C8D4E2;
  --teal: #4C9C9A;
  --teal-deep: #3A807F;
  --sage: #BCC7B9;
  --gold: #CBAB51;
  --gold-soft: #E4C979;
  --indigo: #2B2B3D;
  --indigo-deep: #1C1C2A;
  --indigo-soft: #3E3E55;

  /* Surface & text */
  --bg: var(--sand);
  --surface: #FFFFFF;
  --text: var(--indigo);
  --muted: rgba(43, 43, 61, 0.62);
  --subtle: rgba(43, 43, 61, 0.14);
  --hairline: rgba(43, 43, 61, 0.10);

  /* Type */
  --font-display: var(--font-inter), -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: var(--font-inter), -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: var(--font-newsreader), "Iowan Old Style", "Palatino", Georgia, serif;

  /* Radii / shadows */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28, 28, 42, 0.04), 0 2px 8px rgba(28, 28, 42, 0.04);
  --shadow-md: 0 2px 4px rgba(28, 28, 42, 0.05), 0 12px 32px rgba(28, 28, 42, 0.08);
  --shadow-lg: 0 8px 20px rgba(28, 28, 42, 0.10), 0 40px 80px rgba(28, 28, 42, 0.14);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(80px, 10vw, 160px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  line-height: 1.5;
  font-size: 17px;
  letter-spacing: -0.003em;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover {
  color: var(--teal);
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

::selection {
  background: var(--crimson);
  color: var(--sand);
}

/* -----------------------  PRELOADER  ----------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--sand);
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--indigo);
  position: relative;
}

.preloader__logo {
  height: clamp(144px, 24vw, 240px);
  width: auto;
  object-fit: contain;
  animation: halo 1.6s var(--ease-out) infinite;
}

/* preloader__word::after removed — wordmark is now an img */

@keyframes underline {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  40% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes halo {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  40% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

/* -----------------------  SCROLL PROGRESS BAR  ----------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--teal));
  z-index: 200;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* -----------------------  CURSOR GLOW (dark sections)  ----------------------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(228, 201, 121, 0.06) 0%, transparent 70%);
  mix-blend-mode: screen;
}

.cursor-glow.is-visible {
  opacity: 1;
}

/* -----------------------  NAV  ----------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  background: rgba(251, 237, 221, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(251, 237, 221, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav.is-dark {
  background: rgba(28, 28, 42, 0.7);
  color: var(--sand);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: inherit;
}

.nav__brand-logo {
  height: 144px;
  width: auto;
  object-fit: contain;
  transition: transform .3s var(--ease);
}

/* nav__brand-wordmark::after removed — wordmark is now an img */

.nav__brand:hover .nav__brand-logo {
  transform: scale(1.08);
}

.nav.is-dark .nav__brand-logo {
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.nav__menu a {
  opacity: 0.82;
  position: relative;
  padding: 6px 0;
}

.nav__menu a:hover {
  opacity: 1;
  color: inherit;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease);
}

.nav__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson);
  color: var(--sand);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.nav__cta:hover {
  background: var(--crimson-glow);
  color: var(--sand);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  position: relative;
}

.nav__toggle span {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav__toggle span:nth-child(1) {
  top: 15px;
}

.nav__toggle span:nth-child(2) {
  bottom: 15px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__drawer {
  display: none;
  padding: 16px var(--gutter) 24px;
  gap: 4px;
  border-top: 1px solid var(--hairline);
}

.nav__drawer a {
  padding: 14px 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--hairline);
}

.nav__drawer a:last-child {
  border-bottom: 0;
}

.nav__drawer-cta {
  color: var(--crimson) !important;
}

@media (max-width: 960px) {
  .nav__menu {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav.is-open .nav__drawer {
    display: flex;
    flex-direction: column;
  }

  .nav.is-open {
    background: var(--sand);
  }
}

/* -----------------------  LAYOUT HELPERS  ----------------------- */
section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

[data-theme="sand"] {
  background: var(--sand);
  color: var(--indigo);
}

[data-theme="sand-dim"] {
  background: var(--sand-dim);
  color: var(--indigo);
}

[data-theme="indigo"] {
  background: var(--indigo);
  color: var(--sand);
}

[data-theme="indigo-deep"] {
  background: var(--indigo-deep);
  color: var(--sand);
}

[data-theme="skylight"] {
  background: linear-gradient(160deg, #BCCFDF 0%, var(--skylight) 45%, #98B5CB 100%);
  color: var(--indigo);
}

[data-theme="crimson"] {
  background: radial-gradient(ellipse at top left, var(--crimson-glow) 0%, var(--crimson) 45%, var(--crimson-deep) 100%);
  color: var(--sand);
}

.section__head {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 8vw, 96px);
  position: relative;
  z-index: 2;
}

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

/* Background Images Utility */
.section__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section__bg-img img {
  width: 100%;
  height: 120%;
  /* 120% for parallax slack */
  object-fit: cover;
  opacity: 0.08;
  filter: saturate(0) contrast(1.1);
}

.section__bg-img--dark img {
  opacity: 0.15;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: '29LT Bukra', sans-serif;
  font-size: 38pt;
  line-height: 68px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--crimson);
  padding: 8px 14px;
  background: rgba(111, 7, 7, 0.06);
  border: 1px solid rgba(111, 7, 7, 0.16);
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

[data-theme="indigo"] .eyebrow,
[data-theme="indigo-deep"] .eyebrow {
  color: var(--gold-soft);
  background: rgba(228, 201, 121, 0.12);
  border-color: rgba(228, 201, 121, 0.35);
}

[data-theme="crimson"] .eyebrow {
  color: var(--sand);
  background: rgba(251, 237, 221, 0.12);
  border-color: rgba(251, 237, 221, 0.3);
}

[data-theme="skylight"] .eyebrow {
  color: var(--indigo);
  background: rgba(43, 43, 61, 0.08);
  border-color: rgba(43, 43, 61, 0.2);
}

.section__title {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 16ch;
}

.section__head--centered .section__title {
  max-width: 22ch;
  margin-inline: auto;
}

.section__sub {
  margin-top: 20px;
  font-size: clamp(13px, 1vw, 15px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
}

.section__head--centered .section__sub {
  margin-inline: auto;
}

[data-theme="indigo"] .section__sub,
[data-theme="indigo-deep"] .section__sub {
  color: rgba(251, 237, 221, 0.72);
}

[data-theme="crimson"] .section__sub {
  color: rgba(251, 237, 221, 0.82);
}

/* -----------------------  BUTTONS  ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
  line-height: 1;
}

.btn svg {
  transition: transform .3s var(--ease);
}

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

.btn--primary {
  background: var(--crimson);
  color: var(--sand);
  box-shadow: 0 1px 2px rgba(111, 7, 7, 0.3), 0 8px 24px rgba(111, 7, 7, 0.18);
}

.btn--primary:hover {
  background: var(--crimson-glow);
  color: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(111, 7, 7, 0.3), 0 14px 30px rgba(111, 7, 7, 0.26);
}

.btn--ghost {
  background: transparent;
  color: var(--indigo);
  border: 1px solid var(--hairline);
}

.btn--ghost:hover {
  background: var(--indigo);
  color: var(--sand);
  border-color: var(--indigo);
}

[data-theme="indigo"] .btn--ghost,
[data-theme="indigo-deep"] .btn--ghost {
  color: var(--sand);
  border-color: rgba(251, 237, 221, 0.25);
}

[data-theme="indigo"] .btn--ghost:hover {
  background: var(--sand);
  color: var(--indigo);
  border-color: var(--sand);
}

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
}

/* -----------------------  HERO  ----------------------- */
.hero {
  padding-top: clamp(160px, 22vw, 240px);
  padding-bottom: clamp(120px, 14vw, 200px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 80% 30%, rgba(163, 186, 210, 0.25), transparent 60%),
    radial-gradient(500px circle at 20% 80%, rgba(76, 156, 154, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero__bg {
  z-index: 0 !important;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.85) contrast(1.05);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}

@media (max-width: 900px) {
  .hero__bg img {
    opacity: 0.12;
  }
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  width: max-content;
  margin-bottom: 36px;
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 4px rgba(111, 7, 7, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(111, 7, 7, 0.1);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(111, 7, 7, 0.02);
  }
}

.hero__title {
  font-size: clamp(56px, 10vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin-bottom: 40px;
  max-width: 14ch;
}

.hero__title span {
  display: block;
  overflow: hidden;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--crimson);
  letter-spacing: -0.04em;
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
  justify-content: flex-end;
}

.hero__mark {
  position: absolute;
  right: calc(var(--gutter) - 60px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero__disc {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FBEDDD 55%, #F1DFC1 100%);
  box-shadow:
    0 30px 60px rgba(111, 7, 7, 0.18),
    inset 0 0 0 1px rgba(43, 43, 61, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__cardinal {
  width: 75%;
  height: 75%;
  object-fit: contain;
  color: var(--crimson);
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 12px 22px rgba(111, 7, 7, 0.22));
}

.hero__halo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero__mark {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 30px auto 0;
  }
}



/* -----------------------  SECTION BACKGROUND OVERRIDES  ----------------------- */
section.commitments { background: #a3BAD2 !important; color: var(--indigo); }
section.commitments .eyebrow { color: var(--crimson); background: rgba(111,7,7,0.08); border-color: rgba(111,7,7,0.18); }
section.commitments .section__sub { color: rgba(43,43,61,0.68); }
section.commitments .pillar { background: var(--sand); border-color: rgba(43,43,61,0.12); }
section.commitments .pillar:hover { background: var(--sand-deep); border-color: rgba(111,7,7,0.22); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
section.commitments .pillar__num { color: var(--crimson); }
section.commitments .pillar__body { color: rgba(43,43,61,0.72); }

section.services { background: #4c9c9A !important; color: var(--indigo); }
section.method { background: #e2725B !important; color: var(--indigo); }

/* -----------------------  COMMITMENTS / PILLARS  ----------------------- */
.commitments .section__head {
  max-width: var(--max);
}

.pillars {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.pillar {
  padding: clamp(32px, 3vw, 48px) clamp(28px, 3vw, 40px);
  background: rgba(251, 237, 221, 0.05);
  border: 1px solid rgba(251, 237, 221, 0.12);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform .5s var(--ease-out), background .4s var(--ease), border-color .4s var(--ease);
}

.pillar:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(251, 237, 221, 0.08);
  border-color: rgba(228, 201, 121, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.pillar__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  color: var(--gold-soft);
  margin-bottom: 24px;
  line-height: 1;
}

.pillar__title {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 18ch;
}

.pillar__body {
  color: rgba(251, 237, 221, 0.72);
  line-height: 1.55;
  font-size: 15.5px;
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  ABOUT  ----------------------- */
.about__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about__left {
  position: sticky;
  top: 120px;
}

.about__figure {
  margin: 40px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 50px rgba(43, 43, 61, 0.12);
  aspect-ratio: 4/5;
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

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

.about__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(43, 43, 61, 0.78), transparent);
  color: var(--sand);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .about__figure {
    aspect-ratio: 16/10;
  }
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__para {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--indigo);
}

.about__para strong {
  color: var(--crimson);
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 40px;
  background: var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  background: var(--sand);
  padding: 32px 28px;
  transition: background .3s var(--ease);
}

.stat:hover {
  background: var(--sand-deep);
}

.stat__num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--crimson);
  margin-bottom: 12px;
}

.stat__num span {
  font-size: 0.5em;
  color: var(--gold);
  margin-left: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.stat__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__left {
    position: static;
  }
}

/* -----------------------  SERVICES  ----------------------- */
.services__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--hairline);
  border-radius: var(--r-lg);
  /* overflow: hidden removed to allow hover shadows to display */
}

.service {
  background: var(--sand);
  padding: clamp(28px, 3vw, 44px);
  transition: background .4s var(--ease), transform .5s var(--ease-out);
  position: relative;
  cursor: default;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.service:hover {
  background: var(--surface);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border-radius: var(--r-lg);
}

.service__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--crimson);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.service h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 18ch;
  font-weight: 700;
}

.service p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: auto;
}

.service--featured {
  background: var(--indigo);
  color: var(--sand);
  grid-column: 1 / -1;
}

.service--featured .service__num {
  color: var(--gold-soft);
}

.service--featured h3 {
  color: var(--sand);
}

.service--featured p {
  color: rgba(251, 237, 221, 0.72);
}

.service--featured:hover {
  background: var(--indigo-deep);
}

.service__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  METHODOLOGY  ----------------------- */
.method {
  padding-bottom: calc(var(--section-pad) - 20px);
}

.method__flow {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.method__line {
  position: absolute;
  top: 34px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 43, 61, 0.25) 10%, rgba(43, 43, 61, 0.25) 90%, transparent);
  z-index: 0;
}

.step {
  position: relative;
  padding: 0 4px;
  z-index: 1;
  transition: transform .4s var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
}

.step:hover .step__num {
  box-shadow: 0 12px 32px rgba(111, 7, 7, 0.38);
  transform: scale(1.08);
}

.step__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.step__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sand);
  background: var(--crimson);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(111, 7, 7, 0.28);
  position: relative;
  font-family: var(--font-display);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease-out);
}

.step__num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(111, 7, 7, 0.3);
}

.step h3 {
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.02em;
  color: var(--indigo);
}

.step ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--indigo);
  opacity: 0.78;
  padding-left: 14px;
  position: relative;
}

.step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.method__note {
  max-width: 60ch;
  margin: 60px auto 0;
  text-align: center;
  font-size: 14px;
  color: rgba(43, 43, 61, 0.7);
  font-style: italic;
  font-family: var(--font-serif);
}

.method__banner {
  max-width: var(--max);
  margin: 80px auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/6;
  box-shadow: 0 30px 60px rgba(43, 43, 61, 0.18);
}

.method__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--ease-out);
}

.method__banner:hover img {
  transform: scale(1.03);
}

.method__banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(to top, rgba(43, 43, 61, 0.82) 0%, rgba(43, 43, 61, 0.35) 45%, transparent 75%);
  color: var(--sand);
  gap: 10px;
}

.method__banner-overlay .eyebrow {
  color: var(--gold-soft);
}

.method__banner-overlay p {
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.3;
  max-width: 46ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

@media (max-width: 900px) {
  .method__flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .method__line {
    display: none;
  }

  .method__banner {
    aspect-ratio: 4/3;
  }
}

/* -----------------------  INDUSTRIES  ----------------------- */
.industries__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.ind {
  background: var(--sand);
  padding: clamp(28px, 2.5vw, 36px) clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .3s var(--ease), transform .4s var(--ease-out);
}

.ind:hover {
  background: var(--surface);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.ind__icon {
  width: 48px;
  height: 48px;
  color: var(--crimson);
  display: grid;
  place-items: center;
  background: rgba(111, 7, 7, 0.06);
  border-radius: var(--r-sm);
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}

.ind:hover .ind__icon {
  background: rgba(111, 7, 7, 0.12);
  transform: scale(1.1);
}

.ind__icon svg {
  width: 28px;
  height: 28px;
}

.ind h4 {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

@media (max-width: 900px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  DIFFERENTIATORS  ----------------------- */
.diff .section__head {
  max-width: var(--max);
}

.diff__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diff__card {
  padding: 36px 32px;
  background: rgba(251, 237, 221, 0.04);
  border: 1px solid rgba(251, 237, 221, 0.12);
  border-radius: var(--r-lg);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease-out);
}

.diff__card:hover {
  background: rgba(251, 237, 221, 0.08);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(228, 201, 121, 0.2);
}

.diff__ico {
  width: 52px;
  height: 52px;
  color: var(--gold-soft);
  background: rgba(228, 201, 121, 0.14);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transition: background .3s var(--ease), transform .3s var(--ease-out), box-shadow .3s var(--ease);
}

.diff__card:hover .diff__ico {
  background: rgba(228, 201, 121, 0.22);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(228, 201, 121, 0.12);
}

.diff__ico svg {
  width: 26px;
  height: 26px;
}

.diff__card h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--sand);
}

.diff__card p {
  color: rgba(251, 237, 221, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .diff__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  CASES  ----------------------- */
.cases .section__head {
  max-width: var(--max);
}

.cases__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case {
  padding: clamp(32px, 4vw, 56px);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease);
}

.case:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--gold) 50%, var(--teal) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.case:hover::before {
  opacity: 1;
}

.case__metric {
  font-size: clamp(64px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--crimson);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.case__metric span {
  font-size: 0.5em;
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.case h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.case p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 24px;
}

.case__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  color: var(--teal-deep);
  background: rgba(76, 156, 154, 0.1);
  border: 1px solid rgba(76, 156, 154, 0.25);
  font-weight: 600;
}

.cases__note {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(203, 171, 81, 0.08);
  border: 1px solid rgba(203, 171, 81, 0.25);
  border-radius: var(--r-md);
}

.cases__note p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  flex-shrink: 0;
}

.dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(203, 171, 81, 0.18);
}

@media (max-width: 800px) {
  .cases__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  INSIGHTS  ----------------------- */
.insights__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.insight {
  background: var(--sand);
  padding: clamp(32px, 3.5vw, 48px);
  transition: background .3s var(--ease);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insight:hover {
  background: var(--surface);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.insight__tag {
  width: max-content;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  color: var(--crimson);
  background: rgba(111, 7, 7, 0.08);
  font-weight: 600;
}

.insight h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--indigo);
  max-width: 28ch;
  flex: 1;
}

.insight__meta {
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.insights__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 48px auto 0;
  justify-content: center;
  width: max-content;
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson);
  padding: 12px 4px;
  border-bottom: 1px solid var(--crimson);
  max-width: var(--max);
}

.insights__link:hover {
  color: var(--crimson-glow);
}

@media (max-width: 800px) {
  .insights__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  TEAM  ----------------------- */
.team .section__head {
  max-width: var(--max);
}

/* Founder Feature Card */
.founder {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: rgba(251, 237, 221, 0.04);
  border: 1px solid rgba(251, 237, 221, 0.12);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease-out), box-shadow .4s var(--ease);
}

.founder:hover {
  background: rgba(251, 237, 221, 0.07);
  border-color: rgba(228, 201, 121, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.founder__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .8s var(--ease-out);
  filter: saturate(0.95) contrast(1.02);
}

.founder:hover .founder__photo img {
  transform: scale(1.04);
}

.founder__copy {
  padding: clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.founder__tag {
  display: inline-block;
  width: max-content;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--gold-soft);
  background: rgba(228, 201, 121, 0.12);
  border: 1px solid rgba(228, 201, 121, 0.3);
  font-weight: 600;
}

.founder__copy h3 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.035em;
  color: var(--sand);
  line-height: 1.05;
}

.founder__copy p {
  color: rgba(251, 237, 221, 0.72);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 48ch;
}

@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder__photo {
    aspect-ratio: 16/10;
  }
}

/* Team Grid */
.team__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.member {
  background: rgba(251, 237, 221, 0.04);
  border: 1px solid rgba(251, 237, 221, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease-out), box-shadow .4s var(--ease);
}

.member:hover {
  background: rgba(251, 237, 221, 0.07);
  border-color: rgba(228, 201, 121, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.member__photo {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.member__photo img,
.member__photo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
  filter: saturate(0.9);
}

.member:hover .member__photo img,
.member:hover .member__photo svg {
  transform: scale(1.04);
}

.member__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(43, 43, 61, 0.6) 0%, rgba(43, 43, 61, 0.35) 100%);
}

.member__placeholder svg {
  width: 48%;
  height: auto;
  color: rgba(251, 237, 221, 0.2);
  filter: none;
}

.member__copy {
  padding: clamp(20px, 2vw, 28px);
}

.member__copy h3 {
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: -0.02em;
  color: var(--sand);
  margin-bottom: 4px;
}

.member__role {
  display: inline-block;
  color: var(--gold-soft);
  font-size: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 14px;
}

.member__copy p {
  color: rgba(251, 237, 221, 0.62);
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  TESTIMONIALS  ----------------------- */
.testimonials__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(32px, 3vw, 44px);
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease);
}

.quote:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(111, 7, 7, 0.15);
}

.quote__mark {
  width: 36px;
  height: 36px;
  color: var(--crimson);
  opacity: 0.8;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}

.quote:hover .quote__mark {
  transform: scale(1.15) rotate(-5deg);
  opacity: 1;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--indigo);
  letter-spacing: -0.01em;
  flex: 1;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.quote figcaption strong {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--indigo);
}

.quote figcaption span {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------  CONTACT  ----------------------- */
.contact {
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.12;
  filter: saturate(0.7);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 30%, transparent 90%);
  mask-image: linear-gradient(to left, black 0%, black 30%, transparent 90%);
}

.contact>*:not(.contact__bg) {
  position: relative;
  z-index: 1;
}

.contact__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact__left .section__title {
  max-width: 14ch;
}

.contact__lede {
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(251, 237, 221, 0.78);
  line-height: 1.55;
  max-width: 42ch;
}

.contact__meta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(251, 237, 221, 0.15);
  font-size: 15px;
}

.contact__row:last-child {
  border-bottom: 1px solid rgba(251, 237, 221, 0.15);
}

.contact__label {
  color: rgba(251, 237, 221, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
  padding-top: 2px;
}

.contact__row a {
  color: var(--gold-soft);
}

.contact__row a:hover {
  color: var(--sand);
}

.contact__form {
  background: rgba(251, 237, 221, 0.97);
  border-radius: var(--r-lg);
  padding: clamp(32px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  box-shadow: 0 40px 80px rgba(28, 28, 42, 0.3);
  color: var(--indigo);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 2px;
  font-size: 16px;
  background: transparent;
  color: var(--indigo);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  font-family: var(--font-body);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--crimson);
  box-shadow: 0 2px 0 0 var(--crimson);
}

.field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--crimson);
  flex-shrink: 0;
}

.field--check label {
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.45;
}

.contact__success {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 16px 20px;
  background: rgba(76, 156, 154, 0.12);
  border: 1px solid rgba(76, 156, 154, 0.35);
  color: var(--teal-deep);
  border-radius: var(--r-md);
  font-size: 14.5px;
}

.contact__error {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 16px 20px;
  background: rgba(111, 7, 7, 0.08);
  border: 1px solid rgba(111, 7, 7, 0.28);
  color: var(--crimson-deep);
  border-radius: var(--r-md);
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

/* -----------------------  FOOTER  ----------------------- */
.foot {
  background: var(--indigo-deep);
  color: rgba(251, 237, 221, 0.78);
  padding: clamp(64px, 8vw, 120px) var(--gutter) 40px;
}

.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(251, 237, 221, 0.1);
}

.foot__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--sand);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.foot__logo {
  width: 36px;
  height: 36px;
  color: var(--gold-soft);
}

.foot__brand p {
  font-size: 15px;
  margin-bottom: 12px;
  color: rgba(251, 237, 221, 0.82);
}

.foot__fine {
  font-size: 13px;
  color: rgba(251, 237, 221, 0.5);
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.foot__col h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 237, 221, 0.5);
  margin-bottom: 18px;
  font-weight: 600;
}

.foot__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot__col li {
  font-size: 14px;
}

.foot__col a:hover {
  color: var(--gold-soft);
}

.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(251, 237, 221, 0.5);
}

@media (max-width: 900px) {
  .foot__top {
    grid-template-columns: 1fr;
  }

  .foot__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -----------------------  REVEAL ANIMATION  ----------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: .1s;
}

.reveal:nth-child(3) {
  transition-delay: .18s;
}

.reveal:nth-child(4) {
  transition-delay: .26s;
}

.reveal:nth-child(5) {
  transition-delay: .34s;
}

.reveal:nth-child(6) {
  transition-delay: .42s;
}

.reveal:nth-child(7) {
  transition-delay: .48s;
}

.reveal:nth-child(8) {
  transition-delay: .54s;
}

.reveal:nth-child(9) {
  transition-delay: .6s;
}

.reveal:nth-child(10) {
  transition-delay: .64s;
}

.reveal:nth-child(11) {
  transition-delay: .68s;
}

.reveal:nth-child(12) {
  transition-delay: .72s;
}

.reveal:nth-child(13) {
  transition-delay: .76s;
}

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

  .hero__cardinal,
  .preloader__c::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* -----------------------  SMOOTH SECTION DIVIDERS  ----------------------- */
.commitments::after,
.diff::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08));
  pointer-events: none;
  z-index: 1;
}

/* -----------------------  ACTIVE NAV LINK INDICATOR  ----------------------- */
.nav__menu a.is-active {
  opacity: 1;
  color: var(--crimson);
}

.nav__menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
  background: var(--crimson);
}

.nav.is-dark .nav__menu a.is-active {
  color: var(--gold-soft);
}

.nav.is-dark .nav__menu a.is-active::after {
  background: var(--gold-soft);
}
