/* ============================================================
   Sterling & Vance Solicitors LLP — Site Stylesheet (v2)
   Typography: Cormorant Garamond (display) + Inter (text)
   Palette:    Deep navy, warm ivory, antique gold
   ============================================================ */

:root {
  /* Colour */
  --navy-950: #070e1b;
  --navy-900: #0b1628;
  --navy-800: #11213a;
  --navy-700: #1a3050;
  --navy-600: #25405f;
  --navy-100: #d9e1ec;

  --gold-700: #8f6d24;
  --gold-600: #a8822f;
  --gold-500: #c19a4e;
  --gold-400: #d4b36c;
  --gold-300: #e3cb93;
  --gold-200: #efe0bd;
  --gold-100: #f7f0e0;

  --ivory:    #f7f4ee;
  --ivory-2:  #f1ece2;
  --paper:    #ffffff;

  --ink:       #151c28;
  --ink-soft:  #4a5462;
  --ink-muted: #717a88;

  --line:        #e5dfd3;
  --line-strong: #d3cbbb;
  --line-dark:   rgba(255, 255, 255, 0.10);

  --danger: #b3261e;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(11, 22, 40, 0.05), 0 4px 14px rgba(11, 22, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 22, 40, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 22, 40, 0.22);
  --shadow-gold: 0 10px 26px rgba(168, 130, 47, 0.32);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Gherkin-inspired diamond lattice (30 St Mary Axe) */
  --lattice-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M0 32 32 0l32 32-32 32z' fill='none' stroke='%23c19a4e' stroke-opacity='0.22' stroke-width='1'/%3E%3C/svg%3E");
  --lattice-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M0 32 32 0l32 32-32 32z' fill='none' stroke='%230b1628' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-600);
}

ul,
ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

/* Keep in-page anchor targets clear of the sticky header. This lives on the
   targets (not html's scroll-padding) so focusing the header's own buttons and
   links never makes the browser scroll the page. 120px also absorbs the 24px
   fade-in slide of .reveal blocks if a link is clicked mid-animation. */
[id] {
  scroll-margin-top: 120px;
}

button {
  font: inherit;
}

::selection {
  background: var(--gold-300);
  color: var(--navy-950);
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2.05rem, 3.7vw, 3rem); }
h3 { font-size: 1.6rem; line-height: 1.2; }

h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-900);
}

p {
  text-wrap: pretty;
}

em.accent {
  font-style: italic;
  color: var(--gold-500);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 44em;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.9rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  margin-bottom: 1rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head.split > div {
  max-width: 680px;
}

/* Stack helpers (prose spacing inside columns) */
.stack > * + * {
  margin-top: 1.1rem;
}

.stack-lg > * + * {
  margin-top: 1.6rem;
}

.stack p {
  color: var(--ink-soft);
}

.stack .lead {
  color: var(--ink-soft);
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--container-narrow), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section.tight {
  padding: 4.5rem 0;
}

.section.on-paper {
  background: var(--paper);
}

.section.on-ivory {
  background: var(--ivory);
}

.section.on-navy {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(193, 154, 78, 0.12), transparent 60%),
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.82);
}

.section.on-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  pointer-events: none;
}

.section.on-navy > .container {
  position: relative;
  z-index: 1;
}

.section.on-navy h2,
.section.on-navy h3 {
  color: #fff;
}

.section.on-navy .eyebrow {
  color: var(--gold-400);
}

