@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-normal-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-italic-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #061A23;
  --navy: #0A1F2A;
  --navy-2: #0C2631;
  --navy-3: #123842;
  --gold: #B89355;
  --gold-bright: #D8BD7F;
  --gold-deep: #8C6A31;
  --ivory: #F0EEE6;
  --white: #FAFAF5;
  --muted: #AAB6B2;
  --line: rgba(184, 147, 85, 0.22);
  --line-soft: rgba(240, 238, 230, 0.12);
  --sage: #A8C0A4;
  --danger: #E9A68D;
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --container: 1320px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-height: 100svh;
  background-color: var(--navy);
  background-image: radial-gradient(1100px 700px at 82% -8%, rgba(27, 74, 82, 0.4), transparent 62%);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivory);
  font-optical-sizing: auto;
}

h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.4rem);
  padding-bottom: 0.06em;
}

h3 {
  font-size: 1.35rem;
}

h1 em,
h2 em {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 400;
}

p {
  color: var(--muted);
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.sr-only {
  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: 0.9rem;
  left: 0.9rem;
  z-index: 200;
  padding: 0.8rem 1.15rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

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

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 2px;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 50px;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.button span {
  font-size: 0.8rem;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

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

.button:active {
  transform: translateY(0) scale(0.99);
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

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

.button-outline {
  background: rgba(6, 26, 35, 0.18);
  border-color: rgba(184, 147, 85, 0.5);
  color: var(--ivory);
}

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

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(240, 238, 230, 0.28);
  color: var(--ivory);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-quiet span {
  color: var(--gold-bright);
  transition: transform 0.3s var(--ease);
}

.link-quiet:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.link-quiet:hover span {
  transform: translateY(3px);
}

.link-lined {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(184, 147, 85, 0.5);
  color: var(--ivory);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-lined span {
  color: var(--gold-bright);
  transition: transform 0.3s var(--ease);
}

.link-lined:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.link-lined:hover span {
  transform: translate(3px, -3px);
}

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

.site-header.is-scrolled {
  padding-block: 0.8rem;
  background: rgba(6, 26, 35, 0.9);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(16px);
}

body.menu-open .site-header {
  background: var(--ink);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(184, 147, 85, 0.45);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(184, 147, 85, 0.16);
}

.brand-mark > span {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.brand:hover .brand-mark {
  background: rgba(184, 147, 85, 0.08);
  border-color: var(--gold-bright);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  line-height: 1;
}

.brand-name {
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand-name i {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.25em;
  font-style: italic;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  padding-block: 0.35rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.nav-desktop 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);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ivory);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  flex: none;
  min-height: 42px;
  padding: 0.7rem 1.05rem;
  font-size: 0.57rem;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-soft);
  place-items: center;
  transition: border-color 0.3s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--gold);
}

.menu-toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.menu-toggle-lines span:first-child {
  top: 1px;
}

.menu-toggle-lines span:last-child {
  top: 10px;
}

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7.5rem var(--pad) 2rem;
  overflow-y: auto;
  background: var(--ink);
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform 0.65s var(--ease), visibility 0.65s var(--ease);
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-nav a:hover {
  padding-left: 0.4rem;
  color: var(--gold-bright);
}

.mobile-index {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.mobile-menu-foot > p {
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mobile-menu-foot > a:not(.button) {
  border-bottom: 1px solid rgba(184, 147, 85, 0.35);
  color: var(--ivory);
  font-size: 0.9rem;
}

.mobile-menu-foot .button {
  width: 100%;
  margin-top: 1rem;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: calc(80px + clamp(2.5rem, 7vh, 6rem));
  padding-bottom: 2.1rem;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.72) contrast(1.04);
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 26, 35, 0.98) 0%, rgba(6, 26, 35, 0.93) 34%, rgba(6, 26, 35, 0.56) 65%, rgba(6, 26, 35, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 26, 35, 0.78) 0%, rgba(6, 26, 35, 0) 28%, rgba(6, 26, 35, 0.08) 58%, rgba(6, 26, 35, 0.94) 100%);
}

.hero-frame {
  position: absolute;
  inset: clamp(90px, 12vh, 116px) clamp(10px, 1.8vw, 22px) clamp(10px, 1.8vw, 22px);
  z-index: 2;
  border: 1px solid rgba(184, 147, 85, 0.19);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
}

.hero-content {
  max-width: 920px;
  padding-block: clamp(2rem, 5vh, 4rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--gold-bright);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-kicker > span {
  width: 36px;
  height: 1px;
  flex: none;
  background: var(--gold);
}

.hero-title {
  max-width: 920px;
  padding-bottom: 0.06em;
  font-size: clamp(2rem, 9.4vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero-title em {
  font-weight: 400;
}

.hero-sub {
  max-width: 55ch;
  margin-top: 1.6rem;
  color: #C3CBC7;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.1rem;
}

.hero-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1.2rem;
  padding-right: clamp(52px, 4vw, 60px);
  border-top: 1px solid rgba(240, 238, 230, 0.14);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 147, 85, 0.1);
}

.hero-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(184, 147, 85, 0.32), transparent);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.scroll-cue-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.scroll-cue:hover {
  color: var(--ivory);
}

.scroll-cue:hover .scroll-cue-line {
  width: 48px;
}

.hero-side {
  position: absolute;
  top: 50%;
  right: clamp(16px, 2.4vw, 34px);
  z-index: 3;
  color: rgba(240, 238, 230, 0.38);
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
}

.marquee-band {
  overflow: hidden;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 26, 35, 0.55);
}

.marquee {
  display: flex;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.6rem;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  color: #B8C1BD;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track i {
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 4%;
}

.about-main {
  width: 86%;
}

.about-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-soft);
  object-fit: cover;
  filter: saturate(0.78) brightness(0.88);
}

