:root {
  --ink: #16252b;
  --ink-soft: #344249;
  --navy: #142a33;
  --navy-deep: #0b1c23;
  --navy-light: #26424a;
  --cream: #f3ede3;
  --cream-deep: #e8ddcf;
  --paper: #fbf7f0;
  --bronze: #ae8350;
  --bronze-bright: #c9a06c;
  --olive: #6f755e;
  --olive-soft: #d7d6c5;
  --white: #fffdf8;
  --muted: #69767a;
  --line: rgba(22, 37, 43, 0.15);
  --line-light: rgba(255, 253, 248, 0.16);
  --shadow: 0 24px 70px rgba(11, 28, 35, 0.12);
  --serif: "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

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

body::selection {
  background: var(--olive);
  color: var(--white);
}

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

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

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

button {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

main {
  overflow: clip;
}

.section {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  padding: 116px 0;
}

.section-index {
  margin-bottom: 54px;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-index.light {
  color: var(--bronze-bright);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 76px);
}

h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  gap: 92px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading > p {
  max-width: 600px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 17px;
}

.button {
  display: inline-flex;
  min-height: 51px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--bronze-bright);
  outline-offset: 3px;
}

.button-primary {
  background: var(--bronze);
  color: var(--white);
}

.button-primary:hover {
  background: #997041;
}

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

.button-ghost:hover {
  border-color: var(--bronze-bright);
  color: var(--bronze-bright);
}

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

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

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 88px;
  padding: 10px max(34px, calc((100vw - var(--max)) / 2));
  grid-template-columns: minmax(210px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(22, 37, 43, 0.1);
  background: rgba(247, 241, 232, 0.94);
  backdrop-filter: blur(18px);
  color: var(--ink);
}

.brand-image {
  display: block;
  width: 235px;
  height: 62px;
  overflow: hidden;
}

.brand-image img {
  width: 220px;
  height: 64px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.site-header nav a {
  position: relative;
  padding: 8px 0;
  color: #334148;
  font-size: 12px;
  font-weight: 720;
}

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

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

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  top: 17px;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  top: 24px;
}

/* Hero and audience gateway */

.hero-modern {
  position: relative;
  display: grid;
  min-height: 850px;
  padding: 178px max(40px, calc((100vw - var(--max)) / 2)) 92px;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.72fr);
  gap: 80px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(174, 131, 80, 0.22), transparent 24%),
    radial-gradient(circle at 10% 95%, rgba(111, 117, 94, 0.2), transparent 26%),
    linear-gradient(128deg, var(--navy-deep), #19323b 62%, #10252d);
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom right, black, transparent 70%);
}

.hero-copy,
.audience-gateway {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 930px;
  margin-bottom: 32px;
  font-size: clamp(58px, 6.6vw, 105px);
}

.hero-copy h1 em {
  display: block;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 36px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  margin-top: 52px;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 253, 248, 0.74);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.audience-gateway {
  min-height: 540px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(249, 244, 236, 0.97);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.24);
  color: var(--ink);
}

