:root {
  --cream: #f1e6d3;
  --paper: #faf4ea;
  --ink: #17120e;
  --muted: #6b6259;
  --amber: #e08a2e;
  --amber-deep: #b5651f;
  --teal: #1f4a4a;
  --oxblood: #4a1f1a;
  --line: #ddcfb8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(3.4rem, 10vw, 8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 em { color: var(--amber-deep); font-style: italic; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
.big { font-size: 1.25rem; line-height: 1.55; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1em;
  font-weight: 600;
}

/* Dark / colored sections */
.dark { background: var(--ink); color: #f1e6d3; }
.dark h2 em { color: var(--amber); }
.dark .eyebrow { color: var(--amber); }
.dark-red { background: var(--oxblood); color: #f6e9d8; }
.dark-red h2 em { color: #f2b36a; }
.dark-red .eyebrow { color: #f2b36a; }
.dark-red .sources { color: rgba(246,233,216,0.65); }
.dark-amber { background: var(--amber); color: var(--ink); }
.dark-amber .eyebrow { color: var(--ink); }
.dark-amber a { color: var(--ink); text-underline-offset: 4px; }
.dark-amber .address { color: rgba(23,18,14,0.75); }

/* Header */
.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  z-index: 2;
  color: #fff;
}
.wordmark { font-family: var(--serif); font-size: 1.4rem; color: inherit; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.site-head nav a { color: inherit; text-decoration: none; margin-left: 24px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.92; }
.site-head nav a:hover { opacity: 1; color: #f2b36a; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 32px 72px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(23,18,14,0.25) 0%, rgba(23,18,14,0.78) 100%),
    url("img/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #3a2a1e 0%, #1f4a4a 55%, #c8772e 100%);
}
.hero .eyebrow { color: #f2b36a; }
.hero h1 { margin-bottom: 0.2em; }
.hero .lede { font-size: clamp(1.15rem, 2.2vw, 1.6rem); max-width: 640px; line-height: 1.4; font-family: var(--serif); font-style: italic; }
.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 30px;
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  width: fit-content;
}
.btn:hover { background: #f2a14a; }

/* Ticker */
.ticker { background: var(--amber); color: var(--ink); overflow: hidden; white-space: nowrap; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker-track { display: inline-block; padding: 14px 0; animation: tick 38s linear infinite; }
.ticker span { display: inline-block; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; margin: 0 22px; }
.ticker span::after { content: "\2726"; margin-left: 44px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Sections */
section { padding: 112px 0; }
.team { background: var(--cream); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.timeline div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(241,230,211,0.2);
}
.timeline span { font-family: var(--serif); color: var(--amber); font-size: 1.15rem; }
.timeline p { margin: 0; }
.timeline .now span, .timeline .now p { color: var(--amber); font-weight: 600; }
.story-img { display: block; width: 100%; height: auto; margin-top: 32px; filter: sepia(0.15); }
.caption { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.cards article { background: var(--paper); border: 1px solid var(--line); padding: 30px 26px; }
.cards article p { color: var(--muted); margin: 0; }
.cards .num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--amber-deep); margin: 0 0 14px; }
.cards .num small { font-size: 1.1rem; letter-spacing: 0.08em; }
.cards article p.num { color: var(--amber-deep); }
.project .cards article { background: var(--cream); border-color: var(--line); }

/* Five cards: 3 on top, 2 below spanning the full width, so no orphan card */
.cards.five { grid-template-columns: repeat(6, 1fr); }
.cards.five article { grid-column: span 2; }
.cards.five article:nth-child(n+4) { grid-column: span 3; }
.intro { max-width: 820px; color: var(--muted); }
@media (max-width: 900px) {
  .cards.five { grid-template-columns: repeat(2, 1fr); }
  .cards.five article, .cards.five article:nth-child(n+4) { grid-column: span 1; }
  .cards.five article:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .cards.five { grid-template-columns: 1fr; }
  .cards.five article:last-child { grid-column: span 1; }
}

.image-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.img-slot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.wide-img { display: block; width: 100%; height: auto; margin: 40px 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 28px; margin: 48px 0 40px; }
.stats div { border-top: 2px solid #f2b36a; padding-top: 16px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4rem); color: #f2b36a; line-height: 1.05; }
.stats span { color: rgba(246,233,216,0.85); font-size: 0.98rem; }
.sources { font-size: 0.78rem; color: var(--muted); margin-top: 28px; }

/* Neighborhood */
.nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.nearby > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.nearby .dist { display: inline-block; background: var(--ink); color: var(--amber); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; margin-bottom: 12px; }
.nearby h3 { margin-bottom: 0.3em; }
.nearby p { color: var(--muted); margin: 0; }

/* Contact */
.contact h2 { font-size: clamp(3rem, 8vw, 6rem); }
.address { margin-top: 0.5em; }

.site-foot { padding: 32px 0; text-align: center; color: rgba(241,230,211,0.6); background: var(--ink); font-size: 0.85rem; }
.site-foot p { margin: 0; }

/* Responsive */
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .image-row { grid-template-columns: 1fr; }
  .site-head nav { display: none; }
  .hero { padding: 0 22px 56px; }
  section { padding: 76px 0; }
}

/* ---- Go bold ---- */
h1 { font-size: clamp(4rem, 14vw, 11rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; }
.hero { background-position: center 40%; }
.hero .eyebrow { font-size: 0.9rem; }
.hero .lede { font-size: clamp(1.3rem, 2.8vw, 2rem); max-width: 760px; }
.btn { padding: 18px 40px; font-size: 0.95rem; box-shadow: 0 0 0 0 rgba(224,138,46,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(224,138,46,0); } 100% { box-shadow: 0 0 0 0 rgba(224,138,46,0); } }
@media (prefers-reduced-motion: reduce) { .btn { animation: none; } }

/* Story: giant ghost year */
.story { position: relative; overflow: hidden; }
.story::before {
  content: "1947";
  position: absolute; right: -2vw; top: -4vw;
  font-family: var(--serif); font-size: clamp(10rem, 32vw, 30rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(224,138,46,0.28);
  pointer-events: none;
}
.story .wrap { position: relative; }
.story .big { font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: #fff; }

/* Full-bleed band */
.band {
  min-height: 90vh; display: flex; align-items: center; padding: 0;
  background:
    linear-gradient(90deg, rgba(23,18,14,0.85) 0%, rgba(23,18,14,0.35) 60%, rgba(23,18,14,0.1) 100%),
    url("img/skyline-wide.jpg") center / cover no-repeat fixed;
  color: #fff;
}
.band-copy { padding: 0 max(24px, calc((100vw - 1160px) / 2 + 24px)); max-width: 1100px; }
.band h2 { font-size: clamp(3rem, 9vw, 8rem); text-transform: uppercase; letter-spacing: -0.02em; }
.band h2 em { color: var(--amber); }
.band .eyebrow { color: #f2b36a; }
@media (max-width: 900px) { .band { background-attachment: scroll; } }

/* Cards pop */
.cards .num { font-size: clamp(3.4rem, 6vw, 4.6rem); }
.cards article { transition: transform .25s ease, box-shadow .25s ease; }
.cards article:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23,18,14,0.18); }
.project .cards article { border-top: 4px solid var(--amber); }

/* Image mosaic */
.image-row { gap: 12px; overflow: hidden; }
.img-slot { transition: transform .6s ease, filter .6s ease; }
.image-row .img-slot:hover { transform: scale(1.04); filter: saturate(1.15); }

/* Stats big */
.stats strong { font-size: clamp(3.4rem, 7vw, 5.6rem); }
.why .big { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; max-width: 900px; }

/* Time Out badge */
.badge {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  background: var(--ink); color: var(--cream);
  padding: 28px 36px; margin: 8px 0 36px;
  border-left: 10px solid var(--amber);
}
.badge-num { font-family: var(--serif); font-size: clamp(4.5rem, 12vw, 9rem); line-height: 0.9; color: var(--amber); }
.badge-text { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.05; text-transform: uppercase; }
.badge-src { margin-left: auto; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }

.nearby .dist { background: var(--amber); color: var(--ink); }
.nearby h3 { font-size: 1.6rem; }

.contact h2 { font-size: clamp(3.5rem, 11vw, 9rem); text-transform: uppercase; }
.contact .big a { font-weight: 700; }

/* Scroll reveal (only when JS is on) */
.js-reveal .reveal, .js-reveal .cards article, .js-reveal .stats div, .js-reveal .nearby > div, .js-reveal .timeline div, .js-reveal .img-slot {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.in, .js-reveal .cards article.in, .js-reveal .stats div.in,
.js-reveal .nearby > div.in, .js-reveal .timeline div.in, .js-reveal .img-slot.in { opacity: 1; transform: none; }
.js-reveal .cards article.in:hover { transform: translateY(-6px); }
.js-reveal .image-row .img-slot.in:hover { transform: scale(1.04); }
