:root {
  --ink: #030910;
  --ink-deep: #010509;
  --navy: #061424;
  --navy-soft: #091a2d;
  --panel: #0a1a2c;
  --panel-light: #0d2035;
  --gold: #c49a58;
  --gold-light: #dfbf84;
  --paper: #f1eee6;
  --muted: rgba(241, 238, 230, 0.64);
  --faint: rgba(241, 238, 230, 0.42);
  --line: rgba(223, 191, 132, 0.25);
  --line-soft: rgba(255, 255, 255, 0.08);
  --container: min(1180px, calc(100vw - 48px));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity: 0.028;
}

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

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

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

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

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

.site-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  position: relative;
  padding: 118px 0;
}

.section-index {
  margin: 0 0 25px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 750ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

/* Hero */
.hero-refactor {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 34%, rgba(32, 74, 105, 0.34), transparent 25%),
    radial-gradient(circle at 78% 75%, rgba(193, 145, 72, 0.09), transparent 22%),
    linear-gradient(115deg, var(--ink-deep) 0%, #030a13 46%, #061525 100%);
}

.hero-refactor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 50% 0 / min(11vw, 150px) 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 50% / 100% min(11vw, 150px);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 52%, #000 100%);
  opacity: 0.42;
}

.hero-refactor::after {
  content: "";
  position: absolute;
  inset: auto -8% -43% 35%;
  z-index: -1;
  height: 72%;
  border: 1px solid rgba(204, 163, 96, 0.18);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.refactor-nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 106px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.refactor-brand {
  display: grid;
  place-items: center;
  width: 196px;
  height: auto;
}

.refactor-brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

.refactor-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  color: rgba(239, 239, 235, 0.72);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.refactor-nav-links a,
.text-link {
  transition: color 180ms ease;
}

.refactor-nav-links a:hover,
.text-link:hover {
  color: var(--gold-light);
}

.refactor-nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(211, 174, 112, 0.55);
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.refactor-nav-cta:hover {
  color: var(--navy);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  min-height: calc(100svh - 106px);
}

.hero-stage-copy {
  position: relative;
  z-index: 3;
  padding: 84px 0 118px;
}

.refactor-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.refactor-kicker span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-stage h1 {
  max-width: 9.6ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(4.35rem, 7vw, 7.6rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.hero-stage h1 em {
  display: block;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-stage-lead {
  max-width: 52ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.8;
}

.hero-stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid #d5b172;
  border-radius: 3px;
  color: #07101b;
  background: linear-gradient(135deg, #e1c389 0%, #bd8e45 100%);
  box-shadow: 0 14px 42px rgba(188, 138, 61, 0.22);
  font-family: var(--sans);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gold-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(188, 138, 61, 0.34);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(240, 238, 232, 0.75);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.hero-proof div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
}

.hero-proof div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}

.hero-proof strong {
  color: var(--gold-light);
  font-size: 1.8rem;
  font-weight: 500;
}

.hero-proof span {
  color: rgba(240, 238, 232, 0.55);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stage-visual {
  position: relative;
  align-self: stretch;
  min-height: 690px;
}

.hero-stage-visual::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 10%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(211, 174, 112, 0.17);
  border-radius: 50%;
  transform: rotate(12deg) skew(-6deg);
}

.hero-team-collage {
  position: absolute;
  inset: 7% -11% 0 -2%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  border-top: 1px solid rgba(223, 191, 132, 0.24);
  border-bottom: 1px solid rgba(223, 191, 132, 0.18);
  background: #030a13;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

.hero-team-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #030a13 0%, transparent 13%, transparent 91%, rgba(3, 10, 19, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 10, 19, 0.08) 0%, transparent 48%, rgba(3, 10, 19, 0.94) 100%);
}

.hero-member {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #08111a;
}

.hero-member + .hero-member {
  border-left: 1px solid rgba(223, 191, 132, 0.14);
}

.hero-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  filter: saturate(0.62) contrast(1.08) brightness(0.8);
  transition: filter 280ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-member:hover img {
  filter: saturate(0.78) contrast(1.04) brightness(0.9);
  transform: scale(1.025);
}

.hero-member figcaption {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 29px;
  left: 17px;
  display: grid;
  gap: 6px;
}

.hero-member figcaption span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-member figcaption strong {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-team-label {
  position: absolute;
  z-index: 4;
  top: 2%;
  right: -5%;
  display: grid;
  gap: 3px;
  padding: 15px 19px;
  border: 1px solid rgba(223, 191, 132, 0.34);
  color: var(--paper);
  background: rgba(3, 10, 19, 0.78);
  backdrop-filter: blur(8px);
}

.hero-team-label strong {
  color: var(--gold-light);
  font-size: 1.12rem;
  font-weight: 500;
}

.hero-team-label span {
  color: rgba(241, 238, 230, 0.54);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(240, 238, 232, 0.38);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
}

.hero-scroll i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 174, 112, 0.2), var(--gold-light));
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(223, 191, 132, 0.28);
  border-bottom: 1px solid var(--line-soft);
  background: #06111e;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 76px;
  margin: 0;
  color: rgba(241, 238, 230, 0.58);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trust-strip p + p {
  border-left: 1px solid var(--line-soft);
}

.trust-strip span {
  color: var(--gold);
  font-size: 0.76rem;
}

/* Diagnosis */
.diagnosis-section {
  background:
    radial-gradient(circle at 86% 80%, rgba(30, 68, 96, 0.16), transparent 28%),
    var(--ink);
}

.diagnosis-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 460px;
  border: 1px solid rgba(223, 191, 132, 0.19);
  background: linear-gradient(125deg, #061321 0%, #0b1b2d 100%);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.24);
}

.diagnosis-panel::before {
  content: "ZFV";
  position: absolute;
  right: 32px;
  bottom: -26px;
  color: rgba(255, 255, 255, 0.025);
  font-size: 12rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.diagnosis-statement,
.diagnosis-copy {
  position: relative;
  z-index: 1;
  padding: clamp(45px, 6vw, 78px);
}

.diagnosis-statement {
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 48%, transparent 48%),
    rgba(2, 8, 14, 0.32);
}

.diagnosis-statement h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.5rem);
  line-height: 0.98;
}

