@font-face {
  font-family: "EB Garamond Local";
  src: url("/fonts/eb-garamond.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  --ink: #272932;
  --ink-soft: #51515a;
  --ivory: #f8f3e8;
  --sand: #efd3ad;
  --sand-light: #f4dec0;
  --cream: #fffaf0;
  --line: rgba(39, 41, 50, 0.23);
  --serif: "EB Garamond Local", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(88rem, calc(100vw - 3rem));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  font-family: var(--sans);
  font-size: .85rem;
}
.skip-link:focus { top: 1rem; }
.shell { width: var(--page); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  min-height: 8.5rem;
  margin-inline: auto;
}
.brand { display: block; width: 9.5rem; }
.brand img { width: 100%; height: 7.2rem; object-fit: contain; object-position: center; }
.menu-toggle {
  position: relative;
  z-index: 40;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: .75rem;
  font-family: var(--sans);
  font-size: .9rem;
  letter-spacing: .18em;
}
.menu-toggle::before { content: "[ "; }
.menu-toggle::after { content: " ]"; }
.menu-toggle span { display: inline-block; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(248, 243, 232, .98);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.menu-panel.is-open { opacity: 1; visibility: visible; }
.menu-panel nav { display: grid; gap: .6rem; text-align: center; }
.menu-panel a { text-decoration: none; font-size: clamp(2.3rem, 6vw, 5.5rem); line-height: 1.05; }
.menu-panel a:hover { font-style: italic; }
.hero { padding-bottom: 1.5rem; }
.hero-visual { position: relative; overflow: hidden; aspect-ratio: 3 / 1; min-height: 24rem; background: #c9b69f; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39,41,50,.1), transparent 40%, rgba(39,41,50,.05));
  pointer-events: none;
}
.hero-kicker {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.35;
}
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-title { margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 400; line-height: .95; }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(20rem, 1fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; padding-block: 1.5rem 8rem; }
.about-media { aspect-ratio: 4 / 3; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { max-width: 37rem; }
.section-intro { max-width: 50rem; margin: 1.3rem auto 0; }
.projects { background: var(--sand-light); padding-block: clamp(6rem, 10vw, 10rem); }
.section-heading { text-align: center; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4.5rem); margin-top: 4rem; }
.project { text-align: center; }
.project figure { margin: 0 auto 2rem; width: min(17rem, 82%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.045); }
.project h3 { font-size: 1.45rem; line-height: 1.2; }
.project p { color: var(--ink-soft); }
.capabilities { background: var(--cream); padding-block: clamp(6rem, 10vw, 10rem); }
.capability-list { border-top: 1px solid var(--line); margin-top: 5rem; }
.capability-number { display: none !important; }
.capability {
  display: grid;
  grid-template-columns: minmax(12rem, .75fr) minmax(20rem, 1.25fr) 14rem;
  gap: 2rem;
  align-items: center;
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--line);
}
.capability h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 3.1rem); font-weight: 400; line-height: 1; }
.capability p { margin: 0; color: var(--ink-soft); }
.capability figure { margin: 0; aspect-ratio: 5 / 3; overflow: hidden; }
.capability img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84); transition: transform .6s ease, filter .6s ease; }
.capability:hover img { transform: scale(1.035); filter: saturate(1); }
.site-footer { background: var(--ink); color: var(--ivory); padding-block: 6rem 2rem; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; padding-bottom: 5rem; }
.footer-title { margin: 0; font-size: clamp(3.42rem, 7.2vw, 7.2rem); font-weight: 400; line-height: .85; }
.contact-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.contact-list li + li { margin-top: .7rem; }
.contact-list a { text-underline-offset: .25em; }
.footer-bottom { display: flex; gap: 1rem 2rem; justify-content: space-between; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(248,243,232,.25); font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-underline-offset: .25em; }
.legal-page main { width: min(58rem, calc(100vw - 3rem)); margin: 3rem auto 8rem; }
.legal-page h1 { font-size: clamp(3.6rem, 8vw, 7rem); font-weight: 400; line-height: 1; }
.legal-page h2 { margin-top: 2.5rem; font-size: 1.8rem; font-weight: 400; }
.legal-page ul { padding-left: 1.25rem; }
.legal-meta { font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(6rem, 20vw, 15rem); line-height: .7; margin: 0; font-weight: 400; }
.not-found a { display: inline-block; margin-top: 1.5rem; }

@media (max-width: 980px) {
  :root { --page: min(100% - 2rem, 60rem); }
  .site-header { min-height: 7rem; }
  .brand { width: 8rem; }
  .brand img { height: 5.8rem; }
  .hero-visual { aspect-ratio: 4 / 3; min-height: 0; }
  .about { grid-template-columns: 1fr; gap: 3rem; padding-block: .75rem 6rem; }
  .about-media { max-width: 42rem; }
  .project-grid { grid-template-columns: 1fr; gap: 4rem; }
  .project { max-width: 34rem; margin-inline: auto; }
  .capability { grid-template-columns: 1fr; }
  .capability p { grid-column: 1; }
  .capability figure { grid-column: 1; width: min(26rem, 100%); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1.05rem; }
  .hero { padding-bottom: 1.5rem; }
  .hero-kicker { margin-top: 1.4rem; }
  .about { padding-top: .5rem; }
  .capability { gap: 1.2rem; }
  .footer-top { padding-bottom: 3rem; }
  .footer-bottom { flex-direction: column; }
}

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