.section.on-navy .lead {
  color: rgba(255, 255, 255, 0.72);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.grid-2.top {
  align-items: flex-start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(168, 130, 47, 0.42);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-outline-dark {
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.btn-navy {
  background: var(--navy-900);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 0.86rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  position: relative;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--navy-900);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -70px;
  left: 1rem;
  z-index: 400;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.75rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--navy-950);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar-items {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.topbar-item a {
  color: rgba(255, 255, 255, 0.78);
}

.topbar-item a:hover {
  color: var(--gold-400);
}

.topbar-login {
  font-weight: 600;
  color: var(--gold-400) !important;
  letter-spacing: 0.04em;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  /* No backdrop-filter here: it would make the header the containing block
     for the fixed mobile drawer inside it, pushing the drawer off-screen. */
  background: rgba(7, 14, 27, 0.97);
  border-bottom-color: rgba(193, 154, 78, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}

.brand-name .amp {
  color: var(--gold-400);
  font-style: italic;
  font-weight: 500;
}

.brand-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 0.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

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

.nav-cta {
  padding: 0.78rem 1.4rem;
  font-size: 0.76rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.7rem 0.75rem;
  z-index: 320;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 27, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 290;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Lock scrolling on the root element (not body): overflow on body would turn
   it into its own scroll container and un-stick the sticky header. */
html.nav-open {
  overflow: hidden;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 560px at 88% 10%, rgba(193, 154, 78, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(37, 64, 95, 0.55), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(800px 600px at 85% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(800px 600px at 85% 40%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-glyph {
  position: absolute;
  right: -2vw;
  bottom: -14vw;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22rem, 46vw, 40rem);
  line-height: 1;
  color: rgba(193, 154, 78, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  padding: 6.5rem 0 6rem;
}

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

.hero h1 {
  color: #fff;
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-400);
}

.hero-copy > p {
  font-size: 1.18rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36em;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.hero-meta span {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero panel — the "credentials card" */
.hero-panel {
  position: relative;
  padding: 2.6rem 2.4rem 2.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(193, 154, 78, 0.28);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.hero-panel-mono {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel-mono svg {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.hero-panel-mono strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.hero-panel-mono span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 0.35rem;
}

.hero-panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.hero-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
  line-height: 1.5;
}

.hero-panel-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hero-panel-list li strong {
  color: #fff;
  font-weight: 600;
}

.hero-panel-foot {
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-panel-foot a {
  color: var(--gold-400);
  font-weight: 600;
}

.hero-panel-foot a:hover {
  color: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(193, 154, 78, 0.45);
  background: rgba(193, 154, 78, 0.08);
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(193, 154, 78, 0.22);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem 1.6rem;
  border-left: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.35;
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 92% 0%, rgba(193, 154, 78, 0.16), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #fff;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(700px 400px at 90% 50%, #000 0%, transparent 70%);
          mask-image: radial-gradient(700px 400px at 90% 50%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero .hero-glyph {
  bottom: -12vw;
  font-size: clamp(16rem, 30vw, 26rem);
}

.page-hero .eyebrow {
  color: var(--gold-400);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 1.1rem;
  max-width: 14em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 44em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb span[aria-hidden] {
  color: var(--gold-500);
}

/* ---------- Sub navigation (jump links) ---------- */
.subnav {
  position: sticky;
  top: 84px;
  z-index: 200;
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.subnav .container {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.subnav .container::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}

.subnav a:hover {
  color: var(--navy-900);
  border-color: var(--line-strong);
}

.subnav a.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  flex-shrink: 0;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.card:hover .card-icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-400);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-500);
  letter-spacing: 0.04em;
}

.card h3 {
  font-size: 1.55rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  flex-grow: 1;
}

.card .text-link {
  margin-top: 0.4rem;
}

/* ---------- Feature list (on navy) ---------- */
.feature {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(193, 154, 78, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(193, 154, 78, 0.12);
  border: 1px solid rgba(193, 154, 78, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- Checklist ---------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.5em;
  width: 0.48rem;
  height: 0.26rem;
  border-left: 2px solid var(--gold-700);
  border-bottom: 2px solid var(--gold-700);
  transform: rotate(-45deg);
}

.on-navy .checklist li {
  color: rgba(255, 255, 255, 0.8);
}

.on-navy .checklist li::before {
  background: rgba(193, 154, 78, 0.12);
  border-color: var(--gold-500);
}

.on-navy .checklist li::after {
  border-color: var(--gold-400);
}

/* ---------- Visual panels ---------- */
.visual-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(193, 154, 78, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.4rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
          mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
  z-index: -1;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(193, 154, 78, 0.3);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.visual-panel .chip {
  align-self: flex-start;
}

.visual-mono {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: 1;
  color: var(--gold-400);
  letter-spacing: -0.02em;
  margin: 1rem 0;
}

.visual-mono .amp {
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

.visual-caption {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.visual-caption strong {
  color: #fff;
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
}

.visual-address {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
  font-style: normal;
}

.visual-address svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Stat strip (inside light sections) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.stat {
  padding: 1.3rem 1.4rem;
  border-left: 2px solid var(--gold-400);
  background: var(--ivory);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.1;
}

.stat span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- Profile ---------- */
.profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
}

.profile-visual {
  position: relative;
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(193, 154, 78, 0.2), transparent 60%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  isolation: isolate;
}

.profile-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  z-index: -1;
}

.profile-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(193, 154, 78, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.profile-initials {
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
}

.profile-visual .role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1rem;
  text-align: center;
}

.profile-body {
  padding: 3rem 3rem 2.8rem;
}

.profile-body h3 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.profile-body .profile-title {
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.profile-body p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.profile-body .btn,
.profile-body .text-link {
  margin-top: 0.6rem;
}

.profile-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 1.4rem;
}

.profile-tags li {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy-800);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 3.3rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.step {
  position: relative;
  padding: 2.3rem 2rem 2.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.3rem;
  box-shadow: 0 0 0 6px var(--paper);
}

.step h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

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

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.2s var(--ease);
}

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

.faq summary:hover {
  color: var(--gold-600);
}

.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-700);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-icon::before {
  width: 11px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 11px;
}

.faq[open] .faq-icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.faq[open] .faq-icon::before,
.faq[open] .faq-icon::after {
  background: var(--gold-400);
}

.faq[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-body {
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 62em;
}

.faq-body p + p {
  margin-top: 0.8rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(800px 320px at 12% 120%, rgba(193, 154, 78, 0.22), transparent 60%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  z-index: -1;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-band .eyebrow {
  color: var(--gold-400);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 36em;
  font-size: 1.05rem;
}

.cta-band .btn-row {
  flex-shrink: 0;
}

/* ---------- Practice area detail sections ---------- */
.practice-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.practice-section:nth-last-of-type(2),
.practice-section:has(+ .cta-band) {
  border-bottom: none;
}

.practice-section {
  scroll-margin-top: 140px;
}

.practice-section .grid-2 {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: flex-start;
  gap: 4rem;
}

.practice-index {
  position: absolute;
  top: 2rem;
  right: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 1;
  color: var(--navy-900);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}

.practice-section h2 {
  margin-bottom: 1.3rem;
}

.practice-side {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2.1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.practice-side::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-600), var(--gold-300));
}

.on-paper .practice-side {
  background: var(--ivory);
}

.practice-side h4 {
  color: var(--gold-700);
  margin-bottom: 1.2rem;
}

.practice-side .btn {
  margin-top: 1.6rem;
  width: 100%;
}

/* ---------- Prose (legal pages) ---------- */
.prose-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.toc {
  position: sticky;
  top: 110px;
}

.toc h4 {
  color: var(--gold-700);
  margin-bottom: 1rem;
}

.toc ol {
  border-left: 1px solid var(--line-strong);
}

.toc li a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  margin-left: -1px;
  line-height: 1.4;
  transition: all 0.2s var(--ease);
}

.toc li a:hover,
.toc li a.active {
  color: var(--navy-900);
  border-left-color: var(--gold-500);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.9rem;
  margin: 3rem 0 1rem;
  padding-top: 0.5rem;
}

.prose h2:first-child,
.prose .notice + h2 {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.7rem;
}

.prose p {
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  margin: 0 0 1.3rem 1.3rem;
  color: var(--ink-soft);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.prose li::marker {
  color: var(--gold-600);
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--gold-700);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--gold-300);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--navy-900);
  text-decoration-color: var(--navy-900);
}

.notice {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 2.2rem;
}

.notice strong {
  color: var(--gold-700);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field label .req {
  color: var(--gold-600);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
  -webkit-appearance: none;
          appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(193, 154, 78, 0.18);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12);
}

.form-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  line-height: 1.55;
}

.form-consent input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold-600);
  flex-shrink: 0;
  -webkit-appearance: auto;
          appearance: auto;
}

.form-consent a {
  color: var(--gold-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.form-error {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: #fdecea;
  border: 1px solid #f3c3bd;
  border-left: 3px solid var(--danger);
  color: #7c2018;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.form-error[hidden] {
  display: none;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-card {
  position: relative;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(193, 154, 78, 0.2), transparent 60%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 60%);
          mask-image: linear-gradient(200deg, #000 0%, transparent 60%);
  z-index: -1;
}

.contact-info-card h3 {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-dark);
}

.contact-row svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.contact-row a,
.contact-row span,
.contact-row address {
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-row a:hover {
  color: var(--gold-400);
}

.contact-row .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.25rem;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.map-frame {
  border: none;
  width: 100%;
  height: 440px;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

/* ---------- Centred panel (404 / thank you) ---------- */
.centered-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.centered-panel .card-icon {
  margin: 0 auto 1.6rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.centered-panel .card-icon svg {
  width: 32px;
  height: 32px;
}

.centered-panel h2 {
  margin-bottom: 1rem;
}

.centered-panel p {
  color: var(--ink-soft);
}

.centered-panel .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.66);
  padding: 5rem 0 0;
  font-size: 0.94rem;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lattice-gold);
  background-size: 64px 64px;
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(600px 400px at 0% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(600px 400px at 0% 0%, #000 0%, transparent 70%);
  z-index: -1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

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

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 30em;
  margin-bottom: 1.6rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1.4rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-400);
  padding-left: 0.3rem;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.6;
}

.footer-contact a:hover {
  padding-left: 0;
}

.footer-verify {
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.footer-verify .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.4rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-verify .fv-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-verify .fv-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.footer-verify strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-verify .fv-link {
  color: var(--gold-400);
  font-weight: 600;
}

.footer-verify .fv-link:hover {
  color: #fff;
}

.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links a:hover {
  color: var(--gold-400);
}

.footer-regulatory {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.25rem; }
.hide-mobile { display: inline-flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .profile-card {
    grid-template-columns: 300px 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
  }

  .prose-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .toc {
    position: static;
  }

  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-left: none;
  }

  .toc li a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    margin: 0;
  }

  .toc li a:hover,
  .toc li a.active {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: #fff;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    background: var(--navy-950);
    border-left: 1px solid rgba(193, 154, 78, 0.25);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6.5rem 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 310;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.4);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0.95rem 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    color: var(--gold-400);
  }

  .nav-cta {
    margin-top: 2rem;
    padding: 1rem 1.4rem;
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4.5rem 0 4.5rem;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .trust-item {
    padding: 1.2rem 1.2rem;
  }

  .trust-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .grid-2,
  .grid-3,
  .practice-section .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    gap: 2.5rem;
  }

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

  .steps::before {
    display: none;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-visual {
    min-height: 240px;
  }

  .profile-body {
    padding: 2.4rem 2rem;
  }

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

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

  .form-card {
    padding: 2rem 1.6rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .section {
    padding: 4.5rem 0;
  }

  .practice-section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 4rem 0 3.5rem;
  }

  .subnav {
    top: 84px;
  }

  .practice-section {
    scroll-margin-top: 128px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 380px;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .container,
  .container-narrow {
    width: min(var(--container), 100% - 2rem);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

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

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

  .site-header .container {
    min-height: 72px;
  }

  .subnav {
    top: 72px;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 1.4rem 2rem;
  }

  .trust-bar .container {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: none;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-items {
    justify-content: center;
    gap: 1rem;
  }

  .footer-verify .fv-item {
    display: inline;
    line-height: 1.8;
  }

  .footer-verify .fv-item svg {
    display: inline-block;
    vertical-align: -4px;
    margin-right: 0.3rem;
  }

  .hero-panel {
    padding: 2rem 1.6rem 1.8rem;
  }

  .faq summary {
    font-size: 1.2rem;
  }

  .practice-side .btn {
    width: 100%;
  }
}

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

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

  .btn,
  .card,
  .step,
  .feature,
  .main-nav,
  .nav-overlay,
  .faq-icon {
    transition: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .topbar,
  .site-header,
  .nav-overlay,
  .cta-band,
  .subnav,
  .site-footer .footer-verify,
  .map-wrap {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

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

  a {
    color: #000;
  }
}
