:root {
  --ink: #0b0b0b;
  --muted: #777771;
  --soft: #f7f7f4;
  --soft-deep: #efeee8;
  --line: rgba(11, 11, 11, 0.11);
  --line-strong: rgba(11, 11, 11, 0.18);
  --gold: #9b7a3d;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-text: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 54px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow-x: hidden;
}

section,
.site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 0 clamp(28px, 6vw, 82px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: #202020;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a,
.language-switch button {
  transition: opacity 180ms ease;
}

.nav a:hover {
  opacity: 0.58;
}

.nav a:focus-visible,
.brand:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--soft);
  border-radius: 999px;
  color: #202020;
  font-size: 13px;
}

.language-switch button {
  min-width: 42px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.language-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.language-switch button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 118px clamp(24px, 7vw, 118px) 46px;
  background:
    radial-gradient(circle at 50% 22%, rgba(11, 11, 11, 0.025), transparent 31%),
    var(--white);
}

.hero-content {
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 54px 40px 40px;
  border: 1px solid transparent;
  border-image: linear-gradient(115deg, transparent, rgba(155, 122, 61, 0.32), transparent) 1;
  opacity: 0.54;
  animation: frameGlow 7s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(760px, 76vw);
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(11, 11, 11, 0.08), transparent 66%);
  filter: blur(20px);
  opacity: 0.42;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 7.8vw, 104px);
  line-height: 0.92;
}

.hero-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 400;
}

.service-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  align-items: center;
  max-width: 1120px;
  min-height: 92px;
  margin: 52px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 28px 90px rgba(11, 11, 11, 0.07);
  backdrop-filter: blur(16px);
  animation: barEntrance 900ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.service-bar::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 1px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(155, 122, 61, 0.22) 0 12px,
      transparent 12px 18px,
      rgba(155, 122, 61, 0.1) 18px 24px,
      transparent 24px 30px
    );
  opacity: 0.5;
}

.service-bar div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(28px, 4vw, 46px);
  text-align: left;
  border-right: 1px solid var(--line);
  isolation: isolate;
  transition: background 360ms ease, transform 360ms ease;
}

.service-bar div:last-child {
  border-right: 0;
}

.service-bar div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent, rgba(155, 122, 61, 0.08), transparent);
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity 420ms ease, transform 520ms ease;
}

.service-bar div:hover {
  background: rgba(247, 247, 244, 0.62);
}

.service-bar div:hover::before {
  opacity: 1;
  transform: translateX(24%);
}

.bar-icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  transition: border-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.service-bar div:hover .bar-icon {
  border-color: rgba(155, 122, 61, 0.5);
  color: var(--gold);
  transform: scale(1.05);
}

.service-bar strong {
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.service-bar small {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.2;
  font-weight: 400;
}

.metrics,
.statement,
.split,
.mandates,
.purpose {
  min-height: calc(100svh - 54px);
  padding: clamp(76px, 11vw, 150px) clamp(24px, 7vw, 118px);
}

.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f7f2 52%, #ffffff 100%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics::before {
  content: "";
  position: absolute;
  inset: clamp(30px, 5vw, 72px) clamp(24px, 7vw, 118px);
  border-top: 1px solid rgba(155, 122, 61, 0.16);
  border-bottom: 1px solid rgba(155, 122, 61, 0.16);
  opacity: 0.82;
  pointer-events: none;
  transform: scaleX(0.92);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 1100ms ease;
}

.metrics.is-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.metric {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 260px;
  padding: clamp(28px, 4vw, 54px);
  text-align: center;
}

