:root {
  color-scheme: light;
  --ink: #172d28;
  --quiet: #465b53;
  --paper: #fffefa;
  --wash: #eff4ee;
  --line: #d7e0d8;
  --accent: #1f5946;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #b15f1c; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; z-index: 3; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, nav, .footer-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.5rem; }
.logo { color: var(--ink); font-weight: 800; font-size: .92rem; letter-spacing: .1em; text-decoration: none; }
.logo span { color: var(--quiet); margin-left: .35rem; font-weight: 500; letter-spacing: 0; }
nav a { font-size: .9rem; text-decoration: none; }
.nav-action { border: 1px solid var(--line); padding: .4rem .75rem; border-radius: .3rem; font-weight: 600; }
.hero { background: var(--wash); padding-block: clamp(3rem, 8vw, 6.4rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; align-items: center; gap: clamp(1.6rem, 5vw, 4.5rem); }
.hero-grid.with-photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.hero-copy { max-width: 48rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5.9vw, 4.7rem); line-height: 1.02; letter-spacing: -.038em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 1.09rem; font-weight: 700; line-height: 1.35; }
p { color: var(--quiet); }
.hero p { max-width: 42rem; margin-block: 1.15rem 1.5rem; font-size: clamp(1rem, 2vw, 1.23rem); }
.hero figure img { display: block; width: 100%; height: auto; max-height: 24rem; aspect-ratio: 5 / 4; object-fit: contain; background: #e6ece4; border-radius: .4rem; }
figcaption { font-size: .8rem; color: var(--quiet); margin-top: .35rem; }
.button { display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; padding: .55rem 1rem; border: 1px solid var(--accent); border-radius: .35rem; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: #153f31; }
.button:disabled { opacity: .55; cursor: default; }
.button.secondary { color: var(--accent); background: white; }
.button.secondary:hover { background: var(--wash); }
.work { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.4rem, 5vw, 4.3rem); padding-block: 3.7rem; }
.section-copy p { margin-top: .85rem; }
.checklist article { padding-block: 1.12rem; border-bottom: 1px solid var(--line); }
.checklist article:first-child { padding-top: 0; }
.checklist article p { margin-top: .38rem; }
.brief { background: var(--wash); border-block: 1px solid var(--line); padding-block: 3.4rem; }
.brief-content > p { margin-top: .65rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; margin-block: 1.45rem 1.15rem; }
.fields label { display: grid; gap: .28rem; font-size: .92rem; font-weight: 650; }
.fields input, .fields textarea { min-width: 0; width: 100%; background: var(--paper); border: 1px solid #aebdb2; border-radius: .3rem; min-height: 2.75rem; padding: .5rem .68rem; color: var(--ink); font-weight: 400; }
.fields input::placeholder { color: #596860; }
.fields textarea { resize: vertical; }
.full-field { grid-column: 1 / -1; }
.inquiry { padding-top: 3rem; }
.inquiry fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.inquiry-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; margin-bottom: 1rem; }
.inquiry-consent input { margin: .25rem 0 0; accent-color: var(--accent); }
.inquiry .tool-status { margin-top: .7rem; }
[data-result] { margin-top: 1.2rem; }
output { display: block; overflow-wrap: anywhere; white-space: pre-wrap; border-left: 3px solid var(--accent); padding: .9rem 1.1rem; background: var(--paper); margin-bottom: .75rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.tool-status:empty { display: none; }
.resources, .legal { padding-block: 3rem; }
.resources ul { padding-left: 1.25rem; margin-bottom: 0; }
.resources li + li { margin-top: .4rem; }
.legal h2 { margin-top: 1.4rem; }
.legal p { margin-top: .65rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1.4rem; }
.footer p, .footer-links { font-size: .85rem; }
.footer-links button, .consent button { font-size: .86rem; cursor: pointer; border: 1px solid #aebdb2; color: var(--ink); background: var(--paper); padding: .34rem .55rem; border-radius: .3rem; }
.consent { position: fixed; bottom: 1rem; right: 1rem; width: min(24rem, calc(100% - 2rem)); padding: .9rem 1rem; border: 1px solid #aebdb2; border-radius: .4rem; background: var(--paper); box-shadow: 0 8px 30px #132d2833; }
.consent div { display: flex; gap: .5rem; margin-top: .5rem; }
.consent button:last-child { color: white; background: var(--accent); border-color: var(--accent); }
@media (max-width: 650px) {
  .wrap { width: min(100% - 2rem, 68rem); }
  .header-inner { padding-block: .6rem; }
  .logo span { display: block; margin-left: 0; }
  nav { gap: .5rem; }
  nav a { font-size: .78rem; }
  .hero-grid.with-photo, .work, .fields { grid-template-columns: 1fr; }
  .work, .brief { padding-block: 2.7rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; justify-content: flex-start; }
}
