/* Layout: green brand bands (header, hero, closing call) framing quiet paper sections; one centred 72rem column, stacking to one column on phones. Single deliberate light look. */
:root {
  --green: #124330;
  --green-deep: #0b2b1f;
  --green-soft: #1d5a42;
  --gold: #CEA24B;
  --gold-ink: #7d5f1f;
  --cream: #F3EBD6;
  --paper: #FAF7EF;
  --ink: #17251e;
  --muted: #4c5a52;
  --rule: #ddd2b8;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--green-deep);
}
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--green-deep); color: var(--cream);
  border-bottom: 1px solid rgba(206,162,75,.35);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; font-size: 1rem; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; letter-spacing: .2em; font-size: .62rem; color: var(--gold); text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.nav a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: .9rem;
  letter-spacing: .1em; text-transform: uppercase; padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Hero */
.hero { position: relative; background: var(--green); color: var(--cream); overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 112px); }
.hero-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 22px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; line-height: 1.1;
  font-size: clamp(2rem, 5.2vw, 3.6rem); margin: 0 0 18px; max-width: 18ch; text-wrap: balance;
}
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 40rem; margin: 0 0 30px; color: #e6dcc3; }
.hero.compact .wrap { padding-block: clamp(40px, 6vw, 72px); }
.hero.compact h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px;
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; font-weight: 700; font-size: .92rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; border: 2px solid var(--gold); border-radius: 2px;
}
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #dbb462; color: var(--green-deep); }
.btn-line { color: var(--cream); }
.btn-line:hover { background: rgba(206,162,75,.15); color: var(--cream); }

/* Sections */
section.band { padding-block: clamp(48px, 7vw, 88px); }
section.band + section.band { border-top: 1px solid var(--rule); }
.band.cream { background: var(--cream); }
h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; color: var(--green);
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 14px; text-wrap: balance;
}
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; color: var(--green); }
.intro { max-width: 44rem; color: var(--muted); margin: 0 0 36px; }
p { margin: 0 0 14px; }
.prose { max-width: 42rem; }

.grid-3 { display: grid; gap: 36px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-2 { display: grid; gap: 36px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 > *, .grid-2 > * { min-width: 0; }

.area { border-top: 3px solid var(--gold); padding-top: 18px; }
.area p { color: var(--muted); }
.area .who { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; min-width: 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  border: 2px solid var(--gold); border-radius: 50%; font-family: var(--font-display); font-weight: 700; color: var(--green);
}
.steps p { color: var(--muted); }

.note {
  background: var(--green); color: var(--cream); padding: 22px 26px; border-left: 4px solid var(--gold);
  max-width: 46rem; margin-top: 40px;
}
.note strong { color: var(--gold); }

/* Service detail */
.service { display: grid; gap: 20px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.service > * { min-width: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--gold); }

.project { border-top: 1px solid var(--rule); padding-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-family: var(--font-mono); font-size: .72rem; color: var(--green); background: var(--cream); border: 1px solid var(--rule); padding: 2px 8px; border-radius: 2px; }
.cite { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }

/* People */
.person { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.person > * { min-width: 0; }
.portrait {
  width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: var(--gold);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: .05em;
  border: 3px solid var(--gold); overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.role { font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.person p { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; font-size: .95rem; }
@media (max-width: 460px) { .person { grid-template-columns: 1fr; } }

.clients { columns: 2 14rem; column-gap: 32px; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.clients li { break-inside: avoid; padding-block: 6px; border-bottom: 1px solid var(--rule); }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.contact-list .value { font-size: 1.15rem; user-select: all; }
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; color: var(--ink); background: #fffdf8; border: 1px solid #c9bc9c; border-radius: 2px; padding: 10px 12px; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
button.btn { cursor: pointer; justify-self: start; font-family: inherit; }
.form-note { font-size: .9rem; color: var(--muted); }
.preview-msg { background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 16px; font-size: .95rem; }

/* Closing band and footer */
.closing { background: var(--green); color: var(--cream); }
.closing .wrap { padding-block: clamp(44px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.closing h2 { color: var(--cream); margin: 0 0 6px; }
.closing p { margin: 0; color: #e6dcc3; max-width: 36rem; }

.site-footer { background: var(--green-deep); color: #cfc6ad; font-size: .92rem; }
.site-footer .wrap { padding-block: 36px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer .fname { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; color: var(--cream); margin-bottom: 4px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(206,162,75,.25); padding-top: 18px; font-size: .82rem; color: #a99f86; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
