:root {
  --navy: #001759;
  --navy-deep: #000c33;
  --navy-soft: #09286d;
  --gold: #b09426;
  --gold-bright: #d7ac27;
  --ink: #0c1730;
  --slate: #5b6270;
  --muted: #8a8f9a;
  --paper: #f7f6f2;
  --mist: #ededed;
  --white: #ffffff;
  --line: rgba(12, 23, 48, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 12, 51, 0.16);
  --max: 1360px;
  --section-x: max(5vw, 1.4rem);
  --header-height: 88px;
  --anchor-gap: clamp(16px, 2vh, 24px);
  --anchor-offset: calc(var(--header-height) + var(--anchor-gap));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.6rem, 6.3vw, 7rem);
}

h2 {
  margin-bottom: 1.6rem;
  color: var(--navy);
  font-size: clamp(2.6rem, 4.6vw, 5.35rem);
}

h1 em,
h2 em {
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

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

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

.skip {
  position: fixed;
  z-index: 200;
  top: -5rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--gold-bright);
  color: var(--navy-deep);
  font-weight: 800;
}

.skip:focus {
  top: 1rem;
}

.section {
  width: 100%;
  padding: clamp(6.5rem, 10vw, 10rem) var(--section-x);
}

.nav-landing {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.section > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow-light span {
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 0.7rem 0.2rem;
  background: var(--gold-bright);
}

.eyebrow-gold {
  color: var(--gold-bright);
}

.section-label {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::after {
  width: min(180px, 20vw);
  height: 1px;
  background: currentColor;
  content: "";
}

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

.section-heading {
  max-width: 880px;
}

.prose {
  color: var(--slate);
}

.prose-large {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
}

.btn {
  display: inline-flex;
  min-height: 56px;
  gap: 2.4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn span {
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gold-bright);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: #ebc33a;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.07);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem var(--section-x);
  color: var(--white);
  transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0, 23, 89, 0.1);
  color: var(--navy);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: block;
  width: 92px;
  height: 68px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.site-header.scrolled .brand-logo img {
  filter: none;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-header nav a {
  position: relative;
}

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

.site-header nav a:hover::after,
.site-header nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.72rem 1rem;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: var(--navy-deep);
}

.menu {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.menu i,
.menu i::before {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 0.3s ease;
}

.menu i {
  margin-left: 0.7rem;
}

.menu i::before {
  transform: translateY(6px);
}

.menu[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.menu[aria-expanded="true"] i::before {
  transform: rotate(-90deg);
}

/* Hero */

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  background: var(--navy-deep);
  color: var(--white);
}

.hero-copy {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8rem, 13vh, 10rem) clamp(2rem, 6vw, 6.8rem) 3.2rem var(--section-x);
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.hero-metrics {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  padding-top: 3.5rem;
}

.hero-metrics div {
  padding: 0 1.4rem;
  border-left: 1px solid var(--line-light);
}

.hero-metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 500;
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
  transform: scale(1.035) translate3d(0, var(--hero-parallax, 0), 0);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-deep) 0, rgba(0, 12, 51, 0.2) 18%, transparent 44%),
    linear-gradient(0deg, rgba(0, 12, 51, 0.7) 0, transparent 36%);
}

.hero-card {
  position: absolute;
  right: clamp(1.2rem, 3.5vw, 3.6rem);
  bottom: clamp(4.5rem, 10vh, 8rem);
  width: min(250px, 56%);
  padding: 1.4rem;
  border-top: 3px solid var(--gold-bright);
  background: rgba(0, 23, 89, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card b {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.hero-caption {
  position: absolute;
  right: clamp(1.2rem, 3.5vw, 3.6rem);
  bottom: 1.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Firm and purpose */

.firm {
  background: var(--white);
}

.firm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.firm-grid .prose {
  padding-top: 2.2rem;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: clamp(4rem, 8vw, 8rem);
  box-shadow: var(--shadow);
}

.purpose-card {
  min-height: 360px;
  padding: clamp(2rem, 4vw, 4.2rem);
  background: var(--paper);
}

.purpose-card-dark {
  background: var(--navy);
  color: var(--white);
}

.card-index {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 7rem);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.purpose-card h3 {
  max-width: 620px;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  line-height: 1.08;
}

.purpose-card-dark h3 {
  color: var(--white);
}

.purpose-card p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--slate);
}

.purpose-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* Values */

.values {
  padding-top: 2rem;
  background: var(--white);
}

.values .section-heading {
  margin-bottom: 4rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  min-height: 260px;
  padding: clamp(1.7rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.value-card:hover {
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-5px);
}

.value-card > span,
.industry-grid article > span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
}

.value-card h3 {
  margin: clamp(2.5rem, 5vw, 5rem) 0 0.65rem;
  color: var(--navy);
  font-size: 1.3rem;
}

.value-card:hover h3 {
  color: var(--white);
}

.value-card p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.88rem;
}

.value-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

/* Why choose us */

.choice {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  background: var(--paper);
}

.choice-image {
  position: relative;
  min-height: clamp(560px, calc(100svh - var(--header-height)), 820px);
  overflow: hidden;
}

.choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 12, 51, 0.48), transparent 48%);
  content: "";
}

