:root {
  --ground: #F6F3EC; --ground-2: #EDE8DB; --card: #FFFFFF; --line: #D9D3C4;
  --ink: #16241F; --text: #35423C; --muted: #4A5751;
  --green: #1F4A3D; --green-band: #173A30; --accent: #B4501E;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(24px, 8vw, 120px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.07; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: clamp(24px, 2vw, 28px); line-height: 1.2; }
a { color: var(--green); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--accent); }
.eyebrow.quiet { color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); max-width: 40em; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.section { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }

/* buttons */
.btn { display: inline-block; font-size: 17px; font-weight: 600; text-decoration: none; text-align: center; padding: 15px 28px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #8F3E16; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.text-link { font-weight: 600; display: inline-block; padding: 12px 0; }

/* nav */
.site-nav { border-bottom: 1px solid var(--line); }
.site-nav .wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); padding: 12px 0; }
.brand b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.brand span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.nav-links a:not(.btn) { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-links .btn { padding: 12px 22px; font-size: 16px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 em { display: block; font-weight: 400; color: var(--accent); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 2.5vw, 32px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tag { font-family: var(--mono); font-size: 13px; color: var(--green); background: #DCE8E1; padding: 4px 10px; border-radius: 3px; }
.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid #E6E1D4; }
.checks .n { font-family: var(--mono); font-size: 14px; color: var(--muted); width: 28px; flex-shrink: 0; padding-top: 3px; }
.checks b { display: block; font-size: 17px; font-weight: 600; }
.checks small { font-size: 15px; color: var(--muted); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts div { padding: 32px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; }
.facts span { font-size: 15px; color: var(--muted); }

/* cards */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.card .n, .card .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.card p { font-size: 16px; color: var(--text); }
.card .text-link { margin-top: auto; }

/* steps band */
.band { background: var(--green-band); color: #F1EDE2; }
.band .eyebrow { color: #B8C9C0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; list-style: none; padding: 0; }
.steps li { border-top: 1px solid #5E7E72; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-family: var(--mono); font-size: 14px; color: #B8C9C0; }
.steps b { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; }
.steps p { font-size: 16px; color: #D5DDD7; }

/* about teaser */
.about-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; border-top: 1px solid var(--ink); }
.about-row.flip { grid-template-columns: minmax(0, 1fr) 400px; border-top: 0; }
.photo { aspect-ratio: 5 / 6; width: 100%; background: #E6E1D4; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; color: var(--muted); object-fit: cover; }

/* cta */
.cta { background: var(--ground-2); text-align: center; }
.cta .stack { align-items: center; gap: 28px; }
.cta h2 { font-size: clamp(34px, 4vw, 52px); max-width: 16em; }

/* services page */
.service { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: clamp(32px, 4vw, 56px); padding: 56px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top-color: var(--ink); }
.service h2 { font-size: clamp(28px, 2.5vw, 34px); }
.bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.bullets li { position: relative; padding-left: 20px; font-size: 16px; color: var(--text); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.price { align-self: start; display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.price b { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.price span { font-size: 15px; color: var(--muted); }
.price .btn { margin-top: 12px; padding: 13px 20px; font-size: 16px; }

/* about page */
.timeline { margin-top: 40px; }
.timeline .row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline .row:first-child { border-top-color: var(--ink); }
.timeline .when { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 4px; }
.timeline b { display: block; font-size: 20px; font-weight: 600; }
.timeline .org { color: var(--green); font-weight: 500; font-size: 16px; }
.timeline p { font-size: 16px; color: var(--text); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.details { margin-top: 16px; border-top: 1px solid var(--ink); }
.details div { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.details dt, .details .k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.details a, .details .v { font-weight: 500; }
form.panel { background: #FBF9F4; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
label { font-size: 15px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #8A948E; border-radius: 4px; }
textarea { resize: vertical; }
form .btn { align-self: flex-start; }
.note { font-size: 14px; color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #F1EDE2; padding: 64px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-top .name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.foot-top p { font-size: 15px; color: #B8C9C0; }
.foot-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.foot-cols h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; color: #B8C9C0; }
.foot-cols a { display: block; color: #F1EDE2; text-decoration: none; padding: 10px 0; font-size: 16px; }
.foot-cols a:hover { text-decoration: underline; color: #fff; }
.legal { margin-top: 48px; border-top: 1px solid #35423C; padding-top: 24px; font-size: 14px; color: #B8C9C0; }

@media (max-width: 960px) {
  .hero, .about-row, .about-row.flip, .contact, .service { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 24px 16px; }
  .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .photo { max-width: 360px; }
  .about-row.flip .photo { order: -1; }
  .head-row { margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
  .timeline .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-actions .btn, .cta .btn { width: 100%; }
  .brand span { display: none; }
  .nav-links { gap: 16px; }
  .nav-links .btn { display: none; }
}