.diagnosis-copy {
  display: grid;
  align-content: center;
  border-left: 1px solid var(--line-soft);
}

.diagnosis-copy > p {
  max-width: 53ch;
  margin-bottom: 31px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.82;
}

.truth-block {
  max-width: 57ch;
  padding: 22px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.15);
}

.truth-block span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.truth-block p {
  margin: 0;
  color: rgba(241, 238, 230, 0.76);
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.72;
}

.diagnosis-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 28px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Practice areas */
.practice-section {
  background:
    radial-gradient(circle at 18% 34%, rgba(38, 79, 109, 0.12), transparent 27%),
    linear-gradient(180deg, var(--ink) 0%, #02070c 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 58px;
}

.section-heading > p {
  max-width: 45ch;
  margin: 0 0 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.78;
}

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

.practice-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
    #071524;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.practice-card::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -125px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 191, 132, 0.12);
  border-radius: 50%;
}

.practice-card:hover {
  z-index: 2;
  border-color: rgba(223, 191, 132, 0.38);
  background:
    linear-gradient(145deg, rgba(223, 191, 132, 0.055), transparent 46%),
    #0a1a2c;
  transform: translateY(-5px);
}

.practice-card-wide {
  grid-column: span 3;
  min-height: 330px;
}

.practice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.practice-top span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.practice-top i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: rgba(241, 238, 230, 0.42);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
}

.practice-card h3 {
  max-width: 11ch;
  margin: 58px 0 17px;
  color: var(--paper);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.practice-card p {
  max-width: 39ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.75;
}

.practice-card > a {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: auto;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.practice-card > a::after {
  content: " →";
}

.practice-conclusion {
  display: grid;
  justify-items: center;
  margin-top: 62px;
  text-align: center;
}

.practice-conclusion > span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.35rem;
}

.practice-conclusion p {
  margin: 22px 0 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.practice-conclusion strong {
  max-width: 24ch;
  margin-bottom: 27px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

/* Office */
.office-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 255, 255, 0.025) 7% calc(7% + 1px), transparent calc(7% + 1px) 100%),
    #071423;
}

