:root {
  --ink: #191a17;
  --ink-soft: #4f5149;
  --paper: #f3f0e9;
  --paper-light: #fbfaf7;
  --forest: #263d35;
  --forest-light: #dce4dc;
  --clay: #bc6544;
  --line: rgba(25, 26, 23, 0.16);
  --white: #fff;
  --shadow: 0 28px 70px rgba(31, 33, 28, 0.12);
  --radius: 1.25rem;
  --container: min(1180px, calc(100% - 48px));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.15rem; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}
h1, h2, h3 { overflow-wrap: break-word; }
h1 { font-size: clamp(3.35rem, 8.2vw, 7.6rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.35rem, 5vw, 4.7rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; }
h4 { font-size: 1.15rem; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--clay); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -4rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 2rem; height: 1px; background: currentColor; content: ""; }
.eyebrow.light { color: #d9c0ae; }
.lede { max-width: 740px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.65; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .18rem;
  border-bottom: 1px solid currentColor;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link::after { content: "↗"; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(.2rem, -.2rem); }
.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.button.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button.button-light:hover { background: transparent; color: var(--white); }
.button.button-outline { background: transparent; color: var(--ink); }
.button.button-outline:hover { background: var(--ink); color: var(--white); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: grid;
  min-height: 82px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
}
.brand small {
  font-family: var(--sans);
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.desktop-nav { justify-self: center; }
.desktop-nav ul { display: flex; margin: 0; padding: 0; gap: 1.6rem; list-style: none; }
.desktop-nav a {
  position: relative;
  padding-block: .4rem;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-actions .button { min-height: 2.7rem; padding: .7rem 1rem; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 82px 0 0;
  padding: 2.2rem 24px;
  background: var(--paper-light);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; animation: menuIn .22s ease both; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.15;
  text-decoration: none;
}
.mobile-nav a::after { color: var(--clay); content: "↗"; font-family: var(--sans); font-size: 1rem; }
.mobile-contact { margin-top: 2rem; color: var(--ink-soft); font-size: .9rem; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

.hero { position: relative; min-height: calc(100vh - 82px); background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; min-height: calc(100vh - 82px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 6rem clamp(1.5rem, 4vw, 4.5rem) 5rem max(24px, calc((100vw - 1180px) / 2)); }
.hero-copy h1 { max-width: none; font-size: clamp(3.35rem, 6.2vw, 5.7rem); }
.hero-copy .lede { max-width: 590px; margin: 2rem 0 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media { position: relative; min-height: 620px; }
.hero-media img { height: 100%; object-fit: cover; }
.hero-note {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 270px;
  padding: 1rem 1.1rem;
  background: rgba(251, 250, 247, .94);
  font-size: .76rem;
  line-height: 1.5;
}
.hero-note strong { display: block; margin-bottom: .25rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-index {
  position: absolute;
  right: -1rem;
  top: 3rem;
  color: rgba(255,255,255,.78);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 17rem);
  letter-spacing: -.08em;
  line-height: .8;
  pointer-events: none;
}

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0 4rem; background: var(--paper); }
.page-hero-grid { display: grid; align-items: end; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 4rem; }
.page-hero h1 { max-width: 10.5ch; }
.page-hero .lede { margin: 0; }
.crumbs { margin-bottom: 2rem; color: var(--ink-soft); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs span { margin-inline: .45rem; color: var(--clay); }

.intro-section { padding: clamp(5.5rem, 10vw, 10rem) 0; }
.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 9vw, 9rem); }
.intro-grid h2 { max-width: 9ch; }
.intro-copy { padding-top: .4rem; columns: 2; column-gap: 2.5rem; color: var(--ink-soft); }
.intro-copy p { break-inside: avoid; }
.intro-copy .text-link { margin-top: 1rem; color: var(--ink); }

.pillars { padding: clamp(5rem, 8vw, 8rem) 0; background: var(--forest); color: var(--white); }
.section-heading { display: grid; align-items: end; grid-template-columns: 1fr minmax(280px, .52fr); gap: 3rem; margin-bottom: 4rem; }
.section-heading p { margin: 0; color: rgba(255,255,255,.7); }
.section-heading.dark p { color: var(--ink-soft); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.pillar-card { min-height: 390px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.22); }
.pillar-card:first-child { border-left: 1px solid rgba(255,255,255,.22); }
.card-number { display: block; margin-bottom: 5rem; color: #d9c0ae; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.pillar-card h3 { margin-bottom: 1.1rem; }
.pillar-card p { color: rgba(255,255,255,.68); font-size: .93rem; }
.pillar-card .text-link { margin-top: 1.3rem; color: var(--white); }

.feature { padding: clamp(5rem, 10vw, 10rem) 0; overflow: hidden; }
.feature-grid { display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 8rem); }
.feature-media { position: relative; }
.feature-media img { aspect-ratio: 4 / 3.35; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.feature-media::after { position: absolute; z-index: -1; right: -5rem; bottom: -4rem; width: 70%; height: 75%; background: var(--forest-light); content: ""; }
.feature-copy h2 { max-width: 10ch; margin-bottom: 1.8rem; }
.feature-copy p { color: var(--ink-soft); }
.fact-list { margin: 2rem 0 2.2rem; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.fact-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fact-list span { color: var(--clay); font-weight: 800; }

.project-section { padding: clamp(5rem, 9vw, 9rem) 0; background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.project-card { position: relative; min-height: 420px; padding: 2rem; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.project-card:nth-child(1) { grid-column: span 5; background: #d8d0c3; }
.project-card:nth-child(2) { grid-column: span 7; background: var(--forest); color: var(--white); }
.project-card:nth-child(3) { grid-column: span 7; background: var(--clay); color: var(--white); }
.project-card:nth-child(4) { grid-column: span 5; background: #e6e2d7; }
.project-card .card-number { margin-bottom: 9rem; color: currentColor; opacity: .65; }
.project-card h3 { max-width: 10ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.project-card p { max-width: 440px; margin-top: 1rem; opacity: .74; }
.project-arrow { position: absolute; right: 1.5rem; top: 1.5rem; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform .25s ease, background .25s ease; }
.project-card:hover .project-arrow { transform: rotate(45deg); background: rgba(255,255,255,.18); }

.process { padding: clamp(5rem, 9vw, 9rem) 0; }
.process-list { margin: 4rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-item { display: grid; grid-template-columns: 70px minmax(180px, .7fr) 1.3fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-item > span { color: var(--clay); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.process-item h3 { font-size: 1.55rem; }
.process-item p { margin: 0; color: var(--ink-soft); }


.content-section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.content-section.tinted { background: var(--paper); }
.content-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 9vw, 9rem); }
.content-grid > * { min-width: 0; }
.content-grid > aside { position: sticky; top: 118px; height: fit-content; }
.content-grid > aside h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.content-body { min-width: 0; max-width: 760px; }
.content-body h2 { margin: 4rem 0 1.35rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { margin: 2.5rem 0 .9rem; }
.content-body p, .content-body li { color: var(--ink-soft); }
.content-body a:not(.button):not(.text-link) { color: var(--forest); font-weight: 700; text-decoration-color: var(--clay); text-underline-offset: .18em; }
.content-body ul, .content-body ol { margin: 1.3rem 0 2rem; padding-left: 1.2rem; }
.content-body li { margin-bottom: .65rem; padding-left: .35rem; }
.callout { margin: 2.8rem 0; padding: 2rem; border-left: 3px solid var(--clay); background: var(--paper); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.table-scroll { width: 100%; max-width: 100%; margin: 2rem 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-scroll:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.data-table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 1rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--ink); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.data-table td { color: var(--ink-soft); }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.info-tile { padding: 1.7rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper-light); }
.info-tile .card-number { margin-bottom: 2.7rem; color: var(--clay); }
.info-tile h3 { margin-bottom: .8rem; font-size: 1.45rem; }
.info-tile p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.visual-break { min-height: 620px; position: relative; display: flex; align-items: end; background: var(--ink); overflow: hidden; }
.visual-break img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .78; }
.visual-break::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15,16,14,.76)); content: ""; }
.visual-caption { position: relative; z-index: 1; max-width: 630px; padding: 4rem 0; color: var(--white); }
.visual-caption h2 { margin-bottom: 1rem; }

.detail-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.detail-card { padding: 2rem; border-radius: var(--radius); background: var(--paper); }
.detail-card h3 { margin-bottom: 1rem; }
.detail-card p { color: var(--ink-soft); }

.contact-section { padding: clamp(5rem, 9vw, 9rem) 0; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 9vw, 9rem); }
.contact-details { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact-details a { text-decoration: none; }
.contact-details p { color: var(--ink-soft); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
  background: transparent;
  padding: .85rem .1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--clay); box-shadow: 0 1px 0 var(--clay); }
.field textarea { min-height: 150px; resize: vertical; }
.form-status { display: none; grid-column: 1 / -1; padding: 1rem; background: var(--forest-light); }
.form-status.show { display: block; }

.cta { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--forest); color: var(--white); }
.cta-grid { display: grid; align-items: end; grid-template-columns: 1.25fr .75fr; gap: 3rem; }
.cta h2 { max-width: 12ch; }
.cta p { max-width: 520px; margin: 0 0 1.5rem; color: rgba(255,255,255,.72); }

.site-footer { padding: 4.5rem 0 1.5rem; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; }
.footer-brand .brand { color: var(--white); font-size: 2.5rem; }
.footer-column h2 { margin-bottom: 1.1rem; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin-bottom: .55rem; }
.footer-column a, .footer-column address { color: rgba(255,255,255,.68); font-size: .84rem; font-style: normal; text-decoration: none; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font-size: .7rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  :root { --container: min(100% - 40px, 920px); }
  .desktop-nav, .header-actions .button { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding-left: max(24px, calc((100vw - 920px) / 2)); }
  .hero-media { min-height: 600px; }
  .page-hero-grid, .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero h1 { max-width: none; font-size: clamp(3.35rem, 7vw, 5.6rem); }
  .intro-grid, .content-grid { gap: 4rem; }
  .pillar-card { min-height: 430px; padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 32px); }
  body { line-height: 1.65; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.3rem); }
  h2 { font-size: clamp(2.3rem, 11vw, 3.8rem); }
  .header-inner { min-height: 72px; }
  .mobile-nav { top: 72px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; }
  .hero-copy { min-height: 0; padding: 5rem 16px 4.5rem; }
  .hero-copy h1 { max-width: none; font-size: clamp(2.9rem, 14vw, 4.3rem); }
  .hero-copy .lede { margin: 1.5rem 0 2rem; font-size: 1.05rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-media { min-height: 480px; }
  .hero-index { top: 2rem; font-size: 11rem; }
  .page-hero { padding: 4.5rem 0 3.5rem; }
  .page-hero h1 { max-width: none; font-size: clamp(2.75rem, 12vw, 4.8rem); }
  .page-hero-grid, .intro-grid, .feature-grid, .content-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .intro-copy { columns: 1; }
  .section-heading { margin-bottom: 2.5rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card, .pillar-card:first-child { min-height: 0; border: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .card-number, .pillar-card .card-number { margin-bottom: 2.5rem; }
  .feature-grid { gap: 4rem; }
  .feature-media::after { right: -1rem; bottom: -2rem; }
  .project-grid { display: block; }
  .project-card { display: block; min-height: 380px; margin-bottom: 1rem; }
  .project-card .card-number { margin-bottom: 7rem; }
  .process-item { grid-template-columns: 42px 1fr; gap: 1.2rem; }
  .process-item p { grid-column: 2; }
  .content-grid > aside { position: static; }
  .tile-grid, .detail-cards { grid-template-columns: 1fr; }
  .visual-break { min-height: 560px; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-status { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .data-table { font-size: .86rem; }
}

@media (max-width: 430px) {
  .page-hero h1 { font-size: clamp(2.5rem, 11vw, 3rem); overflow-wrap: anywhere; text-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-note { right: 1rem; bottom: 1rem; left: 1rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