.about-main figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-main figcaption::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: var(--gold);
}

.about-detail {
  position: absolute;
  top: 24%;
  right: 0;
  width: 48%;
  border: 8px solid var(--navy);
  box-shadow: 0 30px 70px rgba(2, 11, 16, 0.36);
}

.about-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.25) brightness(0.86);
}

.about-seal {
  position: absolute;
  top: 7%;
  left: -26px;
  display: flex;
  width: 116px;
  height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 1px solid rgba(184, 147, 85, 0.38);
  border-radius: 50%;
  background: rgba(6, 26, 35, 0.76);
  backdrop-filter: blur(6px);
}

.about-seal span {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
}

.about-seal small {
  color: var(--muted);
  font-size: 0.46rem;
  letter-spacing: 0.28em;
}

.about-title {
  max-width: 14ch;
  margin-bottom: 1.7rem;
}

.about-copy .lead {
  max-width: 35ch;
  margin-bottom: 1.3rem;
  color: #D8D6CD;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.5;
}

.about-copy > p:not(.lead) {
  max-width: 56ch;
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.3rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line-soft);
}

.about-signature {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.about-signature span {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.2;
}

.about-signature small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.principle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-content: start;
}

.principle-num {
  padding-top: 0.4rem;
  color: var(--gold);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
}

.principle h3 {
  grid-column: 2;
  font-size: 1.45rem;
  font-weight: 500;
}

.principle p {
  grid-column: 2;
  max-width: 31ch;
  font-size: 0.9rem;
  line-height: 1.7;
}

.practice {
  background: var(--navy-2);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

.section-head > p:last-child {
  max-width: 58ch;
  margin-top: 1.4rem;
  font-size: 1rem;
  line-height: 1.7;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.practice-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.4rem, 2.2vw, 2.4rem);
  border: 1px solid var(--line-soft);
  background: var(--navy-3);
  isolation: isolate;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.practice-card:hover {
  border-color: rgba(184, 147, 85, 0.5);
  transform: translateY(-4px);
}

.practice-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -4px;
}

.practice-card--large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 586px;
}

.practice-card:nth-child(2) {
  grid-column: span 5;
}

.practice-card:nth-child(3) {
  grid-column: span 5;
}

.practice-card:nth-child(4) {
  grid-column: span 4;
}

.practice-card:nth-child(5) {
  grid-column: span 8;
}

.practice-card--image > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.5);
  transform: scale(1.01);
  transition: transform 1.2s var(--ease), filter 0.7s var(--ease);
}

.practice-card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 26, 35, 0.16) 0%, rgba(6, 26, 35, 0.52) 55%, rgba(6, 26, 35, 0.94) 100%);
}

