/* ==========================================================================
   OLAM — site styles
   Palette and type drawn from the identity: deep navy, gold foil, warm stone.
   ========================================================================== */

:root {
  --navy-950: #0a151e;
  --navy-900: #0e1c27;
  --navy-850: #122330;
  --navy-800: #162a38;
  --navy-700: #1d3444;

  --cream: #f4ede1;
  --cream-100: #ede4d5;
  --cream-200: #e4d8c5;
  --stone: #e3d5c0;
  --stone-deep: #cdb99e;

  --gold: #c9a46a;
  --gold-light: #dfc296;
  --gold-pale: #efdcbc;
  --gold-deep: #70562f;

  --ink: #16232d;
  --ink-soft: #4a555d;
  --muted: #535c62;

  --line-dark: rgba(22, 35, 45, 0.15);
  --line-dark-soft: rgba(22, 35, 45, 0.09);
  --line-light: rgba(244, 237, 225, 0.16);
  --line-gold: rgba(201, 164, 106, 0.28);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --container: 1320px;
  --section-y: clamp(76px, 10vw, 148px);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* Reset ------------------------------------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

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

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

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main section[id] {
  scroll-margin-top: 96px;
}

/* Type ------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.7;
}

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

.section-title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 4.5vw, 4.35rem);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-title--light {
  color: var(--cream);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  font-weight: 400;
  line-height: 1.72;
  max-width: 54ch;
}

.section {
  padding-block: var(--section-y);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  align-items: end;
  gap: clamp(32px, 5vw, 80px);
}

.section-head--split .lead {
  padding-bottom: 8px;
}

/* Buttons and links ------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.button svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.button:hover svg {
  transform: translate(2px, -2px);
}

.button--light {
  background-color: #f4ede1;
  color: #0e1c27;
}

.button--light:hover {
  background: var(--gold-light);
}

.button--outline {
  border-color: color-mix(in srgb, currentColor 34%, transparent);
  background: transparent;
  color: inherit;
}

.button--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  border: 0;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-size 0.35s var(--ease), color 0.3s var(--ease);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  background-size: 100% 1px;
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

.link-arrow--dark {
  color: var(--gold-deep);
}

.link-arrow--light {
  color: var(--gold-light);
}

.link-inline {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.link-inline:hover {
  color: var(--gold-light);
  opacity: 1;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1440px;
  min-height: 92px;
  margin-inline: auto;
  padding: 0 var(--gutter);
  transition: min-height 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(244, 237, 225, 0.94);
  border-bottom-color: var(--line-dark-soft);
  color: var(--ink);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .site-header__inner {
  min-height: 74px;
}

.site-header.is-scrolled .brand__mark {
  color: var(--gold-deep);
}

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

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--gold-light);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand__word {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 0.85;
  text-indent: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.74;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

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

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--gold);
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="true"] {
  color: var(--gold-deep);
}

.site-header__cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle__lines {
  position: relative;
  display: block;
  width: 26px;
  height: 12px;
}

.nav-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle__lines span:first-child {
  top: 2px;
}

.nav-toggle__lines span:last-child {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  overflow-y: auto;
  background: var(--navy-900);
  color: var(--cream);
  padding: 120px var(--gutter) 40px;
}

.mobile-menu.is-open {
  animation: menu-in 0.4s var(--ease) both;
}

@keyframes menu-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  min-height: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 300;
  line-height: 1;
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-menu__nav a span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
}

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

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem;
  color: rgba(244, 237, 225, 0.7);
}

.mobile-menu__foot a:hover {
  color: var(--gold-light);
}

.mobile-menu__foot p {
  margin-top: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 237, 225, 0.55);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--cream);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.menu-open .site-header .brand__mark {
  color: var(--gold-light);
}

body.menu-open .site-header .site-header__inner {
  min-height: 92px;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 128px;
  padding-bottom: 28px;
  overflow: hidden;
  background:
    radial-gradient(75% 65% at 82% 4%, rgba(201, 164, 106, 0.13), transparent 62%),
    radial-gradient(55% 55% at 4% 96%, rgba(33, 63, 82, 0.55), transparent 72%),
    var(--navy-900);
  color: var(--cream);
  isolation: isolate;
}

.record__grain,
.contact__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}

.hero__shaft {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    113deg,
    transparent 41%,
    rgba(255, 235, 202, 0.055) 47%,
    rgba(255, 235, 202, 0.018) 52%,
    transparent 60%
  );
  filter: blur(18px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(48px, 6vw, 100px);
  flex: 1;
  width: 100%;
}

.hero__copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--gold-light);
  opacity: 0.85;
}

.hero__title {
  max-width: 15ch;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6.2vw, 6.35rem);
  font-weight: 300;
  letter-spacing: -0.026em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero__title em {
  display: inline;
  font-style: italic;
  color: var(--gold-light);
}

.hero__lead {
  max-width: 53ch;
  margin-top: 30px;
  color: rgba(244, 237, 225, 0.68);
  font-size: clamp(0.98rem, 1.15vw, 1.075rem);
  font-weight: 300;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 38px;
}

.hero__actions .link-arrow {
  color: rgba(244, 237, 225, 0.72);
}

.hero__actions .link-arrow:hover {
  color: var(--gold-light);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 58px;
  color: rgba(244, 237, 225, 0.58);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__meta li::before {
  content: "";
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.hero__meta li + li {
  margin-left: 24px;
}

/* Hero identity card */

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 490px;
  padding: 26px 0;
  perspective: 1300px;
  translate: 0 var(--parallax, 0px);
}