.image-seal {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  width: 152px;
  height: 152px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 23, 89, 0.78);
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.image-seal span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.image-seal small {
  margin-left: 0.7rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--gold-bright);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.choice-copy {
  padding-left: clamp(2rem, 7vw, 7.5rem);
  background: var(--navy);
  color: var(--white);
}

.choice-copy > * {
  max-width: 760px;
}

.choice-copy h2 {
  color: var(--white);
}

.choice-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.reason-list {
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.reason-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.reason-list b {
  color: var(--white);
  font-size: 0.77rem;
}

.reason-list span {
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.78rem;
}

/* Reach */

.reach {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: 0;
  padding: 0;
  background: var(--paper);
}

.reach > * {
  max-width: none;
  margin: 0;
}

.reach-copy {
  padding: clamp(6.5rem, 10vw, 10rem) clamp(2rem, 7vw, 7rem) clamp(6.5rem, 10vw, 10rem) var(--section-x);
}

.reach-intro {
  max-width: 730px;
  color: var(--slate);
  font-size: 1.05rem;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 3rem;
}

.country-list span {
  padding: 0.55rem 0.76rem;
  border: 1px solid rgba(0, 23, 89, 0.19);
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
}

.reach-visual {
  position: relative;
  min-height: clamp(560px, calc(100svh - var(--header-height)), 820px);
  overflow: hidden;
}

.reach-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reach-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 12, 51, 0.78), transparent 66%);
  content: "";
}

.reach-number {
  position: absolute;
  z-index: 2;
  right: clamp(1.4rem, 4vw, 4rem);
  bottom: 3rem;
  display: flex;
  align-items: end;
  color: var(--white);
}

.reach-number strong {
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(6rem, 12vw, 12rem);
  font-weight: 500;
  line-height: 0.7;
}

.reach-number span {
  margin-left: 0.8rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Expertise */

.expertise {
  background: var(--navy-deep);
  color: var(--white);
}

.expertise .section-label {
  color: rgba(255, 255, 255, 0.48);
}

.expertise-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.expertise-head h2 {
  color: var(--white);
}

.expertise-head > p {
  color: rgba(255, 255, 255, 0.64);
}

.practice-accordion {
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border-top: 1px solid var(--line-light);
}

.practice-item {
  border-bottom: 1px solid var(--line-light);
}

.practice-item summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.4rem, 2.4vw, 2.2rem) 0;
  cursor: pointer;
  list-style: none;
}

.practice-item summary::-webkit-details-marker {
  display: none;
}

.practice-item summary > span {
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 800;
}

.practice-item summary h3 {
  margin: 0;
  font-size: clamp(1.22rem, 2.1vw, 2rem);
  font-weight: 600;
}

.practice-item summary i {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.practice-item summary i::before,
.practice-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--white);
  content: "";
  transform: translate(-50%, -50%);
}

.practice-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s ease;
}

.practice-item[open] summary i {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  transform: rotate(180deg);
}

.practice-item[open] summary i::before,
.practice-item[open] summary i::after {
  background: var(--navy-deep);
}

.practice-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.practice-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: 0 42px 2.8rem 80px;
}

.practice-detail p {
  color: rgba(255, 255, 255, 0.68);
}

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

.practice-detail li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.practice-detail li::before {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  content: "";
}

/* Industries */

.industries {
  background: var(--white);
}

.industries-head,
.team-head,
.clients-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.industries-head > p,
.team-head > p,
.clients-head > p {
  color: var(--slate);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-grid article {
  min-height: 250px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, transform 0.35s ease;
}

.industry-grid article:hover {
  z-index: 1;
  background: var(--paper);
  transform: translateY(-4px);
}

.industry-grid h3 {
  margin: 4.7rem 0 0.6rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
}

.industry-grid p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.74rem;
}

/* Team */

.team {
  background: var(--paper);
}

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  margin-top: clamp(3.5rem, 7vw, 7rem);
}

