:root {
  --ink: #211a13;
  --ink-deep: #17130e;
  --ink-soft: #645a4f;
  --paper: #fffdf8;
  --cream: #f7f1e6;
  --brand: #fbae17;
  --brand-soft: #edd995;
  --brand-deep: #9a6814;
  --line: rgba(38, 30, 22, 0.16);
  --line-dark: rgba(255, 250, 240, 0.16);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid rgba(251, 174, 23, 0.75);
  outline-offset: 4px;
}

::selection {
  background: var(--brand);
  color: #201404;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--brand);
  color: var(--ink-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.topbar {
  background: #15120d;
  color: #e3d3a6;
  font-size: 13.5px;
}

.topbar__inner,
.topbar__group {
  display: flex;
  align-items: center;
}

.topbar__inner {
  min-height: 40px;
  padding: 9px 24px;
}

.topbar__group {
  gap: 24px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.topbar a:hover {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e9e1d5;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 76px;
  height: auto;
  flex: 0 0 auto;
}

.brand__copy {
  min-width: 0;
}

.brand__copy strong,
.brand__copy small {
  display: block;
}

.brand__copy strong {
  color: #261f18;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__copy small {
  margin-top: 4px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 31px);
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: #4f473e;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  flex: 0 0 auto;
  gap: 15px;
}

.language-switcher {
  gap: 7px;
  color: #8c8175;
  font-size: 13px;
  font-weight: 600;
}

.language-switcher button {
  min-width: 27px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  background: var(--brand);
  color: #271a06;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--brand);
  border-radius: 0;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: #ffc149;
  border-color: #ffc149;
  transform: translateY(-2px);
}

.button--compact {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 14px;
}

.button--outline-light {
  background: transparent;
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.3);
}

.button--outline-light:hover {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 17%, rgba(251, 174, 23, 0.13), transparent 28%),
    linear-gradient(128deg, #17130e 0%, #211a12 55%, #2a2115 100%);
  color: #fffaf0;
  isolation: isolate;
}

.hero::before {
  content: "QHN";
  position: absolute;
  right: -45px;
  bottom: -118px;
  z-index: -1;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(240px, 31vw, 450px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(251, 174, 23, 0.12);
  user-select: none;
  white-space: nowrap;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(310px, 0.72fr);
  gap: 72px;
  align-items: center;
  min-height: 610px;
  padding-block: 86px 74px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-deep);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 25px;
  font-family: var(--display);
  font-size: clamp(50px, 6.35vw, 79px);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero h1 em,
.section-title em,
.contact h2 em {
  color: var(--brand-deep);
  font-style: italic;
  font-weight: 500;
}

.hero h1 em {
  display: block;
  color: var(--brand);
}

.hero__lead {
  max-width: 660px;
  margin: 0 0 34px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__emblem {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
}

.case-file {
  position: relative;
  width: 280px;
  height: 320px;
}

.case-file__layer {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(255, 250, 240, 0.035);
  border: 1px solid rgba(251, 174, 23, 0.08);
}

.case-file__layer--back {
  transform: rotate(-8deg) translate(-14px, 10px);
}

.case-file__layer--mid {
  background: rgba(255, 250, 240, 0.04);
  border-color: rgba(251, 174, 23, 0.12);
  transform: rotate(4deg) translate(10px, 4px);
}

.case-file__front {
  position: relative;
  height: 100%;
  padding: 36px 30px;
  background: #241d15;
  border: 1px solid rgba(251, 174, 23, 0.2);
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.case-file__fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent var(--brand) transparent transparent;
}

.case-file__title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--brand);
  font-size: 26px;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.case-file__line {
  display: block;
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 250, 240, 0.14);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 19px;
  color: rgba(255, 250, 240, 0.46);
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 250, 240, 0.13);
}

.hero__footer span {
  text-wrap: balance;
}

.section {
  padding-block: 96px;
}

.legal-content {
  max-width: 760px;
}

.legal-content .legal-updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 2em;
}

.legal-content h2 {
  margin: 2.2em 0 0.6em;
  font-size: 22px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 1em;
}

.legal-content ul {
  padding-left: 1.2em;
}