.hero__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 124%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 164, 106, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 106, 0.07), transparent 62%);
  pointer-events: none;
}

.identity-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 1.44;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(201, 164, 106, 0.3);
  background:
    radial-gradient(120% 120% at 6% 0%, rgba(201, 164, 106, 0.09), transparent 46%),
    linear-gradient(142deg, #1a2d3b 0%, #112330 56%, #0b1a24 100%);
  box-shadow:
    0 50px 90px -36px rgba(0, 0, 0, 0.85),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.identity-card:hover {
  border-color: rgba(201, 164, 106, 0.5);
}

.identity-card:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 6px;
}

.identity-card::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(201, 164, 106, 0.1);
  pointer-events: none;
}

.identity-card__sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 30%) var(--my, 10%),
    rgba(255, 240, 210, 0.11),
    transparent 42%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.identity-card__top,
.identity-card__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(239, 220, 188, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.identity-card__name {
  font-family: var(--serif);
  font-size: 1.2rem !important;
  letter-spacing: 0.3em;
  color: var(--gold-light);
}

.identity-card__bottom {
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(201, 164, 106, 0.17);
  font-size: 0.75rem;
}

.identity-card__mark {
  position: relative;
  z-index: 1;
  width: clamp(104px, 28%, 148px);
  height: auto;
  aspect-ratio: 1;
  align-self: center;
  color: var(--gold);
  filter: drop-shadow(0 2px 10px rgba(201, 164, 106, 0.22));
}

.hero__caption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: rgba(244, 237, 225, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.hero__card-hint {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 8px auto 0;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.hero__card-hint .nowrap {
  white-space: nowrap;
}

.hero__card-hint svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: -1px;
  transition: transform 0.25s var(--ease);
}

.hero__card-hint:hover {
  color: var(--gold-pale);
}

.hero__card-hint:hover svg {
  transform: translate(2px, -2px);
}

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  color: rgba(244, 237, 225, 0.35);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__scroll::before {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top;
  animation: scroll-cue 2.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.hero__rule {
  flex: 1;
  height: 1px;
  background: rgba(244, 237, 225, 0.13);
}

.hero__coords {
  white-space: nowrap;
}

/* Credibility strip ------------------------------------------------------ */

.credibility {
  background: var(--cream-100);
  border-top: 1px solid var(--line-dark-soft);
  border-bottom: 1px solid var(--line-dark-soft);
  padding: 30px 0;
}

.credibility__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.credibility__label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.7;
  text-transform: uppercase;
}

.credibility__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  color: var(--ink);
}

.credibility__list li {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.credibility__list li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 22px;
  transform: rotate(45deg);
  background: var(--gold);
  opacity: 0.65;
}

/* Practice --------------------------------------------------------------- */

.practice {
  background: var(--cream);
}

.practice__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 6vw, 100px);
}

