/* ============================================================
   Aven Group — avengroup.com
   Design language: dark warm charcoal, antique gold, ivory
   Serif display (Cormorant Garamond) + Inter body
   ============================================================ */

:root {
  --bg: #0e0d0b;
  --bg-panel: #16140f;
  --bg-card: #1a1712;
  --ivory: #f4f1ea;
  --ivory-soft: #ece8de;
  --gold: #c8a24b;
  --gold-soft: #d9bc74;
  --text: #eae5da;
  --text-muted: #a59d8c;
  --text-dark: #23201a;
  --text-dark-muted: #6d6759;
  --line: rgba(200, 162, 75, 0.25);
  --line-soft: rgba(234, 229, 218, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

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

/* ---------- typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lede { font-size: 19px; color: var(--text-muted); max-width: 640px; }

/* ---------- header ---------- */
/* NOTE: no backdrop-filter here — it triggered a macOS Chrome repaint bug
   where hover states on the page silently failed to paint until a tab
   switch forced a recomposite. Solid background instead. */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 11, 0.97);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name {
  font-family: var(--serif); font-size: 27px; letter-spacing: 0.22em;
  color: var(--gold); font-weight: 600;
}
.brand .sub {
  font-size: 9.5px; letter-spacing: 0.58em; color: var(--text-muted);
  text-transform: uppercase; margin-top: 4px; margin-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 26px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.25s ease;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn.solid { background: var(--gold); color: var(--bg); }
.btn.solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.nav .btn { padding: 10px 20px; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; width: 100%; }
  .nav-links .btn { margin: 12px 24px 0; width: auto; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero .bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 65%;
  filter: brightness(0.9) contrast(1.08) saturate(1.06);
}
.hero .scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 68% 38%, transparent 38%, rgba(14,13,11,0.6) 100%),
    linear-gradient(100deg, rgba(14,13,11,0.94) 0%, rgba(14,13,11,0.72) 38%, rgba(14,13,11,0.14) 75%, rgba(14,13,11,0.5) 100%);
}
/* film grain — makes full-bleed imagery feel shot, not stretched */
.hero .grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
/* gold gallery keyline */
.hero .keyline {
  position: absolute; inset: 22px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(200,162,75,0.3);
}
@media (max-width: 700px) { .hero .keyline { inset: 12px; } }

