/* ---------- tokens ---------- */
:root {
  --bg: #F2EFE9;
  --bg-alt: #E8E4DC;
  --navy: #1E2A3A;
  --red: #E8273A;
  --red-dark: #C71F30;
  --ink: #0D0D0D;
  --white: #FFFFFF;
  --line: rgba(13, 13, 13, 0.15);
  --line-on-navy: rgba(242, 239, 233, 0.18);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(24px, 5vw, 64px);
  --max: 1180px;
  --radius: 2px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--bg); }
.btn-nav {
  background: var(--navy);
  color: var(--bg);
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}
.btn-nav:hover { background: var(--ink); }
.btn-small { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.main-nav {
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) var(--gutter) clamp(48px, 7vw, 88px);
}
.hero-kicker {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 38ch;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-photo img {
  width: 100%;
  height: clamp(320px, 55vw, 620px);
  object-fit: cover;
}

/* ---------- stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--bg);
  display: flex;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 220px;
  padding: 1.6rem var(--gutter);
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1px solid var(--line-on-navy);
  border-bottom: 1px solid var(--line-on-navy);
}
.stats-band .stat:last-child { border-right: none; }

/* ---------- generic section ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  border-top: 1px solid var(--line);
}
.section-kicker {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  max-width: 18ch;
  margin-bottom: 1.4rem;
}
.section-lead {
  font-size: 1.08rem;
  max-width: 62ch;
  margin-bottom: 1rem;
}

/* ---------- divided row (pillars / brand details / contact) ---------- */
.divided-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0 2.75rem;
}
.divided-row-4 { grid-template-columns: repeat(4, 1fr); }
.divided-row > div {
  padding: 1.9rem 1.75rem 1.9rem 0;
  border-right: 1px solid var(--line);
}
.divided-row > div:last-child { border-right: none; }
.divided-row h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.divided-row p { font-size: 0.98rem; }
.divided-row a:hover { text-decoration: underline; }
.meta {
  font-size: 0.85rem;
  color: rgba(13, 13, 13, 0.6);
  margin-top: 0.3rem;
}

/* ---------- in-person split ---------- */
.in-person {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.in-person-copy p { margin-bottom: 1.1rem; max-width: 52ch; }
.in-person-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.plain-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
}
.plain-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.plain-list li:first-child { border-top: 1px solid var(--line); }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 2.25rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3) { grid-column: span 2; }
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5) { grid-column: span 3; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--bg);
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-footer .logo { color: var(--bg); margin-right: auto; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .main-nav.open a { padding: 0.6rem 0; }

  .in-person { grid-template-columns: 1fr; }
  .in-person-photo { order: 2; }
  .in-person-photo img { min-height: 260px; }

  .divided-row, .divided-row-4 {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .divided-row > div {
    padding: 1.4rem 0;
    border-right: none;
    border-top: 1px solid var(--line);
  }
  .divided-row > div:last-child { border-bottom: 1px solid var(--line); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img:nth-child(n) { grid-column: span 1; }

  .stat { flex: 1 1 100%; border-right: none; }
}