.practice__intro {
  position: sticky;
  top: 126px;
}

.practice__intro .lead {
  margin-top: 24px;
}

.practice__premise {
  max-width: 34ch;
  margin-top: 36px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.42;
}

.practice__intro .link-arrow {
  margin-top: 34px;
}

.practice__list {
  border-top: 1px solid var(--line-dark);
}

.service {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line-dark);
}

.service__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
}

.service__num {
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.service h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.16;
  transition: color 0.3s var(--ease);
}

.service__arrow {
  width: 17px;
  height: 17px;
  color: var(--gold-deep);
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.service:hover h3 {
  color: var(--gold-deep);
}

.service:hover .service__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.service p {
  max-width: 64ch;
  margin: 14px 0 0 42px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.72;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0 42px;
}

.tags li {
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

/* Record ----------------------------------------------------------------- */

.record {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background: var(--navy-850);
  color: var(--cream);
  isolation: isolate;
}

.record > .container {
  position: relative;
  z-index: 1;
}

.record::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(65% 60% at 88% 0%, rgba(201, 164, 106, 0.1), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(29, 52, 68, 0.6), transparent 65%);
}

.record__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.72fr);
  align-items: end;
  gap: clamp(32px, 5vw, 80px);
}

.record__head .section-title {
  max-width: 15ch;
}

.record__intro {
  max-width: 42ch;
  padding-bottom: 8px;
  color: rgba(244, 237, 225, 0.58);
  font-size: 0.95rem;
  line-height: 1.72;
}

.record__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(52px, 6vw, 82px);
  border-top: 1px solid var(--line-gold);
}

.stat {
  padding: 30px 28px 0;
  border-left: 1px solid rgba(201, 164, 106, 0.13);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat__num {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 4.6vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-feature-settings: "lnum" 1;
}

.stat__num span {
  font-size: 0.56em;
  letter-spacing: 0;
}

.stat__label {
  margin-top: 22px;
  color: rgba(244, 237, 225, 0.86);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.stat__desc {
  max-width: 31ch;
  margin-top: 11px;
  color: rgba(244, 237, 225, 0.62);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.68;
}

.record__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: clamp(52px, 6vw, 78px);
  padding-top: 22px;
  border-top: 1px solid rgba(244, 237, 225, 0.12);
  color: rgba(244, 237, 225, 0.55);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Experience ------------------------------------------------------------- */

.experience {
  background: var(--cream);
}

.career {
  margin-top: clamp(46px, 5vw, 68px);
  border-top: 1px solid var(--line-dark);
}

.career__item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0 34px;
  border-bottom: 1px solid var(--line-dark);
}

.career__dates {
  padding-top: 5px;
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}

.career__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: color 0.3s var(--ease);
}

.career__item:hover .career__body h3 {
  color: var(--gold-deep);
}

.career__body h3 span {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 8px;
  transform: translateY(-2px);
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  vertical-align: middle;
  text-transform: uppercase;
}

