/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --bg:           #EDE8DF;
  --bg-dark:      #0E1310;
  --accent:       #B55A38;
  --accent-dark:  #9e4a2b;
  --bg-olive:     #263318;
  --text:         #1A1A18;
  --text-muted:   #6B6B60;
  --text-light:   #EDE8DF;
  --placeholder:  #C8BDA8;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-w:        1280px;
  --pad-x:        clamp(1.5rem, 6vw, 5rem);
}

/* ─── INTRO SPLASH ───────────────────────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.42s ease;
}
#intro.out { opacity: 0; pointer-events: none; }

.intro-logo {
  width: 150px;
  height: 150px;
  animation: logoPop 1100ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes logoPop {
  0%   { opacity: 0; transform: scale(0.82); }
  25%  { opacity: 1; transform: scale(1); }
  72%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.07); }
}

body.loading .reveal { transition: none; opacity: 0; transform: translateY(36px); }

/* ─── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── CONTAINER ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── PHOTO PLACEHOLDERS ─────────────────────────────────────────────── */
.photo-placeholder {
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}
.photo-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.28);
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}
.photo-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.photo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-wide {
  width: 100%;
  height: clamp(440px, 58vh, 680px);
  overflow: hidden;
  background: var(--bg-dark);
}
.photo-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.photo-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── EYEBROW ────────────────────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── SECTION HEADING ────────────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

/* ─── REVEAL ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad-x);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(26, 26, 24, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-img {
  width: 72px;
  height: 72px;
  transition: opacity 0.4s ease;
}
.site-header:not(.scrolled) .nav-logo-img {
  opacity: 0.85;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.4s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
  opacity: 1;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(237, 232, 223, 0.38) 0%, transparent 18%),
    linear-gradient(to bottom, transparent 55%, rgba(14, 19, 16, 0.62) 80%, rgba(14, 19, 16, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad-x) clamp(3rem, 9vh, 6rem);
  max-width: 860px;
}
.hero .eyebrow { color: rgba(237, 232, 223, 0.55); margin-bottom: 1.25rem; }
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 4.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}
.hero-names {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.45);
}
.scroll-hint {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  right: var(--pad-x);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.35);
}
.scroll-hint svg { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─── WHO WE ARE ─────────────────────────────────────────────────────── */
.section-who {
  padding: clamp(5rem, 11vh, 9rem) 0;
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.who-text p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.92;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.who-text p:last-child { margin-bottom: 0; }

/* ─── THROUGH-LINE ───────────────────────────────────────────────────── */
.section-throughline {
  background: var(--bg-dark);
}
.section-throughline .photo-placeholder {
  background: #1a2510;
}
.photo-wide {
  background: var(--bg-dark);
}
.section-throughline .photo-label { color: rgba(237, 232, 223, 0.15); }
.throughline-content {
  padding-top: clamp(3.5rem, 8vh, 7rem);
  padding-bottom: clamp(3.5rem, 8vh, 7rem);
}
.throughline-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 2.25rem;
}
.location-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 2.75rem;
}
.location-list span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.5);
}
.location-list .dot { color: rgba(237, 232, 223, 0.2); }
.throughline-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.92;
  color: rgba(237, 232, 223, 0.55);
  max-width: 660px;
}

/* ─── WHAT WE'RE BUILDING ────────────────────────────────────────────── */
.section-building {
  padding: clamp(5rem, 11vh, 9rem) 0;
}
.building-header {
  margin-bottom: 3.5rem;
}
.building-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(26, 26, 24, 0.1);
}
.building-card {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-right: 1px solid rgba(26, 26, 24, 0.1);
  transition: background 0.25s ease;
}
.building-card:last-child { border-right: none; }
.building-card:hover { background: rgba(181, 90, 56, 0.05); }
.card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.card-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-top: 0.2rem;
}
.card-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-muted);
  flex: 1;
}
.card-link {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.6rem;
  transition: opacity 0.2s;
}
.building-card:hover .card-link { opacity: 0.65; }