.office-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(196, 154, 88, 0.08), transparent 25%),
    linear-gradient(135deg, transparent 0 72%, rgba(255, 255, 255, 0.018) 72% 80%, transparent 80%);
}

.office-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 60px;
}

.office-intro h2 {
  font-size: clamp(3rem, 4.7vw, 5.1rem);
}

.office-intro-copy p {
  margin-bottom: 17px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.87rem;
  line-height: 1.8;
}

.partners-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.partner-card {
  border: 1px solid var(--line-soft);
  background: rgba(3, 9, 16, 0.42);
}

.partner-image {
  position: relative;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: #050c14;
}

.partner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(3, 9, 16, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 24, 40, 0.18), transparent);
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: saturate(0.64) contrast(1.08);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 300ms ease;
}

.partner-card:hover .partner-image img {
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.025);
}

.partner-image > span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: -18px;
  color: rgba(223, 191, 132, 0.19);
  font-size: 8rem;
  font-style: italic;
  line-height: 1;
}

.partner-meta {
  min-height: 188px;
  padding: 27px 28px 30px;
}

.partner-meta > p {
  margin: 0 0 13px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partner-meta h3 {
  margin: 0 0 14px;
  font-size: 1.78rem;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.partner-meta > span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
}

/* Process */
.process-section {
  background:
    radial-gradient(circle at 82% 25%, rgba(41, 79, 108, 0.14), transparent 25%),
    var(--ink-deep);
}

.process-heading {
  display: grid;
  justify-items: center;
  max-width: 880px;
  margin: 0 auto 76px;
  text-align: center;
}

.process-heading h2 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.2vw, 5.5rem);
}

.process-heading > p:last-child {
  max-width: 55ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.75;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-height: 280px;
  padding: 40px 24px 28px;
  border-bottom: 1px solid var(--line-soft);
}

.process-step + .process-step {
  border-left: 1px solid var(--line-soft);
}

.process-step > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  background: var(--ink-deep);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 14px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.74rem;
  line-height: 1.68;
}

/* Principles */
.principles-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 18%, transparent 18%),
    #071524;
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.principles-title {
  position: sticky;
  top: 80px;
  align-self: start;
}

.principles-title h2 {
  max-width: 9ch;
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-soft);
}

.principle > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 800;
}

.principle h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.principle p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* FAQ */
.faq-section {
  background: #030910;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 95px;
  align-items: start;
}

.faq-heading h2 {
  max-width: 7ch;
}

.faq-heading > p:not(.section-index) {
  max-width: 41ch;
  margin: 26px 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.75;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 92px;
  padding: 0 4px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary span {
  font-size: 1.5rem;
  font-weight: 500;
}

.faq-item summary b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item[open] summary b {
  color: var(--ink);
  background: var(--gold-light);
  transform: rotate(45deg);
}

.faq-item > p {
  max-width: 65ch;
  margin: 0;
  padding: 0 54px 28px 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* Contact */
.contact-section {
  padding-top: 35px;
  background: #030910;
}

.contact-panel {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 590px;
  padding: 88px 40px 48px;
  overflow: hidden;
  border: 1px solid rgba(223, 191, 132, 0.32);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 110px 100%,
    radial-gradient(circle at 50% 100%, rgba(196, 154, 88, 0.11), transparent 32%),
    linear-gradient(135deg, #071625 0%, #02080e 100%);
  text-align: center;
}

.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 191, 132, 0.12);
  border-radius: 50%;
}

.contact-panel::before {
  top: -280px;
  left: -130px;
}

.contact-panel::after {
  right: -170px;
  bottom: -310px;
}

.contact-panel > *:not(.contact-glow) {
  position: relative;
  z-index: 2;
}

.contact-glow {
  position: absolute;
  top: 21%;
  left: 50%;
  width: 45%;
  height: 45%;
  background: rgba(31, 74, 105, 0.18);
  filter: blur(70px);
  transform: translateX(-50%);
}

.contact-panel h2 {
  max-width: 10ch;
}

.contact-panel > p:not(.section-index) {
  max-width: 58ch;
  margin: 27px 0 30px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  width: 100%;
  margin-top: auto;
  padding-top: 43px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-details a:hover {
  color: var(--gold-light);
}

/* Footer */
.footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--line-soft);
  background: var(--ink-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.6fr) minmax(230px, 0.8fr);
  gap: 65px;
  padding-bottom: 54px;
}

