:root {
  --paper: #faf8f3;
  --paper-alt: #f3efe5;
  --ink: #1a1815;
  --ink-mid: #5a554b;
  --ink-muted: #8a8478;
  --lime: #5f7038;
  --clay: #b8916a;
  --moss: #2c3520;
  --paper-on-moss: rgba(250, 248, 243, 0.86);
  --muted-on-moss: rgba(250, 248, 243, 0.55);
  --rule: #d8d2c5;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--ink); }

/* ── Page frame ── */
.frame {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 560px) {
  .frame { padding: 0 22px; }
  body { font-size: 16px; }
}

/* ── Header ── */
header {
  padding: 36px 0 0;
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark:hover { text-decoration: none; }
.mark-glyph {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: block;
}
.mark-glyph svg { display: block; width: 100%; height: 100%; }
.mark-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.mark-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.mark-strap {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.head-meta {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.4;
}
.head-meta .meta-row { display: block; }
@media (max-width: 480px) {
  .head-meta { display: none; }
  .mark-name { font-size: 14px; }
  .mark-strap { font-size: 9px; }
}

/* ── Primary nav ── */
.primary-nav {
  margin-top: 32px;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.nav-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-link:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav-link[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--lime);
}
.nav-link-staff {
  margin-left: auto;
  border-bottom-color: var(--lime);
}
.nav-link-staff:hover { color: var(--ink); }
@media (max-width: 480px) {
  .nav-link-staff { margin-left: 0; }
}
@media (max-width: 480px) {
  .primary-nav { gap: 18px; margin-top: 24px; }
  .nav-link { font-size: 11px; letter-spacing: 0.14em; }
}

/* ── Hero (Home only) ── */
.hero {
  padding: 100px 0 130px;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.hero .lede {
  margin-top: 28px;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 560px;
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 80px; }
}

/* ── Full-bleed imagery ── */
.bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.hero-figure {
  margin: 0 0 64px;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: clamp(280px, 46vh, 480px);
  object-fit: cover;
}
.hero-figure figcaption,
.page-figure figcaption {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 32px 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.page-figure {
  margin: 26px 0 30px;
}
.page-figure img {
  display: block;
  width: 100%;
  height: clamp(220px, 36vh, 380px);
  object-fit: cover;
}
@media (max-width: 560px) {
  .hero-figure figcaption, .page-figure figcaption { padding: 10px 22px 0; }
}

/* ── Moss band (dark full-bleed section) ── */
.band {
  border-top: none;
  padding: 0;
  background: var(--moss);
}
.band-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}
.band .sec-label { color: var(--muted-on-moss); }
.band p { color: var(--paper-on-moss); }
.band .pull {
  color: #faf8f3;
  border-left-color: var(--clay);
}
@media (max-width: 560px) {
  .band-inner { padding: 56px 22px 60px; }
}

/* ── Materials board (signature) ── */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 36px;
}
.mat {
  background: var(--paper);
  padding-bottom: 16px;
}
.mat img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.mat-name {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 14px 2px;
  line-height: 1.25;
}
.mat-spec {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 2px 14px 0;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .materials { grid-template-columns: 1fr; }
}

/* ── Hero entrance (one orchestrated moment) ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero h1 { animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.hero .lede { animation: rise 0.7s 0.12s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede { animation: none; }
}

/* ── Page title (inner pages) ── */
.page-title {
  padding: 72px 0 56px;
  max-width: 720px;
}
.page-title .crumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.page-title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.page-title h1 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
}
.page-title .lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 580px;
}
@media (max-width: 560px) {
  .page-title { padding: 48px 0 36px; }
}

/* ── Section ── */
section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
.sec-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.sec-body {
  max-width: 640px;
}
.sec-body p + p {
  margin-top: 18px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 24px;
  max-width: 640px;
}
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 6px;
}

/* ── Project block ── */
.project {
  padding: 80px 0 64px;
}
.project-photo {
  background: var(--paper-alt);
  aspect-ratio: 3 / 2;
  margin: 36px 0 44px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.project-photo::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed var(--rule);
}
.project-photo span {
  position: relative;
  z-index: 1;
}
img { max-width: 100%; height: auto; }
.project-figure {
  margin: 36px 0 44px;
}
.project-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.project-figure figcaption {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-spec {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px 32px;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  font-size: 15px;
}
.project-spec dt {
  color: var(--ink-muted);
  font-weight: 500;
}
.project-spec dd {
  color: var(--ink);
}
@media (max-width: 560px) {
  .project-spec { grid-template-columns: 1fr; gap: 4px 0; }
  .project-spec dd { margin-bottom: 14px; }
}

/* ── Method list ── */
.method {
  margin-top: 36px;
}
.method-item {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 24px;
  align-items: baseline;
}
.method-item:last-child { border-bottom: 1px solid var(--rule); }
.method-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  font-weight: 400;
}
.method-body p {
  margin-top: 4px;
  color: var(--ink-mid);
  font-size: 16px;
}
@media (max-width: 480px) {
  .method-item { grid-template-columns: 1fr; gap: 6px; }
  .method-num { font-size: 15px; }
}

/* ── Services / regulatory list ── */
.services-list {
  list-style: none;
  margin-top: 22px;
  padding-left: 0;
}
.services-list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-mid);
  font-size: 15.5px;
  line-height: 1.55;
}
.services-list li:last-child { border-bottom: 1px solid var(--rule); }
.services-list li strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--serif);
  font-size: 16.5px;
  display: inline;
  margin-right: 4px;
}

.nope {
  margin-top: 24px;
  color: var(--ink-mid);
  font-size: 15px;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.55;
}

/* ── Contact ── */
.contact-row {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.7;
}
.contact-row a {
  color: var(--ink);
}

/* ── Pull-quote ── */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 580px;
  margin: 36px 0;
  padding-left: 22px;
  border-left: 2px solid var(--lime);
}

/* ── Onward links (home page cards) ── */
.onward {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 24px;
}
.onward a {
  background: var(--paper);
  padding: 28px 24px;
  text-decoration: none;
  display: block;
  transition: background .15s;
}
.onward a:hover {
  background: var(--paper-alt);
  text-decoration: none;
}
.onward .onward-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 8px;
}
.onward .onward-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  line-height: 1.2;
  display: block;
  margin-bottom: 6px;
}
.onward .onward-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.onward a:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .onward { grid-template-columns: 1fr; }
}

/* ── Footer ── */
footer {
  padding: 72px 0 56px;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}
footer p + p { margin-top: 4px; }
footer .foot-links {
  margin-top: 16px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer .foot-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
footer .foot-links a:hover { color: var(--ink); }

/* ── Legal pages ── */
.legal-body { max-width: 680px; }
.legal-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px,2.6vw,25px); margin: 2.1rem 0 0.7rem; line-height: 1.2; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0.7rem 0; color: var(--ink-mid); }
.legal-body ul { margin: 0.6rem 0 1rem 1.2rem; }
.legal-body li { margin: 0.35rem 0; color: var(--ink-mid); line-height: 1.55; }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body code { background: var(--paper-alt); padding: 0.05em 0.35em; border-radius: 4px; font-size: 0.9em; }
.legal-meta { color: var(--ink-muted); font-size: 0.82em; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.legal-index { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.legal-index li { border-top: 1px solid var(--rule); padding: 1rem 0; }
.legal-index li:last-child { border-bottom: 1px solid var(--rule); }
.legal-index a { font-family: var(--serif); font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.legal-index a:hover { color: var(--lime); }
.legal-index .li-desc { display: block; color: var(--ink-mid); font-size: 0.9rem; margin-top: 0.2rem; }