.legal-content li {
  margin-bottom: 0.4em;
}

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

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 82px;
  align-items: start;
}

.section-label {
  margin: 0 0 18px;
}

.section-label__marker {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(154, 104, 20, 0.42);
  border-radius: 50%;
  font-size: 12px;
}

.section-label--dark {
  color: var(--brand);
}

.section-label--dark .section-label__marker {
  border-color: rgba(251, 174, 23, 0.44);
}

.section-title,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(39px, 4.7vw, 59px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.section-title--dark {
  color: #fffaf0;
}

.section-title--dark em {
  color: var(--brand);
}

.about__intro {
  margin: 0 0 31px;
  color: #5f574d;
  font-size: 16px;
  line-height: 1.65;
}

.dossier {
  margin: 0;
  border-top: 1px solid var(--line);
}

.dossier__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.dossier dt {
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

.dossier dd {
  margin: 0;
  color: #30281f;
  font-size: 15px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  color: #2d251d;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
  transition: gap 160ms ease, color 160ms ease;
}

.text-link:hover {
  gap: 17px;
  color: var(--brand-deep);
}

.practice {
  background: #18140f;
  color: #fffaf0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.section-head--light {
  color: var(--ink);
}

.section-summary {
  margin: 0 0 4px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 17px;
  line-height: 1.65;
}

.section-summary--light {
  color: #6a6157;
}

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

.practice-hint {
  display: none;
}

.practice-dots {
  display: none;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 28px 25px 25px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 180ms ease, color 180ms ease;
}

@media (hover: hover) {
  .service:hover {
    background: var(--brand);
    color: #24190a;
  }
}

.service h3 {
  margin: 0 28px 10px 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.18;
  white-space: nowrap;
}

.service p {
  margin: 0;
  color: rgba(255, 250, 240, 0.52);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (hover: hover) {
  .service:hover p {
    color: #49320c;
  }
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d9d0c3;
}

.step {
  padding: 31px 28px 22px 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid #d9d0c3;
}

.step > span {
  display: block;
  margin-bottom: 31px;
  color: var(--brand);
  font-family: var(--display);
  font-size: 44px;
  font-style: italic;
  line-height: 1;
}

.step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: #6e655b;
  font-size: 14px;
  line-height: 1.65;
}

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.why__statement,
.why__list {
  padding: 76px max(44px, calc((100vw - var(--container)) / 2));
}

.why__statement {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 72px;
  background:
    radial-gradient(circle at 25% 22%, rgba(251, 174, 23, 0.13), transparent 30%),
    var(--ink-deep);
  color: #fffaf0;
}

.why__statement blockquote {
  max-width: 570px;
  margin: 35px 0;
  font-family: var(--display);
  font-size: clamp(39px, 4.3vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.why__statement blockquote em {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

.why__statement small {
  color: rgba(255, 250, 240, 0.5);
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.why__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 72px;
}

.reason {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.reason:last-child {
  border-bottom: 1px solid var(--line);
}

.reason__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--brand);
}

.reason__icon svg {
  width: 40px;
  height: 40px;
}

.reason h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}

.reason p {
  margin: 0;
  color: #6b6258;
  font-size: 14.5px;
  line-height: 1.65;
}

.contact {
  background: var(--brand-soft);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 82px;
  align-items: start;
}

.contact h2 {
  margin-bottom: 25px;
  font-size: clamp(43px, 5.1vw, 65px);
  line-height: 1.02;
}

.contact__lead {
  margin: 0 0 37px;
  color: #605132;
  font-size: 16px;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  font-style: normal;
  border-top: 1px solid rgba(70, 51, 16, 0.17);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding-block: 14px;
  color: #4f432c;
  font-size: 14px;
  line-height: 1.65;
  border-bottom: 1px solid rgba(70, 51, 16, 0.17);
}

.contact-list strong {
  color: #87601c;
  font-weight: 600;
}

.contact-list a {
  text-decoration: none;
}

.contact-form {
  padding: 44px;
  background: var(--paper);
  border-top: 5px solid var(--brand);
}

.contact-form h3 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #5c5349;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  background: #fff;
  color: #271f17;
  font-size: 14.5px;
  border: 1px solid #d8cfc2;
  border-radius: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-grid textarea {
  min-height: 118px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 0;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(251, 174, 23, 0.16);
}

.form-grid [aria-invalid="true"] {
  border-color: #b64132;
}

.turnstile-field {
  min-height: 0;
}

.turnstile-field .cf-turnstile {
  width: 100%;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 23px;
}

.form-footer .button {
  white-space: nowrap;
}

.form-footer .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-footer p {
  max-width: 305px;
  margin: 0;
  color: #7b7166;
  font-size: 12.5px;
  line-height: 1.65;
}

.form-status {
  min-height: 20px;
  margin: 13px 0 0;
  color: #49733c;
  font-size: 13px;
  line-height: 1.5;
}

.form-status.is-error {
  color: #a33a2e;
}

.footer {
  background: var(--ink-deep);
  color: #fffaf0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.85fr 1fr;
  gap: 50px;
  padding-block: 66px 51px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer__brand img {
  width: 76px;
  height: auto;
}

.footer__brand strong {
  max-width: 240px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.footer p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 250, 240, 0.52);
  font-size: 16px;
  line-height: 1.65;
}

.footer h3 {
  margin: 0 0 19px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__grid > div:not(:first-child) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer__grid a,
.footer__grid span {
  color: rgba(255, 250, 240, 0.58);
  font-size: 14.5px;
  line-height: 1.65;
  text-decoration: none;
}

.footer__grid a:hover {
  color: var(--brand);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 20px;
  color: rgba(255, 250, 240, 0.36);
  font-size: 13px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
}

.footer__bottom a {
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.6vw, 34px);
  bottom: clamp(16px, 2.6vw, 34px);
  z-index: 40;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(251, 174, 23, 0.55);
  background: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(23, 19, 14, 0.18);
  color: var(--brand);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 160ms ease, color 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--ink-deep);
}

.back-to-top.is-on-dark {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.back-to-top.is-on-dark:hover {
  background: var(--ink-deep);
  border-color: rgba(251, 174, 23, 0.55);
  color: var(--brand);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.error-page {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 36px 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(251, 174, 23, 0.15), transparent 30%),
    var(--ink-deep);
  color: #fffaf0;
  text-align: center;
}

.error-page img {
  width: 120px;
  margin-bottom: 34px;
}

.error-page p {
  margin: 0 0 6px;
  color: var(--brand);
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
}

.error-page h1 {
  margin: 0 0 32px;
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 70px);
  font-weight: 600;
}

.team-hero {
  position: relative;
  overflow: hidden;
  padding-block: 106px 92px;
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 174, 23, 0.14), transparent 27%),
    var(--ink-deep);
  color: #fffaf0;
}

