:root {
  --paper: #F3E6D4;
  --ink: #2A211C;
  --gold: #C4A35A;
  --shell: 1180px;
  --measure: 650px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins";
  font-weight: 300;
  line-height: 1.72;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.055;
  background: radial-gradient(circle at 15% 17%, var(--ink) 0 1px, transparent 1.5px), radial-gradient(circle at 72% 64%, var(--ink) 0 1px, transparent 1.5px);
  background-size: 17px 19px, 23px 29px;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display";
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.2rem, 7.4vw, 7.25rem);
}

h2 {
  margin-bottom: 1.45rem;
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

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

button,
input,
select,
textarea {
  color: var(--ink);
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

.section {
  padding: clamp(6rem, 11vw, 10rem) 0;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid var(--gold);
}

.compact-header {
  position: relative;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Playfair Display";
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  width: 27px;
  height: 27px;
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 4px 50%;
  transform: rotate(45deg);
}

.wordmark-mark::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 1px;
  top: 13px;
  left: 6px;
  background: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.main-nav > a:not(.button) {
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--gold);
}

.menu-button {
  display: none;
  width: 45px;
  height: 45px;
  padding: 10px;
  border: 1px solid var(--gold);
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 0.62rem 1.25rem;
}

.button-solid {
  background: var(--ink);
  color: var(--paper);
}

.button-solid:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button-outline,
.button-ghost {
  background: transparent;
}

.button-outline:hover,
.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 145px 0 64px;
  overflow: hidden;
  background: radial-gradient(circle at 82% 36%, var(--gold), transparent 29%), radial-gradient(circle at 10% 87%, var(--gold), transparent 24%), var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  opacity: 0.67;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 1040px;
}

.kicker {
  width: fit-content;
  margin-bottom: 1.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1050px;
  margin-bottom: 1.5rem;
}

.lead {
  max-width: 665px;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.stats {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(3.5rem, 7vw, 6.5rem) 0 0;
  border-top: 1px solid var(--gold);
}

.stats div {
  padding: 1.2rem 2rem 0 0;
}

.stats div + div {
  padding-left: 2rem;
  border-left: 1px solid var(--gold);
}

.stats dt {
  font-family: "Playfair Display";
  font-size: 1.8rem;
  font-weight: 600;
}

.stats dd {
  margin: 0;
  font-size: 0.76rem;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}

.orbit-one {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 18%;
}

.orbit-two {
  width: 120px;
  height: 120px;
  right: 17%;
  bottom: 11%;
}

.keyword-band {
  padding: 1.4rem 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.keyword-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Playfair Display";
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-style: italic;
}

.keyword-list i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--gold);
  transform: rotate(45deg);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: clamp(3rem, 8vw, 8rem);
}

.intro-copy {
  max-width: var(--measure);
}

.intro-copy > p:not(.kicker) {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 0.9rem 2rem;
  border-bottom: 1px solid var(--gold);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 10px;
  height: 5px;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.pull-panel {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--ink);
  color: var(--paper);
}

.panel-line {
  width: 72px;
  height: 2px;
  margin-bottom: 2rem;
  background: var(--gold);
}

.pull-panel p {
  margin-bottom: 2rem;
  font-family: "Playfair Display";
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.2;
}

.pull-panel small {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process {
  border-top: 1px solid var(--gold);
}

.section-heading {
  max-width: 770px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .kicker {
  margin-inline: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold);
}

.process-grid li {
  min-height: 315px;
  padding: 2rem 1.5rem 2rem 0;
}

.process-grid li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}

.step-number {
  display: block;
  margin-bottom: 5rem;
  color: var(--gold);
  font-family: "Playfair Display";
  font-size: 1.25rem;
}

.process-grid p,
.service-card p {
  font-size: 0.9rem;
}

.services {
  background: var(--ink);
  color: var(--paper);
}

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

.service-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--gold);
}

.card-rule {
  width: 100%;
  height: 2px;
  margin-bottom: 2rem;
  background: var(--gold);
}