.practice-card--image:hover > img {
  filter: saturate(0.88) brightness(0.58);
  transform: scale(1.06);
}

.practice-card--wide::after {
  background:
    linear-gradient(90deg, rgba(6, 26, 35, 0.95) 0%, rgba(6, 26, 35, 0.82) 44%, rgba(6, 26, 35, 0.25) 100%),
    linear-gradient(0deg, rgba(6, 26, 35, 0.8), transparent 70%);
}

.practice-card--wide .card-content {
  max-width: 62%;
}

.card-num {
  position: absolute;
  top: clamp(1.4rem, 2.2vw, 2.4rem);
  left: clamp(1.4rem, 2.2vw, 2.4rem);
  z-index: 2;
  color: rgba(240, 238, 230, 0.68);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  line-height: 1.05;
}

.practice-card--large .card-content h3 {
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
}

.card-content p {
  max-width: 40ch;
  color: #C4CCC7;
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  color: var(--gold-bright);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease);
}

.card-cta span {
  font-size: 0.7rem;
  letter-spacing: 0;
  transition: transform 0.3s var(--ease);
}

.practice-card:hover .card-cta {
  border-bottom-color: var(--gold);
}

.practice-card:hover .card-cta span {
  transform: translate(2px, -2px);
}

.practice-card--text {
  background: linear-gradient(145deg, #173F49, #0D2833);
}

.practice-card--text::before {
  content: attr(data-index);
  position: absolute;
  right: -0.03em;
  bottom: -0.3em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: 11.5rem;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(184, 147, 85, 0.22);
  pointer-events: none;
}

.practice-card--text .card-num {
  color: var(--gold-bright);
}

.practice-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-note a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(184, 147, 85, 0.45);
  color: var(--gold-bright);
  transition: border-color 0.3s var(--ease);
}

.practice-note a:hover {
  border-color: var(--gold-bright);
}

.process {
  overflow: hidden;
  background: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-intro h2 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.process-intro > p {
  max-width: 40ch;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.75;
}

.process-body {
  position: relative;
  padding-left: clamp(1rem, 3vw, 2.8rem);
}

.process-body::before,
.process-body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
}

.process-body::before {
  background: rgba(240, 238, 230, 0.1);
}

.process-body::after {
  background: linear-gradient(var(--gold), rgba(184, 147, 85, 0.12));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2s var(--ease);
}

.process.is-visible .process-body::after {
  transform: scaleY(1);
}

.steps {
  border-top: 1px solid var(--line-soft);
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.3rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.step-num {
  padding-top: 0.2rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
}

.step h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 500;
}

.step p {
  max-width: 47ch;
  font-size: 0.96rem;
  line-height: 1.7;
}

.quote {
  position: relative;
  display: flex;
  min-height: clamp(520px, 70svh, 760px);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  isolation: isolate;
}

.quote-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: grayscale(0.2) brightness(0.5);
}

.quote-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 26, 35, 0.94) 0%, rgba(6, 26, 35, 0.7) 58%, rgba(6, 26, 35, 0.82) 100%),
    linear-gradient(180deg, rgba(6, 26, 35, 0.72) 0%, rgba(6, 26, 35, 0) 28%, rgba(6, 26, 35, 0.9) 100%);
}

.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
}

.quote-mark {
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.55;
}

