
:root {
  --ink: #16211d;
  --muted: #68716c;
  --paper: #f6f4ef;
  --white: #fffdf9;
  --line: #dcd8cf;
  --sage: #dce4dc;
  --deep: #20382f;
  --accent: #b4613f;
  --accent-dark: #8f492f;
  --shadow: 0 24px 70px rgba(22, 33, 29, 0.10);
  --radius: 24px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22, 33, 29, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--white);
  font: 700 13px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}
.brand-copy { display: grid; line-height: 1.1; gap: 5px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.brand-copy small { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.site-nav a {
  text-decoration: none;
  color: #36413c;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
}
.nav-toggle { display: none; }

.hero {
  padding: 72px 0 58px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(50px, 6.2vw, 86px);
  line-height: .98;
  font-weight: 500;
}

h1 em {
  font-weight: 500;
  color: var(--accent-dark);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.02;
  font-weight: 500;
}

h3 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: #4d5752;
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 34px 0 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}
.button.primary {
  background: var(--deep);
  color: white;
}
.button.primary:hover { background: #152a22; }
.text-button {
  padding-inline: 6px;
  color: var(--accent-dark);
}
.text-button:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts div { display: grid; gap: 4px; }
.hero-facts strong { font-size: 13px; }
.hero-facts span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -28px -28px 72px 62px;
  z-index: -1;
  border-radius: 42px;
  background: var(--sage);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 67% 20%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  padding: 14px 16px;
  border-radius: 14px;
  color: white;
  background: rgba(22, 33, 29, .86);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

.section { padding: 100px 0; }

.intro-strip { padding: 18px 0; border-block: 1px solid var(--line); }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-row span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: #47504c;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 92px;
}
.section-heading { max-width: 620px; }
.section-heading.narrow { max-width: 750px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }

.about-copy > p { color: #4d5752; }
.about-copy .big-copy {
  margin-top: 0;
  color: var(--ink);
  font: 500 clamp(24px, 2.8vw, 34px)/1.35 Georgia, "Times New Roman", serif;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 38px;
}
.credentials article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.32);
}
.credentials span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.credentials strong { display: block; line-height: 1.3; }
.credentials p { margin-bottom: 0; color: var(--muted); font-size: 13px; }


.tinted { background: #e9ece5; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card {
  min-height: 280px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(22,33,29,.06);
}
.card-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--accent-dark);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.feature-card h3 { margin-bottom: 14px; }
.feature-card p { margin: 0; color: var(--muted); }

.work-list {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}
.work-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.work-item:hover h3 { color: var(--accent-dark); }
.work-type {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.work-item h3 { margin: 0; font-size: clamp(22px, 2.6vw, 34px); }
.arrow {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}
.work-item:hover .arrow { transform: translate(3px, -3px); background: var(--sage); }

.community { background: var(--deep); color: white; }
.community .eyebrow { color: #edb39b; }
.community-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 76px;
  align-items: center;
}
.community-copy p:not(.eyebrow) { color: #d5dfda; font-size: 18px; }
.community .text-button { color: #f2c8b7; }

.portrait-card {
  margin: 0;
  padding: 18px;
  border-radius: 30px;
  background: #f3efe7;
  color: var(--ink);
}
.portrait-card img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 18px;
}
.portrait-card figcaption {
  display: grid;
  gap: 5px;
  padding: 18px 8px 6px;
}
.portrait-card figcaption strong {
  font: 600 20px/1.2 Georgia, "Times New Roman", serif;
}
.portrait-card figcaption span { color: var(--muted); font-size: 13px; }

.contact { text-align: center; }
.contact-inner {
  max-width: 820px;
  padding: 76px 28px;
  border-radius: 32px;
  background: var(--sage);
}
.contact-inner p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #4f5b55;
  font-size: 18px;
}

.site-footer {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 48px;
}
.site-footer strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.site-footer p { color: var(--muted); font-size: 12px; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--accent-dark); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 760px); }
  .nav-toggle {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 17px; height: 1.5px; background: var(--ink); }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { border: none; border-radius: 10px; background: var(--sage); }

  .hero-grid,
  .split,
  .community-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 54px; }
  .hero-photo { width: min(650px, 100%); }
  .hero-facts { grid-template-columns: 1fr; }
  .split { gap: 26px; }
  .credentials, .card-grid { grid-template-columns: 1fr; }
  .community-grid { gap: 48px; }
}

@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .hero { padding-top: 52px; }
  h1 { font-size: 48px; }
  .brand-copy small { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-photo::before { inset: -16px -10px 60px 22px; }
  .hero-photo figcaption { display: none; }
  .hero-photo img { aspect-ratio: 4/5.3; object-position: 68% 18%; }
  .work-item { align-items: start; gap: 12px; }
  .arrow { width: 38px; }
}