/* cinematic line-masked title */
.hero-title { display: block; }
.hero-title .tl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .tl > span {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}
.hero-title .tl:nth-child(1) > span { animation-delay: 0.25s; }
.hero-title .tl:nth-child(2) > span { animation-delay: 0.42s; }
.hero-title em { font-style: italic; color: var(--gold-soft); }
@keyframes lineUp { to { transform: translateY(0); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 560px; padding: 90px 0; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); color: #fff; margin-bottom: 8px; }
.hero .loc {
  font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin: 14px 0 22px;
}
.hero .loc::after {
  content: ""; display: block; width: 56px; height: 1px;
  background: var(--gold); margin-top: 22px;
}
.hero p { color: var(--text); font-size: 17px; max-width: 470px; margin-bottom: 34px; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }

.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

.ivory { background: var(--ivory); color: var(--text-dark); }
.ivory h1, .ivory h2, .ivory h3 { color: var(--text-dark); }
.ivory .lede, .ivory p.muted { color: var(--text-dark-muted); }
.ivory .eyebrow { color: #a5813a; }

.center { text-align: center; }
.center .lede { margin: 0 auto; }

/* ---------- story timeline (before / interim / future) ---------- */
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.story-card { background: #fff; box-shadow: 0 2px 24px rgba(35,32,26,0.08); }
.story-card figure { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.story-card figure img { width: 100%; height: 100%; object-fit: cover; }
.story-card .tag {
  position: absolute; top: 0; left: 0;
  background: rgba(20,18,14,0.88); color: var(--gold);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 14px;
}
.story-card .body { padding: 22px 24px 26px; }
.story-card .body p { font-size: 14.5px; color: var(--text-dark-muted); line-height: 1.65; }

.completion {
  text-align: center; margin-top: 54px;
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: #a5813a;
}
.completion::before, .completion::after {
  content: "—"; color: rgba(165,129,58,0.5); margin: 0 16px;
}

/* ---------- portfolio grid ---------- */
.props {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1050px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .props { grid-template-columns: 1fr; } }

.prop {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: flex; flex-direction: column;
}
.prop:hover , .prop.hov  { border-color: var(--line); transform: translateY(-3px); }

.prop figure { aspect-ratio: 4/3; overflow: hidden; position: relative; background: #201d16; }
.prop figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prop:hover figure img , .prop.hov figure img  { transform: scale(1.04); }

/* graceful monogram placeholder for properties awaiting photography */
.prop figure.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,162,75,0.10), transparent 55%),
    linear-gradient(160deg, #211d15 0%, #161310 100%);
}
.prop figure.placeholder::after {
  content: "A";
  font-family: var(--serif); font-size: 84px; color: rgba(200,162,75,0.4);
}

.prop .body { padding: 20px 20px 24px; flex: 1; }
.prop h3 { color: var(--text); margin-bottom: 3px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; font-size: 17px; }
.prop .loc {
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.prop p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

.prop.cta-card {
  background: linear-gradient(160deg, #1c1811 0%, #141210 100%);
  border-color: var(--line);
  align-items: center; justify-content: center; text-align: center;
  padding: 40px 26px; gap: 18px;
}
.prop.cta-card .mono { font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 1; }
.prop.cta-card p { color: var(--text); font-size: 15px; }

/* ---------- press strip ---------- */
.press-strip { border-top: 1px solid var(--line-soft); }
.press-strip .label {
  text-align: center; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 34px;
}
.press-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px 54px; align-items: baseline;
}
.press-logos span {
  font-family: var(--serif); font-size: 21px; color: rgba(234,229,218,0.55);
  letter-spacing: 0.02em; white-space: nowrap;
}

/* ---------- two-column feature ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 36px; } }
.feature .imgbox { position: relative; }
.feature .imgbox::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line); z-index: -1;
}
.feature h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 20px; }
.feature p { color: var(--text-muted); margin-bottom: 16px; }

/* ---------- prose (about / walnut story) ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 22px; font-size: 16.5px; }
.prose .drop { font-size: 19px; }
.ivory .prose p { color: #3c3830; }

.pullquote {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4; color: var(--text-dark);
  border-left: 2px solid var(--gold);
  padding-left: 28px; margin: 40px 0;
}
.dark .pullquote { color: var(--text); }

.statement { text-align: center; padding: 20px 0 6px; }
.statement .line {
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px);
  color: var(--text-dark); line-height: 1.5;
}
.statement .line em { color: #a5813a; font-style: italic; }

/* ---------- news ---------- */
.news-list { max-width: 820px; margin: 0 auto; }
.news-item {
  display: block; padding: 26px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.2s ease;
}
.news-item:hover , .news-item.hov  { background: rgba(200,162,75,0.05); }
.news-item .outlet {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 7px;
}
.news-item .headline {
  font-family: var(--serif); font-size: 23px; color: var(--text); line-height: 1.3;
}
.news-item:hover .headline , .news-item.hov .headline  { color: var(--gold-soft); }
.news-item .meta { font-size: 13px; color: var(--text-muted); margin-top: 7px; }

.news-group-label {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-muted); margin: 60px 0 8px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.news-group-label:first-of-type { margin-top: 0; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg-panel); border: 1px solid var(--line-soft);
  padding: 38px 36px 42px;
}
.form-card h3 { font-size: 28px; margin-bottom: 6px; }
.form-card .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: #0f0e0c;
  border: 1px solid var(--line-soft);
  color: var(--text); padding: 13px 14px;
  font-family: var(--sans); font-size: 15px;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { min-height: 120px; resize: vertical; }

.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.form-status { font-size: 14px; margin-top: 14px; color: var(--gold); display: none; }

.direct {
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 40px 80px; justify-content: center; text-align: center;
}
.direct .item .label {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.direct .item .value { font-family: var(--serif); font-size: 23px; color: var(--text); }
.direct .item .value a { color: var(--text); }
.direct .item .value a:hover { color: var(--gold); }

.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f7a4d; color: #fff !important;
  padding: 13px 26px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.wa-btn:hover { background: #259158; color: #fff; }
.wa-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: 92px 0 64px; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); color: #fff; }
.page-hero .lede { margin-top: 18px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(14,13,11,0.9));
  color: var(--text); font-size: 12.5px; padding: 30px 16px 12px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ivory); text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; color: var(--text-dark); }
.cta-band p { color: var(--text-dark-muted); max-width: 560px; margin: 0 auto 34px; }
.cta-band .btn { border-color: #a5813a; color: #a5813a; }
.cta-band .btn:hover { background: #a5813a; color: #fff; }
.cta-band .btn.solid { background: #a5813a; color: #fff; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
}
.foot { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot .brand .name { font-size: 22px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.foot-links a:hover { color: var(--gold); }
.foot .contact-line { font-size: 13.5px; color: var(--text-muted); text-align: right; line-height: 2; }
.foot .contact-line a { color: var(--text-muted); }
.foot .contact-line a:hover { color: var(--gold); }
.copyright {
  margin-top: 40px; font-size: 12px; color: rgba(165,157,140,0.6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- cross-page transitions: intentionally removed ----------
   MPA view transitions + prerendering were suspects in unreliable hover
   states on real Chrome/macOS. The static site loads fast enough without
   them. Do not re-add without testing hover on the news page. */

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.person {
  background: var(--bg-panel); border: 1px solid var(--line-soft);
  padding: 40px 30px 36px; text-align: center;
}
.person .avatar {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 22px; border: 1px solid var(--line);
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .avatar.mono {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 32% 24%, rgba(200,162,75,0.14), transparent 60%),
    linear-gradient(160deg, #211d15 0%, #161310 100%);
  font-family: var(--serif); font-size: 46px; color: rgba(200,162,75,0.55);
}
.person h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: 0.01em; }
.person .role {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-top: 6px;
}
.person p { font-size: 13.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }

.disciplines {
  margin-top: 44px; text-align: center;
  font-size: 14.5px; color: var(--text-muted); max-width: 640px;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   MOTION — the site breathes.
   Scroll reveals, cinematic hero, marquee, counters, parallax.
   Everything respects prefers-reduced-motion.
   ============================================================ */

/* --- scroll reveals (class added by JS; no-JS = fully visible) ---
   IMPORTANT: reveals use a keyframe ANIMATION, not a transition.
   A transition here would override each element's own hover transitions
   (transition is a single property) and made hovers dead until everything
   settled. Keyframes + JS-timed stagger never touch hover behavior. */
.rv { opacity: 0; }
.rv.in {
  opacity: 1;
  animation: rvIn 0.7s cubic-bezier(0.2, 0.65, 0.2, 1) backwards;
}
@keyframes rvIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* --- hero: staggered entrance + slow Ken Burns drift --- */
.hero-content > * {
  opacity: 0;
  animation: riseIn 1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero .bg-img {
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: 55% 45%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.1) translateY(-1.5%); }
}

/* --- slideshow hero (Walnut Street: 2027 → 2020 → 2023) --- */
.hero-slides .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  filter: brightness(0.9) contrast(1.08) saturate(1.06);
}
.hero-slides .slide.active {
  opacity: 1;
  animation: kenburns 14s ease-in-out infinite alternate;
}
.era-tag {
  display: inline-flex; align-items: baseline; gap: 14px;
  margin-top: 26px;
  border: 1px solid var(--line);
  padding: 10px 18px;
  background: rgba(14,13,11,0.55);
  backdrop-filter: blur(6px);
  transition: opacity 0.6s ease;
}
.era-tag.fade { opacity: 0; }
.era-tag .yr { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.era-tag .lb {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
}

/* --- press marquee --- */
.press-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.press-track {
  display: flex; align-items: baseline; gap: 72px;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding-right: 72px;
}
.press-marquee:hover .press-track { animation-play-state: paused; }
.press-track span {
  font-family: var(--serif); font-size: 22px;
  color: rgba(234,229,218,0.55); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- stats band --- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  text-align: center;
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 70px);
  color: var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: 0.45em; margin-left: 2px; }
.stat .lbl {
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted);
}

/* --- cutting-edge: scroll-driven image parallax (progressive) --- */
@supports (animation-timeline: view()) {
  .story-card figure img,
  .gallery figure img,
  .chapter .imgbox .frame img,
  .duo figure img {
    scale: 1.14;
    animation: imgDrift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes imgDrift {
    from { transform: translateY(5%); }
    to   { transform: translateY(-5%); }
  }
}

/* --- gold shimmer on primary CTAs --- */
.btn.solid {
  background-image: linear-gradient(110deg, var(--gold) 0%, var(--gold) 42%, #e8d195 50%, var(--gold) 58%, var(--gold) 100%);
  background-size: 240% 100%;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 60%, 100% { background-position: 100% 0; }
  75%, 85% { background-position: 0 0; }
}
/* inside a hero, the solid CTA must both rise in AND shimmer —
   a lone `animation: shimmer` would override the entrance and leave it at opacity 0 */
.hero-content > .btn.solid {
  animation:
    riseIn 1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.7s forwards,
    shimmer 5.5s ease-in-out 2s infinite;
}

/* --- gold reading-progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), #e8d195);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 100; pointer-events: none;
}

/* --- section rules draw themselves in --- */
.section-head::after {
  content: ""; display: block; width: 0; height: 1px;
  background: var(--gold); margin-top: 24px;
  transition: width 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.35s;
}
.section-head.center::after { margin-left: auto; margin-right: auto; }
.section-head.in::after { width: 64px; }

/* --- hero scroll cue --- */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(234,229,218,0.75);
  opacity: 0; animation: riseIn 1s ease 1.3s forwards;
}
.scroll-cue::before {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- footprint: pulsing city markers --- */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .cities { grid-template-columns: 1fr; } }
.city {
  background: var(--bg-panel); border: 1px solid var(--line-soft);
  padding: 36px 34px; transition: border-color 0.25s ease;
}
.city:hover { border-color: var(--line); }
.city .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); position: relative; margin-bottom: 22px;
}
.city .dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: radar 2.6s ease-out infinite;
}
@keyframes radar {
  from { transform: scale(0.35); opacity: 0.9; }
  to   { transform: scale(1.8); opacity: 0; }
}
.city h3 { font-size: 24px; margin-bottom: 4px; }
.city .sub {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.city p { font-size: 13.5px; color: var(--text-muted); }

/* --- the journey timeline (About) --- */
.journey { position: relative; max-width: 700px; margin: 0 auto; }
.journey::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(rgba(200,162,75,0.1), rgba(200,162,75,0.5), rgba(200,162,75,0.1));
}
.j-item { position: relative; padding: 0 0 54px 46px; }
.j-item:last-child { padding-bottom: 0; }
.j-item::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--bg);
  transition: background 0.6s ease 0.4s, box-shadow 0.6s ease 0.4s;
}
.j-item.in::before {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(200,162,75,0.55);
}
.j-item .era {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.j-item h3 { font-size: 27px; margin-bottom: 10px; }
.j-item p { font-size: 15.5px; color: var(--text-muted); max-width: 560px; }

/* --- the letter (About) --- */
.letter {
  max-width: 660px; margin: 0 auto;
  background: #fbf9f3;
  border: 1px solid rgba(165,129,58,0.28);
  padding: 60px 62px 54px;
  box-shadow: 0 34px 70px rgba(35,32,26,0.14);
  position: relative;
}
@media (max-width: 640px) { .letter { padding: 42px 28px 38px; } }
.letter::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8d195, var(--gold));
}
.letter .watermark {
  position: absolute; right: 30px; top: 26px;
  font-family: var(--serif); font-size: 54px; color: rgba(165,129,58,0.14);
  line-height: 1; pointer-events: none;
}
.letter .salutation {
  font-family: var(--serif); font-size: 21px; color: var(--text-dark);
  margin-bottom: 24px;
}
.letter p { font-size: 16px; color: #3c3830; margin-bottom: 20px; line-height: 1.8; }
.letter .opening::first-letter {
  font-family: var(--serif); font-size: 58px; line-height: 0.85;
  float: left; padding: 6px 12px 0 0; color: #a5813a;
}
.signature {
  font-family: "Allura", "Snell Roundhand", "Apple Chancery", "Segoe Script", cursive;
  font-size: 52px; color: #23201a;
  margin-top: 34px; line-height: 1; transform: rotate(-2.5deg);
}
.signature-title {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dark-muted); margin-top: 10px;
}

/* --- chapters (Walnut Street story) --- */
.chapter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 66px 0;
}
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; } }
.chapter:nth-of-type(even) .imgbox { order: 2; }
@media (max-width: 900px) { .chapter:nth-of-type(even) .imgbox { order: 0; } }
.chapter .imgbox { position: relative; }
.chapter .imgbox::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line); z-index: -1;
}
.chapter .imgbox .frame { overflow: hidden; display: block; }
.chapter .imgbox img { width: 100%; display: block; }
.ch-num {
  font-family: var(--serif); font-size: 88px; line-height: 0.8;
  color: rgba(200,162,75,0.22); margin-bottom: 18px;
}
.chapter h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.chapter p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.chapter .ch-quote {
  font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--text);
  border-left: 2px solid var(--gold); padding-left: 20px; margin-top: 22px;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.duo figure { aspect-ratio: 16/10; overflow: hidden; }