.footer-logo-panel {
  display: grid;
  place-items: center;
  width: 220px;
  height: auto;
}

.footer-brand img {
  width: 100%;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
  margin: 17px 0 0;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.76rem;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.footer-nav p {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
  margin: 0;
  color: rgba(241, 238, 230, 0.28);
  font-family: var(--sans);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  z-index: 15;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 16px 44px rgba(18, 140, 126, 0.32);
  backdrop-filter: blur(12px);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-float:hover {
  box-shadow: 0 19px 52px rgba(18, 140, 126, 0.42);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.whatsapp-float b {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
  .refactor-nav {
    grid-template-columns: 1fr auto;
  }

  .refactor-nav-links {
    display: none;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

  .hero-stage h1 {
    font-size: clamp(4rem, 8vw, 6.2rem);
  }

  .section-heading,
  .office-intro {
    gap: 52px;
  }

  .practice-card {
    grid-column: span 3;
  }

  .practice-card:first-child {
    grid-column: span 6;
    min-height: 320px;
  }

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

  .process-step:nth-child(4) {
    border-left: 0;
  }

  .principles-grid,
  .faq-layout {
    gap: 56px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 32px, 100%);
  }

  .section-pad {
    padding: 88px 0;
  }

  .hero-refactor {
    min-height: auto;
  }

  .refactor-nav {
    min-height: 84px;
  }

  .refactor-brand {
    width: 162px;
    height: auto;
  }

  .refactor-brand img {
    width: 100%;
  }

  .refactor-nav-cta {
    position: relative;
    width: 44px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .refactor-nav-cta span {
    position: absolute;
    left: 15px;
    color: var(--gold-light);
  }

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

  .hero-stage-copy {
    padding: 64px 0 22px;
  }

  .hero-stage h1 {
    max-width: 8.6ch;
    font-size: clamp(3.8rem, 17vw, 5.4rem);
  }

  .hero-stage-lead {
    max-width: 35ch;
  }

  .hero-stage-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .gold-button {
    width: 100%;
  }

  .hero-proof {
    gap: 14px;
    margin-top: 46px;
  }

  .hero-proof div,
  .hero-proof div + div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 8px;
    border-left: 0;
  }

  .hero-proof div + div {
    border-left: 1px solid var(--line-soft);
  }

  .hero-proof strong {
    font-size: 1.4rem;
  }

  .hero-proof span {
    font-size: 0.54rem;
  }

  .hero-stage-visual {
    min-height: 540px;
  }

  .hero-team-collage {
    inset: 4% -9% 0;
  }

  .hero-team-label {
    top: -1%;
    right: -2%;
  }

  .hero-scroll {
    display: none;
  }

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

  .trust-strip p:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .trust-strip p:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .diagnosis-panel,
  .section-heading,
  .office-intro,
  .principles-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .diagnosis-copy {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .section-heading,
  .office-intro {
    gap: 28px;
  }

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

  .practice-card,
  .practice-card:first-child {
    grid-column: span 1;
  }

  .practice-card:last-child {
    grid-column: span 2;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }

  .partner-image {
    aspect-ratio: 0.93;
  }

  .principles-title {
    position: static;
  }

  .principles-title h2,
  .faq-heading h2 {
    max-width: 11ch;
  }

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

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

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .section-pad {
    padding: 76px 0;
  }

  .hero-refactor::before {
    opacity: 0.26;
    mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 100%);
  }

  .refactor-nav {
    gap: 16px;
    min-height: 76px;
  }

  .refactor-brand {
    width: 142px;
  }

  .refactor-nav-cta {
    width: 42px;
    min-height: 42px;
  }

  .refactor-nav-cta span {
    left: 14px;
  }

  .hero-stage-copy {
    padding: 46px 0 12px;
  }

  .refactor-kicker {
    align-items: flex-start;
    margin-bottom: 17px;
    font-size: 0.6rem;
    line-height: 1.5;
  }

  .refactor-kicker span {
    margin-top: 0.45em;
  }

  .hero-stage h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 15.5vw, 4.15rem);
    line-height: 0.88;
  }

  .hero-stage-lead {
    max-width: 33ch;
    margin-top: 22px;
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .hero-stage-actions {
    gap: 17px;
    margin-top: 27px;
  }

  .hero-stage-actions .gold-button {
    min-height: 56px;
    padding-inline: 20px;
  }

  .hero-stage-actions .text-link {
    justify-content: center;
    width: 100%;
  }

  .hero-proof {
    gap: 0;
    margin-top: 34px;
    padding: 17px 0;
    border: 1px solid var(--line-soft);
    background: rgba(8, 24, 40, 0.52);
  }

  .hero-proof div,
  .hero-proof div + div {
    gap: 5px;
    padding-inline: 10px;
  }

  .hero-proof strong {
    font-size: 1.18rem;
  }

  .hero-proof span {
    font-size: 0.5rem;
    line-height: 1.38;
  }

  .hero-stage-visual {
    min-height: 418px;
    margin-top: 12px;
  }

  .hero-stage-visual::before {
    top: 18%;
    left: 14%;
    width: 72%;
  }

  .hero-team-collage {
    inset: 39px 0 0;
    border: 1px solid rgba(223, 191, 132, 0.2);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.3);
  }

  .hero-member img {
    object-position: center 12%;
  }

  .hero-member figcaption {
    right: 2px;
    bottom: 15px;
    left: 2px;
    justify-items: center;
    text-align: center;
  }

  .hero-member figcaption span {
    display: none;
  }

  .hero-member figcaption strong {
    font-size: 0.46rem;
    letter-spacing: 0.035em;
  }

  .hero-team-label {
    top: 0;
    right: auto;
    left: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-team-label strong {
    font-size: 1rem;
  }

  .hero-team-label span {
    font-size: 0.48rem;
  }

  .trust-strip p {
    min-height: 66px;
    padding: 0 8px;
    font-size: 0.54rem;
  }

  .diagnosis-statement,
  .diagnosis-copy {
    padding: 36px 27px;
  }

  .diagnosis-statement h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .diagnosis-panel::before {
    font-size: 7rem;
  }

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

  .practice-card,
  .practice-card:first-child,
  .practice-card:last-child {
    grid-column: auto;
    min-height: 320px;
  }

  .practice-card {
    padding: 27px;
  }

  .practice-card h3 {
    margin-top: 45px;
  }

  .office-intro {
    margin-bottom: 42px;
  }

  .partner-meta {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .process-step,
  .process-step:nth-child(4),
  .process-step + .process-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    min-height: auto;
    padding: 28px 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .process-step > span {
    margin: 0;
  }

  .principle {
    grid-template-columns: 46px 1fr;
    gap: 18px;
  }

  .principle h3 {
    font-size: 1.65rem;
  }

  .faq-layout {
    gap: 46px;
  }

  .faq-item summary {
    min-height: 80px;
  }

  .faq-item summary span {
    font-size: 1.23rem;
  }

  .contact-panel {
    min-height: 620px;
    padding: 64px 24px 36px;
  }

  .contact-details {
    align-items: center;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: auto;
  }

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

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 48px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-stage h1 {
    font-size: clamp(3rem, 15vw, 3.45rem);
  }

  .hero-proof div,
  .hero-proof div + div {
    padding-inline: 6px;
  }

  .hero-proof span {
    font-size: 0.46rem;
  }

  .hero-stage-visual {
    min-height: 390px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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