.card-index {
  color: var(--gold);
  font-size: 0.68rem !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.service-card a {
  margin-top: auto;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
}

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

.compare-panel {
  min-height: 400px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ink);
}

.compare-label {
  width: fit-content;
  margin-bottom: 4rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-panel ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gold);
}

.accent-panel {
  border-color: var(--gold);
  background: var(--gold);
}

.accent-panel .compare-label,
.accent-panel li {
  border-color: var(--ink);
}

.muted-panel {
  opacity: 0.76;
}

.testimonial {
  background: var(--ink);
  color: var(--paper);
}

.testimonial-inner {
  max-width: 930px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
}

.quote-mark {
  color: var(--gold);
  font-family: "Playfair Display";
  font-size: 8rem;
  line-height: 0.8;
}

blockquote {
  margin: 0;
}

blockquote p {
  font-family: "Playfair Display";
  font-size: clamp(2rem, 4.2vw, 3.85rem);
  line-height: 1.2;
}

blockquote footer {
  color: var(--gold);
  font-size: 0.82rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(450px, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-copy {
  max-width: 520px;
}

address {
  display: grid;
  gap: 0.35rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
  font-style: normal;
}

address span {
  font-family: "Playfair Display";
  font-size: 1.35rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--gold);
}

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

.contact-form label:not(.consent) {
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  outline: none;
}

input,
select {
  height: 48px;
}

textarea {
  padding: 0.8rem 0;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--gold);
}

input::placeholder,
textarea::placeholder {
  color: var(--ink);
  opacity: 0.55;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.72rem;
}

.consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.submit-button {
  width: fit-content;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
}

.site-footer {
  padding-top: 4.5rem;
  border-top: 1px solid var(--gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 3.5rem;
}

.footer-wordmark {
  width: fit-content;
}

.footer-top p {
  max-width: 410px;
  font-family: "Playfair Display";
  font-size: 1.4rem;
  line-height: 1.35;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--gold);
  font-size: 0.73rem;
}

.footer-bottom p {
  margin: 0 auto 0 0;
}

.legal-main {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.legal-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.legal-aside h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.3rem, 6vw, 5.5rem);
}

.legal-aside > p:not(.kicker) {
  font-size: 0.75rem;
}

.text-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.82rem;
}

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

.legal-content section {
  padding: 0 0 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--gold);
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

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

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

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

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

  .button {
    transition: none;
  }
}

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

  .main-nav:not(.privacy-nav) {
    position: absolute;
    top: 92px;
    left: 24px;
    right: 24px;
    display: none;
    align-items: stretch;
    padding: 1.5rem;
    border: 1px solid var(--gold);
    background: var(--paper);
  }

  .main-nav.is-open {
    display: grid;
  }

  .split-layout,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .pull-panel {
    min-height: 420px;
  }

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

  .process-grid li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--gold);
  }

  .process-grid li:nth-child(4) {
    border-top: 1px solid var(--gold);
  }

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

  .service-card {
    min-height: 330px;
  }

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

  .social-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section {
    padding: 5.5rem 0;
  }

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

  .main-nav:not(.privacy-nav) {
    top: 76px;
    left: 16px;
    right: 16px;
  }

  .privacy-nav > a:not(.button) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

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

  .stats div {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gold);
  }

  .stats div + div {
    padding-left: 0;
    border-left: 0;
  }

  .keyword-list {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .keyword-list::-webkit-scrollbar {
    display: none;
  }

  .process-grid,
  .comparison-grid,
  .field-row,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li + li,
  .process-grid li:nth-child(3) {
    min-height: auto;
    padding: 1.8rem 0;
    border-left: 0;
    border-top: 1px solid var(--gold);
  }

  .process-grid li:first-child {
    border-top: 0;
  }

  .step-number {
    margin-bottom: 2.5rem;
  }

  .compare-panel {
    min-height: 350px;
  }

  .testimonial-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-mark {
    margin-bottom: 0;
    font-size: 6rem;
  }

  .contact-grid {
    gap: 3rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-top {
    gap: 1.5rem;
  }

  .social-links {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
  }

  .footer-bottom p {
    width: 100%;
  }
}