.duo figure img { width: 100%; height: 100%; object-fit: cover; }

.mini-stats {
  display: flex; justify-content: center; gap: 72px; flex-wrap: wrap;
  padding: 10px 0 0; text-align: center;
}
.mini-stats .ms .n { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); color: var(--gold); line-height: 1; }
.mini-stats .ms .l { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }

/* --- featured news cards --- */
.featured-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
@media (max-width: 900px) { .featured-news { grid-template-columns: 1fr; } }
.fn-card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--bg-panel);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.fn-card:hover , .fn-card.hov  { border-color: var(--line); transform: translateY(-4px); }
.fn-card figure { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.fn-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.fn-card:hover figure img , .fn-card.hov figure img  { transform: scale(1.06); }
.fn-card .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.fn-card .play::before {
  content: ""; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(14,13,11,0.62); border: 1px solid var(--gold);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.fn-card .play::after {
  content: ""; position: absolute;
  border-left: 14px solid var(--gold); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.fn-card:hover .play::before , .fn-card.hov .play::before  { transform: scale(1.12); background: rgba(14,13,11,0.8); }
.fn-card .body { padding: 20px 22px 24px; }
.fn-card .outlet {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.fn-card .headline { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--text); }
.fn-card:hover .headline , .fn-card.hov .headline  { color: var(--gold-soft); }

/* --- news list hover choreography --- */
.news-item { position: relative; padding-left: 8px; transition: background 0.25s ease, padding-left 0.35s cubic-bezier(0.2,0.65,0.2,1); }
.news-item::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px;
  background: var(--gold); transform: scaleY(0);
  transition: transform 0.35s cubic-bezier(0.2,0.65,0.2,1);
}
.news-item:hover::before , .news-item.hov::before  { transform: scaleY(1); }
.news-item:hover , .news-item.hov  { padding-left: 22px; }
.news-item::after {
  content: "↗"; position: absolute; right: 14px; top: 50%;
  font-size: 20px; color: var(--gold);
  opacity: 0; transform: translate(-8px, calc(-50% + 8px));
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2,0.65,0.2,1);
}
.news-item:hover::after , .news-item.hov::after  { opacity: 1; transform: translate(0, -50%); }

/* --- motion off switch --- */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; }
  .rv.in { animation: none; }
  .hero-content > * { animation: none; opacity: 1; }
  .hero .bg-img, .hero-slides .slide.active { animation: none; }
  .press-track { animation: none; }
  .btn.solid { animation: none; }
  .scroll-cue { animation: none; opacity: 1; }
  .scroll-cue::before { animation: none; }
  .hero-title .tl > span { animation: none; transform: none; }
  .city .dot::after { animation: none; opacity: 0; }
  .section-head::after { width: 64px; transition: none; }
  @supports (animation-timeline: view()) {
    .story-card figure img, .gallery figure img { animation: none; scale: 1; }
  }
}

/* ---------- misc ---------- */
.divider-gold { width: 56px; height: 1px; background: var(--gold); margin: 26px 0; }
.mt-0 { margin-top: 0; }