.team-hero::after {
  content: "QHN";
  position: absolute;
  right: -25px;
  bottom: -72px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(180px, 27vw, 390px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(251, 174, 23, 0.12);
  pointer-events: none;
}

.team-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: 80px;
  align-items: end;
}

.team-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 6.3vw, 78px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.team-hero h1 em {
  display: block;
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

body[data-page="privacy"] .team-hero h1 em,
body[data-page="terms"] .team-hero h1 em {
  display: inline;
}

.team-hero__inner > p {
  margin: 0 0 4px;
  color: rgba(255, 250, 240, 0.64);
  font-size: 17px;
  line-height: 1.65;
}

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

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

.team-values article {
  min-height: 275px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-values article > span {
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
}

.team-values h2 {
  margin: 62px 0 12px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.14;
}

.team-values p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.team-profiles {
  background: var(--cream);
}

.team-profiles__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
  padding-block: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-profiles h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.06;
}

.team-profiles__inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.team-cta {
  padding-block: 74px;
  background: var(--brand-soft);
}

.team-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.team-cta h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 37px;
  font-weight: 600;
  line-height: 1.1;
}

.team-cta p {
  max-width: 690px;
  margin: 0;
  color: #635336;
  font-size: 16px;
  line-height: 1.65;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 1080px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .desktop-nav {
    gap: 16px;
  }

  .button--compact {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .footer__grid {
    grid-template-columns: 1.25fr 0.75fr 0.9fr;
  }

  .footer__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .topbar {
    display: none;
  }

  .desktop-nav,
  .language-switcher {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 64px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    touch-action: manipulation;
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle__lines {
    position: relative;
  }

  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle__lines::before {
    top: -5px;
  }

  .menu-toggle__lines::after {
    top: 5px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 19;
    display: flex;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    padding: 30px 24px max(34px, env(safe-area-inset-bottom));
    background: var(--paper);
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 18px 4px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    touch-action: manipulation;
  }

  .mobile-nav__lang.language-switcher {
    display: flex;
    gap: 10px;
    padding: 22px 4px 4px;
    font-size: 15px;
  }

  .mobile-nav__lang.language-switcher button {
    min-width: 34px;
    min-height: 44px;
    font-size: 15px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__emblem {
    min-height: 320px;
  }

  .about__grid,
  .section-head,
  .contact__grid,
  .team-hero__inner,
  .team-profiles__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .team-values article {
    min-height: 220px;
  }

  .team-values h2 {
    margin-top: 42px;
  }

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

  .step:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid #d9d0c3;
    border-left: 0;
  }

  .step:nth-child(4) {
    border-top: 1px solid #d9d0c3;
  }

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

  .why__statement {
    min-height: 470px;
    padding: 64px 40px;
  }

  .why__list {
    padding: 58px 40px;
  }

  .footer__grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 56px;
  }

  .brand__copy strong {
    max-width: 205px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .brand__copy small {
    font-size: 10px;
  }

  .hero__inner {
    min-height: auto;
    padding-block: 68px 56px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 55px);
  }

  .hero__lead {
    font-size: 17px;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__emblem {
    min-height: 285px;
  }

  .hero__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding-block: 70px;
  }

  .section-title,
  .contact h2 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .dossier__row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 15px;
  }

  .steps,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .practice .container {
    padding-inline: 0;
  }

  .practice .section-head {
    padding-inline: 16px;
  }

  .service-grid {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service {
    flex: 0 0 78%;
    min-height: 205px;
    scroll-snap-align: start;
  }

  .service:first-child {
    margin-left: 16px;
  }

  .service:last-child {
    border-right: 1px solid var(--line-dark);
    margin-right: 16px;
  }

  .practice-hint {
    display: none;
  }

  .practice-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 16px 0;
  }

  .practice-dots__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 250, 240, 0.25);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 220ms ease, transform 220ms ease;
    touch-action: manipulation;
  }

  .practice-dots__dot.is-active {
    background: var(--brand);
    transform: scale(1.3);
  }

  .step,
  .step + .step,
  .step:nth-child(3) {
    padding: 27px 0;
    border-top: 1px solid #d9d0c3;
    border-left: 0;
  }

  .why__statement,
  .why__list {
    padding: 55px 20px;
  }

  .why__statement {
    min-height: 440px;
  }

  .why__statement blockquote {
    font-size: 42px;
  }

  .contact-list > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-form {
    padding: 31px 22px;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 16px;
  }

  .form-grid__wide {
    grid-column: auto;
  }

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

  .form-footer .button {
    width: 100%;
  }

  .footer__grid > div:last-child {
    grid-column: auto;
  }

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

  .team-hero {
    padding-block: 76px 68px;
  }

  .team-hero h1 {
    font-size: clamp(44px, 13vw, 56px);
  }

  .team-values article {
    padding: 28px 24px;
  }

  .team-profiles h2 {
    font-size: 38px;
  }

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

  .team-cta .button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .brand__copy strong {
    max-width: 175px;
    font-size: 14px;
  }

  .menu-toggle {
    min-width: 52px;
    gap: 6px;
  }

  .menu-toggle > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Team member profiles ---------- */
.member-section {
  background: var(--cream);
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.member-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 26px;
  background: var(--paper);
}
.member-card__initials {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--ink-deep);
  color: var(--brand);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}
.member-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}
.member-card__role {
  margin: 0;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.member-card p:not(.member-card__role) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.65;
}
@media (max-width: 1080px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .member-grid { grid-template-columns: 1fr; }
}
