:root {
  --forest: #173d3a;
  --forest-deep: #0f2d2b;
  --forest-soft: #28514d;
  --copper: #b86c43;
  --copper-dark: #965333;
  --sand: #f2eadf;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --ink: #18302e;
  --muted: #61726f;
  --line: #ddd9cf;
  --white: #fff;
  --shadow: 0 22px 70px rgba(15, 45, 43, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--white); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.94);
  border-color: rgba(23, 61, 58, .1);
  box-shadow: 0 8px 30px rgba(15, 45, 43, .06);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--sand); background: var(--forest); border-radius: 50% 50% 44% 44%;
  font-family: "Libre Caslon Display", serif; font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: "Libre Caslon Display", serif; font-size: 25px; font-weight: 400; letter-spacing: -.02em; }
.brand small { color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--copper); transition: right .22s ease;
}
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 18px; color: var(--white); background: var(--forest); border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { background: var(--forest-soft); transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--forest); transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 790px; display: grid; align-items: center; padding: 150px 0 85px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(23, 61, 58, .12) .65px, transparent .65px);
  background-size: 9px 9px; mask-image: linear-gradient(to right, #000 0, transparent 63%); opacity: .22;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; right: -160px; top: 110px; background: rgba(184, 108, 67, .1); }
.hero-glow-two { width: 330px; height: 330px; left: 45%; bottom: -190px; background: rgba(23, 61, 58, .09); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); align-items: center; gap: 90px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--copper-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 740px; margin-bottom: 24px; font-family: "Libre Caslon Display", serif; font-size: clamp(54px, 6vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
h1 em { color: var(--copper); font-style: italic; }
.hero-lead { max-width: 660px; margin-bottom: 34px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--forest); box-shadow: 0 12px 28px rgba(23,61,58,.18); }
.button-primary:hover { background: var(--forest-soft); }
.text-link { font-size: 14px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 6px; color: var(--copper); transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.trust-list { display: flex; gap: 24px; flex-wrap: wrap; margin: 42px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.trust-list li::before { content: "•"; margin-right: 9px; color: var(--copper); }
.hero-panel { position: relative; padding: 36px; color: var(--white); background: var(--forest); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.hero-panel::after { content: "T"; position: absolute; right: -8px; bottom: -105px; color: rgba(255,255,255,.035); font-family: "Libre Caslon Display", serif; font-size: 320px; line-height: 1; }
.panel-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.66); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #83b9a3; box-shadow: 0 0 0 4px rgba(131,185,163,.12); }
.panel-quote { position: relative; z-index: 1; margin: 58px 0 44px; font-family: "Libre Caslon Display", serif; font-size: 35px; line-height: 1.25; }
.panel-rule { position: relative; z-index: 1; height: 1px; background: rgba(255,255,255,.16); }
.panel-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 28px; }
.panel-grid div { display: grid; gap: 4px; }
.panel-grid strong { color: var(--copper); font-size: 11px; letter-spacing: .14em; }
.panel-grid span { font-size: 14px; font-weight: 600; }
.panel-note { position: relative; z-index: 1; margin: 32px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }

.services { padding: 110px 0 120px; background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 56px; }
.section-heading h2, .contact-copy h2 { margin: 0; font-family: "Libre Caslon Display", serif; font-size: clamp(42px, 5vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.section-heading > p { max-width: 460px; margin: 0 0 6px; color: var(--muted); }
.service-explorer { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 610px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); box-shadow: 0 18px 60px rgba(23,61,58,.07); overflow: hidden; }
.service-tabs { display: grid; align-content: stretch; background: var(--forest-deep); }
.service-tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; width: 100%; padding: 32px; text-align: left; color: rgba(255,255,255,.72); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; transition: background .25s, color .25s; }
.service-tab:last-child { border-bottom: 0; }
.service-tab:hover, .service-tab.active { color: var(--white); background: var(--forest); }
.service-tab.active { box-shadow: inset 4px 0 var(--copper); }
.tab-number { align-self: start; color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.service-tab > span:nth-child(2) { display: grid; gap: 7px; }
.service-tab strong { font-family: "Libre Caslon Display", serif; font-size: 24px; font-weight: 400; line-height: 1.15; }
.service-tab small { color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.4; }
.tab-arrow { font-size: 22px; transition: transform .2s; }
.service-tab.active .tab-arrow { transform: translateX(5px); }
.service-panels { display: grid; padding: 52px 58px; background: var(--cream); }
.service-panel { align-self: center; animation: panelIn .35s ease both; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 26px; color: var(--copper); border: 1px solid rgba(184,108,67,.3); border-radius: 18px; background: rgba(184,108,67,.07); }
.service-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-kicker { margin-bottom: 10px; color: var(--copper-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.service-panel h3 { max-width: 560px; margin-bottom: 16px; font-family: "Libre Caslon Display", serif; font-size: 42px; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.service-description { margin-bottom: 26px; color: var(--muted); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 13px; }
.check-list li { position: relative; padding-left: 21px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--copper); font-weight: 700; }
.button-secondary { color: var(--forest); border: 1px solid var(--forest); background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--forest); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.contact { position: relative; padding: 110px 0; color: var(--white); background: var(--forest); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 620px; height: 620px; left: -270px; bottom: -300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.contact-grid { position: relative; display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 90px; }
.eyebrow-light { color: #d9956f; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin: 26px 0 38px; color: rgba(255,255,255,.67); }
.contact-detail { display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.detail-icon { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; color: #d9956f; }
.contact-detail > span:last-child { display: grid; }
.contact-detail small { color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail strong { font-size: 13px; font-weight: 600; }
.contact-form { padding: 38px; color: var(--ink); background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0,0,0,.17); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 17px; color: var(--forest); font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; outline: none; background: var(--white); transition: border .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184,108,67,.12); }
.contact-form textarea { resize: vertical; min-height: 105px; }
.contact-form .invalid { border-color: #b33939; }
.form-error { min-height: 20px; margin: -5px 0 10px; color: #9b3333; font-size: 12px; }
.button-copper { width: 100%; color: var(--white); background: var(--copper); box-shadow: 0 12px 26px rgba(184,108,67,.22); }
.button-copper:hover { background: var(--copper-dark); }
.privacy-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.site-footer { padding: 26px 0; color: var(--muted); background: var(--cream); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-footer .brand-mark { width: 34px; height: 34px; font-size: 19px; }
.brand-footer strong { font-size: 19px; }
.brand-footer small { font-size: 7px; }
.site-footer p, .site-footer > a { margin: 0; font-size: 11px; }
.site-footer a:last-child { font-size: 12px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 90px 30px; color: var(--white); background: var(--forest-deep); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { font-size: 19px; }
  .nav-cta { background: var(--copper); }
  .menu-toggle.active > span:not(.sr-only) { background: var(--white); }
  .menu-toggle.active > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active > span:nth-child(2) { opacity: 0; }
  .menu-toggle.active > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-panel { max-width: 570px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-explorer { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: repeat(3, 1fr); }
  .service-tab { grid-template-columns: auto 1fr; align-content: start; padding: 24px 18px; }
  .service-tab .tab-arrow { display: none; }
  .service-tab strong { font-size: 20px; }
  .service-tab small { display: none; }
  .service-tab.active { box-shadow: inset 0 4px var(--copper); }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-copy { max-width: 620px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 26px); }
  .nav-wrap { height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 22px; }
  .hero { padding: 120px 0 70px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .trust-list { display: grid; gap: 7px; margin-top: 32px; }
  .hero-panel { padding: 28px 24px; }
  .panel-quote { margin: 42px 0 34px; font-size: 29px; }
  .services, .contact { padding: 80px 0; }
  .section-heading h2, .contact-copy h2 { font-size: 44px; }
  .service-tabs { grid-template-columns: 1fr; }
  .service-tab { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .service-tab.active { box-shadow: inset 4px 0 var(--copper); }
  .service-panels { padding: 34px 24px; }
  .service-panel h3 { font-size: 35px; }
  .check-list { grid-template-columns: 1fr; gap: 10px; }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

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