/* ============================================================================
   BELL CONSTRUCTION — THE BUILD JOURNAL / v1.1
   An editorial long-form piece. Heritage meets kinetic.
============================================================================ */

:root {
  /* Brand — sampled from logo */
  --burgundy: #a5002b;
  --burgundy-deep: #6d001c;
  --ember: #ff2a13;
  --brass: #b38b3f;

  /* Neutrals */
  --paper: #fbf7ec;
  --cream: #f1ead9;
  --cream-dark: #e4dcc4;
  --ink: #16110d;
  --ink-soft: #2a221c;
  --ink-mute: #6b5f50;
  --rule: #c9c0a6;
  --rule-soft: #e0d8c0;

  /* Layout */
  --max: 1520px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --chapter-y: clamp(6rem, 12vw, 11rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--burgundy); color: var(--paper); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Typography base */
h1, h2, h3, h4 {
  font-family: 'Staatliches', sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.75rem, 8.5vw, 9.5rem); letter-spacing: 0.003em; }
h2 { font-size: clamp(2.2rem, 6vw, 6rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 400; line-height: 1.1; }

.italic, em, i {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--burgundy);
}
h1 .italic, h1 em { font-weight: 500; }

.mono {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }

/* Progressive-enhancement reveal — only hides when .js loads */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-slow { transition-duration: 1.4s; }

.js .split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js .split-word > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .is-in.split > .split-word > span { transform: translateY(0); }
.js .is-in.split > .split-word:nth-child(1) > span { transition-delay: 0s; }
.js .is-in.split > .split-word:nth-child(2) > span { transition-delay: 0.09s; }
.js .is-in.split > .split-word:nth-child(3) > span { transition-delay: 0.18s; }
.js .is-in.split > .split-word:nth-child(4) > span { transition-delay: 0.27s; }
.js .is-in.split > .split-word:nth-child(5) > span { transition-delay: 0.36s; }
.js .is-in.split > .split-word:nth-child(6) > span { transition-delay: 0.45s; }
.js .is-in.split > .split-word:nth-child(7) > span { transition-delay: 0.54s; }
.js .is-in.split > .split-word:nth-child(8) > span { transition-delay: 0.63s; }
.js .is-in.split > .split-word:nth-child(9) > span { transition-delay: 0.72s; }
.js .is-in.split > .split-word:nth-child(10) > span { transition-delay: 0.81s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .split-word > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============================================================================
   HEADER
============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  color: var(--paper);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 100%;
  padding: 0 var(--gutter);
}
.site-header .logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-header .logo-img {
  display: block;
  height: 56px;
  width: auto;
  transition: height 0.25s ease;
}
@media (max-width: 780px) { .site-header .logo-img { height: 46px; } }
/* When over dark hero (mix-blend-mode: difference), logo PNG inverts; when scrolled into normal, it's natural */
/* Header — white nav + original-color logo at all states */
.site-header { color: var(--paper); }
.site-header .logo-img { filter: none; }
.site-header .site-nav a:not(.contact-nav) { color: var(--paper); }
.site-header .nav-toggle { color: var(--paper); }

/* Scrolled — dark glassmorphism (blur + ink tint) */
.site-header.is-scrolled {
  background: rgba(22, 17, 13, 0.45);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0.65rem 0;
  box-shadow: 0 4px 24px -12px rgba(0,0,0,0.35);
}
.site-header.is-scrolled .logo-img { height: 44px; }
@media (max-width: 780px) {
  /* Mobile: keep dark text & natural logo by default; blur on scroll same as desktop */
}
.footer-logo {
  display: block;
  height: 90px;
  width: auto;
  margin-bottom: 1.5rem;
  max-width: none;
}
.site-nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--paper);
}
.site-nav a { color: var(--paper); transition: opacity 0.2s ease; }
.site-nav a:hover { opacity: 0.55; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 60;
  color: var(--paper);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: block; color: var(--paper); }
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 17, 13, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 45;
    padding: 7rem 2rem 3rem;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a {
    color: var(--paper) !important;
    padding: 0.5rem 1.25rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .site-nav.is-open a { opacity: 1; transform: translateY(0); }
  .site-nav.is-open a:nth-child(1) { transition-delay: 0.10s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.16s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.22s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.28s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.34s; }
  .site-nav a.contact-nav {
    background: var(--bell-red-deep);
    padding: 1rem 2rem;
    margin-top: 1.25rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.24em;
  }
  .site-header { z-index: 50; }
}