.career__role {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.career__body > p:last-child {
  max-width: 74ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.72;
}

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

.about {
  background: var(--stone);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(44px, 6vw, 96px);
}

.about__figure {
  position: sticky;
  top: 116px;
}

.about__frame {
  padding: 12px;
  border: 1px solid rgba(22, 35, 45, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.about__image {
  overflow: hidden;
}

.about__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.js .about__figure .about__image img {
  transform: scale(1.045);
  transition: transform 1.4s var(--ease);
  transition-delay: 100ms;
}

.js .about__figure.is-visible .about__image img {
  transform: scale(1);
}

.about__figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about__copy .section-title {
  max-width: 16ch;
}

.about__body p {
  max-width: 60ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.99rem;
  line-height: 1.78;
}

.about__body p:first-child {
  margin-top: 30px;
}

.signature {
  margin-top: 38px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.signature span {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 0.28em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  vertical-align: super;
}

.signature__role {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(22, 35, 45, 0.16);
}

.credentials dt {
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.credentials dd {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.about__note {
  max-width: 52ch;
  margin-top: 32px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

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

.approach {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(50px, 5vw, 72px);
  border-top: 1px solid var(--line-dark);
}

.step {
  padding: 32px 34px 0;
  border-left: 1px solid var(--line-dark);
}

.step:first-child {
  padding-left: 0;
  border-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step__num {
  display: block;
  color: rgba(132, 103, 58, 0.45);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  font-feature-settings: "lnum" 1;
}

@supports (-webkit-text-stroke: 1px black) {
  .step__num {
    color: transparent;
    -webkit-text-stroke: 1px rgba(132, 103, 58, 0.65);
  }
}

.step h3 {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.9vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.step p {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.72;
}

.approach__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(46px, 5vw, 66px);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

.approach__note::before,
.approach__note::after {
  content: "";
  width: clamp(28px, 6vw, 72px);
  height: 1px;
  flex: none;
  background: var(--line-dark);
}

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

.contact {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background: var(--navy-900);
  color: var(--cream);
  isolation: isolate;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(65% 70% at 88% 8%, rgba(201, 164, 106, 0.1), transparent 58%),
    radial-gradient(60% 60% at 0% 100%, rgba(29, 52, 68, 0.45), transparent 65%);
}

.contact__inner {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
}

.contact__title {
  max-width: 14ch;
  margin-inline: auto;
}

.contact__lead {
  max-width: 56ch;
  margin: 26px auto 0;
  color: rgba(244, 237, 225, 0.66);
  font-size: 1rem;
  line-height: 1.74;
}

.contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 36px;
}

.contact__call {
  color: rgba(244, 237, 225, 0.58);
  font-size: 0.78rem;
  line-height: 1.6;
}

.contact__call a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(223, 194, 150, 0.4);
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.contact__call a:hover {
  color: var(--gold-pale);
  text-decoration-color: currentColor;
}

.contact__noscript {
  max-width: 46ch;
  margin: 18px auto 0;
  color: rgba(244, 237, 225, 0.55);
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact__noscript a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 56px;
  max-width: 860px;
  margin: 52px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  text-align: left;
}

.contact__details > div {
  min-width: 160px;
}

.contact__details dt {
  color: rgba(223, 194, 150, 0.62);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact__details dd {
  margin-top: 7px;
  font-size: 0.95rem;
  color: rgba(244, 237, 225, 0.9);
}

.contact__details a {
  text-decoration: underline;
  text-decoration-color: rgba(201, 164, 106, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.contact__details a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.contact__availability {
  margin: 28px auto 0;
  color: rgba(244, 237, 225, 0.55);
  font-size: 0.75rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

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

.field label {
  display: block;
  margin-bottom: 9px;
  color: rgba(223, 194, 150, 0.82);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.field label span {
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 8px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(244, 237, 225, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.5;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.field textarea {
  min-height: 126px;
  margin-top: 2px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 237, 225, 0.29);
  font-weight: 300;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-bottom-color: rgba(244, 237, 225, 0.38);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--gold);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #d99a88;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 45%;
  right: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(244, 237, 225, 0.55);
  border-bottom: 1px solid rgba(244, 237, 225, 0.55);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  padding-right: 24px;
  cursor: pointer;
}

.field select.is-placeholder {
  color: rgba(244, 237, 225, 0.4);
}

.field select option {
  background: var(--cream);
  color: var(--ink);
}

.field__error {
  margin-top: 7px;
  color: #e5ab9b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
}

.button--submit {
  min-width: 210px;
}

.button--submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-note {
  max-width: 46ch;
  color: rgba(244, 237, 225, 0.58);
  font-size: 0.72rem;
  line-height: 1.65;
}

.form-note .link-inline {
  color: rgba(244, 237, 225, 0.62);
}

.form-alert {
  margin-bottom: 22px;
  padding: 12px 15px;
  border: 1px solid rgba(217, 154, 136, 0.42);
  background: rgba(217, 154, 136, 0.1);
  color: #f0c8bd;
  font-size: 0.82rem;
  line-height: 1.6;
}

.form-success {
  padding: 18px 0 14px;
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border: 1px solid rgba(201, 164, 106, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
}

.form-success__icon svg {
  width: 22px;
  height: 22px;
}

.form-success h3 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.form-success p {
  max-width: 42ch;
  margin-top: 14px;
  color: rgba(244, 237, 225, 0.62);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-success p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success .link-arrow {
  margin-top: 28px;
  text-decoration: underline;
  text-decoration-color: rgba(223, 194, 150, 0.4);
  text-underline-offset: 5px;
}

.form-success .link-arrow:hover {
  text-decoration-color: currentColor;
}

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

.site-footer {
  padding: 66px 0 26px;
  border-top: 1px solid rgba(201, 164, 106, 0.15);
  background: var(--navy-950);
  color: var(--cream);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.72fr) minmax(0, 0.72fr);
  gap: 40px;
}

.site-footer .brand__mark {
  color: var(--gold);
}

.site-footer__brand > p {
  max-width: 32ch;
  margin-top: 22px;
  color: rgba(244, 237, 225, 0.54);
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 24px;
  align-content: start;
  padding-top: 6px;
}

.site-footer__nav a,
.site-footer__contact a {
  color: rgba(244, 237, 225, 0.66);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-transform: none;
  transition: color 0.25s var(--ease);
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: var(--gold-light);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding-top: 6px;
}

@media (min-width: 761px) {
  .site-footer__nav {
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
  }
}

.site-footer__contact a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer__contact svg {
  width: 11px;
  height: 11px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 237, 225, 0.1);
  color: rgba(244, 237, 225, 0.56);
  font-size: 0.72rem;
  line-height: 1.6;
}

.site-footer__legal {
  max-width: 56ch;
}

.site-footer__bottom .link-inline {
  color: rgba(244, 237, 225, 0.56);
  font-size: 0.72rem;
}

/* Privacy dialog --------------------------------------------------------- */

.privacy-dialog {
  width: min(620px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.privacy-dialog::backdrop {
  background: rgba(8, 17, 24, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.privacy-dialog[open] {
  animation: dialog-in 0.35s var(--ease) both;
}

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

.privacy-dialog__inner {
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 54px);
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

.privacy-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.privacy-dialog__close:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.privacy-dialog h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.privacy-dialog p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.privacy-dialog p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}

.privacy-dialog__updated {
  margin-top: 26px !important;
  color: var(--muted) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.contact-modal {
  --modal-max: calc(100vh - 40px);
  --modal-bar: 58px;
  width: min(680px, calc(100% - 40px));
  max-height: var(--modal-max);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}

.contact-modal::backdrop {
  background: rgba(8, 17, 24, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-modal[open] {
  animation: dialog-in 0.35s var(--ease) both;
}

.contact-modal__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: var(--modal-max);
  overflow: hidden;
  border: 1px solid rgba(201, 164, 106, 0.32);
  border-top: 3px solid var(--gold);
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(201, 164, 106, 0.07), transparent 55%),
    linear-gradient(160deg, #162a38 0%, #10212d 100%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}

.contact-modal__bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--modal-bar);
  padding: 0 14px 0 22px;
  border-bottom: 1px solid rgba(201, 164, 106, 0.16);
}

.contact-modal__wordmark {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold-light);
}

.contact-modal__inner {
  max-height: calc(var(--modal-max) - var(--modal-bar) - 4px);
  overflow-y: auto;
  padding: 30px clamp(28px, 4.5vw, 52px) clamp(30px, 4vw, 46px);
}

.contact-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(244, 237, 225, 0.22);
  border-radius: 50%;
  background: rgba(14, 28, 39, 0.55);
  color: var(--cream);
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.contact-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--navy-900);
}

.contact-modal__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.contact-modal__lead {
  max-width: 48ch;
  margin-top: 14px;
  color: rgba(244, 237, 225, 0.66);
  font-size: 0.95rem;
  line-height: 1.72;
}

.contact-modal__body {
  margin-top: 28px;
}

.contact-modal textarea {
  min-height: 100px;
}

.contact-modal__fallback {
  margin-top: 22px;
  color: rgba(244, 237, 225, 0.45);
  font-size: 0.78rem;
  line-height: 1.6;
}

.contact-modal__fallback a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .contact-modal {
    --modal-max: calc(100dvh - 20px);
    --modal-bar: 52px;
    width: calc(100% - 20px);
  }

  .contact-modal__frame {
    max-height: var(--modal-max);
  }

  .contact-modal__inner {
    max-height: calc(var(--modal-max) - var(--modal-bar) - 4px);
    padding: 24px 18px 26px;
  }

  .contact-modal__bar {
    padding: 0 10px 0 18px;
  }

  .contact-modal__close {
    width: 36px;
    height: 36px;
  }

  .contact-modal__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/* Reveal animations ------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Keep the first screen legible immediately; the hero does not animate in. */
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

.js .hero__copy .eyebrow { --reveal-delay: 0ms; }
.js .hero__title { --reveal-delay: 70ms; }
.js .hero__lead { --reveal-delay: 150ms; }
.js .hero__actions { --reveal-delay: 230ms; }
.js .hero__meta { --reveal-delay: 310ms; }
.js .hero__visual { --reveal-delay: 190ms; }

/* Staggered entrances for repeated items. */
.js .practice__list .service:nth-child(2),
.js .career__item:nth-child(2) {
  --reveal-delay: 60ms;
}

.js .practice__list .service:nth-child(3),
.js .career__item:nth-child(3) {
  --reveal-delay: 120ms;
}

.js .practice__list .service:nth-child(4),
.js .career__item:nth-child(4) {
  --reveal-delay: 180ms;
}

.js .practice__list .service:nth-child(5),
.js .career__item:nth-child(5) {
  --reveal-delay: 240ms;
}

.js .practice__list .service:nth-child(6),
.js .career__item:nth-child(6) {
  --reveal-delay: 300ms;
}

.js .record__stats .stat:nth-child(2) {
  --reveal-delay: 70ms;
}

.js .record__stats .stat:nth-child(3) {
  --reveal-delay: 140ms;
}

.js .record__stats .stat:nth-child(4) {
  --reveal-delay: 210ms;
}

.js .steps .step:nth-child(2) {
  --reveal-delay: 80ms;
}

.js .steps .step:nth-child(3) {
  --reveal-delay: 160ms;
}

.js .about__copy {
  --reveal-delay: 100ms;
}

.js .record__foot {
  --reveal-delay: 180ms;
}

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

@media (max-width: 1320px) {
  .site-header__cta {
    display: none;
  }
}

@media (max-width: 1020px) {
  .site-header__inner {
    min-height: 82px;
  }

  .site-nav {
    display: none;
  }

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

  .hero {
    padding-top: 116px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-content: center;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__title {
    max-width: 17ch;
  }

  .hero__visual {
    justify-self: start;
    max-width: 430px;
    padding: 10px 0 8px;
  }

  .hero__halo {
    width: 118%;
  }

  .hero__foot {
    margin-top: 52px;
  }

  .practice__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .practice__intro {
    position: static;
  }

  .practice__premise {
    max-width: 46ch;
  }

  .record__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .stat {
    padding: 28px 30px 36px;
    border-top: 1px solid var(--line-gold);
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid rgba(201, 164, 106, 0.13);
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__figure {
    position: static;
    max-width: 540px;
  }

  .about__copy .section-title {
    max-width: 20ch;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }

  .site-footer__contact {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(244, 237, 225, 0.1);
  }
}

@media (max-width: 860px) {
  .section-head--split,
  .record__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .section-head--split .lead,
  .record__intro {
    padding-bottom: 0;
  }

  .step {
    padding: 28px 24px 0;
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    padding-right: 0;
  }

  .career__item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 26px;
  }

  .hero__title {
    max-width: 13ch;
    font-size: clamp(2.9rem, 11vw, 4.4rem);
  }

  .hero__lead {
    margin-top: 24px;
  }

  .hero__meta {
    margin-top: 44px;
    gap: 8px 0;
  }

  .hero__meta li {
    width: 100%;
  }

  .hero__meta li + li {
    margin-left: 0;
  }

  .hero__foot {
    margin-top: 44px;
  }

  .hero__coords {
    display: none;
  }

  .credibility__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .credibility {
    padding: 26px 0;
  }

  .credibility__list {
    gap: 4px 0;
  }

  .credibility__list li + li::before {
    margin: 0 14px;
  }

  .service p,
  .tags {
    margin-left: 0;
  }

  .service__head {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .service__arrow {
    opacity: 0.5;
    transform: none;
  }

  .record__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat,
  .stat:nth-child(even) {
    padding: 26px 0 30px;
    border-left: 0;
    border-top: 1px solid rgba(201, 164, 106, 0.2);
  }

  .stat__desc {
    max-width: 42ch;
  }

  .career__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 26px 0 28px;
  }

  .career__dates {
    padding-top: 0;
  }

  .career__body h3 span {
    display: block;
    width: fit-content;
    margin: 8px 0 0;
  }

  .credentials {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .step,
  .step:first-child,
  .step:last-child {
    padding: 26px 0 28px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .step__num {
    font-size: 2.6rem;
  }

  .step h3 {
    margin-top: 16px;
  }

  .approach__note {
    display: block;
    max-width: 34ch;
    margin-inline: auto;
  }

  .approach__note::before,
  .approach__note::after {
    display: none;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field--full {
    grid-column: auto;
  }

  .contact__actions {
    flex-direction: column;
    gap: 14px;
  }

  .contact__actions .button {
    width: 100%;
    max-width: 360px;
  }

  .contact__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 340px;
    margin-inline: auto;
  }

  .contact__details > div {
    min-width: 0;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .site-footer__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 26px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
  }
}

@media (max-width: 520px) {
  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__word {
    font-size: 1.1rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12.4vw, 3.5rem);
  }

  .hero__actions {
    align-items: stretch;
    gap: 14px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .link-arrow {
    align-self: flex-start;
  }

  .hero__visual {
    max-width: 360px;
  }

  .identity-card {
    aspect-ratio: 1.25;
    padding: 22px;
  }

  .identity-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .identity-card__bottom {
    font-size: 0.72rem;
  }

  .practice__premise {
    font-size: 1.25rem;
  }

  .button--submit {
    width: 100%;
  }
}

/* Motion preferences ----------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .hero__visual {
    translate: none;
  }

  .js .about__figure .about__image img {
    transform: none;
    transition: none;
  }

  .hero__scroll::before {
    animation: none;
  }

  .identity-card {
    transform: none !important;
  }
}

/* Print ------------------------------------------------------------------ */

@media print {
  .site-header,
  .mobile-menu,
  .nav-toggle,
  .hero__visual,
  .hero__foot,
  .contact__actions,
  .contact__noscript,
  .site-footer__nav,
  .site-footer__contact,
  .privacy-dialog {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .record,
  .contact {
    background: #fff;
    color: #000;
  }

  .hero__title,
  .section-title,
  .stat__num,
  .contact__lead,
  .hero__lead {
    color: #000;
  }

  .js .reveal,
  .js .about__figure .about__image img {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }
}