/* ─── FOLLOW ALONG ───────────────────────────────────────────────────── */
.section-follow {
  background: var(--bg-dark);
  padding: clamp(5rem, 11vh, 9rem) 0;
}
.section-follow .eyebrow { color: rgba(237, 232, 223, 0.4); }
.section-follow .section-heading {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.follow-header {
  margin-bottom: 4rem;
  max-width: 580px;
}
.follow-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(237, 232, 223, 0.45);
}
.follow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 5.5rem;
}
.follow-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.section-follow .photo-placeholder {
  background: #162019;
}
.section-follow .photo-label { color: rgba(237, 232, 223, 0.18); }
.follow-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}
.follow-card-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(237, 232, 223, 0.42);
  flex: 1;
  margin-bottom: 1.1rem;
}
.follow-card-link {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.2s;
}
.follow-card:hover .follow-card-link { opacity: 0.65; }

/* ─── NEWSLETTER ─────────────────────────────────────────────────────── */
.newsletter {
  border-top: 1px solid rgba(237, 232, 223, 0.1);
  padding-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.newsletter-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.newsletter-sub {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(237, 232, 223, 0.38);
}
.newsletter-form {
  display: flex;
  flex-shrink: 0;
}
.newsletter-input {
  width: 260px;
  padding: 0.85rem 1.25rem;
  background: rgba(237, 232, 223, 0.06);
  border: 1px solid rgba(237, 232, 223, 0.14);
  border-right: none;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(237, 232, 223, 0.28); }
.newsletter-input:focus { border-color: rgba(237, 232, 223, 0.32); }
.newsletter-btn {
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.newsletter-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(237, 232, 223, 0.06);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo img {
  width: 38px;
  height: 38px;
  opacity: 0.55;
  filter: invert(1);
}
.footer-nav {
  display: flex;
  gap: 2.25rem;
}
.footer-nav a {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(237, 232, 223, 0.65); }
.footer-copy {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: rgba(237, 232, 223, 0.18);
}

/* ─── MOBILE ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .who-grid { grid-template-columns: 1fr; }
  .photo-portrait { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 1.75rem var(--pad-x);
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(26, 26, 24, 0.1);
  }
  .site-header.nav-open .nav-links a {
    color: var(--text) !important;
    opacity: 0.6 !important;
  }
  .site-header.nav-open .nav-links a:hover { opacity: 1 !important; }

  .hero-heading { font-size: clamp(1.75rem, 7.5vw, 2.8rem); }

  .building-grid { grid-template-columns: 1fr; }
  .building-card {
    border-right: none;
    border-bottom: 1px solid rgba(26, 26, 24, 0.1);
  }
  .building-card:last-child { border-bottom: none; }

  .follow-grid { grid-template-columns: 1fr; gap: 3rem; }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input {
    width: 100%;
    border-right: 1px solid rgba(237, 232, 223, 0.14);
    border-bottom: none;
  }
  .newsletter-btn { width: 100%; text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-nav { flex-wrap: wrap; gap: 1.25rem; }
}

/* ─── BLOG PAGES ─────────────────────────────────────────────────────── */
.blog-hero {
  position: relative;
  height: clamp(340px, 48vh, 560px);
  overflow: hidden;
  background: var(--bg-dark);
}
.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,19,16,0.25) 0%, rgba(14,19,16,0.72) 100%);
}
.blog-hero-content {
  position: absolute;
  bottom: clamp(2.5rem, 6vh, 4.5rem);
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 2;
}
.blog-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.blog-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.05;
  max-width: 820px;
}

.posts-section {
  background: var(--bg);
  padding: clamp(4rem, 9vh, 7rem) 0;
}
.posts-intro {
  max-width: 640px;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
.posts-intro p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3.5rem 2.5rem;
}

.post-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--placeholder);
  margin-bottom: 1.25rem;
}
.post-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.post-card:hover .post-card-photo img { transform: scale(1.04); }
.post-date {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.post-excerpt {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.post-read-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.posts-empty {
  padding: clamp(3rem, 6vh, 5rem) 0;
}
.posts-empty-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 520px;
}

@media (max-width: 768px) {
  .blog-page-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .posts-grid { grid-template-columns: 1fr; gap: 3rem; }
}