/* ============================================================================
   SIDE RAIL — Year/Chapter indicator, always visible
============================================================================ */
.side-rail {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--paper);
}
.side-rail .year {
  font-family: 'Staatliches', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.side-rail .chapter {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.7;
}
@media (max-width: 880px) { .side-rail { display: none; } }

/* ============================================================================
   HERO
============================================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 600px;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 6.5rem var(--gutter) 2.5rem;
}
.hero-top { display: none; }
.hero-eyebrow {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-eyebrow::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--ember);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.08) brightness(0.78);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,17,13,0.55) 0%, rgba(22,17,13,0.1) 30%, rgba(22,17,13,0.6) 85%, rgba(22,17,13,0.95) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(165,0,43,0.25), transparent 55%);
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  color: rgba(255,255,255,0.75);
}
.hero-top .l { display: flex; align-items: center; gap: 0.75rem; }
.hero-top .l::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--ember);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }

.hero-main {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 3rem 0 2rem;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.75rem, 9vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin-bottom: 0;
}
.hero h1 .line { display: block; }
.hero h1 .offset { padding-left: clamp(1rem, 7vw, 7rem); }
.hero h1 .offset-more { padding-left: clamp(2rem, 14vw, 14rem); }
.hero h1 em {
  color: var(--ember);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.025em;
  font-size: 0.92em;
}

.hero-foot {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 2rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
@media (max-width: 880px) { .hero-foot { grid-template-columns: 1fr; gap: 1.5rem; } }
.hero-foot .lede {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  max-width: 36ch;
  font-weight: 400;
}
.hero-foot .lede strong { font-weight: 600; font-style: normal; color: var(--paper); }
.hero-foot .stat {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}
.hero-foot .stat strong {
  display: block;
  font-family: 'Staatliches', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: 0.01em;
  color: var(--paper);
  font-weight: 400;
  margin-top: 0.35rem;
}

.hero-foot .cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}
@media (max-width: 880px) { .hero-foot .cta-wrap { align-items: flex-start; } }

/* ============================================================================
   BUTTONS
============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.9rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0.1em;
  color: inherit;
}
.btn-primary { background: var(--burgundy); color: var(--paper); border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { font-weight: 400; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================================
   CHAPTER TAG — inline compact marker inside each section
============================================================================ */
.chapter-tag {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  flex-wrap: wrap;
}
.chapter-tag .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--burgundy);
  letter-spacing: -0.02em;
  text-transform: none;
}
.chapter-tag .label { color: var(--ink); font-weight: 700; }
.chapter-tag .year { margin-left: auto; color: var(--burgundy); font-weight: 700; }
.chapter-tag.dark { border-bottom-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.chapter-tag.dark .num,
.chapter-tag.dark .year { color: var(--ember); }
.chapter-tag.dark .label { color: var(--paper); }
@media (max-width: 720px) {
  .chapter-tag .year { margin-left: 0; width: 100%; }
}

/* ============================================================================
   SECTION BASE
============================================================================ */
section.story-section,
section.portfolio-section,
section.promises-section,
section.process-section,
section.quote-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  position: relative;
}

.eyebrow { display: block; margin-bottom: 1.5rem; color: var(--burgundy); }

/* ============================================================================
   STORY — The Brothers (editorial dual-portrait)
============================================================================ */
.story-section { background: var(--paper); }
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .story-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.story-col-image {
  position: relative;
}
.story-col-image .portrait {
  aspect-ratio: 3 / 4;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.story-col-image .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-col-image:hover .portrait img { transform: scale(1.04); }
.story-col-image .portrait-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
}

.story-col-image .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

.story-col-text h2 {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 0.92;
  margin-bottom: 2rem;
  max-width: 12ch;
}
.story-col-text h2 em {
  color: var(--burgundy);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
}
.story-col-text .lead-para {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.story-col-text .lead-para::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8em;
  line-height: 0.85;
  float: left;
  padding: 0.1em 0.15em 0 0;
  color: var(--burgundy);
  font-weight: 600;
  font-style: normal;
}
.story-col-text p { margin-bottom: 1.1rem; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }

.story-sig {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  flex-wrap: wrap;
  font-weight: 700;
}
.story-sig strong { color: var(--burgundy); font-weight: 700; }

/* ============================================================================
   PORTFOLIO — Horizontal scroll film strip
============================================================================ */
/* Portfolio wrapper — hugs content, 100vh frame inside */
.portfolio-pin-wrap {
  background: var(--paper);
  position: relative;
  height: auto;
}
.portfolio-pin-inner {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  gap: 2rem;
}

