:root {
  --ink: #11100d;
  --ink-soft: #2a2721;
  --paper: #f7f5ef;
  --paper-2: #ebe7dc;
  --white: #fffdf8;
  --gold: #b2a161;
  --gold-deep: #867642;
  --sage: #5c6b5e;
  --wine: #6c2f2d;
  --line: rgba(17, 16, 13, 0.14);
  --shadow: 0 24px 70px rgba(17, 16, 13, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(17, 16, 13, 0.08);
  backdrop-filter: blur(18px);
  transition: padding 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(247, 245, 239, 0.96);
}

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

.brand-mark {
  width: 42px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text em {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: normal;
  line-height: 0.85;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(17, 16, 13, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

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

.header-contact,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
}

.header-contact {
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}

.header-contact svg,
.btn svg,
.contact-links svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 152px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
  background: var(--ink);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.93) 0%, rgba(17, 16, 13, 0.78) 36%, rgba(17, 16, 13, 0.26) 100%),
    linear-gradient(0deg, rgba(17, 16, 13, 0.72), rgba(17, 16, 13, 0.05) 46%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.08;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.btn {
  padding: 0 22px;
}

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #c7b774;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  z-index: 3;
  width: min(320px, calc(100vw - 40px));
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin-bottom: 12px;
  color: rgba(17, 16, 13, 0.7);
}

.hero-panel a {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
}

.intro-band,
.credibility-band,
.profile-section,
.practice-section,
.method-section,
.insights-section,
.contact-section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-content {
  max-width: 920px;
}

.intro-content p,
.profile-copy p,
.method-copy p,
.contact-copy p {
  color: rgba(17, 16, 13, 0.68);
  font-size: 1.05rem;
}

.intro-metrics {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-metrics div {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
}

.intro-metrics strong {
  display: block;
  margin-bottom: 28px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2.2rem;
}

.intro-metrics span {
  color: rgba(17, 16, 13, 0.76);
  font-weight: 600;
}

.credibility-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.credibility-band div {
  min-height: 190px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper-2);
}

.credibility-band span {
  display: block;
  margin-bottom: 38px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
}

.credibility-band p {
  margin: 0;
  color: rgba(17, 16, 13, 0.66);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.profile-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 248, 0.2);
}

.profile-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-copy p {
  color: rgba(255, 253, 248, 0.72);
}

.signature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: var(--gold);
  font-weight: 700;
}

.signature-row img {
  width: 54px;
  filter: invert(1);
  opacity: 0.78;
}

.practice-section,
.insights-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(17, 16, 13, 0.64);
}

.featured-practices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.featured-practices article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--white);
  background: var(--ink-soft);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 8px;
}

.featured-practices span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-practices p {
  color: rgba(255, 253, 248, 0.72);
}

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

.practice-card {
  min-height: 292px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 245, 239, 0.5), rgba(247, 245, 239, 0));
}

.practice-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 2rem;
}

.practice-card p,
.insight-list p,
.legal-note {
  color: rgba(17, 16, 13, 0.62);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(34px, 6vw, 90px);
  background: var(--paper-2);
}

.method-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-list li {
  position: relative;
  padding: 24px 24px 24px 76px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-list li::before {
  counter-increment: method;
  content: counter(method, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 25px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.method-list span {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.method-list p {
  margin: 0;
  color: rgba(17, 16, 13, 0.62);
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.insight-list article {
  min-height: 210px;
  padding: 30px;
  background: var(--paper);
}

.insight-list article p {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  background: var(--ink);
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 253, 248, 0.72);
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 16, 13, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bot-field {
  display: none;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(17, 16, 13, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

.contact-form .consent a {
  color: var(--gold-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 16, 13, 0.18);
  border-radius: 8px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(178, 161, 97, 0.18);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 180px;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(17, 16, 13, 0.64);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-weight: 700;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: rgba(17, 16, 13, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.legal-note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
}

.legal-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 60px);
  background: var(--paper);
}

.legal-document {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.legal-brand img {
  width: 48px;
}

.legal-brand span {
  display: grid;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.legal-document h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.legal-document h2 {
  margin: 34px 0 12px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-document p,
.legal-document li {
  color: rgba(17, 16, 13, 0.68);
}

.legal-document ul {
  padding-left: 20px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.legal-nav a {
  color: var(--gold-deep);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    linear-gradient(120deg, rgba(17, 16, 13, 0.92), rgba(17, 16, 13, 0.78)),
    url("assets/images/hero-office.webp") center / cover;
}

.thanks-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 58px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card img {
  width: 210px;
  margin-bottom: 36px;
}

.thanks-card h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.thanks-card p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(17, 16, 13, 0.68);
}

.thanks-card .btn {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 44px;
  }

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

  .brand-text em {
    font-size: 1.25rem;
  }

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

  .site-nav,
  .header-contact {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 40px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }

  .intro-band,
  .credibility-band,
  .section-heading,
  .profile-section,
  .method-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-metrics {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .practice-grid,
  .featured-practices,
  .insight-list {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .practice-grid,
  .credibility-band,
  .featured-practices,
  .insight-list,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

  .practice-card {
    min-height: auto;
  }
}
