:root {
  --ink: #11232d;
  --muted: #52636d;
  --paper: #f6f4ee;
  --white: #fff;
  --teal: #0a6b68;
  --teal-dark: #074e4c;
  --orange: #e66a3c;
  --line: rgba(17, 35, 45, 0.14);
  --shadow: 0 24px 70px rgba(17, 35, 45, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .8rem; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 850px; font-size: clamp(3.2rem, 8vw, 7.2rem); letter-spacing: -.06em; }
h2 { max-width: 760px; font-size: clamp(2.3rem, 5vw, 4.6rem); letter-spacing: -.045em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.section { padding: clamp(5rem, 9vw, 9rem) 0; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: .9rem 0; color: var(--ink); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; width: 300px; }
.brand img { display: block; width: 100%; height: auto; }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .9rem; color: var(--ink); background: transparent; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.site-nav a:last-child { border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; }

.hero { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; padding: 12rem 0 6rem; color: var(--white); background: var(--teal-dark); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -170px; top: -230px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.025); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, #000); }
.hero-mark { position: absolute; z-index: 1; top: 15%; right: max(2rem, calc((100vw - var(--max)) / 2)); width: clamp(270px, 31vw, 500px); opacity: .12; transform: rotate(4deg); }
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: #ffad8d; }
.hero-copy { display: grid; grid-template-columns: 1.6fr .8fr; gap: 3rem; align-items: end; margin-top: 2.2rem; }
.hero-copy p { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; border: 0; border-radius: 999px; padding: .78rem 1.3rem; color: var(--white); background: var(--orange); font-weight: 800; text-decoration: none; cursor: pointer; }
.hero .button { justify-self: start; margin-top: 1.5rem; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.stat { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.stat strong { display: block; color: var(--teal); font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }
.intro-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

.services { color: var(--white); background: var(--ink); }
.services .lead { color: rgba(255,255,255,.65); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.service-card { min-height: 290px; padding: 2rem; background: var(--ink); transition: background .2s ease, transform .2s ease; }
.service-card:hover { background: #18343f; transform: translateY(-3px); }
.service-number { display: block; margin-bottom: 4rem; color: #ffad8d; font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.service-card p { margin-top: 1rem; color: rgba(255,255,255,.6); }

.approach-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; }
.principles { margin: 0; padding: 0; list-style: none; counter-reset: principle; }
.principles li { counter-increment: principle; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-top: 1px solid var(--line); padding: 1.4rem 0; }
.principles li::before { content: "0" counter(principle); color: var(--orange); font-weight: 800; }
.principles strong { display: block; margin-bottom: .3rem; }
.principles span { color: var(--muted); }

.experience { background: var(--white); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.project { position: relative; min-height: 340px; overflow: hidden; padding: 2rem; color: var(--white); background: var(--teal); box-shadow: var(--shadow); }
.project::after { content: ""; position: absolute; width: 240px; height: 240px; right: -100px; bottom: -100px; border: 42px solid rgba(255,255,255,.1); border-radius: 50%; }
.project:nth-child(2) { background: #294957; }
.project:nth-child(3) { color: var(--ink); background: #e9dfd1; }
.project p { position: absolute; left: 2rem; right: 2rem; bottom: 1rem; opacity: .78; }
.project small { display: block; margin-bottom: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }

.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.portrait { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--teal-dark); }
.portrait::before, .portrait::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.portrait::before { width: 90%; height: 72%; }
.portrait::after { width: 58%; height: 46%; }
.monogram { z-index: 1; font-family: Georgia, serif; font-size: clamp(5rem, 14vw, 10rem); letter-spacing: -.09em; }
.capabilities { columns: 2; margin: 2rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.capabilities li { break-inside: avoid; margin-bottom: .55rem; }

.contact { color: var(--white); background: var(--teal-dark); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.contact .lead { color: rgba(255,255,255,.68); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; padding: .8rem .9rem; color: var(--white); background: rgba(255,255,255,.06); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(255,173,141,.35); border-color: #ffad8d; }
.field textarea { min-height: 170px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.form-status { margin: 0; font-size: .92rem; }
.form-status[data-state="error"] { color: #ffd0c1; }
.form-status[data-state="success"] { color: #b9f3d3; }

.site-footer { padding: 2.5rem 0; color: rgba(255,255,255,.72); background: #09171d; font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; }
.footer-brand img { width: 190px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { text-decoration: none; }

.legal-header { padding: .9rem 0; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.legal-header .brand { width: 300px; }
.legal-main { min-height: 72vh; padding: 5rem 0; }
.legal-copy { max-width: 820px; }
.legal-copy h1 { margin-bottom: 2rem; font-size: clamp(2.6rem, 6vw, 5rem); }
.legal-copy h2 { margin: 2.5rem 0 .8rem; font-size: 1.8rem; letter-spacing: -.02em; }
.legal-copy p, .legal-copy li { color: var(--muted); }

@media (max-width: 850px) {
  .brand { width: 255px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 6.2rem; left: 1.25rem; right: 1.25rem; display: none; flex-direction: column; align-items: stretch; gap: .2rem; border-radius: 8px; padding: 1rem; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .7rem; }
  .site-nav a:last-child { border-color: var(--line); }
  .hero-copy, .intro-grid, .approach-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid, .projects { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero-mark { top: 18%; right: -5rem; width: 360px; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand { width: 220px; }
  .legal-header .brand { width: 240px; }
  .services-grid, .projects, .contact-form { grid-template-columns: 1fr; }
  .field-full, .form-actions { grid-column: auto; }
  .capabilities { columns: 1; }
  .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-brand { gap: .7rem; }
  .footer-brand img { width: 165px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