.portfolio-section { background: var(--paper); padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: 0; }

/* Portfolio-head — split layout: h2 left, meta right (full-width edge-to-edge) */
.portfolio-pin-inner .portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 var(--gutter);
  max-width: 100%;
  margin: 0 0 2rem;
  width: 100%;
}
.portfolio-pin-inner .portfolio-head h2 {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 28ch;
  margin: 0;
  flex: 1 1 auto;
}
.portfolio-pin-inner .portfolio-head h2 em {
  color: var(--burgundy);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.025em;
}
.portfolio-pin-inner .portfolio-head .meta-block {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  font-weight: 700;
  max-width: 28rem;
  line-height: 1.7;
}
.portfolio-pin-inner .portfolio-head .meta-block strong { color: var(--burgundy); font-weight: 700; display: block; margin-bottom: 0.4rem; }
@media (max-width: 720px) {
  .portfolio-pin-inner .portfolio-head .meta-block { text-align: left; }
}
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.portfolio-head h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  max-width: 18ch;
}
.portfolio-head h2 em {
  color: var(--burgundy);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
}
.portfolio-head .meta-block {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  font-weight: 700;
  max-width: 28rem;
}
.portfolio-head .meta-block p { font-family: inherit; font-size: inherit; letter-spacing: inherit; color: inherit; line-height: 1.6; text-transform: uppercase; font-weight: 700; }
.portfolio-head .meta-block strong { color: var(--burgundy); font-weight: 700; display: block; margin-bottom: 0.25rem; }

.portfolio-rail {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--burgundy) transparent;
  display: flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .portfolio-rail { cursor: none; }
  .portfolio-rail.is-dragging { scroll-snap-type: none; }
  .portfolio-rail.is-dragging * { pointer-events: none; user-select: none; }
}

/* Drag cursor — circle with DRAG label, follows pointer */
.drag-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
  z-index: 90;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  will-change: transform, left, top;
}
.drag-cursor.is-visible { transform: translate(-50%, -50%) scale(1); }
.drag-cursor.is-down { transform: translate(-50%, -50%) scale(0.88); background: var(--ember); }
.drag-cursor .arrow-l,
.drag-cursor .arrow-r {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  letter-spacing: 0;
  opacity: 0.6;
}
.drag-cursor .arrow-l { left: 10px; }
.drag-cursor .arrow-r { right: 10px; }
@media (hover: none), (pointer: coarse) { .drag-cursor { display: none; } }
.portfolio-rail::-webkit-scrollbar { height: 4px; }
.portfolio-rail::-webkit-scrollbar-track { background: var(--cream); }
.portfolio-rail::-webkit-scrollbar-thumb { background: var(--burgundy); }

.portfolio-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 32vw, 480px);
  gap: 1.25rem;
  padding: 0 var(--gutter);
  will-change: transform;
}

.portfolio-item {
  position: relative;
  scroll-snap-align: start;
}
.portfolio-item .frame {
  aspect-ratio: 3 / 4;
  max-height: 62vh;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.portfolio-item .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-item:hover .frame img { transform: scale(1.05); }
.portfolio-item .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,17,13,0.75) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-item:hover .frame::after { opacity: 1; }

.portfolio-item .number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Staatliches', sans-serif;
  font-size: 2.5rem;
  color: var(--paper);
  line-height: 1;
  mix-blend-mode: difference;
  z-index: 2;
}

.portfolio-item .info {
  padding: 1.5rem 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.portfolio-item .info .text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 0.5rem;
  max-width: 22ch;
}
.portfolio-item .info .text .tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 700;
}
.portfolio-item .info .year {
  font-family: 'Staatliches', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}

.portfolio-scrollhint {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  padding: 1.5rem 0 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.portfolio-scrollhint::before, .portfolio-scrollhint::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--rule);
}

/* ============================================================================
   PROMISES — typographic stack
============================================================================ */
.promises-section { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.promises-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .promises-head { grid-template-columns: 1fr; gap: 1.5rem; } }
.promises-head h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.92;
}
.promises-head h2 em {
  color: var(--burgundy);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
}
.promises-head .desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 44ch;
  padding-top: 1rem;
}

.promises-stack {
  border-top: 1px solid var(--rule);
}
.promise-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.promise-row:hover { background: var(--paper); padding-left: 1rem; }
@media (max-width: 720px) { .promise-row { grid-template-columns: auto 1fr; } .promise-row .meta-num { grid-column: 1 / 2; grid-row: 1 / 2; } .promise-row .copy { grid-column: 2 / 3; } .promise-row .marker { grid-column: 1 / 3; grid-row: 2 / 3; } }