.person {
  min-width: 0;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 23, 89, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.person:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mist);
}

.portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(0, 23, 89, 0.3), transparent);
  content: "";
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.person:hover .portrait img {
  transform: scale(1.035);
}

.person-copy {
  padding: 1.5rem;
}

.person-copy > p {
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.person-copy h3 {
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.person-copy > span {
  display: block;
  min-height: 3.2em;
  color: var(--slate);
  font-size: 0.76rem;
}

.profile-open {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.profile-open b {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.profile-open:hover b {
  transform: translate(3px, -3px);
}

/* Profile dialogs */

.profile-dialog {
  position: fixed;
  width: min(1120px, calc(100% - 2rem));
  height: min(920px, calc(100dvh - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 12, 51, 0.45);
}

.profile-dialog[open] {
  animation: dialog-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-dialog::backdrop {
  background: rgba(0, 12, 51, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-grid {
  display: grid;
  height: min(920px, calc(100dvh - 2rem));
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
}

.dialog-person {
  min-height: 0;
  padding: 2rem;
  overflow-y: auto;
  background: var(--navy);
  color: var(--white);
}

.dialog-person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.dialog-person p {
  margin: 1.8rem 0 0.5rem;
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dialog-person h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}

.dialog-person > span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.73rem;
}

.dialog-bio {
  min-height: 0;
  padding: clamp(3rem, 6vw, 6rem);
  color: var(--slate);
  overflow-y: auto;
}

.dialog-bio p:first-child {
  color: var(--ink);
  font-size: 1.08rem;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Standards */

.standards {
  background: var(--white);
}

.standards-image {
  height: clamp(260px, 38vw, 500px);
  margin-bottom: clamp(5rem, 9vw, 9rem);
  overflow: hidden;
}

.standards-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.standards-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.standards-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.standards-intro > p {
  align-self: end;
  color: var(--slate);
}

.principles {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: clamp(2.2rem, 4vw, 4rem);
  background: var(--paper);
}

.principles h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

.principles ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: principle;
  list-style: none;
}

.principles li {
  position: relative;
  padding: 1rem 1rem 1rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--slate);
  counter-increment: principle;
  font-size: 0.8rem;
}

.principles li::before {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--gold);
  content: counter(principle, decimal-leading-zero);
  font-size: 0.62rem;
  font-weight: 800;
}

.service-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-times article {
  padding: clamp(1.6rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-times article > span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-times h3 {
  min-height: 4.6em;
  margin: 2rem 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.35;
}

.service-times dl {
  margin: 0;
}

.service-times dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.service-times dt,
.service-times dd {
  font-size: 0.72rem;
}

.service-times dt {
  color: var(--slate);
}

.service-times dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.confidentiality {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: 2rem;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  background: var(--navy);
  color: var(--white);
}

.confidentiality h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.1;
}

.confidentiality > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Clients */

.clients {
  background: var(--paper);
}

.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-cloud span {
  display: grid;
  min-height: 110px;
  flex: 1 1 230px;
  place-items: center;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.client-cloud span:hover {
  background: var(--navy);
  color: var(--white);
}

/* Contact */

.contact {
  position: relative;
  min-height: max(100svh, 760px);
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.contact-image,
.contact-overlay {
  position: absolute;
  inset: 0;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-overlay {
  background:
    linear-gradient(90deg, rgba(0, 12, 51, 0.98) 0, rgba(0, 12, 51, 0.86) 48%, rgba(0, 12, 51, 0.52) 100%),
    linear-gradient(0deg, rgba(0, 12, 51, 0.74), transparent 55%);
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: max(100svh, 760px);
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-copy dl {
  max-width: 650px;
  margin: 3rem 0 0;
}

.contact-copy dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line-light);
}

.contact-copy dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-copy dd {
  margin: 0;
  color: var(--white);
  font-size: 0.86rem;
}

.consultation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  color: var(--ink);
}

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

.form-heading {
  margin-bottom: 1rem;
}

.form-heading span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.form-heading p {
  margin: 0;
  color: var(--slate);
  font-size: 0.75rem;
}

.field {
  position: relative;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(12, 23, 48, 0.24);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 1.45rem 0.1rem 0.62rem;
}

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

.field label {
  position: absolute;
  top: 1.2rem;
  left: 0.1rem;
  color: var(--slate);
  font-size: 0.76rem;
  pointer-events: none;
  transition: top 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}

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

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  top: 0.05rem;
  color: var(--gold);
  font-size: 0.58rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--slate);
  font-size: 0.68rem;
}

.consent input {
  accent-color: var(--gold);
}

.consultation .btn {
  width: 100%;
}

.form-status {
  min-height: 1.3em;
  margin: -0.2rem 0 0;
  color: var(--navy);
  font-size: 0.72rem;
}

/* Footer and cookie notice */

footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 7vw, 7rem) var(--section-x) 2rem;
  background: var(--navy-deep);
  color: var(--white);
}

footer > * {
  min-width: 0;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  width: 120px;
  height: 90px;
}

.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links > span {
  margin-bottom: 0.5rem;
  color: var(--gold-bright);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.63rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
}

.cookie {
  position: fixed;
  z-index: 120;
  bottom: 1.2rem;
  left: 50%;
  display: flex;
  width: min(92%, 820px);
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(0, 12, 51, 0.28);
  color: var(--ink);
  transform: translateX(-50%);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
  font-size: 0.73rem;
}

.cookie > div {
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  align-items: center;
}

.cookie button {
  padding: 0.65rem;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.68rem;
}

.cookie button.accept {
  background: var(--navy);
  color: var(--white);
}

.cookie a {
  padding: 0.4rem;
  font-size: 0.66rem;
  text-decoration: underline;
}

/* Legal pages */

.legal-shell {
  min-height: 100vh;
  background: var(--paper);
}

.legal {
  width: min(860px, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: 10rem 0 7rem;
}

.legal h1 {
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.legal h2 {
  margin-top: 3rem;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal p,
.legal li {
  color: var(--slate);
}

.legal a:not(.btn) {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reveal motion and custom scroll control */

.motion-ready .reveal {
  --reveal-x: 0px;
  --reveal-y: 38px;
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal[data-reveal="left"] {
  --reveal-x: -32px;
  --reveal-y: 12px;
}

.motion-ready .reveal[data-reveal="right"] {
  --reveal-x: 32px;
  --reveal-y: 12px;
}

.motion-ready .reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.scroll-enhanced {
  scrollbar-width: none;
}

.scroll-enhanced::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.scroll-guide {
  position: fixed;
  z-index: 105;
  top: 10px;
  right: clamp(6px, 0.8vw, 12px);
  bottom: 10px;
  width: 5px;
  pointer-events: none;
  opacity: 0.48;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-guide.active {
  opacity: 0.95;
}

.scroll-guide.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.scroll-pill {
  position: absolute;
  inset: 0 auto auto 0;
  width: 5px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 2px 14px rgba(0, 12, 51, 0.24);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transition: width 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.scroll-pill::before {
  position: absolute;
  inset: -9px 0 -9px -13px;
  content: "";
}

.scroll-pill:hover,
.scroll-pill.is-dragging,
.scroll-pill:focus-visible {
  width: 7px;
}

.scroll-pill.is-dragging {
  cursor: grabbing;
}

/* Responsive */

@media (max-width: 1160px) {
  .site-header nav {
    gap: 1.15rem;
  }

  .hero {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  }

  .hero-copy {
    padding-right: 2.5rem;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .choice {
    grid-template-columns: 42% 58%;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  :root {
    --header-height: 72px;
  }

  .brand-logo {
    width: 80px;
    height: 56px;
  }

  .hero-copy {
    padding-top: 5.8rem;
    padding-bottom: 1.4rem;
  }

  .hero-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.3rem, 5vw, 5.3rem);
  }

  .hero-lead {
    max-width: 640px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .actions {
    margin-top: 0.8rem;
  }

  .btn {
    min-height: 50px;
    padding: 0.8rem 1.1rem;
  }

  .hero-metrics {
    margin-top: 1.3rem;
    padding-top: 1.25rem;
  }

  .hero-metrics strong {
    font-size: 2.25rem;
  }

  .hero-card {
    bottom: 3.7rem;
    width: 210px;
    padding: 1rem;
  }

  .hero-card span {
    margin-bottom: 0.55rem;
  }

  .hero-card b {
    font-size: 1.7rem;
  }

  .hero-caption {
    bottom: 1.1rem;
  }

  .section {
    padding-top: clamp(5rem, 10vh, 6.5rem);
    padding-bottom: clamp(5rem, 10vh, 6.5rem);
  }

  .section-label {
    margin-bottom: clamp(2.25rem, 6vh, 4rem);
  }
}

@media (min-width: 901px) and (max-height: 680px) {
  .hero-copy {
    padding-top: 4.8rem;
    padding-bottom: 1rem;
  }

  .hero-copy h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(3rem, 4.4vw, 4.7rem);
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-metrics {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }

  .hero-metrics strong {
    font-size: 1.9rem;
  }

  .hero-metrics span {
    font-size: 0.56rem;
  }

  .hero-card {
    bottom: 3.1rem;
  }
}

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

  .contact,
  .contact-inner {
    min-height: 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .brand-logo {
    width: 78px;
    height: 56px;
  }

  .menu {
    display: flex;
    align-items: center;
  }

  .site-header nav {
    position: fixed;
    z-index: 0;
    inset: var(--header-height) 0 auto;
    display: flex;
    max-height: 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    overscroll-behavior: contain;
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 18px 40px rgba(0, 12, 51, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.38s ease, opacity 0.28s ease, visibility 0s linear 0.38s;
  }

  .site-header nav.open {
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header nav a {
    padding: 1rem var(--section-x);
    border-bottom: 1px solid var(--line);
  }

  .site-header nav a::after {
    display: none;
  }

  .site-header nav .nav-cta {
    border: 0;
    background: var(--gold-bright);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 88svh;
    padding-top: 8rem;
    padding-right: var(--section-x);
  }

  .hero-visual {
    min-height: 68svh;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 12, 51, 0.7), transparent 50%);
  }

  .firm-grid,
  .standards-intro,
  .industries-head,
  .team-head,
  .clients-head,
  .expertise-head {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .firm-grid .prose {
    padding-top: 0;
  }

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

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

  .choice,
  .reach {
    grid-template-columns: 1fr;
  }

  .choice-image {
    min-height: clamp(440px, 62svh, 600px);
  }

  .choice-copy {
    padding-left: var(--section-x);
  }

  .reach-copy {
    padding-right: var(--section-x);
  }

  .reach-visual {
    min-height: clamp(440px, 62svh, 600px);
  }

  .practice-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  .dialog-grid {
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .profile-dialog {
    height: auto;
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .dialog-close {
    position: sticky;
    top: 0.6rem;
    right: auto;
    float: right;
    margin: 0.6rem 0.6rem -3.35rem 0;
  }

  .dialog-person img {
    width: min(100%, 430px);
  }

  .dialog-person {
    overflow: visible;
  }

  .dialog-bio {
    overflow: visible;
  }

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

  .service-times {
    grid-template-columns: 1fr;
  }

  .service-times h3 {
    min-height: 0;
  }

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

  .contact-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-copy {
    min-height: 92svh;
  }

  .hero-metrics {
    gap: 0.6rem;
  }

  .hero-metrics div {
    padding: 0 0 0 0.75rem;
  }

  .hero-metrics strong {
    font-size: 2.1rem;
  }

  .hero-metrics span {
    font-size: 0.52rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-card {
    right: 1rem;
    bottom: 4rem;
  }

  .hero-caption {
    right: 1rem;
  }

  .purpose-card {
    min-height: 0;
  }

  .value-grid,
  .industry-grid,
  .people {
    grid-template-columns: 1fr;
  }

  .reason-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .industry-grid article {
    min-height: 0;
  }

  .industry-grid h3 {
    margin-top: 2.5rem;
  }

  .reach-number strong {
    font-size: 7rem;
  }

  .practice-item summary {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .practice-item summary h3 {
    font-size: 1.08rem;
  }

  .practice-detail {
    padding-right: 0;
    padding-left: 38px;
  }

  .portrait {
    aspect-ratio: 1.08 / 1;
  }

  .profile-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .dialog-person,
  .dialog-bio {
    padding: 1.5rem;
  }

  .principles ol {
    grid-template-columns: 1fr;
  }

  .consultation {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .field,
  .field-full,
  .form-heading {
    grid-column: 1;
  }

  .contact-copy dl div {
    grid-template-columns: 84px 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .cookie {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie > div {
    flex-wrap: wrap;
  }

  .scroll-guide {
    top: 7px;
    right: 4px;
    bottom: 7px;
    width: 4px;
  }

  .scroll-pill {
    width: 4px;
    height: 34px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  h1 {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-label {
    margin-bottom: 2.5rem;
  }

  .hero-copy {
    min-height: 100svh;
    padding-top: 6rem;
    padding-bottom: 1.2rem;
  }

  .hero-copy h1 {
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .actions {
    margin-top: 0.75rem;
  }

  .actions .btn {
    min-height: 50px;
  }

  .hero-metrics {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .hero-metrics strong {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-snap-type: y proximity;
  }

  html.scroll-dragging {
    scroll-snap-type: none;
  }
}

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

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

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

  .hero-visual > img {
    transform: none;
  }
}
