:root {
  --ivory: #f4eee3;
  --paper: #fbf7ef;
  --paper-deep: #e8ddca;
  --walnut: #3b2922;
  --walnut-soft: #584137;
  --ink: #251c18;
  --brass: #ac8441;
  --brass-light: #d4b778;
  --line: rgba(59, 41, 34, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Montserrat, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image: radial-gradient(rgba(54, 37, 29, 0.16) 0.45px, transparent 0.7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
::selection { color: var(--paper); background: var(--walnut); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 120px; }
.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: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--walnut);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(59, 41, 34, 0.13);
  transition: min-height 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-fixed {
  position: fixed;
  min-height: 70px;
  background: rgba(244, 238, 227, 0.94);
  box-shadow: 0 10px 30px rgba(59, 41, 34, 0.06);
  backdrop-filter: blur(12px);
}
.compact-header { position: relative; }
.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark em { color: var(--brass); font-weight: 400; }
.wordmark-mark {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}
.wordmark-mark::after {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 1px;
  height: 28px;
  content: "";
  background: var(--brass);
  transform: rotate(35deg);
  transform-origin: top;
}
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav > a:not(.button) { font-size: 13px; letter-spacing: 0.04em; }
.main-nav > a:not(.button)::after {
  display: block;
  width: 0;
  height: 1px;
  content: "";
  background: var(--brass);
  transition: width 180ms ease;
}
.main-nav > a:hover::after { width: 100%; }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 8px 18px; }
.button-outline, .button-ghost { border-color: var(--walnut); background: transparent; }
.button-outline:hover, .button-ghost:hover { color: var(--paper); background: var(--walnut); }
.button-solid { color: var(--paper); background: var(--walnut); border-color: var(--walnut); }
.button-solid:hover { color: var(--walnut); background: transparent; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 74% 30%, rgba(193, 153, 91, 0.2), transparent 31%),
    linear-gradient(120deg, #f8f3e9 0%, #eee3d0 60%, #e4d3b8 100%);
  isolation: isolate;
}
.hero::before {
  position: absolute;
  top: 18%;
  right: 10%;
  z-index: -1;
  width: min(36vw, 500px);
  aspect-ratio: 0.74;
  content: "";
  border: 1px solid rgba(172, 132, 65, 0.45);
}
.hero::after {
  position: absolute;
  top: 22%;
  right: 13%;
  z-index: -1;
  width: min(30vw, 420px);
  aspect-ratio: 0.74;
  content: "";
  background: rgba(251, 247, 239, 0.28);
  border: 1px solid rgba(59, 41, 34, 0.12);
}
.hero-content { align-self: center; padding-block: 80px 54px; }
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--walnut-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow > span { display: block; width: 36px; height: 1px; background: var(--brass); }
.hero h1, h2, h3, blockquote, .pull-panel p, .legal-content h1 {
  font-family: var(--serif);
  font-weight: 400;
}
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 8.2vw, 114px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.hero h1 em { color: var(--brass); font-weight: 400; }
.hero-lead { max-width: 650px; margin: 34px 0 30px; color: var(--walnut-soft); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-row { display: flex; gap: 0; margin: 56px 0 0; }
.stat-row div { min-width: 160px; padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.stat-row div:last-child { border: 0; }
.stat-row dt { font-family: var(--serif); font-size: 29px; line-height: 1.2; }
.stat-row dd { margin: 3px 0 0; color: var(--walnut-soft); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-side-note {
  position: absolute;
  right: 22px;
  bottom: 34px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-orbit { position: absolute; z-index: -2; border: 1px solid rgba(172, 132, 65, 0.16); border-radius: 50%; }
.hero-orbit-one { top: -25%; right: -10%; width: 60vw; height: 60vw; }
.hero-orbit-two { right: 20%; bottom: -55%; width: 48vw; height: 48vw; }

.keyword-band { padding: 24px 0; color: var(--paper); background: var(--walnut); border-block: 1px solid var(--brass); }
.keyword-list { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.keyword-list span { font-family: var(--serif); font-size: 18px; font-style: italic; white-space: nowrap; }
.keyword-list i { width: 4px; height: 4px; background: var(--brass-light); border-radius: 50%; }

.intro { display: grid; grid-template-columns: 1.1fr 0.75fr; gap: 100px; align-items: stretch; }
.intro-copy { padding-block: 24px; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -0.035em; }
.intro-copy > p:not(.eyebrow) { max-width: 650px; margin: 32px 0; color: var(--walnut-soft); font-size: 17px; }
.check-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.check-list li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.check-list span { margin-right: 10px; color: var(--brass); }
.pull-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 530px;
  padding: 72px 58px;
  overflow: hidden;
  color: var(--paper);
  background: var(--walnut);
}
.pull-panel::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(212, 183, 120, 0.35);
}
.pull-panel p { position: relative; margin: 0; font-size: clamp(34px, 4vw, 51px); line-height: 1.14; }
.pull-panel > span { position: relative; margin-top: 30px; color: var(--brass-light); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.panel-line { width: 56px; height: 1px; margin-bottom: 30px; background: var(--brass-light); }
.panel-corner { position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border: 1px solid var(--brass); border-radius: 50%; }

.process { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section-heading { max-width: 770px; margin-bottom: 66px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; border-top: 1px solid var(--walnut); list-style: none; }
.process-grid li { min-height: 320px; padding: 24px 28px 20px 0; border-right: 1px solid var(--line); }
.process-grid li:not(:first-child) { padding-left: 28px; }
.process-grid li:last-child { border-right: 0; }
.step-number { color: var(--brass); font-family: var(--serif); font-size: 18px; }
.process-grid h3 { margin: 92px 0 14px; font-size: 27px; }
.process-grid p { margin: 0; color: var(--walnut-soft); font-size: 14px; }

.services-heading { display: grid; grid-template-columns: 1fr 0.65fr; column-gap: 60px; max-width: none; }
.services-heading .eyebrow { grid-column: 1 / -1; }
.services-heading > p:last-child { align-self: end; margin: 0; color: var(--walnut-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 380px; padding: 36px; background: rgba(251, 247, 239, 0.64); border: 1px solid var(--line); transition: transform 220ms ease, background-color 220ms ease; }
.service-card:hover { background: var(--paper); transform: translateY(-6px); }
.service-index { color: var(--brass); font-family: var(--serif); font-style: italic; }
.service-card h3 { margin: 72px 0 20px; font-size: 32px; line-height: 1.1; }
.gold-rule { width: 100%; height: 1px; background: var(--brass); transform: scaleX(0.28); transform-origin: left; transition: transform 300ms ease; }
.service-card:hover .gold-rule { transform: scaleX(1); }
.service-card p { color: var(--walnut-soft); font-size: 14px; }
.service-card a { position: absolute; bottom: 30px; left: 36px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.service-card a span { color: var(--brass); }

.comparison { background: #e2d3bd; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-panel { min-height: 440px; padding: 54px; border: 1px solid var(--walnut); }
.comparison-panel + .comparison-panel { border-left: 0; }
.comparison-panel.after { color: var(--paper); background: var(--walnut); border-color: var(--walnut); }
.panel-label { margin: 0 0 82px; color: var(--brass); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.comparison-panel h3 { max-width: 500px; margin: 0 0 30px; font-size: 36px; line-height: 1.13; }
.comparison-panel ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.comparison-panel li::before { margin-right: 12px; color: var(--brass); content: "—"; }

.testimonial { color: var(--paper); background: #2e211c; }
.testimonial-inner { position: relative; max-width: 900px; text-align: center; }
.quote-mark { display: block; height: 70px; color: var(--brass-light); font-family: var(--serif); font-size: 110px; line-height: 1; }
blockquote { margin: 18px 0 45px; font-size: clamp(35px, 5vw, 58px); line-height: 1.14; }
.testimonial-meta { display: flex; gap: 14px; align-items: center; justify-content: center; }
.portrait-symbol { display: grid; width: 46px; height: 46px; place-items: center; color: var(--walnut); background: var(--brass-light); border-radius: 50%; font-size: 11px; }
.testimonial-meta p { margin: 0; color: #d6caba; font-size: 12px; line-height: 1.5; text-align: left; }
.testimonial-meta strong { color: var(--paper); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 110px; }
.contact-copy > p:not(.eyebrow, .hours) { margin: 30px 0; color: var(--walnut-soft); }
address { display: grid; gap: 10px; padding: 25px 0; border-block: 1px solid var(--line); font-style: normal; }
address a:hover { color: var(--brass); }
.hours { color: var(--walnut-soft); font-size: 12px; }
.contact-form { display: grid; gap: 18px; padding: 44px; background: var(--ivory); border-top: 3px solid var(--brass); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(59, 41, 34, 0.38);
  border-radius: 0;
  outline: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.contact-form textarea::placeholder { color: rgba(59, 41, 34, 0.55); }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.consent input { width: 16px; min-height: 16px; margin-top: 4px; accent-color: var(--walnut); }
.consent a { text-decoration: underline; text-decoration-color: var(--brass); }
.contact-form .button { justify-self: start; margin-top: 5px; }
.form-note, .form-status { margin: 0; color: var(--walnut-soft); font-size: 11px; }
.form-status { min-height: 18px; color: var(--walnut); font-weight: 600; }

.site-footer { padding: 75px 0 24px; color: #e9dfd1; background: #211814; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 55px; padding-bottom: 65px; }
.footer-wordmark { color: var(--paper); }
.footer-grid > div:first-child p { max-width: 300px; color: #a99b8e; font-size: 13px; }
.footer-grid h2 { margin: 0 0 18px; color: var(--brass-light); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:not(.wordmark) { color: #c6b9ac; font-size: 13px; }
.footer-grid a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.13); color: #8f8175; font-size: 11px; }
.footer-bottom p { margin: 0; }

.legal-main { padding: 100px 0 130px; background: var(--paper); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 100px; justify-content: center; }
.legal-aside { padding-top: 15px; }
.legal-aside > p:not(.eyebrow) { padding: 22px 0; border-block: 1px solid var(--line); color: var(--walnut-soft); font-size: 13px; }
.legal-aside > a { font-size: 13px; text-decoration: underline; text-decoration-color: var(--brass); }
.legal-content h1 { margin: 0 0 25px; font-size: clamp(50px, 7vw, 82px); line-height: 1; letter-spacing: -0.04em; }
.legal-lead { margin: 0 0 70px; color: var(--walnut-soft); font-family: var(--serif); font-size: 25px; line-height: 1.4; }
.legal-content section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-content section h2 { margin-bottom: 15px; font-size: 29px; letter-spacing: -0.02em; }
.legal-content section p { color: var(--walnut-soft); }
.legal-content section a { color: var(--walnut); text-decoration: underline; text-decoration-color: var(--brass); }
.legal-footer { padding-top: 25px; }

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

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-header { padding-inline: 20px; }
  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: transparent;
    border: 0;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 1px; background: var(--walnut); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 30px;
    visibility: hidden;
    background: var(--ivory);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > a:not(.button) { font-family: var(--serif); font-size: 34px; }
  .hero::before { right: -12%; width: 58vw; }
  .hero::after { right: -8%; width: 50vw; }
  .intro { grid-template-columns: 1fr; gap: 50px; }
  .pull-panel { min-height: 480px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 30px); --header-height: 72px; }
  .section { padding-block: 82px; }
  .site-header { min-height: 72px; }
  .wordmark { font-size: 19px; }
  .compact-header .button { padding-inline: 12px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 105px 50px; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); line-height: 0.94; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero::before { top: 17%; right: -30%; width: 78vw; }
  .hero::after { top: 19%; right: -24%; width: 68vw; }
  .hero-side-note { display: none; }
  .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
  .stat-row div { min-width: 0; padding-right: 10px; margin-right: 10px; }
  .stat-row dt { font-size: 23px; }
  .stat-row dd { font-size: 8px; line-height: 1.45; }
  .keyword-list { flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
  .keyword-list span { font-size: 15px; }
  .keyword-list i { width: 3px; height: 3px; }
  h2 { font-size: 42px; }
  .intro { gap: 35px; }
  .pull-panel { min-height: 430px; padding: 50px 36px; }
  .pull-panel p { font-size: 36px; }
  .section-heading { margin-bottom: 44px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:not(:first-child) { min-height: auto; padding: 28px 0 36px; border-right: 0; border-top: 1px solid var(--line); }
  .process-grid li:first-child { border-top: 0; }
  .process-grid h3 { margin: 38px 0 10px; }
  .services-heading { display: block; }
  .services-heading > p:last-child { margin-top: 24px; }
  .service-card { min-height: 370px; padding: 30px; }
  .service-card a { left: 30px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-panel { min-height: auto; padding: 38px 28px; }
  .comparison-panel + .comparison-panel { border-top: 0; border-left: 1px solid var(--walnut); }
  .panel-label { margin-bottom: 52px; }
  .comparison-panel h3 { font-size: 31px; }
  blockquote { font-size: 35px; }
  .contact-grid { gap: 45px; }
  .contact-form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { gap: 20px; flex-direction: column; }
  .legal-main { padding: 70px 0 90px; }
  .legal-layout { gap: 50px; }
  .legal-content h1 { font-size: 52px; }
  .legal-lead { margin-bottom: 50px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