.metric + .metric {
  border-left: 1px solid rgba(11, 11, 11, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: clamp(24px, 2.4vw, 42px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(82px, 9.4vw, 142px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.metric span {
  display: block;
  margin: 0 auto;
  max-width: min(360px, 22ch);
  color: #59605b;
  font-size: clamp(15px, 1.18vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.metrics.is-visible .metric {
  animation: cardLift 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.metrics.is-visible .metric:nth-child(2) {
  animation-delay: 140ms;
}

.metrics.is-visible .metric:nth-child(3) {
  animation-delay: 280ms;
}

.statement {
  position: relative;
  display: grid;
  align-content: center;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.statement::after,
.split::after,
.mandates::after,
.purpose::after {
  content: "";
  position: absolute;
  left: clamp(24px, 7vw, 118px);
  right: clamp(24px, 7vw, 118px);
  bottom: clamp(24px, 5vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 122, 61, 0.34), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.statement.is-visible::after,
.split.is-visible::after,
.mandates.is-visible::after,
.purpose.is-visible::after {
  transform: scaleX(1);
}

.statement h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.98;
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(34px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.split h2,
.purpose h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.98;
}

.split > p,
.purpose p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.mandates {
  position: relative;
  display: grid;
  align-content: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--white), rgba(247, 247, 244, 0.72)),
    var(--white);
  overflow: hidden;
}

.section-intro {
  display: block;
  margin-bottom: clamp(34px, 6vw, 72px);
}

.section-intro h2 {
  max-width: 960px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.98;
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  position: relative;
}

.mandate-grid article {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.94);
  transition:
    background 420ms ease,
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mandates.is-visible .mandate-grid article {
  animation: cardLift 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mandates.is-visible .mandate-grid article:nth-child(1) {
  animation-delay: 120ms;
}

.mandates.is-visible .mandate-grid article:nth-child(2) {
  animation-delay: 240ms;
}

.mandates.is-visible .mandate-grid article:nth-child(3) {
  animation-delay: 360ms;
}

.mandate-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(155, 122, 61, 0.11), transparent 44%),
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(11, 11, 11, 0.06), transparent 34%);
  opacity: 0;
  transition: opacity 420ms ease;
}

.mandate-grid article > * {
  position: relative;
}

.mandate-grid article:hover {
  background: var(--white);
  box-shadow: 0 34px 90px rgba(11, 11, 11, 0.08);
  transform: translateY(-5px);
}

.mandate-grid article:hover::before {
  opacity: 1;
}

.mandate-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
}

.mandate-grid h3 {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.mandate-grid p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.purpose {
  position: relative;
  display: grid;
  align-items: center;
  background: #0b0b0b;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.purpose-inner {
  max-width: 1080px;
}

.purpose h2 {
  margin-bottom: 30px;
}

.purpose p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(24px, 7vw, 118px);
  color: rgba(255, 255, 255, 0.58);
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.section-reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.reveal-enabled .section-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px);
  transition:
    opacity 900ms ease,
    filter 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-enabled .section-reveal.is-visible,
.section-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes barEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lineTrace {
  0% {
    transform: translateX(-105%);
  }
  48%,
  100% {
    transform: translateX(105%);
  }
}

@keyframes frameGlow {
  0%,
  100% {
    opacity: 0.26;
    filter: blur(0);
  }
  50% {
    opacity: 0.68;
    filter: blur(0.2px);
  }
}

@keyframes trustFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardLift {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: 62px;
  }

  .hero::before {
    inset: 62px 18px 18px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .nav {
    display: none;
  }

  .language-switch {
    padding: 8px 14px;
  }

  .hero {
    padding-top: 108px;
  }

  .statement,
  .metrics,
  .split,
  .mandates,
  .purpose {
    min-height: auto;
  }

  .service-bar {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .service-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
  }

  .split,
  .metrics,
  .mandate-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
    padding: 34px 0;
  }

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid rgba(11, 11, 11, 0.08);
  }

  .metric span {
    max-width: 260px;
  }

  .mandate-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .metric strong {
    font-size: clamp(72px, 8.2vw, 104px);
  }

  .metric span {
    max-width: 280px;
    font-size: 14px;
    letter-spacing: 0.18em;
  }
}

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

@media (max-width: 560px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .eyebrow {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

}
