:root {
  --charcoal: #201c18;
  --charcoal-soft: #2b241f;
  --parchment: #f4ebdd;
  --parchment-deep: #eadfcf;
  --rust: #9b442b;
  --rust-dark: #813620;
  --brass: #caa56d;
  --stone: #655950;
  --white: #fffaf2;
  --serif: "DejaVu Serif", Georgia, serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--parchment); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--white); background: var(--rust); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--rust); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.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; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: var(--parchment); background: rgba(32,28,24,.92); border-top: 5px solid var(--rust); transition: background .25s, box-shadow .25s; backdrop-filter: blur(12px); }
.site-header.scrolled { background: rgba(32,28,24,.98); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; width: clamp(170px, 20vw, 206px); height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--brass); }
.nav-cta { padding: 11px 16px; background: var(--rust); }
.nav-cta:hover { background: var(--rust-dark); }
.menu-toggle { display: none; width: 46px; height: 46px; color: var(--parchment); background: transparent; border: 1px solid rgba(244,235,221,.45); }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 6px auto; background: currentColor; }

.hero { min-height: 100vh; padding: 155px 0 0; color: var(--parchment); background: var(--charcoal); overflow: hidden; }
.hero-grid { width: var(--page); min-height: calc(100vh - 225px); margin: 0 auto; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 8vw; }
.eyebrow { margin: 0 0 18px; color: var(--rust); font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--brass); }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); line-height: 1.05; }
h1 { margin-bottom: 30px; font-size: clamp(3.5rem, 7vw, 7.4rem); letter-spacing: -.045em; }
h1 em { color: var(--brass); font-style: normal; }
.hero-intro { max-width: 620px; margin: 0 0 38px; color: rgba(244,235,221,.82); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 22px; border: 0; text-decoration: none; font-weight: 800; }
.button-primary { color: var(--white); background: var(--rust); }
.button-primary:hover { background: var(--rust-dark); }
.button-dark { color: var(--parchment); background: var(--charcoal); }
.text-link { font-weight: 700; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--brass); }

.hero-emblem { width: min(430px, 38vw); display: grid; justify-items: center; gap: 32px; justify-self: end; }
.hero-emblem img { display: block; width: 82%; height: auto; }
.hero-emblem p { margin: 0; color: var(--brass); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-footer { width: var(--page); min-height: 70px; margin: 0 auto; display: flex; align-items: center; gap: 22px; color: var(--brass); border-top: 1px solid rgba(202,165,109,.45); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-footer i { width: 4px; height: 4px; background: var(--rust); transform: rotate(45deg); }

.section { padding: clamp(90px, 10vw, 150px) 0; }
.section-light { background: var(--parchment); }
.section-heading, .contact-intro { width: var(--page); display: grid; grid-template-columns: 1fr 1fr; column-gap: 8vw; align-items: end; margin: 0 auto 64px; }
.section-heading .eyebrow, .contact-intro .eyebrow { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5.4rem); letter-spacing: -.035em; }
.section-heading > p:last-child, .contact-intro > p:last-child { max-width: 520px; margin: 0; color: var(--stone); font-size: 1.08rem; }
.principles { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--brass); }
.principle { min-height: 285px; padding: 34px 34px 28px 0; border-right: 1px solid rgba(101,89,80,.25); }
.principle + .principle { padding-left: 34px; }
.principle:last-child { border-right: 0; }
.principle-mark { display: inline-block; margin-bottom: 60px; color: var(--rust); font-weight: 800; }
.principle h3 { margin-bottom: 15px; font-size: 1.65rem; }
.principle p { margin: 0; color: var(--stone); }

.project-band { display: grid; grid-template-columns: 1.15fr .85fr; color: var(--parchment); background: linear-gradient(115deg, var(--rust) 0 49.8%, var(--charcoal-soft) 50%); }
.project-statement, .project-details { padding: clamp(80px, 9vw, 140px) max(24px, calc((100vw - 1180px) / 2)); }
.project-statement { padding-right: 8vw; }
.project-statement .eyebrow { color: var(--charcoal); }
.project-statement h2 { max-width: 690px; }
.project-details { padding-left: 8vw; }
.project-details > p { max-width: 500px; margin: 0 0 34px; color: rgba(244,235,221,.78); font-size: 1.08rem; }
.project-details ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(202,165,109,.55); }
.project-details li { padding: 17px 0; border-bottom: 1px solid rgba(202,165,109,.28); }
.project-details li span { display: inline-block; width: 72px; color: var(--brass); font-weight: 800; text-transform: uppercase; }

.contact-section { background: var(--parchment-deep); }
.project-form, .summary-card { width: min(820px, calc(100vw - 48px)); margin: 0 auto; padding: clamp(28px, 5vw, 56px); background: var(--white); border-top: 6px solid var(--rust); box-shadow: 0 22px 70px rgba(32,28,24,.1); }
.project-form label { display: block; margin-bottom: 22px; }
.project-form label span { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-form input, .project-form textarea { width: 100%; padding: 14px 15px; color: var(--charcoal); background: var(--parchment); border: 1px solid #d9cdbd; border-radius: 0; }
.project-form input:focus, .project-form textarea:focus { outline: 3px solid rgba(155,68,43,.2); border-color: var(--rust); }
.project-form textarea { resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--stone); font-size: .82rem; }
.summary-card { margin-top: 28px; }
.summary-card h3 { margin-bottom: 22px; font-size: 2rem; }
.summary-card pre { padding: 22px; white-space: pre-wrap; font: 1rem/1.6 var(--sans); background: var(--parchment); border-left: 4px solid var(--brass); }
.copy-status { min-height: 24px; margin-bottom: 0; color: var(--rust); font-weight: 700; }

.site-footer { min-height: 210px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; padding: 42px max(24px, calc((100vw - 1180px) / 2)); color: var(--parchment); background: var(--charcoal); border-bottom: 8px solid var(--rust); }
.footer-brand { display: grid; gap: 12px; justify-items: start; }
.footer-brand p { margin: 0; color: var(--brass); }
.site-footer > a { font-weight: 700; text-underline-offset: 5px; }
.copyright { grid-column: 1 / -1; margin: 0; color: rgba(244,235,221,.55); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --page: min(100% - 36px, 720px); }
  .site-header { min-height: 76px; padding-inline: 18px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 71px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 15px 18px 22px; background: var(--charcoal); border-bottom: 1px solid rgba(202,165,109,.4); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 12px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-bottom: 90px; }
  .hero-emblem { width: min(390px, 85vw); justify-self: center; }
  .hero-footer { display: none; }
  .section-heading, .contact-intro { grid-template-columns: 1fr; gap: 24px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { min-height: auto; padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(101,89,80,.25); }
  .principle-mark { margin-bottom: 28px; }
  .project-band { grid-template-columns: 1fr; background: none; }
  .project-statement { padding: 80px max(24px, calc((100vw - 720px) / 2)); background: var(--rust); }
  .project-details { padding: 70px max(24px, calc((100vw - 720px) / 2)); background: var(--charcoal-soft); }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .section { padding: 80px 0; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@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; }
}