.quote-text {
  max-width: 20ch;
  font-size: clamp(2.15rem, 4.3vw, 4.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.quote-source {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.team-head {
  display: flex;
  max-width: 740px;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.team-head h2 {
  max-width: 12ch;
}

.team-head p {
  max-width: 55ch;
  font-size: 1rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.member {
  grid-column: span 4;
}

.member--lead {
  grid-column: span 5;
}

.member:nth-child(2) {
  grid-column: span 4;
  margin-top: 4.5rem;
}

.member:nth-child(3) {
  grid-column: span 3;
  margin-top: 9rem;
}

.member-media {
  position: relative;
  overflow: hidden;
  background: var(--navy-3);
}

.member-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.member-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03) brightness(0.82);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.member:hover .member-media img {
  filter: grayscale(0) contrast(1) brightness(0.94);
  transform: scale(1.03);
}

.member:hover .member-media::after {
  transform: scaleX(1);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.15rem;
}

.member-info h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
}

.member-info p {
  color: var(--muted);
  font-size: 0.53rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}

.team-note {
  margin-top: 2rem;
  color: #85928E;
  font-size: 0.72rem;
  font-style: italic;
}

.contact {
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.4rem;
}

.contact-copy > p:not(.section-label):not(.contact-privacy) {
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 1.3rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.contact-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.contact-item > span {
  color: var(--gold);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  color: var(--ivory);
  font-size: 1.02rem;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}

.contact-item a:hover {
  color: var(--gold-bright);
}

.contact-privacy {
  max-width: 44ch;
  margin-top: 2rem;
  padding-left: 0.95rem;
  border-left: 1px solid var(--gold);
  color: #8F9C98;
  font-size: 0.8rem;
  line-height: 1.65;
}

.form-panel {
  position: relative;
  padding: clamp(1.5rem, 3.2vw, 2.8rem);
  border: 1px solid rgba(184, 147, 85, 0.25);
  background: linear-gradient(155deg, rgba(18, 56, 66, 0.72), rgba(10, 31, 42, 0.86));
}

.form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 1px;
  background: var(--gold);
}

.form-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}

.form-title {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.2;
}

.form-mark {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  color: #C8D0CB;
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field label span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(240, 238, 230, 0.16);
  border-radius: 0;
  background-color: rgba(6, 26, 35, 0.55);
  color: var(--ivory);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

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

.field select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8BD7F' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  color-scheme: dark;
}

.field select option {
  background: var(--navy-2);
  color: var(--ivory);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #92A09C;
  opacity: 1;
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(6, 26, 35, 0.82);
  box-shadow: 0 0 0 3px rgba(184, 147, 85, 0.12);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  box-shadow: 0 0 0 1000px #0A1F2A inset;
  caret-color: var(--ivory);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(233, 166, 141, 0.78);
}

.field.has-error label {
  color: #F0B7A2;
}

.field.is-flashing select {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(184, 147, 85, 0.18);
}

.field-error {
  display: block;
  margin-top: 0.3rem;
  color: var(--danger);
  font-size: 0.7rem;
  line-height: 1.4;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 0.4rem;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  flex: none;
  margin-top: 0.18rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(184, 147, 85, 0.62);
  border-radius: 0;
  background-color: rgba(6, 26, 35, 0.55);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.checkbox-row input[type="checkbox"]:checked {
  border-color: var(--gold);
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.5L4.2 8.5L11 1.5' fill='none' stroke='%230A1F2A' stroke-width='1.8'/%3E%3C/svg%3E");
}

.checkbox-row.has-error input[type="checkbox"] {
  border-color: rgba(233, 166, 141, 0.78);
}

.checkbox-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.checkbox-copy label {
  color: #C3CBC6;
  font-size: 0.78rem;
  line-height: 1.55;
}

.inline-link {
  padding: 0;
  border-bottom: 1px dotted rgba(184, 147, 85, 0.6);
  color: var(--gold-bright);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: left;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.inline-link:hover {
  border-color: var(--gold-bright);
  color: var(--ivory);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  margin-top: 0.7rem;
  color: #879692;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.form-status {
  min-height: 0.9rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
  transition: color 0.3s var(--ease);
}

.form-status.is-success {
  color: var(--sage);
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line-soft);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 2fr) minmax(0, 2.4fr) minmax(0, 3fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand .brand {
  margin-bottom: 1.2rem;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p:not(.footer-title) {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.9;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-col--cta p:not(.footer-title) {
  max-width: 24ch;
}

.footer-col--cta .link-lined {
  margin-top: 1.2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  color: #7E8C88;
  font-size: 0.66rem;
  line-height: 1.6;
}

.footer-bottom p {
  color: inherit;
}

.footer-bottom a,
.footer-legal {
  color: #A4B0AB;
  transition: color 0.3s var(--ease);
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: rgba(184, 147, 85, 0.55);
  text-underline-offset: 0.22em;
}

.footer-bottom a:hover,
.footer-legal:hover {
  color: var(--gold-bright);
}

.footer-legal {
  border-bottom: 1px solid transparent;
  font-size: 0.66rem;
  text-align: left;
}

.whatsapp-widget {
  position: fixed;
  right: clamp(1rem, 2.4vw, 1.75rem);
  bottom: clamp(1rem, 2.4vw, 1.75rem);
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

.whatsapp-widget.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

body.menu-open .whatsapp-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.whatsapp-bubble {
  position: relative;
  display: none;
  max-width: 238px;
  padding: 0.8rem 1rem 0.85rem;
  border: 1px solid rgba(184, 147, 85, 0.38);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(2, 11, 16, 0.38);
}

.whatsapp-widget.is-expanded .whatsapp-bubble {
  display: flex;
  flex-direction: column;
  animation: whatsapp-bubble-in 0.5s var(--ease) both;
}

.whatsapp-bubble::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin-bottom: 0.5rem;
  background: var(--gold);
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4.5px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(184, 147, 85, 0.38);
  border-right: 1px solid rgba(184, 147, 85, 0.38);
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.whatsapp-bubble-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold-deep);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.whatsapp-bubble-text {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
}

.whatsapp-button {
  display: grid;
  width: 58px;
  height: 58px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(184, 147, 85, 0.7);
  background: var(--navy);
  color: var(--gold-bright);
  box-shadow: 0 16px 38px rgba(2, 11, 16, 0.38);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
}

.whatsapp-widget:hover .whatsapp-button {
  border-color: var(--gold-bright);
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.whatsapp-widget:hover .whatsapp-bubble {
  border-color: rgba(184, 147, 85, 0.7);
}

.whatsapp-widget:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

@keyframes whatsapp-bubble-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes whatsapp-bubble-in-mobile {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-dialog {
  width: min(640px, calc(100% - 2rem));
  max-height: min(82vh, 760px);
  margin: auto;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  overflow-y: auto;
  border: 1px solid rgba(184, 147, 85, 0.35);
  background: var(--navy-2);
  color: var(--ivory);
}

.legal-dialog::backdrop {
  background: rgba(3, 12, 17, 0.82);
  backdrop-filter: blur(8px);
}

.legal-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.legal-dialog h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.legal-dialog p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.legal-dialog .button {
  margin-top: 0.8rem;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.dialog-close:hover {
  border-color: var(--gold);
  color: var(--ivory);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-foot {
    animation: hero-rise 1s var(--ease) both;
  }

  .hero-kicker {
    animation-delay: 0.12s;
  }

  .hero-title {
    animation-delay: 0.22s;
  }

  .hero-sub {
    animation-delay: 0.34s;
  }

  .hero-actions {
    animation-delay: 0.44s;
  }

  .hero-foot {
    animation-delay: 0.56s;
  }

  .hero-media img {
    animation: hero-image 2.4s var(--ease) both;
  }

  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hero-image {
    from {
      transform: scale(1.1);
    }
    to {
      transform: scale(1.04);
    }
  }
}

@media (max-width: 1180px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .hero-side {
    display: none;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(3rem, 6vw, 5rem);
  }

  .footer-top {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 2fr) minmax(0, 2.4fr);
  }

  .footer-col--cta {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
  }

  .footer-col--cta .footer-title,
  .footer-col--cta p,
  .footer-col--cta .link-lined {
    margin: 0;
  }

  .footer-col--cta .link-lined {
    justify-self: end;
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: 100svh;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(3.5rem, 8vw, 6rem);
  }

  .about-visual {
    width: min(100%, 650px);
    padding-bottom: 9%;
  }

  .about-copy {
    max-width: 720px;
  }

  .about-title {
    max-width: 16ch;
  }

  .about-principles {
    gap: 2rem;
  }

  .practice-grid {
    gap: 12px;
  }

  .practice-card--large {
    grid-column: span 12;
    grid-row: auto;
    min-height: 480px;
  }

  .practice-card:nth-child(2),
  .practice-card:nth-child(3),
  .practice-card:nth-child(4),
  .practice-card:nth-child(5) {
    grid-column: span 6;
    min-height: 320px;
  }

  .practice-card:nth-child(5) {
    grid-column: span 12;
    min-height: 340px;
  }

  .practice-card--wide .card-content {
    max-width: 60%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .process-intro {
    position: static;
  }

  .process-intro > p {
    max-width: 54ch;
  }

  .process-body {
    padding-left: 1.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-copy {
    max-width: 720px;
  }

  .form-panel {
    width: min(100%, 760px);
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-col--cta {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .about-principles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .principle p {
    max-width: 52ch;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .member,
  .member--lead,
  .member:nth-child(2),
  .member:nth-child(3) {
    grid-column: span 1;
    margin-top: 0;
  }

  .member:nth-child(3) {
    grid-column: span 2;
    width: min(58%, 380px);
    margin-left: auto;
  }

  .team-head {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 1.35rem;
  }

  html {
    scroll-padding-top: 88px;
  }

  h2 {
    font-size: clamp(2.15rem, 8.4vw, 3.2rem);
  }

  .section {
    padding-block: 5rem;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .brand-sub {
    font-size: 0.45rem;
    letter-spacing: 0.3em;
  }

  .site-header {
    padding-block: 0.9rem;
  }

  .site-header.is-scrolled {
    padding-block: 0.65rem;
  }

  .hero {
    padding-bottom: 1.5rem;
  }

  .hero-frame {
    inset: 78px 9px 9px;
  }

  .hero-content {
    padding-block: 1.5rem 2.8rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9.4vw, 4.4rem);
  }

  .hero-sub {
    max-width: 44ch;
    margin-top: 1.25rem;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 1.2rem;
    margin-top: 1.7rem;
  }

  .hero-foot {
    gap: 0.8rem;
    padding-right: 0;
  }

  .hero-line {
    display: none;
  }

  .hero-foot .scroll-cue {
    display: none;
  }

  .whatsapp-widget {
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
  }

  .whatsapp-bubble {
    max-width: 210px;
    padding: 0.7rem 0.8rem 0.75rem;
  }

  .whatsapp-bubble::before {
    width: 18px;
    margin-bottom: 0.4rem;
  }

  .whatsapp-bubble::after {
    display: none;
  }

  .whatsapp-bubble-kicker {
    font-size: 0.5rem;
  }

  .whatsapp-bubble-text {
    font-size: 0.95rem;
  }

  .whatsapp-widget.is-expanded .whatsapp-bubble {
    animation-name: whatsapp-bubble-in-mobile;
  }

  .whatsapp-button {
    width: 54px;
    height: 54px;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  .marquee-track {
    gap: 2rem;
  }

  .about-main {
    width: 88%;
  }

  .about-detail {
    width: 52%;
    border-width: 6px;
  }

  .about-detail {
    top: 22%;
  }

  .about-seal {
    left: -12px;
    width: 96px;
    height: 96px;
  }

  .about-seal span {
    font-size: 1.2rem;
  }

  .about-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-signature {
    text-align: left;
  }

  .practice-card--large {
    min-height: 420px;
  }

  .practice-card:nth-child(2),
  .practice-card:nth-child(3),
  .practice-card:nth-child(4),
  .practice-card:nth-child(5) {
    grid-column: span 12;
    min-height: 300px;
  }

  .practice-card:nth-child(5) {
    grid-column: span 12;
  }

  .practice-card--wide .card-content {
    max-width: 100%;
  }

  .practice-card--wide::after {
    background: linear-gradient(180deg, rgba(6, 26, 35, 0.2) 0%, rgba(6, 26, 35, 0.56) 52%, rgba(6, 26, 35, 0.94) 100%);
  }

  .practice-card--text::before {
    font-size: 9rem;
  }

  .practice-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.8rem 0;
  }

  .step-num {
    font-size: 1.2rem;
  }

  .quote {
    min-height: 620px;
  }

  .quote-mark {
    font-size: 3.6rem;
  }

  .quote-text {
    font-size: clamp(2rem, 7.6vw, 3rem);
  }

  .team-head {
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .form-panel {
    padding: 1.4rem;
  }

  .footer-top {
    gap: 2.2rem;
  }

  .footer-col--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 1.3rem;
  }

  .footer-col--cta .link-lined {
    margin-top: 0.6rem;
  }

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

@media (max-width: 560px) {
  .brand-copy {
    gap: 0.18rem;
  }

  .brand-name {
    font-size: 0.58rem;
  }

  .brand-sub {
    font-size: 0.42rem;
  }

  .hero-frame {
    inset: 74px 7px 7px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .link-quiet {
    width: fit-content;
  }

  .hero-location {
    font-size: 0.52rem;
  }

  .scroll-cue {
    font-size: 0.52rem;
  }

  .scroll-cue-line {
    width: 22px;
  }

  .about-main {
    width: 92%;
  }

  .about-detail {
    width: 54%;
  }

  .about-seal {
    display: none;
  }

  .about-title {
    max-width: none;
  }

  .about-actions {
    margin-top: 1.8rem;
  }

  .practice-card {
    padding: 1.35rem;
  }

  .card-num {
    top: 1.35rem;
    left: 1.35rem;
  }

  .card-content h3,
  .practice-card--large .card-content h3 {
    font-size: 2rem;
  }

  .card-content p {
    font-size: 0.88rem;
  }

  .quote {
    min-height: 560px;
  }

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

  .member,
  .member--lead,
  .member:nth-child(2),
  .member:nth-child(3) {
    grid-column: span 1;
    width: 100%;
    margin-left: 0;
  }

  .member:nth-child(2),
  .member:nth-child(3) {
    margin-top: 0.5rem;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-item > span {
    margin-top: 0.35rem;
  }

  .contact-item a,
  .contact-item p {
    font-size: 1rem;
  }

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

  .footer-brand,
  .footer-col--cta {
    grid-column: span 1;
  }

  .footer-brand {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-col {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-col--cta {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@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-media img {
    transform: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    white-space: normal;
    animation: none;
  }

  .marquee {
    justify-content: center;
  }

  .process.is-visible .process-body::after {
    transform: scaleY(1);
  }
}


/* Barrios Cárdenas: brand assets and Chincha contact section */
.brand-logo { width: min(230px, 100%); height: auto; display: block; object-fit: contain; }
.brand--footer .brand-logo { width: min(230px, 100%); }

.hero-media img { object-position: 50% 50%; }
.practice-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.practice-groups .practice-card { grid-column: span 1; min-height: 550px; }
.practice-groups .practice-card:nth-child(2), .practice-groups .practice-card:nth-child(3) { grid-column: span 1; }
.practice-groups .card-content { align-items: flex-start; }
.practice-groups .card-content h3 { font-size: clamp(1.8rem, 2.7vw, 2.6rem); }
.practice-groups .card-content ul { margin: 1rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font-size: .92rem; line-height: 1.55; }
.practice-groups .card-content li { padding: .42rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.map-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.map-heading h3 { margin: .5rem 0; font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--font-display, Georgia, serif); }
.map-heading p { max-width: 36ch; }
.map-panel iframe { display: block; width: 100%; min-height: 340px; height: 380px; border: 0; filter: none; }
@media (max-width: 900px) { .practice-groups { grid-template-columns: repeat(2,minmax(0,1fr)); } .practice-groups .practice-card:first-child { grid-column: span 2; } .map-panel { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .practice-groups { grid-template-columns: 1fr; } .practice-groups .practice-card:first-child { grid-column: span 1; } .practice-groups .practice-card { min-height: 430px; } .map-panel iframe { min-height: 280px; height: 300px; } }

.about-main img { object-position: 62% center; }
.practice-groups .practice-card:nth-child(1) > img { object-position: center 56%; }
.practice-groups .practice-card:nth-child(2) > img { object-position: center 46%; }
.practice-groups .practice-card:nth-child(3) > img { object-position: 58% center; }

.about-detail img { aspect-ratio: auto; object-fit: contain; background: #fff; filter: none; }

@media (max-width: 720px) { .hero-media img { object-position: 72% center; } }

/* Header emblem uses the actual mark; full logo remains in the footer. */
.brand-logo-mark { position: relative; display: block; width: 48px; height: 48px; flex: none; overflow: hidden; border: 1px solid rgba(184,147,85,.38); background: #061a23; }
.brand-logo-mark img { position: absolute; top: -2px; left: 50%; width: 96px; max-width: none; height: auto; transform: translateX(-50%); }
.brand:hover .brand-logo-mark { border-color: var(--gold-bright); }
.about-visual { padding-bottom: 0; }
.about-main { width: 100%; }
.about-main img { display: block; }
.about-detail { display: none; }
@media (max-width: 720px) { .brand-logo-mark { width: 42px; height: 42px; } .brand-logo-mark img { width: 84px; top: -1px; } .about-main { width: 100%; } }

.instagram-link { display: inline-flex; align-items: center; gap: .45rem; }
.instagram-icon { width: 17px; height: 17px; flex: none; color: var(--gold-bright); }
