:root {
  --bg: #fbf7f0;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted: #6a6a6a;
  --rule: #1a1a1a;
  --accent: #007354;
  --color-border-tertiary: #d8d2c4;
  --serif: "Tiempos Headline", "Canela", "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Söhne", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============ NAV ============ */
.site-nav {
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.site-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  height: 92px;
  max-width: 1920px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
}

.brand svg {
  display: block;
  width: 64px;
  height: 54px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 56px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
}

.nav-search {
  margin-left: 24px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--ink);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: calc(100vh - 92px);
  min-height: 620px;
  overflow: hidden;
  background: #0a0d0a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://bhamnow.com/wp-content/uploads/2018/11/OakMountainStateParkFacebook.jpg");
  /*background-image: url("https://images.unsplash.com/photo-1502082553048-f009c37129b9?auto=format&fit=crop&w=2400&q=80");*/
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 96px;
  color: #fbf7f0;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 28px 0;
  max-width: 18ch;
}

.hero__lede {
  font-size: 18px;
  line-height: 1.55;
  max-width: 56ch;
  opacity: 0.92;
  margin: 0;
}

/* ============ SECTIONS ============ */
section.block {
  padding: 120px 0;
  border-top: 1px solid rgba(17,17,17,0.12);
}

.block__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.block__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
  max-width: 22ch;
}

.block__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

.block__body p + p { margin-top: 1.1em; }

/* ============ PAGE HEADERS (non-home) ============ */
.page-header {
  padding: 96px 0 64px;
  border-bottom: 1px solid rgba(17,17,17,0.12);
}

.page-header__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-header__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 16ch;
}

/* ============ ABOUT GRID ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 56px 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}

.principles li h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px 0;
}

.principles li p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ PORTFOLIO GRID ============ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(17,17,17,0.12);
  border: 1px solid rgba(17,17,17,0.12);
  margin-top: 64px;
}

.portfolio-card {
  background: var(--bg);
  padding: 40px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.portfolio-card:hover { background: #f3ecdd; }

.portfolio-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px 0;
}

.portfolio-card__meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-card__year {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ============ LEADERSHIP GRID ============ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 40px;
  margin-top: 64px;
}

.leader-card {
  display: flex;
  flex-direction: column;
}

.leader-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #ece6d7;
  filter: grayscale(0.15);
}

.leader-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 24px 0 6px 0;
  letter-spacing: -0.005em;
}

.leader-card__role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 960px) {
  .leadership-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 600px) {
  .leadership-grid { grid-template-columns: 1fr; }
}

/* ============ PRESS LIST ============ */
.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.press-item {
  display: grid;
  grid-template-columns: 160px 1fr 200px;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(17,17,17,0.12);
  align-items: baseline;
}

.press-item__date {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-item__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.005em;
}

.press-item__title a:hover { color: var(--accent); }

.press-item__source {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

/* ============ FOOTER + LOADER ============ */
.site-footer {
  border-top: 1px solid rgba(17,17,17,0.18);
  padding: 80px 0 64px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-grid h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px 0;
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin-bottom: 12px; font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }

.footer-tag {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  max-width: 28ch;
  color: var(--ink-soft);
}

.footer-logo {
  display: flex;
  justify-content: center;
  padding: 48px 0 0;
  border-top: 1px solid rgba(17,17,17,0.12);
}

.footer-logo svg {
  display: block;
  width: 120px;
  height: 100px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

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

/* ============ PAGE LOADER ============ */
body.is-loading { overflow: hidden; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-stage {
  position: relative;
  width: 200px;
  height: 168px;
}

.loader-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loader-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  width: 100%;
  overflow: hidden;
}

.loader-fill svg {
  display: block;
  width: 200px;
  height: 168px;
  position: absolute;
  left: 0;
  bottom: 0;
}

@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .nav-links { gap: 28px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.12em; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .principles { grid-template-columns: 1fr 1fr; gap: 36px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .press-item { grid-template-columns: 1fr; gap: 8px; }
  .press-item__source { text-align: left; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .principles { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
