/* ==========================================================================
   R,NAGATA — Singapore Landing Page
   Plain CSS, no build step. Mobile-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --green: #193C38;
  --green-deep: #132F2C;
  --ivory: #F3EEE8;
  --ivory-2: #EAE3D9;
  --charcoal: #262B28;
  --ink: #262B28;
  --ink-soft: #545A55;
  --line: rgba(38, 43, 40, .16);
  --line-light: rgba(243, 238, 232, .22);
  --brass: #B39A6B;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(16px, 2.4vw, 40px);
  --maxw: 1440px;
  --nav-h: 64px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--green); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--brass); display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display em { font-style: italic; }

.lede { font-size: 17px; line-height: 1.75; max-width: 34em; }
.body p + p { margin-top: 1.1em; }
.body { max-width: 34em; color: var(--ink-soft); }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid-ivory { background: var(--ivory); color: var(--green); border-color: var(--ivory); }
.btn--solid-ivory:hover { background: transparent; color: var(--ivory); }
.btn--ghost-ivory { color: var(--ivory); border-color: var(--line-light); }
.btn--ghost-ivory:hover { border-color: var(--ivory); }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: border-color .35s var(--ease);
}
.text-link:hover { border-color: currentColor; }
.text-link .arrow { transition: transform .35s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }


/* ---------- Logo (SVG used as a mask so it takes the current text colour) ---------- */
.logo {
  display: inline-block; flex: none;
  aspect-ratio: 2144 / 720; height: 28px;
  background-color: currentColor;
  -webkit-mask: url("../images/logo-rnagata.svg") center / contain no-repeat;
          mask: url("../images/logo-rnagata.svg") center / contain no-repeat;
  text-decoration: none;
}
.logo--nav { height: 28px; color: var(--green); }
.logo--hero { height: 46px; color: var(--green); margin-bottom: 28px; display: block; }
.logo--footer { height: 46px; color: var(--ivory); display: block; }
@media (min-width: 960px) {
  .logo--nav { height: 32px; }
  .logo--hero { height: 58px; margin-bottom: 36px; }
  .logo--footer { height: 54px; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(243, 238, 232, .0);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(243, 238, 232, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; line-height: 1;
}
.nav__links { display: none; }
.nav__links a {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__toggle {
  appearance: none; background: none; border: 0; color: inherit; cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  min-height: 44px; min-width: 44px; padding: 0 0 0 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav__toggle-lines { width: 22px; height: 7px; position: relative; display: inline-block; }
.nav__toggle-lines::before, .nav__toggle-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle-lines::before { top: 0; }
.nav__toggle-lines::after { top: 6px; }
.nav.is-open .nav__toggle-lines::before { top: 3px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-lines::after { top: 3px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--ivory);
  padding: 32px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav.is-open + .menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu li { border-bottom: 1px solid var(--line); }
.menu a {
  display: block; padding: 18px 0;
  font-family: var(--serif); font-size: 34px; line-height: 1.1; text-decoration: none;
}
.menu__foot { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

@media (min-width: 960px) {
  :root { --nav-h: 76px; }
  .nav__links { display: flex; gap: 40px; }
  .nav__toggle, .menu { display: none; }
  .wordmark { font-size: 26px; }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { padding-top: var(--nav-h); background: var(--ivory); }
.hero__media { margin: 0; background: #ECE8E3; }
.hero__media img { width: 100%; aspect-ratio: 10 / 9; object-fit: cover; }

.hero__text { padding: 36px var(--pad) 56px; }
.hero__brand {
  font-family: var(--serif); font-size: 15px; letter-spacing: .32em; font-weight: 500;
  margin-bottom: 20px; display: block;
}
.hero h1 { font-size: clamp(42px, 11.5vw, 92px); }
.hero__sub {
  margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 30em;
}
.hero__event {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__event-info { display: grid; }
/* 1. who / where — small label */
.hero__event-kicker { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
/* 2. event title — serif caps, clearly below the H1 in scale */
.hero__event-name {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(23px, 6.2vw, 30px); line-height: 1.12; letter-spacing: .06em;
  color: var(--green); text-wrap: balance;
}
/* 3. tagline — deliberately small so it never competes with the title */
.hero__event-tag {
  margin-top: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
}
/* 4. date · location on one line, divided by a hairline */
.hero__event-meta {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px;
  font-size: 14px; letter-spacing: .03em; color: var(--ink);
}
.hero__event-meta span + span { color: var(--ink-soft); display: inline-flex; align-items: center; }
.hero__event-meta span + span::before {
  content: ""; width: 1px; height: 12px; background: var(--line); margin: 0 14px;
  background: rgba(38,43,40,.3);
}
@media (max-width: 480px) {
  .hero__event-meta { flex-direction: column; align-items: flex-start; }
  .hero__event-meta span + span::before { display: none; }
}
/* Hero text links: "Discover the Pop-Up" / "Explore Our Furniture" + "Enquire" */
.hero__ctas {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 36px; row-gap: 0;
}
.hero__ctas .text-link { min-height: 48px; }   /* comfortable tap target */

/* Post-event: quiet record of the past event (deliberately smaller than the copy) */
.hero__past {
  display: grid; gap: 2px;
  font-size: 13px; line-height: 1.6; color: var(--ink-soft); letter-spacing: .02em;
}
.hero__past-label {
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 4px;
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: min(100svh, 980px);
    align-items: stretch;
  }
  .hero__text {
    order: -1;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: clamp(48px, 7vh, 96px) clamp(32px, 4vw, 72px) clamp(40px, 6vh, 72px) var(--pad);
    max-width: 680px; justify-self: end; width: 100%;
  }
  .hero h1 { font-size: clamp(56px, 6.2vw, 104px); }
  .hero__sub { font-size: 17px; margin-top: 28px; }
  .hero__text { padding-top: clamp(40px, 5vh, 72px); }
  .hero__event { margin-top: 28px; padding-top: 18px; }
  .hero__event-meta { margin-top: 12px; }
  .hero__ctas { margin-top: 8px; }
  .hero__media { position: relative; overflow: hidden; }
  .hero__media img { height: 100%; aspect-ratio: auto; object-position: 50% 60%; }
}

/* ==========================================================================
   2. EVENT
   ========================================================================== */
.event { background: var(--green); color: var(--ivory); padding: clamp(72px, 12vw, 160px) 0; }
.event .eyebrow { color: rgba(243,238,232,.78); }
/* Event title band */
.event__head {
  display: grid; gap: 22px;
  padding-bottom: clamp(36px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line-light);
}
.event__name {
  margin-top: 24px;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 10.5vw, 108px); line-height: .98; letter-spacing: .03em;
  text-wrap: balance;
}
.event__tag {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(243,238,232,.7);
}
.event__grid { display: grid; gap: 48px; }
.event__heading { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.12; }
.event__lede { margin-top: 24px; color: rgba(243,238,232,.82); }

.facts { border-top: 1px solid var(--line-light); }
.facts__row {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}
.facts dt {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243,238,232,.6);
}
.facts dd { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.event__offer {
  margin-top: 22px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 12px; color: var(--ivory);
}
.event__offer::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.event__ctas { margin-top: 36px; display: grid; gap: 12px; }

@media (min-width: 640px) {
  .event__ctas { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .event__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .event__head-main { grid-column: 1 / span 9; }
  .event__tag { grid-column: 10 / span 3; text-align: right; padding-bottom: 10px; }
  .event__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .event__intro { grid-column: 1 / span 6; }
  .event__details { grid-column: 8 / span 5; }
  .facts__row { grid-template-columns: 120px 1fr; padding: 22px 0; }
  .facts dd { font-size: 26px; }
}

/* ==========================================================================
   3. HERITAGE
   ========================================================================== */
.heritage { padding: clamp(80px, 12vw, 180px) 0 clamp(64px, 10vw, 140px); }
.heritage__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 7vw, 96px); }
.heritage h2 { font-size: clamp(40px, 9vw, 88px); max-width: 11em; }
.heritage__year {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(88px, 22vw, 260px); line-height: .8; color: var(--green);
  letter-spacing: -.03em;
}

.heritage__story { display: grid; gap: 40px; }
.h-block { display: grid; gap: 24px; }
.h-block figure img { width: 100%; }
.h-block p { font-size: 16px; color: var(--ink-soft); max-width: 32em; }
.h-block--first p { font-family: var(--serif); font-size: clamp(22px, 5.4vw, 30px); line-height: 1.38; color: var(--ink); }
.h-coda {
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 6.4vw, 44px) !important;
  line-height: 1.22 !important; color: var(--green) !important; max-width: 16em !important;
}

@media (min-width: 960px) {
  .heritage__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .heritage__head-text { grid-column: 1 / span 7; }
  .heritage__year { grid-column: 9 / span 4; text-align: right; }

  .heritage__story { gap: clamp(64px, 9vw, 140px); }
  .h-block { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }

  .h-block--first figure { grid-column: 1 / span 8; }
  .h-block--first .h-text { grid-column: 9 / span 4; }

  .h-block--second figure { grid-column: 6 / span 7; grid-row: 1; }
  .h-block--second .h-text { grid-column: 1 / span 4; grid-row: 1; align-self: center; }

  .h-block--third figure { grid-column: 2 / span 6; }
  .h-block--third .h-text { grid-column: 9 / span 4; align-self: center; }
  .h-block--third .h-text p + p { margin-top: 40px; }
}

/* ==========================================================================
   4. COLLECTION
   ========================================================================== */
.collection { border-top: 1px solid var(--line); }
.collection__head { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(40px, 6vw, 72px); }
.collection__head h2 { font-size: clamp(44px, 10vw, 120px); margin-top: 20px; }

.chapter { padding: clamp(56px, 9vw, 140px) 0; border-top: 1px solid var(--line); }
.chapter--dark { background: var(--charcoal); color: var(--ivory); border-top: 0; }
.chapter--dark .body { color: rgba(243,238,232,.74); }
.chapter--dark .eyebrow { color: rgba(243,238,232,.78); }
.chapter--stone { background: var(--ivory-2); }

.chapter__grid { display: grid; gap: 36px; }
.chapter__grid > * { min-width: 0; }
.chapter__text { order: -1; }       /* mobile: text always precedes its photos */
.gallery-hint { margin-top: -22px !important; }
.chapter__text h3 { font-size: clamp(36px, 8.4vw, 68px); margin: 20px 0 28px; }
.chapter__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 6vw, 34px);
  line-height: 1.25; color: var(--green); margin-bottom: 24px; max-width: 18em;
}
.chapter__close {
  font-family: var(--serif); font-style: italic; font-size: 24px !important; line-height: 1.3;
  color: var(--ivory) !important; margin-top: 1.4em !important;
}

/* Gallery — mobile: horizontal swipe carousel */
.gallery {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px;
  scroll-padding: 0 var(--pad);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
  flex: 0 0 84%; scroll-snap-align: start; overflow: hidden; background: rgba(0,0,0,.04);
}
.gallery img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-hint {
  margin-top: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  opacity: .55; display: flex; align-items: center; gap: 10px;
}
.gallery-hint::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; }

@media (hover: hover) {
  .gallery figure:hover img, .h-block figure:hover img { transform: scale(1.025); }
  .h-block figure { overflow: hidden; }
  .h-block figure img { transition: transform 1.2s var(--ease); }
}

@media (min-width: 960px) {
  .gallery-hint { display: none; }
  .gallery {
    display: grid; overflow: visible; margin: 0; padding: 0; gap: var(--gap);
  }
  .gallery figure { flex: none; }
  .gallery img { aspect-ratio: auto; }

  .chapter__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }

  /* My Chair: text left, gallery right — tall + two squares */
  .chapter--mychair .chapter__text { grid-column: 1 / span 4; }
  .chapter--mychair .gallery {
    grid-column: 6 / span 7;
    grid-template-columns: 1.35fr 1fr;
    grid-template-areas: "a b" "a c";
  }
  .chapter--mychair .g-a { grid-area: a; }
  .chapter--mychair .g-b { grid-area: b; aspect-ratio: 1; }
  .chapter--mychair .g-c { grid-area: c; aspect-ratio: 1; }

  /* Urushi: gallery left (hero square + three details), text right */
  .chapter--urushi .gallery {
    grid-column: 1 / span 7; grid-row: 1;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "a a a" "b c d";
  }
  .chapter--urushi .g-a { grid-area: a; aspect-ratio: 1; }
  .chapter--urushi .g-b, .chapter--urushi .g-c, .chapter--urushi .g-d { aspect-ratio: 1; }
  .chapter--urushi .g-b { grid-area: b; } .chapter--urushi .g-c { grid-area: c; } .chapter--urushi .g-d { grid-area: d; }
  .chapter--urushi .chapter__text { grid-column: 9 / span 4; grid-row: 1; align-self: start; position: sticky; top: calc(var(--nav-h) + 48px); }
  .chapter--urushi .chapter__grid { align-items: start; }

  /* Sofas: text left, gallery right — large square + two small */
  .chapter--sofas .chapter__text { grid-column: 1 / span 4; }
  .chapter--sofas .gallery {
    grid-column: 6 / span 7;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "a b" "a c";
  }
  .chapter--sofas .g-a { grid-area: a; }
  .chapter--sofas .g-b { grid-area: b; aspect-ratio: 1; }
  .chapter--sofas .g-c { grid-area: c; aspect-ratio: 1; }

  /* Cabinets: gallery left — large square + three-high column, text right */
  .chapter--cabinets .gallery {
    grid-column: 1 / span 7; grid-row: 1;
    grid-template-columns: 3fr 1fr;
    grid-template-areas: "a b" "a c" "a d";
  }
  .chapter--cabinets .g-a { grid-area: a; }
  .chapter--cabinets .g-b { grid-area: b; aspect-ratio: 1; }
  .chapter--cabinets .g-c { grid-area: c; aspect-ratio: 1; }
  .chapter--cabinets .g-d { grid-area: d; aspect-ratio: 1; }
  .chapter--cabinets .chapter__text { grid-column: 9 / span 4; grid-row: 1; }
}

/* Constrain low-resolution source photos on very wide screens */
@media (min-width: 1500px) {
  .chapter--sofas .gallery, .chapter--mychair .gallery { max-width: 860px; justify-self: end; width: 100%; }
}

/* ==========================================================================
   5. CONTACT
   ========================================================================== */
.contact { background: var(--green); color: var(--ivory); padding: clamp(80px, 13vw, 180px) 0; text-align: left; }
.contact .eyebrow { color: rgba(243,238,232,.78); }
.contact h2 { font-size: clamp(42px, 10vw, 112px); margin-top: 24px; max-width: 10em; }
.contact__body { margin-top: 28px; color: rgba(243,238,232,.82); max-width: 30em; font-size: 17px; }
.contact__ctas { margin-top: 44px; display: grid; gap: 12px; max-width: 520px; }
@media (min-width: 640px) { .contact__ctas { display: flex; flex-wrap: wrap; max-width: none; } }
@media (min-width: 960px) {
  .contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .contact__head { grid-column: 1 / span 8; }
  .contact__side { grid-column: 9 / span 4; }
  .contact__ctas { flex-direction: column; align-items: stretch; }
  .contact__body { margin-top: 0; }
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer { background: var(--charcoal); color: rgba(243,238,232,.86); padding: 64px 0 36px; }
.footer__top { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer .wordmark { font-size: 34px; color: var(--ivory); }
.footer__tag { margin-top: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,238,232,.6); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.footer__links a:hover { color: var(--ivory); }
.footer__copy { padding-top: 24px; font-size: 12px; color: rgba(243,238,232,.5); letter-spacing: .06em; }
@media (min-width: 960px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
  .footer__links { grid-auto-flow: column; gap: 40px; }
}

/* ==========================================================================
   Event visibility — set <html data-event="off"> (or let JS auto-switch after the end date)
   ========================================================================== */
html[data-event="off"] .event-only { display: none !important; }
html:not([data-event="off"]) .post-event-only { display: none !important; }

/* ==========================================================================
   Reveal on scroll (progressive enhancement; content visible without JS)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Placeholder-link notice (preview only) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--charcoal); color: var(--ivory);
  font-size: 13px; padding: 14px 20px; max-width: calc(100% - 40px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
