:root {
  --bg: #f5f2ec;
  --bg-soft: #fbfaf7;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --text: #201b17;
  --muted: #6f665d;
  --line: rgba(32, 27, 23, 0.1);
  --accent: #8f7355;
  --accent-warm: #caa278;
  --max: 1200px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 20px 60px rgba(57, 39, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(202, 162, 120, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f5ef 0%, #f6f2eb 38%, #f3efe8 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 249, 0.84);
  border-bottom: 1px solid rgba(32, 27, 23, 0.06);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-kicker {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.2vw + 0.85rem, 1.6rem);
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button-link:hover {
  transform: translateY(-1px);
}

.button-link.primary {
  background: linear-gradient(135deg, #b99167 0%, #89684b 100%);
  color: #fffdf9;
  font-weight: 600;
}

.button-link.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: end;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.95) 0%, rgba(251, 248, 241, 0.82) 42%, rgba(251, 248, 241, 0.35) 100%),
    linear-gradient(180deg, rgba(251, 248, 241, 0.06) 0%, rgba(251, 248, 241, 0.58) 100%);
  z-index: 1;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero-grid {
  width: min(100%, 690px);
  padding: 5.5rem 0 6.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.hero-copy,
.section-copy,
.lede,
.page-intro {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-copy {
  max-width: 54ch;
  margin: 1.85rem 0 0;
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-facts {
  margin-top: 3rem;
  padding-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid rgba(32, 27, 23, 0.12);
}

.hero-facts strong,
.metric strong {
  display: block;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.hero-facts span,
.metric span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0;
}

.section.tight {
  padding-top: 5.75rem;
  padding-bottom: 5.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: start;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.four-column {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 1rem;
}

.quote-block {
  border-left: 1px solid rgba(32, 27, 23, 0.15);
  padding-left: 1.4rem;
  color: var(--text);
  line-height: 1.65;
  font-size: 1.25rem;
  max-width: 30ch;
}

.panel,
.image-panel,
.cta-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel {
  padding: 2rem;
  min-height: 220px;
}

.panel p,
.panel li,
.project-card p,
.insight-card p {
  color: var(--muted);
  line-height: 1.7;
}

.panel ul,
.list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.panel li,
.list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(32, 27, 23, 0.08);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.image-panel .panel-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.founder-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.founder-image.wide img {
  aspect-ratio: 16 / 10;
  object-position: center 22%;
}

.service-card,
.sector-card,
.project-card,
.insight-card {
  min-height: 100%;
}

.service-card h3,
.sector-card h3,
.project-card h3,
.insight-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p:last-child,
.sector-card p:last-child,
.project-card p:last-child,
.insight-card p:last-child {
  margin-bottom: 0;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

.split-feature .feature-copy {
  padding: 2.5rem;
}

.split-feature .feature-media {
  min-height: 540px;
}

.split-feature .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.95) 0%, rgba(251, 248, 241, 0.8) 50%, rgba(251, 248, 241, 0.26) 100%),
    linear-gradient(180deg, rgba(251, 248, 241, 0.18) 0%, rgba(251, 248, 241, 0.52) 100%);
  z-index: 1;
}

.page-hero-content {
  padding: 5.5rem 0 5rem;
}

.page-hero h1 {
  font-size: clamp(2.9rem, 5vw, 5.1rem);
}

.page-intro {
  max-width: 58ch;
  margin-top: 1.35rem;
}

.band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(246, 240, 232, 0.5));
  border-top: 1px solid rgba(32, 27, 23, 0.05);
  border-bottom: 1px solid rgba(32, 27, 23, 0.05);
}

.cta-panel {
  padding: 2.6rem;
}

.cta-panel h2 {
  max-width: 14ch;
}

.cta-panel p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label {
  color: var(--text);
  font-size: 0.95rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(32, 27, 23, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 1rem 1.05rem;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(32, 27, 23, 0.08);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(32, 27, 23, 0.08);
    border-radius: 24px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .two-column,
  .three-column,
  .four-column,
  .split-feature,
  .contact-grid,
  .metrics,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 76px);
  }

  .hero-grid,
  .page-hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section,
  .hero-content,
  .page-hero-content,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .section {
    padding: 5.25rem 0;
  }

  .button-link {
    width: 100%;
  }
}
