:root {
  --bg: #f5f2eb;
  --surface: #fbfaf7;
  --surface-strong: #f0ebe2;
  --surface-deep: #112338;
  --surface-deeper: #0d1b2c;
  --text: #18202b;
  --muted: #566170;
  --line: rgba(24, 32, 43, 0.12);
  --line-strong: rgba(24, 32, 43, 0.18);
  --primary: #183153;
  --primary-strong: #10253f;
  --accent: #b08d57;
  --accent-soft: rgba(176, 141, 87, 0.14);
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px rgba(17, 27, 44, 0.08);
  --shadow-soft: 0 14px 34px rgba(17, 27, 44, 0.05);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(176, 141, 87, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f4ef 0%, #f5f2eb 100%);
  color: var(--text);
  line-height: 1.65;
}

body::selection {
  background: rgba(24, 49, 83, 0.12);
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.page-shell {
  position: relative;
}

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

.section-divider {
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 32, 43, 0.08), transparent);
}

.soft-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.82));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

h1, h2, h3, .brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

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

h1 {
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 0.98;
  max-width: 11ch;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.9);
  border-color: rgba(24, 32, 43, 0.08);
  box-shadow: 0 10px 30px rgba(17, 27, 44, 0.05);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 1.6rem;
  color: var(--text);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav > a:not(.button) {
  position: relative;
  font-size: 0.97rem;
  color: var(--text);
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #1b3557 0%, #112843 100%);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(17, 40, 67, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 34px rgba(17, 40, 67, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  border-color: rgba(24, 32, 43, 0.12);
}

.button-block {
  width: 100%;
}

.hero {
  padding: 72px 0 108px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.trust-card,
.practice-card,
.timeline-step,
.contact-panel,
.metrics-band,
.faq-list details {
  will-change: transform, opacity;
}

.hero-lead {
  max-width: 67ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.hero-signals {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-signals li {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  font-size: 0.94rem;
}

.hero-panel {
  display: flex;
}

.panel-frame {
  width: 100%;
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(176, 141, 87, 0.05), transparent 55%);
  border: 1px solid rgba(24, 32, 43, 0.09);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel-frame::before,
.panel-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(24, 32, 43, 0.05);
  pointer-events: none;
}

.panel-frame::after {
  inset: auto 24px 24px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border-color: rgba(176, 141, 87, 0.14);
}

.panel-label,
.practice-label,
.metric-title,
.footer-label,
.form-intro p {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.panel-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(24, 32, 43, 0.08);
}

.panel-item:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.panel-item span,
.timeline-step span,
.trust-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
}

.panel-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.04rem;
}

.panel-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 32, 43, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.metrics-band {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.52));
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metrics-grid > div {
  padding: 18px 22px;
  border: 1px solid rgba(24, 32, 43, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.metrics-grid p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

.services-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.trust-card,
.practice-card,
.contact-form,
.contact-copy {
  border-radius: var(--radius);
  border: 1px solid rgba(24, 32, 43, 0.09);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 28px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(176, 141, 87, 0.34);
  box-shadow: 0 24px 42px rgba(17, 27, 44, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.service-card i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 1.1rem;
}

.service-card p,
.trust-card p,
.practice-card p,
.timeline-step p,
.contact-copy p,
.contact-form p,
.faq-list p,
.site-footer p {
  margin-bottom: 0;
}

.accent-card {
  background: linear-gradient(180deg, rgba(17, 40, 67, 0.97), rgba(15, 29, 47, 0.97));
  color: var(--white);
}

.accent-card h3,
.accent-card p,
.accent-card i {
  color: inherit;
}

.accent-card i {
  background: rgba(255, 255, 255, 0.1);
}

.trust-card {
  padding: 30px;
}

.trust-card span {
  margin-bottom: 22px;
}

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

.practice-card {
  padding: 30px;
}

.practice-card.large {
  grid-row: span 2;
  min-height: 100%;
}

.practice-header {
  margin-bottom: 18px;
}

.practice-label {
  margin-bottom: 12px;
}

.practice-card ul {
  margin: 18px 0 26px;
  padding-left: 18px;
  color: var(--muted);
}

.practice-card li + li {
  margin-top: 10px;
}

.micro-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
}

.micro-cta::after {
  content: "↗";
  font-size: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 60px;
  right: 60px;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 141, 87, 0.28), rgba(24, 49, 83, 0.25));
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(24, 32, 43, 0.09);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.timeline-step span {
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(176, 141, 87, 0.18), rgba(24, 49, 83, 0.09));
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 32, 43, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.faq-list details[open] {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(176, 141, 87, 0.3);
}

.faq-list details:hover {
  transform: translateY(-2px);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  position: relative;
  font-weight: 600;
  color: var(--text);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.35rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 0 20px;
}

.contact {
  padding: 112px 0 124px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(17, 40, 67, 0.97), rgba(13, 27, 44, 0.98));
  box-shadow: 0 34px 72px rgba(8, 16, 28, 0.24);
}

.contact-copy,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-copy {
  padding: 34px;
}

.contact-copy .eyebrow,
.contact-copy h2,
.contact-copy strong,
.contact-copy span,
.contact-copy small,
.confidentiality-note i,
.form-intro h3,
.form-intro p,
.contact-form label {
  color: var(--white);
}

.contact-copy p,
.contact-form p,
.contact-form input,
.contact-form textarea {
  color: rgba(255, 255, 255, 0.82);
}

.contact-points {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.contact-points div {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.contact-points span,
.contact-points small {
  display: block;
}

.contact-points span,
.contact-points small {
  font-size: 0.85rem;
}

.contact-points strong {
  display: block;
  margin: 6px 0;
  font-size: 1.05rem;
}

.confidentiality-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-shell {
  display: flex;
}

.contact-form {
  width: 100%;
  padding: 34px;
}

.form-intro {
  margin-bottom: 20px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(176, 141, 87, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
}

.form-success {
  display: none;
  margin-top: 14px;
  color: #dfeee0 !important;
}

.contact-form.is-submitted .form-success {
  display: block;
}

.site-footer {
  padding: 30px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.95fr;
  gap: 28px;
  padding-top: 6px;
}

.site-footer strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.footer-label {
  display: block;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.2s; }
.reveal-delay-4 { transition-delay: 0.26s; }

@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }

  .hero-grid,
  .split-heading,
  .practice-grid,
  .faq-grid,
  .contact-panel,
  .footer-grid,
  .metrics-grid,
  .timeline,
  .services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .practice-card.large {
    grid-row: auto;
  }

  .timeline::before {
    display: none;
  }
}

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

  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px;
    background: rgba(251, 250, 247, 0.98);
    border: 1px solid rgba(24, 32, 43, 0.08);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(17, 27, 44, 0.12);
  }

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

  .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    max-width: none;
  }

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

  .contact-panel,
  .contact-copy,
  .contact-form,
  .panel-frame,
  .service-card,
  .trust-card,
  .practice-card,
  .timeline-step {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.58;
  }

  .brand-text strong {
    font-size: 1.35rem;
  }

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

  .hero-actions,
  .hero-signals {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-signals li {
    width: 100%;
  }

  .contact-points div {
    padding: 16px;
  }
}