.promise-row .marker {
  font-family: 'Staatliches', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.85;
  color: var(--burgundy);
  letter-spacing: 0.005em;
}
.promise-row .copy h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 0.85rem;
  max-width: 24ch;
}
.promise-row .copy p { font-size: 1rem; line-height: 1.7; color: var(--ink-mute); max-width: 50ch; }
.promise-row .meta-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

/* ============================================================================
   PROCESS — Vertical timeline with year anchors
============================================================================ */
.process-section { background: var(--ink); color: var(--paper); }
.process-head {
  max-width: 56rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.process-head h2 { color: var(--paper); font-size: clamp(2.5rem, 6vw, 5.5rem); }
.process-head h2 em { color: var(--ember); font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.02em; }
.process-head p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-top: 1.5rem; max-width: 56ch; }
.process-head .mono { color: var(--ember); }

.process-timeline {
  position: relative;
  padding-left: clamp(2rem, 5vw, 5rem);
  border-left: 2px solid rgba(255,255,255,0.15);
}

.process-row {
  position: relative;
  padding: 2.5rem 0 2.5rem 3rem;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  transition: background 0.3s ease;
}
.process-row:hover { background: rgba(255,255,255,0.03); }
.process-row:last-child { border-bottom: none; }
.process-row::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 3rem;
  width: 14px;
  height: 14px;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ink);
}
@media (max-width: 720px) { .process-row { grid-template-columns: 1fr; } }

.process-row .stage {
  font-family: 'Staatliches', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  color: var(--ember);
  line-height: 0.9;
  letter-spacing: 0.008em;
}
.process-row .stage .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-right: 0.5em;
  letter-spacing: -0.02em;
}
.process-row .desc h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: -0.015em;
}
.process-row .desc p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.65; max-width: 52ch; }

/* ============================================================================
   PULLQUOTE — section-sized
============================================================================ */
.quote-section { background: var(--paper); }
.quote-section blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  position: relative;
  padding-left: clamp(2.5rem, 4vw, 4rem);
}
.quote-section blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.1em;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1em;
  color: var(--burgundy);
  line-height: 0.8;
  font-weight: 700;
  font-style: normal;
}
.quote-section .attr {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 2rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  font-weight: 700;
}
.quote-section .attr strong { color: var(--burgundy); font-weight: 700; }

/* ============================================================================
   COUNTIES — horizontal runner
============================================================================ */
.counties {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-top: 2px solid var(--burgundy);
  overflow: hidden;
}
.counties-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.counties-head h2 {
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1;
}
.counties-head .mono { color: var(--ember); }

.counties-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 0;
}
@media (max-width: 820px) { .counties-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .counties-strip { grid-template-columns: 1fr; } }

.county {
  padding: 2rem 1.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.18);
  transition: background 0.3s ease;
}
.county:last-child { border-right: none; }
.county:hover { background: rgba(255,255,255,0.04); }
@media (max-width: 820px) {
  .county { border-right: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.12); }
  .county:nth-child(even) { border-right: none; }
}
.county .name {
  display: block;
  font-family: 'Staatliches', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--paper);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.county .place {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.county .rel {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  display: block;
}

/* ============================================================================
   CTA CLOSE — Dark dramatic
============================================================================ */
.cta-close {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.cta-close .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-close .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) grayscale(30%);
}
.cta-close .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,17,13,0.65) 0%, rgba(109,0,28,0.5) 100%);
}
.cta-close .inner { position: relative; z-index: 1; max-width: var(--max); width: 100%; }
.cta-close .mono { color: var(--ember); margin-bottom: 1.5rem; display: block; }
.cta-close h2 {
  color: var(--paper);
  font-size: clamp(2.25rem, 5.5vw, 5.75rem);
  line-height: 1;
  margin-bottom: 2rem;
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}
.cta-close h2 em {
  color: var(--ember);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
}
.cta-close p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}
.cta-close .cta-row { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   FOOTER
============================================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 4rem 0 1.75rem; font-size: 0.9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { max-width: 120px; margin-bottom: 1.25rem; }
.site-footer p { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.7; max-width: 34ch; }
.site-footer h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.25rem; font-weight: 700; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(255,255,255,0.78); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--ember); }
.site-footer address { font-style: normal; margin-top: 1.25rem; line-height: 1.7; font-size: 0.92rem; }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--burgundy);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }
