:root {
  --cream: #f1e6d3;
  --paper: #faf4ea;
  --ink: #17120e;
  --muted: #6b6259;
  --forest: #28492e;
  --forest-deep: #223726;
  --forest-light: #356043;
  --mint: #cfe3cf;
  --teal: #1f4a4a;
  --blue: #1d3a5f;
  --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(--forest); 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(--forest);
  margin-bottom: 1em;
  font-weight: 600;
}

/* Dark / colored sections */
.dark { background: var(--ink); color: #f1e6d3; }
.dark h2 em { color: var(--mint); }
.dark .eyebrow { color: var(--mint); }
.dark-red { background: var(--blue); color: #eef3f8; }
.dark-red h2 em { color: var(--mint); }
.dark-red .eyebrow { color: var(--mint); }
.dark-red .sources { color: rgba(238,243,248,0.65); }
.dark-amber { background: var(--forest-deep); color: #f1e6d3; }
.dark-amber .eyebrow { color: var(--mint); }
.dark-amber a { color: #fff; text-underline-offset: 4px; }
.dark-amber .address { color: rgba(241,230,211,0.8); }

/* 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: var(--mint); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(120px, 20vh, 220px) 32px 72px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(23,18,14,0.5) 0%, rgba(23,18,14,0.18) 30%, rgba(23,18,14,0) 52%),
    linear-gradient(100deg, rgba(23,18,14,0.38) 0%, rgba(23,18,14,0.12) 42%, rgba(23,18,14,0) 62%),
    url("img/hero-corner.jpg") 70% 100% / cover no-repeat,
    linear-gradient(135deg, #6a7fb0 0%, #d9a3a8 55%, #c8772e 100%);
}
.hero .eyebrow { color: var(--mint); }
.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(--forest);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  width: fit-content;
}
.btn:hover { background: var(--forest-light); }

/* Ticker */
.ticker { background: var(--forest-deep); color: #f1e6d3; 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(--mint); font-size: 1.15rem; }
.timeline p { margin: 0; }
.timeline .now span, .timeline .now p { color: var(--mint); 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(--forest); margin: 0 0 14px; }
.cards .num small { font-size: 1.1rem; letter-spacing: 0.08em; }
.cards article p.num { color: var(--forest); }
.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 var(--mint); padding-top: 16px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4rem); color: var(--mint); 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(--mint); 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: 104px 22px 56px; }
  section { padding: 76px 0; }
}

/* ---- Go bold ---- */
h1 { font-size: clamp(3.2rem, 9.5vw, 8.5rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; }
.hero .eyebrow { font-size: 0.9rem; }
.hero .lede { font-size: clamp(1.3rem, 2.8vw, 2rem); max-width: 760px; text-shadow: 0 2px 18px rgba(23,18,14,0.35); }
.hero h1 { text-shadow: 0 4px 40px rgba(23,18,14,0.28); }
.btn { padding: 18px 40px; font-size: 0.95rem; box-shadow: 0 0 0 0 rgba(40,73,46,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(40,73,46,0); } 100% { box-shadow: 0 0 0 0 rgba(40,73,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(207,227,207,0.25);
  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(--mint); }
.band .eyebrow { color: var(--mint); }
@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(--forest); }

/* 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(--mint);
}
.badge-num { font-family: var(--serif); font-size: clamp(4.5rem, 12vw, 9rem); line-height: 0.9; color: var(--mint); }
.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(--forest); color: #fff; }
.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); }

/* ---- Round 3: bigger band eyebrow, no-wrap line, new sections ---- */
.band .eyebrow { font-size: clamp(1rem, 2.1vw, 1.6rem); letter-spacing: 0.2em; font-weight: 700; margin-bottom: 1.2em; }
.band h2 { font-size: clamp(2.4rem, 9vw, 8rem); }
.nw { white-space: nowrap; }

/* Eat & drink */
.eat .cards { grid-template-columns: repeat(3, 1fr); margin: 40px 0; }
.eat .cards article { background: rgba(241,230,211,0.06); border: 1px solid rgba(241,230,211,0.18); border-top: 4px solid var(--mint); }
.eat .cards article p { color: rgba(241,230,211,0.82); }
.eat .cards .num { color: var(--mint); }
.eat .cards article p.num { color: var(--mint); }
.eat .big { color: #fff; }
.eat .intro { color: rgba(241,230,211,0.85); }
@media (max-width: 900px) { .eat .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eat .cards { grid-template-columns: 1fr; } }

/* Architecture */
.arch { background: var(--cream); }
.arch .intro { color: var(--ink); }
.arch-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 40px; }
.arch-img { display: block; width: 100%; height: auto; background: var(--paper); border: 1px solid var(--line); }
.arch-side p { margin: 0 0 18px; }
.arch-side .metrics { margin-top: 30px; grid-template-columns: repeat(2, 1fr); }
.arch-side .metrics .wide { grid-column: 1 / -1; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 20px; }
.metrics div { border-top: 3px solid var(--forest); padding-top: 12px; }
.metrics strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--forest); }
.metrics span { color: var(--muted); font-size: 0.92rem; }

/* Interiors */
.interiors { background: var(--paper); }
.int-copy { margin: 24px 0 8px; align-items: start; }
.interiors .by { font-size: 0.9rem; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.mosaic-col { display: flex; flex-direction: column; gap: 14px; }
.mosaic img { display: block; width: 100%; height: auto; transition: transform .6s ease, filter .6s ease; }
.mosaic-col img:last-child { flex: 1 1 auto; min-height: 0; object-fit: cover; }
.mosaic img:hover { filter: saturate(1.12); }
.js-reveal .mosaic img { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .mosaic img.in { opacity: 1; transform: none; }
.arch a, .interiors a { color: var(--forest); font-weight: 600; }

.story h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.story h2 em { white-space: nowrap; }
@media (max-width: 480px) { .story h2 em { white-space: normal; } }

.story h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.story h2 em { white-space: normal; }

/* Partner logos */
.partners { background: var(--ink); color: #f1e6d3; padding: 72px 0 64px; text-align: center; border-top: 1px solid rgba(241,230,211,0.15); }
.partners .eyebrow { color: var(--mint); margin-bottom: 2em; }
.logos { display: flex; justify-content: center; align-items: center; gap: 36px 88px; flex-wrap: wrap; }
.logos a { display: inline-flex; opacity: 0.8; transition: opacity .25s ease, transform .25s ease; }
.logos a:hover { opacity: 1; transform: translateY(-2px); }
.logos img { display: block; width: auto; }
.logo-daybreak { height: 74px; }
.logo-lfh { height: 58px; }
.logo-kempt { height: 52px; }
.logo-beck { height: 34px; }
@media (max-width: 560px) { .logos { gap: 32px 48px; } .logo-daybreak { height: 62px; } .logo-lfh { height: 48px; } .logo-kempt { height: 44px; } .logo-beck { height: 28px; } }
.site-foot { border-top: 0; }

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

/* Team */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid article { border-top: 4px solid var(--forest); padding: 26px 22px; }
.team-grid .role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--forest); margin: 0 0 10px; }
.team-grid h3 { margin: 0 0 12px; }
.team-grid h3 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--mint); }
.team-grid h3 a:hover { border-color: var(--forest); }
.team-grid article p:not(.role) { font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Featured render + residences */
.feature { margin: 40px 0 0; }
.feature img { display: block; width: 100%; height: auto; }
.feature figcaption, .res-note { margin-top: 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feature + .cards { margin-top: 48px; }
.residences { background: var(--cream); }
.res-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 44px; }
.res-plan { margin: 0; background: #fff; border: 1px solid var(--line); padding: 20px; }
.res-plan img { display: block; width: 100%; height: auto; }
.res-plan figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.res-side h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 14px; }
.res-side p { margin: 0 0 24px; }
.unit-list { list-style: none; margin: 0; padding: 0; }
.unit-list li { border-top: 3px solid var(--forest); padding: 12px 0 14px; }
.unit-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--forest); }
.unit-list span { color: var(--muted); font-size: 0.95rem; }
.res-rooms { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 56px; align-items: stretch; }
.res-rooms figure { margin: 0; overflow: hidden; }
.res-rooms img { display: block; width: 100%; height: 100%; object-fit: cover; }
.res-note { margin-top: 14px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; gap: 32px; } .res-rooms { grid-template-columns: 1fr; } }


/* ---- Mobile: swipe rows instead of long stacks ---- */
@media (max-width: 700px) {
  .cards.five, .eat .cards, .team-grid, .nearby, .image-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-left: -24px; margin-right: -24px; padding: 4px 24px 18px; scroll-padding-left: 24px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overflow-y: hidden;
  }
  .cards.five::-webkit-scrollbar, .eat .cards::-webkit-scrollbar, .team-grid::-webkit-scrollbar, .nearby::-webkit-scrollbar, .image-row::-webkit-scrollbar { display: none; }
  .cards.five article, .eat .cards article, .team-grid article { flex: 0 0 80%; scroll-snap-align: start; grid-column: auto; }
  .nearby { border-top: 0; }
  .nearby > div { flex: 0 0 74%; scroll-snap-align: start; border: 1px solid var(--line); background: var(--paper); padding: 22px 20px; }
  .image-row .img-slot { flex: 0 0 72%; width: 72%; scroll-snap-align: start; }
  .js-reveal .cards article, .js-reveal .nearby > div, .js-reveal .img-slot { opacity: 1; transform: none; }
  .cards article:hover { transform: none; box-shadow: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 16px; margin: 36px 0 28px; }
  .stats strong { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .stats span { font-size: 0.88rem; }
  .unit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .unit-list strong { font-size: 1.1rem; }
  .unit-list span { font-size: 0.85rem; }
  .res-rooms { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .res-rooms figure { aspect-ratio: 4 / 5; }
  .mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mosaic-col { display: contents; }
  .mosaic-col img, .mosaic-col img:last-child { flex: none; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
  .mosaic-col:last-child img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .band { min-height: 0; }
}