.gateway-head {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gateway-head p {
  margin-bottom: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 5px rgba(111, 117, 94, 0.12);
}

.gateway-tabs {
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.gateway-tabs button {
  min-height: 58px;
  padding: 10px 15px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.gateway-tabs button + button {
  border-left: 1px solid var(--line);
}

.gateway-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.gateway-panel {
  animation: panel-in 260ms ease both;
}

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

.gateway-kicker {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gateway-panel h2 {
  margin: 16px 0 24px;
  font-size: 44px;
  line-height: 1.02;
}

.gateway-panel ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.gateway-panel li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.gateway-panel li::before {
  position: absolute;
  top: 16px;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  content: "";
}

.gateway-panel > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.expertise-ribbon {
  display: flex;
  min-height: 68px;
  padding: 14px 36px;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: none;
}

.expertise-ribbon::-webkit-scrollbar {
  display: none;
}

.expertise-ribbon span,
.expertise-ribbon a {
  flex: 0 0 auto;
  padding: 0 25px;
  border-right: 1px solid var(--line);
  color: #48565c;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.expertise-ribbon a {
  color: var(--bronze);
}

/* Positioning */

.positioning {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.positioning .section-index {
  margin: 9px 0 0;
}

.positioning-title h2 {
  font-size: clamp(48px, 5.3vw, 80px);
}

.positioning-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.positioning-note {
  display: grid;
  margin-top: 30px;
  padding: 23px 0;
  grid-template-columns: 125px 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.positioning-note strong {
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.positioning-note span {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}

/* Orienter */

.orienter {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  grid-template-columns: minmax(300px, 0.65fr) minmax(580px, 1.15fr);
  gap: 80px;
  background:
    linear-gradient(120deg, rgba(174, 131, 80, 0.1), transparent 42%),
    var(--navy);
  color: var(--white);
}

.orienter-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.orienter-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(52px, 5.4vw, 82px);
}

.orienter-intro > p:not(.eyebrow) {
  max-width: 530px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.privacy-promise {
  display: flex;
  margin-top: 37px;
  padding: 20px;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.privacy-promise > span {
  color: var(--bronze-bright);
  font-size: 22px;
}

.privacy-promise p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
}

.case-wizard {
  min-height: 690px;
  padding: 42px;
  align-self: start;
  background: var(--paper);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.24);
  color: var(--ink);
}

.wizard-top {
  display: grid;
  margin-bottom: 33px;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  align-items: end;
}

.wizard-top span {
  display: block;
  margin-bottom: 7px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-top strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.wizard-progress {
  height: 4px;
  overflow: hidden;
  background: var(--cream-deep);
}

.wizard-progress span {
  display: block;
  width: 20%;
  height: 100%;
  margin: 0;
  background: var(--bronze);
  transition: width 240ms ease;
}

.wizard-error {
  margin: -12px 0 22px;
  padding: 11px 14px;
  border-left: 3px solid #9d523f;
  background: rgba(157, 82, 63, 0.08);
  color: #793b2c;
  font-size: 13px;
}

.wizard-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: panel-in 240ms ease both;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

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

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

.choice-card {
  position: relative;
  display: block;
  min-height: 130px;
  cursor: pointer;
}

.choice-card.compact {
  min-height: 132px;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  display: flex;
  height: 100%;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.choice-card:hover > span {
  border-color: var(--bronze);
  transform: translateY(-2px);
}

.choice-card input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.choice-card input:focus-visible + span {
  outline: 3px solid var(--bronze);
  outline-offset: 2px;
}

.choice-card strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.08;
}

.choice-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.choice-card input:checked + span small {
  color: rgba(255, 253, 248, 0.65);
}

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

.brief-form > label,
.form-row label,
.selector-copy label {
  display: block;
}

.brief-form label > span,
.form-row label > span,
.selector-copy label > span,
.document-checks > span {
  display: block;
  margin-bottom: 7px;
  color: #526168;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

input[type="text"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: 0;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(174, 131, 80, 0.12);
}

.document-checks {
  margin-top: 25px;
}

.document-checks label {
  display: inline-flex;
  margin: 0 8px 8px 0;
  cursor: pointer;
}

.document-checks label span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.document-checks label input {
  position: absolute;
  opacity: 0;
}

.document-checks label input:checked + span {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.wizard-navigation {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: space-between;
}

.wizard-back {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.wizard-back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.wizard-result-step h3 {
  margin-bottom: 9px;
  font-size: 34px;
}

.orientation-route {
  display: grid;
  margin: 26px 0;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.orientation-route > div {
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--white);
}

.orientation-route strong,
.orientation-docs strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orientation-route span {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.orientation-docs {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.orientation-docs ul {
  margin: 9px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.result-actions {
  display: flex;
  gap: 8px;
}

/* Law firms and briefing */

.law-firms {
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  background: #10232b;
  color: var(--white);
}

.law-firms-heading,
.team-heading,
.coverage-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 70px;
}

.law-firms-heading > p,
.team-heading > p,
.coverage-heading > p {
  margin-bottom: 4px;
  color: rgba(255, 253, 248, 0.64);
  font-size: 17px;
}

.law-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.legal-value-card {
  padding: 43px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 90% 12%, rgba(174, 131, 80, 0.19), transparent 30%),
    rgba(255, 255, 255, 0.035);
}

.legal-value-card > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-value-card h3 {
  margin: 17px 0;
  font-size: 40px;
}

.legal-value-card > p {
  color: rgba(255, 253, 248, 0.68);
}

.legal-value-card > div {
  display: grid;
  margin-top: 32px;
  padding-top: 26px;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line-light);
}

.legal-value-card > div strong {
  color: var(--bronze-bright);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
}

.legal-value-card > div small {
  color: rgba(255, 253, 248, 0.62);
  line-height: 1.5;
}

.law-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.law-services article {
  display: grid;
  min-height: 245px;
  padding: 34px;
  grid-template-columns: 33px 1fr;
  gap: 17px;
  background: var(--navy);
}

.law-services article > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
}

.law-services h3 {
  margin-bottom: 13px;
  font-size: 28px;
}

.law-services p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 14px;
}

.briefing-builder {
  position: relative;
  display: grid;
  margin-top: 105px;
  padding: 56px;
  grid-template-columns: 0.65fr 1fr;
  gap: 65px;
  background: var(--paper);
  color: var(--ink);
}

.briefing-copy h2 {
  margin-bottom: 25px;
  font-size: 56px;
}

.briefing-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.briefing-principle {
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.briefing-principle strong {
  display: block;
  margin-bottom: 7px;
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.briefing-principle span {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
}

.brief-form {
  display: grid;
  gap: 16px;
}

.brief-docs {
  margin: 0;
  padding: 0;
  border: 0;
}

.brief-docs legend {
  margin-bottom: 8px;
  color: #526168;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brief-docs label {
  display: inline-flex;
  margin: 0 7px 7px 0;
  cursor: pointer;
}

.brief-docs input {
  position: absolute;
  opacity: 0;
}

.brief-docs label span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.brief-docs input:checked + span {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.brief-output {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.brief-output h3 {
  margin-bottom: 6px;
}

.brief-output-grid {
  display: grid;
  margin-top: 23px;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.brief-output-grid div {
  padding: 16px;
  border: 1px solid var(--line);
}

.brief-output-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-output-actions {
  display: flex;
  margin-top: 22px;
  gap: 8px;
}

.brief-output-actions button {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Dental */

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

.dental-interface {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
}

.dental-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dental-tabs button {
  display: grid;
  min-height: 78px;
  padding: 16px 20px;
  grid-template-columns: 36px 1fr;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.dental-tabs button span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
}

.dental-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.dental-panels {
  position: relative;
  min-height: 610px;
  padding: 56px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dental-panels article {
  position: relative;
  z-index: 2;
  animation: panel-in 230ms ease both;
}

.panel-number {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.dental-panels h3 {
  max-width: 700px;
  margin: 13px 0;
  font-size: 48px;
}

.dental-question {
  max-width: 760px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
}

.dental-detail-grid {
  display: grid;
  margin: 34px 0;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.dental-detail-grid > div {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.dental-detail-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dental-detail-grid p,
.dental-detail-grid li {
  color: var(--muted);
  font-size: 13px;
}

.dental-detail-grid ul {
  margin: 0;
  padding-left: 17px;
}

.dental-panels article > a {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dental-arch {
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 320px;
  height: 230px;
  opacity: 0.095;
  transform: rotate(-8deg);
}

.dental-arch span {
  position: absolute;
  width: 64px;
  height: 100px;
  border: 7px solid var(--navy);
  border-radius: 50% 50% 42% 42%;
}

.dental-arch span:nth-child(1) {
  left: 0;
  bottom: 15px;
  transform: rotate(-30deg);
}

.dental-arch span:nth-child(2) {
  left: 58px;
  bottom: 53px;
  transform: rotate(-15deg);
}

.dental-arch span:nth-child(3) {
  left: 128px;
  bottom: 68px;
}

.dental-arch span:nth-child(4) {
  left: 198px;
  bottom: 53px;
  transform: rotate(15deg);
}

.dental-arch span:nth-child(5) {
  left: 256px;
  bottom: 15px;
  transform: rotate(30deg);
}

.dental-arch strong {
  position: absolute;
  top: -15px;
  left: 120px;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 60px;
}

/* Specialist selector */

.specialist-selector {
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  background: var(--navy-deep);
  color: var(--white);
}

.selector-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.62fr) minmax(0, 1.38fr);
  gap: 85px;
  align-items: start;
}

.selector-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(51px, 5vw, 76px);
}

.selector-copy > p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.63);
}

.selector-copy label {
  margin-top: 34px;
}

.selector-copy label > span {
  color: rgba(255, 253, 248, 0.62);
}

.selector-copy select {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--navy);
  color: var(--white);
}

.selector-result {
  min-height: 460px;
  padding: 46px;
  border: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 90% 8%, rgba(174, 131, 80, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.selector-result > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selector-result h3 {
  max-width: 710px;
  margin: 18px 0;
  font-size: 48px;
}

.selector-result > p {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.66);
}

.selector-checks {
  display: grid;
  margin-top: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-light);
}

.selector-checks div {
  min-height: 160px;
  padding: 22px;
  background: #11262e;
}

.selector-checks strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bronze-bright);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selector-checks p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
}

.specialty-cloud {
  display: flex;
  margin-top: 64px;
  flex-wrap: wrap;
  gap: 8px;
}

.specialty-cloud span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 253, 248, 0.61);
  font-size: 11px;
}

/* Journey */

.journey-interface {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}

.journey-track button {
  position: relative;
  min-height: 116px;
  padding: 20px 13px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.journey-track button:last-child {
  border-right: 0;
}

.journey-track button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--bronze);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.journey-track button[aria-selected="true"] {
  background: var(--white);
}

.journey-track button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.journey-track span {
  display: block;
  margin-bottom: 16px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
}

.journey-track small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.25;
}

.journey-panels {
  min-height: 410px;
  padding: 54px;
}

.journey-panels article {
  animation: panel-in 240ms ease both;
}

.journey-number {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.journey-panels h3 {
  margin: 13px 0 34px;
  font-size: 49px;
}

.journey-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.journey-columns div {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
}

.journey-columns strong {
  display: block;
  margin-bottom: 10px;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Coverage */

.coverage {
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  background: #283d43;
  color: var(--white);
}

.coverage-interface {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 35px;
  align-items: stretch;
}

.canary-map {
  position: relative;
  min-height: 520px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.canary-map > img {
  position: absolute;
  inset: 48px 25px auto;
  width: calc(100% - 50px);
  height: auto;
  opacity: 0.3;
  filter: invert(96%) sepia(8%) saturate(360%) hue-rotate(339deg) brightness(104%);
}

.canary-map > small {
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: rgba(255, 253, 248, 0.37);
  font-size: 9px;
}

.island-point {
  position: absolute;
  z-index: 2;
  display: flex;
  padding: 0;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 253, 248, 0.72);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.island-point span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--bronze-bright);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 5px rgba(201, 160, 108, 0.12);
}

.island-point:hover,
.island-point.is-active {
  color: var(--bronze-bright);
}

.island-point.is-active span {
  background: var(--bronze-bright);
}

.island-hierro {
  top: 75%;
  left: 10%;
}

.island-palma {
  top: 31%;
  left: 13%;
}

.island-gomera {
  top: 64%;
  left: 28%;
}

.island-tenerife {
  top: 48%;
  left: 37%;
}

.island-gran-canaria {
  top: 69%;
  left: 52%;
}

.island-fuerteventura {
  top: 52%;
  left: 70%;
}

.island-lanzarote {
  top: 26%;
  left: 80%;
}

.coverage-detail {
  padding: 45px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
}

.coverage-detail > span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coverage-detail h3 {
  margin: 18px 0;
  font-size: 48px;
}

.coverage-detail p {
  color: var(--muted);
}

.coverage-detail ul {
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.coverage-detail li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

/* Case library */

.case-library-interface {
  display: grid;
  grid-template-columns: 395px minmax(0, 1fr);
  gap: 18px;
}

.case-pattern-tabs {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.case-pattern-tabs button {
  min-height: 146px;
  padding: 25px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.case-pattern-tabs button[aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.case-pattern-tabs button span {
  display: block;
  margin-bottom: 12px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-pattern-tabs button strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.case-pattern-panels {
  min-height: 470px;
  padding: 48px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.case-pattern-panels article {
  animation: panel-in 240ms ease both;
}

.case-pattern-panels article > span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-pattern-panels h3 {
  max-width: 780px;
  margin: 16px 0 30px;
  font-size: 47px;
}

.case-pattern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.case-pattern-grid > div {
  min-height: 165px;
  padding: 22px;
  background: var(--white);
}

.case-pattern-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-pattern-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Team */

.team {
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  background: var(--navy-deep);
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.profile-card {
  position: relative;
  min-height: 560px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.profile-yarina {
  background:
    radial-gradient(circle at 95% 5%, rgba(174, 131, 80, 0.22), transparent 35%),
    #142b34;
}

.profile-alfredo {
  background:
    radial-gradient(circle at 95% 5%, rgba(111, 117, 94, 0.24), transparent 35%),
    #142b34;
}

.profile-mark {
  position: absolute;
  right: -3px;
  bottom: -72px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: 240px;
  line-height: 1;
}

.profile-card > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0;
  font-size: 46px;
}

.profile-card > p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: rgba(255, 253, 248, 0.67);
}

.profile-card ul {
  position: relative;
  z-index: 1;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.profile-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
}

.team-rule {
  display: grid;
  margin-top: 18px;
  padding: 27px 34px;
  grid-template-columns: 180px 1fr;
  gap: 35px;
  border: 1px solid var(--line-light);
}

.team-rule strong {
  color: var(--bronze-bright);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-rule p {
  margin: 0;
  color: rgba(255, 253, 248, 0.65);
}

/* Contextual contact */

.context-contact {
  background: var(--cream);
}

.context-heading {
  max-width: 900px;
  margin-bottom: 58px;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.context-grid article {
  display: flex;
  min-height: 285px;
  padding: 29px;
  flex-direction: column;
  background: var(--paper);
}

.context-grid article > span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
}

.context-grid h3 {
  margin: 55px 0 auto;
  font-size: 31px;
}

.context-grid a {
  display: flex;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.context-grid article:hover {
  background: var(--white);
}

/* FAQ and footer */

.faq {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  grid-template-columns: 0.65fr 1fr;
  gap: 90px;
  background: #20383f;
  color: var(--white);
}

.faq-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.faq-heading h2 {
  font-size: clamp(50px, 5vw, 72px);
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  display: grid;
  padding: 27px 0;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--bronze-bright);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
}

.faq-list details p {
  padding: 0 0 28px 58px;
  color: rgba(255, 253, 248, 0.65);
}

.floating-actions {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  display: flex;
  padding: 5px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 28, 35, 0.92);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.floating-actions a {
  padding: 10px 13px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.floating-actions a:first-child {
  background: var(--bronze);
}

footer {
  display: grid;
  padding: 76px max(40px, calc((100vw - var(--max)) / 2)) 44px;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 55px;
  background: var(--paper);
  color: var(--ink);
}

.footer-brand img {
  width: 310px;
  height: 95px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-location strong,
.footer-location span {
  display: block;
}

.footer-location strong {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.footer-location span {
  color: var(--muted);
  font-size: 12px;
}

.footer-legal,
.footer-attribution {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7b8587;
  font-size: 10px;
}

.footer-attribution {
  margin-top: -42px;
  padding-top: 0;
  border: 0;
}

.footer-attribution a {
  text-decoration: underline;
}

/* Technology page */

.technology-page {
  background: var(--cream);
}

.tech-hero {
  display: grid;
  min-height: 760px;
  padding: 175px max(40px, calc((100vw - var(--max)) / 2)) 90px;
  grid-template-columns: 1.2fr 0.6fr;
  gap: 80px;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(174, 131, 80, 0.2), transparent 28%),
    var(--navy-deep);
  color: var(--white);
}

.tech-hero-copy h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(61px, 7vw, 106px);
}

.tech-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.tech-signature {
  padding: 34px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.tech-signature > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tech-signature ol {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.tech-signature li {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 40px 1fr;
  border-top: 1px solid var(--line-light);
}

.tech-signature li strong {
  color: var(--bronze-bright);
  font-size: 10px;
}

.tech-signature li p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
}

.tech-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.tech-service-grid article {
  min-height: 300px;
  padding: 32px;
  background: var(--paper);
}

.tech-service-grid article > span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
}

.tech-service-grid h3 {
  margin: 45px 0 15px;
}

.tech-service-grid p {
  color: var(--muted);
  font-size: 14px;
}

.tech-process-page {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
  grid-template-columns: 0.75fr 1fr;
  gap: 95px;
  background: var(--navy);
  color: var(--white);
}

.tech-process-page > div:first-child > p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.63);
}

.tech-process-list article {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 55px 1fr;
  gap: 15px;
  border-top: 1px solid var(--line-light);
}

.tech-process-list article > span {
  color: var(--bronze-bright);
  font-size: 10px;
  font-weight: 800;
}

.tech-process-list h3 {
  margin-bottom: 7px;
}

.tech-process-list p {
  margin: 0;
  color: rgba(255, 253, 248, 0.63);
}

.tech-closing {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 90px;
  align-items: start;
}

.tech-closing > div:last-child p {
  color: var(--muted);
}

/* Print */

@media print {
  body.print-brief > * {
    display: none !important;
  }

  body.print-brief main {
    display: block !important;
    overflow: visible;
  }

  body.print-brief main > * {
    display: none !important;
  }

  body.print-brief .law-firms {
    display: block !important;
    padding: 0;
    background: white;
    color: black;
  }

  body.print-brief .law-firms > * {
    display: none !important;
  }

  body.print-brief .briefing-builder {
    display: block !important;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  body.print-brief .briefing-builder > * {
    display: none !important;
  }

  body.print-brief .brief-output {
    display: block !important;
    border: 0;
  }

  body.print-brief .brief-output-actions {
    display: none !important;
  }
}

/* Responsive */

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-header nav {
    gap: 17px;
  }

  .site-header nav a {
    font-size: 11px;
  }

  .hero-modern {
    gap: 48px;
  }

  .positioning {
    grid-template-columns: 100px minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 40px;
  }

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

  .dental-detail-grid,
  .selector-checks {
    grid-template-columns: 1fr;
  }

  .dental-detail-grid > div,
  .selector-checks div {
    min-height: 0;
  }

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

@media (max-width: 1050px) {
  .site-header {
    min-height: 78px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .brand-image {
    width: 205px;
    height: 56px;
  }

  .brand-image img {
    width: 195px;
    height: 56px;
  }

  .site-header nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 24px 27px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-header.nav-open nav {
    display: flex;
  }

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

  .menu-toggle {
    display: grid;
    margin-right: 9px;
    grid-column: 2;
  }

  .site-header.nav-open .menu-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  .header-cta {
    grid-column: 3;
  }

  .hero-modern {
    min-height: 0;
    padding-top: 145px;
    grid-template-columns: 1fr;
  }

  .audience-gateway {
    min-height: 0;
  }

  .positioning,
  .orienter,
  .law-firms-heading,
  .team-heading,
  .coverage-heading,
  .selector-layout,
  .faq,
  .tech-hero,
  .tech-process-page,
  .tech-closing {
    grid-template-columns: 1fr;
  }

  .positioning .section-index {
    margin: 0;
  }

  .orienter-intro,
  .faq-heading {
    position: static;
  }

  .law-value-grid,
  .briefing-builder,
  .dental-interface,
  .coverage-interface,
  .case-library-interface {
    grid-template-columns: 1fr;
  }

  .briefing-builder {
    padding: 42px;
  }

  .dental-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dental-tabs button {
    min-height: 70px;
  }

  .journey-track {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .journey-track button:nth-child(3) {
    border-right: 0;
  }

  .journey-track button:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

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

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

@media (max-width: 760px) {
  .section {
    width: min(calc(100% - 36px), var(--max));
    padding: 82px 0;
  }

  .site-header {
    padding: 9px 14px;
  }

  .brand-image {
    width: 168px;
  }

  .brand-image img {
    width: 165px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    margin: 0;
    grid-column: 2;
  }

  .hero-modern {
    padding: 128px 18px 72px;
    gap: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .hero-lead {
    font-size: 16px;
  }

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

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

  .hero-proof {
    margin-top: 34px;
  }

  .audience-gateway {
    padding: 22px;
  }

  .gateway-tabs {
    grid-template-columns: 1fr;
  }

  .gateway-tabs button + button {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .gateway-panel h2 {
    font-size: 38px;
  }

  .expertise-ribbon {
    justify-content: flex-start;
  }

  .expertise-ribbon span,
  .expertise-ribbon a {
    padding: 0 16px;
  }

  .section-heading,
  .law-firms-heading,
  .team-heading,
  .coverage-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 44px;
  }

  .positioning {
    gap: 28px;
  }

  .positioning-note,
  .team-rule {
    grid-template-columns: 1fr;
  }

  .orienter,
  .law-firms,
  .specialist-selector,
  .coverage,
  .team,
  .faq,
  .tech-process-page {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .orienter {
    gap: 45px;
  }

  .case-wizard {
    min-height: 0;
    padding: 22px;
  }

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

  .choice-grid-two,
  .choice-grid-three,
  .form-row,
  .orientation-route,
  .brief-output-grid,
  .dental-tabs,
  .journey-columns,
  .case-pattern-grid {
    grid-template-columns: 1fr;
  }

  .choice-card,
  .choice-card.compact {
    min-height: 112px;
  }

  .wizard-navigation,
  .result-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .wizard-navigation .button,
  .result-actions .button {
    width: 100%;
  }

  .law-services,
  .context-grid {
    grid-template-columns: 1fr;
  }

  .legal-value-card,
  .briefing-builder,
  .dental-panels,
  .selector-result,
  .journey-panels,
  .coverage-detail,
  .case-pattern-panels,
  .profile-card {
    padding: 28px;
  }

  .legal-value-card > div {
    grid-template-columns: 1fr;
  }

  .briefing-builder {
    gap: 38px;
  }

  .dental-panels {
    min-height: 760px;
  }

  .dental-tabs {
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    scrollbar-width: none;
  }

  .dental-tabs button {
    min-width: 240px;
  }

  .selector-result h3,
  .dental-panels h3,
  .journey-panels h3,
  .case-pattern-panels h3 {
    font-size: 38px;
  }

  .journey-track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .journey-track button {
    min-width: 160px;
    border-bottom: 0 !important;
  }

  .canary-map {
    min-height: 390px;
  }

  .island-point {
    font-size: 0;
  }

  .island-point span {
    width: 14px;
    height: 14px;
  }

  .case-pattern-tabs {
    overflow-x: auto;
    flex-direction: row;
  }

  .case-pattern-tabs button {
    min-width: 285px;
  }

  .context-grid article {
    min-height: 220px;
  }

  .context-grid h3 {
    margin-top: 30px;
  }

  .floating-actions {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    border: 0;
  }

  .floating-actions a {
    display: flex;
    min-height: 48px;
    flex: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  footer {
    padding: 64px 18px 88px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-legal,
  .footer-attribution {
    grid-column: 1;
  }

  .footer-attribution {
    margin-top: -12px;
  }

  .tech-hero {
    padding: 140px 18px 70px;
  }

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

@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;
  }
}
