/* ==========================================================================
   IT'S HIM — COFFEE  ("The Daytime Lounge")
   The daytime counterpart to the club. SAME DNA as the homepage / membership /
   events pages — the reusable ambient background, the Italiana/Parisienne/
   Cormorant/Montserrat type system, the "THE [caps] [cursive] [caps]" lockups,
   the outline-pill CTAs and the soft feathering — but tuned for DAYTIME:

     · the shared ambient is LIFTED from near-black to a warm, airy morning tone
       (page-scoped --bg override + a soft daylight wash laid over the ambient),
     · photos are graded UP (brighter, cleaner) instead of darkened, and
     · the legibility scrims behind copy are far lighter and smaller.

   Same world, a few hours earlier. Layered on top of styles.css (palette, type,
   nav, footer, .panel__cta pill, .btn-gold, .appstore) + ambient.css/js.

   Structure mirrors events: each chapter is a tall "stage" with feathered photos
   placed on staggered bands (data-depth kept for a later parallax layer) and copy
   in its own clear zone — photos sit BEHIND the words and dissolve into the
   ambient, so nothing ever reads as a hard rectangle.
   ========================================================================== */

/* ---- DAYTIME LIFT ---------------------------------------------------------
   Override the palette variable the ambient reads for its base. Because
   .ambient uses var(--bg), lifting --bg here raises the whole atmosphere on
   THIS page only — a warm, milky-espresso morning instead of midnight. Cream
   text still reads cleanly against it. Everything else in the palette is shared. */
.coffee-page {
  --bg: #241a13;              /* warm, lifted daytime base (was #0E0908) */
  --bg-0: rgba(36, 26, 19, 0);/* transparent form of --bg, for feather fades */
  background: var(--bg);
}

/* Soft DAYLIGHT WASH — a fixed warm/cream light laid OVER the ambient (but under
   all content) so the room feels sunlit and airy. Screen-blends into the smoke,
   brightest at the top like morning light coming into the room. */
.coffee-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;                 /* above ambient (-1), below content (main is z:5) */
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 236, 205, 0.30), transparent 62%),
    radial-gradient(90% 70% at 82% 6%,   rgba(255, 224, 178, 0.20), transparent 60%),
    linear-gradient(to bottom, rgba(255, 240, 214, 0.10) 0%, transparent 34%);
  mix-blend-mode: screen;
}

/* ---- Shared small tracked label above titles (matches the other pages) ---- */
.eyebrow {
  margin: 0 0 clamp(10px, 1.6vh, 18px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.42em;
}

/* ==========================================================================
   Shared type — same faces / lockup as the other pages.
   THE·[script]·CAP :  .t-the / .t-cap = Italiana caps · .t-script = Parisienne
   Text shadows are LIGHTER than the dark pages (the page is brighter, so words
   need less of a dark halo to hold).
   ========================================================================== */
.co-name {
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 0.96;
  white-space: nowrap;
  color: var(--ink);
  text-shadow: 0 4px 26px rgba(20, 12, 6, 0.7), 0 2px 8px rgba(20, 12, 6, 0.55);
}
.co-name .t-the, .co-name .t-cap {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.co-name .t-script {
  font-family: var(--font-script);
  font-size: 1.52em;
  text-transform: none;
  letter-spacing: 0.005em;
  padding: 0 0.06em;
  color: var(--ink);
}
.co-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.04;
  color: var(--gold-bright);
  text-shadow: 0 2px 22px rgba(20, 12, 6, 0.6);
}
.co-desc {
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.78;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.9;
  text-shadow: 0 1px 18px rgba(20, 12, 6, 0.75);
}
.co-desc strong { color: var(--ink); font-weight: 600; opacity: 1; }

.co-chapter-id {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 12px rgba(20, 12, 6, 0.6);
}
.co-rule {
  display: block;
  width: clamp(120px, 22vw, 260px);
  height: 1px;
  margin: clamp(6px, 1vh, 12px) 0;
  background: rgba(199, 154, 84, 0.5);
}

/* Light legibility scrim behind every copy block — a soft, warm, fully-feathered
   glow. Much lighter than the dark pages (daytime), just enough to seat the words. */
.co-copy { position: relative; }
.co-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -24%;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(28, 18, 11, 0.55) 0%, rgba(28, 18, 11, 0.28) 48%, var(--bg-0) 76%);
}

/* ==========================================================================
   FEATHERING — every photo dissolves into the ambient, never a hard rectangle.
   Same technique as events (opaque core + long smooth edge fade), but the photos
   are graded UP for daytime instead of darkened.
   ========================================================================== */
.co-photo { position: absolute; z-index: 1; margin: 0; pointer-events: none; line-height: 0; will-change: transform, opacity; }
.co-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%;
  /* DAYTIME grade — lift brightness, ease off contrast, keep it clean & warm.
     A soft light drop-shadow instead of the heavy dark one on the club pages. */
  filter: brightness(1.08) saturate(1.05) contrast(0.98) drop-shadow(0 24px 54px rgba(20, 12, 6, 0.32));
}
/* Landscape frames — opaque core, long feather on every edge (no straight line). */
.co-photo--land img {
  -webkit-mask-image:
    radial-gradient(84% 84% at 50% 47%, #000 44%, rgba(0,0,0,0.5) 68%, transparent 96%),
    linear-gradient(to right,  transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(84% 84% at 50% 47%, #000 44%, rgba(0,0,0,0.5) 68%, transparent 96%),
    linear-gradient(to right,  transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-composite: intersect;
}
/* Portrait frames — one soft ellipse; dissolves on every side, no edge. */
.co-photo--port img {
  -webkit-mask-image: radial-gradient(60% 62% at 50% 48%, #000 0%, #000 40%, rgba(0,0,0,0.4) 66%, transparent 88%);
  mask-image: radial-gradient(60% 62% at 50% 48%, #000 0%, #000 40%, rgba(0,0,0,0.4) 66%, transparent 88%);
}

/* ==========================================================================
   The page container
   ========================================================================== */
.daytime { position: relative; z-index: 5; }

.co-actions { margin-top: clamp(16px, 2.6vh, 30px); display: flex; }

/* ==========================================================================
   HERO — "The Daytime Lounge": a bright, centred opening. One clean, sunlit
   coffee-lounge photo fills the frame, feathered and graded UP; copy centred over
   it. Bookends with the centred closing CTA.
   ========================================================================== */
.co-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(96px, 14vh, 160px) clamp(28px, 8vw, 128px);
  overflow: clip;
}
.co-hero__media {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: auto; height: auto;
  z-index: 1;
  margin: 0; line-height: 0; pointer-events: none;
}
.co-hero__media img {
  width: clamp(620px, 90vw, 1500px);
  aspect-ratio: 1.66 / 1;
  height: auto;
  object-fit: cover;
  object-position: 50% 40%;
  /* Bright & airy — the daytime hero is the lightest image on the page. */
  filter: brightness(1.12) saturate(1.04) contrast(0.97);
  -webkit-mask-image:
    radial-gradient(86% 86% at 50% 44%, #000 40%, rgba(0,0,0,0.32) 74%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(86% 86% at 50% 44%, #000 40%, rgba(0,0,0,0.32) 74%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.co-hero__inner {
  position: relative;
  z-index: 3;
  max-width: min(94vw, 820px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vh, 24px);
}
/* Soft warm halo behind the hero copy — light (daytime), just seats the lockup. */
.co-hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -24%;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(28, 18, 11, 0.52) 0%, rgba(28, 18, 11, 0.26) 50%, var(--bg-0) 78%);
}
.co-hero__inner .eyebrow,
.co-close__inner .eyebrow { font-size: clamp(14px, 1.45vw, 17px); padding-left: 0; }
/* Hero eyebrow — heavier + brighter so the hours line pops against the bright
   photo (the text itself is brightened/weighted; the photo is not darkened). */
.co-hero__inner .eyebrow {
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 1px 12px rgba(20, 12, 6, 0.85), 0 0 2px rgba(20, 12, 6, 0.55);
}
.co-title {
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: 0.92;
  white-space: nowrap;
  color: var(--ink);
  text-shadow: 0 4px 30px rgba(20, 12, 6, 0.7);
}
.co-title .t-the, .co-title .t-cap {
  font-family: var(--font-caps); text-transform: uppercase; letter-spacing: 0.05em;
}
.co-title .t-script {
  font-family: var(--font-script); font-size: 1.36em; text-transform: none; padding: 0 0.04em;
  color: var(--ink);
}
.co-hero__slogan { font-size: clamp(23px, 3.4vw, 44px); }
.co-hero__intro { max-width: 48ch; text-align: center; }

/* scroll cue — "discover" */
.co-cue {
  margin-top: clamp(10px, 2vh, 22px);
  position: relative;
  top: clamp(56px, 10vh, 110px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.co-cue > span:first-child {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.42em;
  transition: color 240ms ease;
}
.co-cue:hover > span:first-child { color: var(--gold-bright); }
.co-cue__line {
  position: relative;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--muted), var(--bg-0));
  opacity: 0.5; overflow: hidden;
}
.co-cue__dot {
  position: absolute; top: 0; left: -1.5px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-bright);
  animation: coCueFall 2.4s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes coCueFall {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { opacity: 1; } 80% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* ==========================================================================
   CHAPTERS — tall STAGES. Copy occupies a clear band; feathered photos sit on
   staggered bands so the eye travels through the room.
   ========================================================================== */
.co-chapter {
  position: relative;
  overflow: clip;
  padding: 0 clamp(24px, 5vw, 92px);
}
.co-stage { position: absolute; inset: 0; z-index: 1; }
.co-copy {
  position: absolute;
  z-index: 3;
  max-width: min(90vw, 32rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.5vh, 18px);
}

/* ---- THE CONCEPT / THE EXPERIENCE — copy LEFT; four bright coffee-lounge photos
   form a soft, overlapping, feathered cluster filling the right two-thirds:
   work (laptop) → food (coffee & cake) → social (two guests) → craft (espresso).
   Sized in vw with clamp caps so the cluster scales together and freezes at the
   wide design instead of ballooning past the fixed-size copy. */
.co-chapter--concept { min-height: clamp(1080px, 92vw, 1380px); }
.co-chapter--concept .co-copy {
  top: clamp(90px, 12vh, 170px);
  left: clamp(24px, 6vw, 130px);
  text-align: left; align-items: flex-start;
}
/* Same photos, same SIZES, same VERTICAL positions (horizontal-only). FOOD is the
   fixed LEFT anchor (unchanged). The three-photo group is a left-to-right FAN, each
   stepped further right than the last so they space apart horizontally while the
   CHAIN still overlaps at every link (FOOD → IPAD → TWO-GUYS → DRIP), so the soft
   feathers bridge with no gaps: IPAD pulled LEFT so its body overlaps FOOD (closes
   the old gap), TWO-GUYS stepped right of IPAD, DRIP stepped right of TWO-GUYS.
   Only `left` changed; tops/widths/heights untouched. */
/* WIDE-SCREEN FILL: at wide widths the group caps out and left a ~200px void on
   the right. The width + left CAPS are scaled ~1.15× about the left anchor (FOOD's
   left) so the whole group expands HORIZONTALLY to fill that void — each photo a
   bit wider and stepped a bit further right by the SAME factor, so every overlap
   grows proportionally and the overlap/blend ratio is unchanged. Tops/heights and
   the mid-width (vw-governed) layout are untouched. */
.co-con-work   { left: clamp(440px, 45vw, 768px);  top: clamp(60px, 8vw, 130px);   width: clamp(400px, 40vw, 690px);  height: clamp(320px, 34vw, 560px); }   /* laptop + coffee (IPAD) — LEFT of the fan; right edge overlaps/blends into DRIP while still overlapping FOOD */
.co-con-food   { left: clamp(190px, 25vw, 400px);  top: clamp(360px, 35vw, 560px); width: clamp(320px, 31vw, 575px);  height: clamp(390px, 38vw, 620px); }   /* coffee & cake (FOOD-PLATE) — LEFT ANCHOR near the text; left unchanged, widened right */
.co-con-social { left: clamp(410px, 54vw, 929px);  top: clamp(360px, 41vw, 650px); width: clamp(400px, 40vw, 690px);  height: clamp(320px, 31vw, 500px); }   /* two guests (TWO-GUYS) — MIDDLE of the fan; stepped right of IPAD (still overlaps IPAD + FOOD box), same vertical band */
.co-con-craft  { left: clamp(800px, 82vw, 1435px); top: clamp(220px, 20vw, 300px); width: clamp(280px, 27vw, 483px); height: clamp(440px, 48vw, 700px); }   /* espresso drip (DRIP) — RIGHT of the fan; stepped further right of TWO-GUYS (left feathered edge overlaps TWO-GUYS's right), same vertical band */
.co-chapter--concept .co-con-work   { z-index: 2; }
.co-chapter--concept .co-con-craft  { z-index: 3; }
.co-chapter--concept .co-con-food   { z-index: 4; }
.co-chapter--concept .co-con-social { z-index: 5; }

/* Small tag chips — make the "work / stay / meet" offer unmissable (like events' modes). */
.co-modes { display: flex; gap: clamp(8px, 1vw, 14px); flex-wrap: wrap; margin-top: clamp(4px, 0.8vh, 10px); }
.co-mode {
  font-family: var(--font-body); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  padding: 7px 15px; border: 1px solid rgba(199,154,84,0.5); border-radius: 999px;
  background: rgba(199,154,84,0.07);
  text-shadow: 0 1px 10px rgba(20,12,6,0.6);
}
.co-mode b { color: var(--gold-bright); font-weight: 600; }

/* ---- THE MEETING ROOM — MIRROR: copy TOP-RIGHT; two Den photos as a feathered
   pair on the left, showing what the bookable private room looks like. The
   chapter-break hairline above opens a clean gap from the concept section. */
.co-chapter--meeting { min-height: clamp(760px, 62vw, 1000px); }
.co-chapter--meeting .co-copy {
  top: clamp(120px, 14vh, 210px);
  right: clamp(24px, 6vw, 130px); left: auto;
  text-align: right; align-items: flex-end;
}
.co-chapter--meeting .co-rule { margin-left: auto; }
.co-chapter--meeting .co-actions { justify-content: flex-end; }
.co-meet-a { left: clamp(-3vw, -2vw, 0px); top: clamp(120px, 11vw, 210px); width: clamp(440px, 48vw, 820px); height: clamp(300px, 30vw, 520px); }   /* sofa + wall screen — the "presentations" shot */
.co-meet-b { left: clamp(300px, 32vw, 560px); top: clamp(320px, 30vw, 520px); width: clamp(360px, 37vw, 640px); height: clamp(280px, 27vw, 460px); }   /* private banquette room — overlaps a, lower */
.co-chapter--meeting .co-meet-a { z-index: 2; }
.co-chapter--meeting .co-meet-b { z-index: 3; }
/* The Den photos are the darkest images used here — lift them a little further so
   the room still reads bright and inviting on the daytime page (not a night club). */
.co-chapter--meeting .co-photo img { filter: brightness(1.16) saturate(1.05) contrast(0.98) drop-shadow(0 24px 54px rgba(20,12,6,0.3)); }

/* Chapter divider — a soft cream hairline in the gap above the Meeting Room,
   tapering to transparent at both ends (same device as events). */
.co-chapter .co-chapter-break {
  position: absolute;
  top: clamp(30px, 3vw, 56px);
  left: 0; right: 0; margin-inline: auto;
  width: 75%;
  height: 2px;
  z-index: 6;
  background: linear-gradient(90deg, transparent 0%, var(--ink) 20%, var(--ink) 80%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}
@media (max-width: 960px) { .co-chapter .co-chapter-break { display: none; } }

/* ==========================================================================
   CLOSING — "Your Seat Awaits": a centred close that bookends the hero. A warm,
   bright feathered photo fills the frame; the come-in / reserve copy sits over it.
   ========================================================================== */
.co-close {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(100px, 15vh, 170px) clamp(28px, 8vw, 128px);
  overflow: clip;
}
.co-close__media { position: absolute; inset: 0; z-index: 1; margin: 0; line-height: 0; pointer-events: none; }
.co-close__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 48%;
  filter: brightness(1.08) saturate(1.04) contrast(0.98);
  -webkit-mask-image:
    radial-gradient(90% 86% at 50% 50%, #000 36%, rgba(0,0,0,0.34) 74%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(90% 86% at 50% 50%, #000 36%, rgba(0,0,0,0.34) 74%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.co-close__inner {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  max-width: min(92vw, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vh, 24px);
}
/* Readability pool behind the closing copy — a warm, wide radial that is
   strongest behind the text (so the eyebrow at top and the address at bottom
   read clearly) and dissolves to FULLY transparent right at the box edges.
   `farthest-side` makes the ellipse touch all four side-midpoints at 100% (=
   transparent), and the corners fall beyond it (also transparent) — so there is
   NO straight edge or box anywhere; it reads as a soft pool of shade, not a
   rectangle. The generous inset keeps the fade long and invisible. */
.co-close__inner::before {
  content: "";
  position: absolute; z-index: -1; inset: -48% -40%; pointer-events: none;
  background: radial-gradient(ellipse farthest-side at 50% 50%,
    rgba(18,11,6,0.88) 0%,
    rgba(18,11,6,0.82) 40%,
    rgba(18,11,6,0.58) 66%,
    rgba(18,11,6,0.28) 84%,
    transparent 100%);
}
.co-close .co-actions { justify-content: center; margin-top: clamp(18px, 2.6vh, 30px); }
.co-close__note {
  margin: 0;
  font-family: var(--font-body); font-weight: 300; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); opacity: 0.7;
}

/* ==========================================================================
   Scroll-driven entrances (same technique as events / membership / homepage).
   ========================================================================== */
@keyframes co-rise {
  0%   { opacity: 0; transform: translateY(46px); filter: blur(5px); animation-timing-function: cubic-bezier(0.16,0.84,0.24,1); }
  24%  { opacity: 1; transform: translateY(0);     filter: blur(0); }
  82%  { opacity: 1; transform: translateY(0);     filter: blur(0); animation-timing-function: cubic-bezier(0.6,0,0.85,0.35); }
  100% { opacity: 0; transform: translateY(-28px); filter: blur(3px); }
}
@keyframes co-reveal-up {
  from { opacity: 0; transform: translateY(38px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes co-reveal-photo {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .co-hero__inner, .co-close__inner { animation: co-rise both; animation-timeline: view(); animation-range: cover; }
    .co-copy { animation: co-reveal-up both; animation-timeline: view(); animation-range: entry 4% cover 24%; }
    .co-photo { animation: co-reveal-photo both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}

/* ==========================================================================
   Responsive — below 960px each chapter STACKS cleanly: copy first, then its
   photos in a single feathered column at a readable size. (Same reflow as events.)
   ========================================================================== */
@media (max-width: 960px) {
  .co-hero, .co-close {
    padding: clamp(120px, 18vh, 170px) clamp(26px, 7vw, 60px) clamp(80px, 12vh, 120px);
  }
  .co-title { white-space: normal; font-size: clamp(40px, 12vw, 76px); line-height: 1; }
  .co-hero__media img { width: auto; height: clamp(320px, 52vh, 560px); max-width: 92vw; object-fit: cover; }

  /* Darken the three header/hero pictures so the text over them reads clearly on
     mobile (the daytime grade runs them bright). Done by pulling the brightness
     lift back down — tasteful, not crushed to black. The two chapter headers get a
     little; the main page hero just a hair (a lighter touch). */
  .co-hero__media img { filter: brightness(0.9) saturate(1.02) contrast(1) !important; }
  .co-chapter--concept .co-photo:first-child img {
    filter: brightness(0.74) saturate(1.03) contrast(1.01) drop-shadow(0 24px 54px rgba(20, 12, 6, 0.32)) !important;
  }
  .co-chapter--meeting .co-photo:first-child img {
    filter: brightness(0.76) saturate(1.03) contrast(1.01) drop-shadow(0 24px 54px rgba(20, 12, 6, 0.3)) !important;
  }

  /* ===== Mobile chapter layout — matches the events page exactly =====
     hero picture on top → name/info/button tucked up under its feathered bottom →
     the remaining photos as a gently, evenly overlapping feathered collage → a
     divider line. Same values/technique as events.css. */
  .co-chapter {
    min-height: 0 !important;
    display: flex; flex-direction: column; align-items: center;
    padding: clamp(78px, 12vh, 128px) clamp(22px, 6vw, 46px) clamp(28px, 5vh, 56px);
  }
  .co-stage { display: contents; }   /* promote the photos into the chapter's flex flow */

  /* Copy sits BETWEEN the hero (order 0) and the collage (order 2), tucked up
     under the hero's feathered bottom, with a gap below before the collage. */
  .co-copy {
    order: 1;
    position: relative !important; z-index: 6 !important; inset: auto !important; transform: none !important;
    align-self: stretch; max-width: 100%;
    margin: clamp(-72px, -9vh, -50px) 0 clamp(22px, 4vh, 40px) !important;   /* slight tuck up under the hero's feathered bottom (matches events) */
    text-align: left !important; align-items: flex-start !important;
    animation: none !important;
  }
  .co-copy::before { display: none; }
  .co-name { white-space: normal; font-size: clamp(32px, 9vw, 54px); line-height: 1.05; }
  .co-chapter--meeting .co-copy { text-align: left !important; align-items: flex-start !important; }
  .co-chapter--meeting .co-rule { margin-left: 0; margin-right: 0; }
  .co-chapter--meeting .co-actions { justify-content: flex-start; }
  .co-modes { justify-content: flex-start; }

  /* Every chapter photo: in-flow (stagger via align-self, not margin auto).
     height: auto is CRITICAL — the figures carry a fixed desktop height, which on
     mobile left empty space BELOW each image; that phantom space (not the margins)
     was the real gap under the hero and between collage photos. */
  .co-photo {
    position: relative !important; inset: auto !important;
    height: auto !important;
    aspect-ratio: auto !important; transform: none !important;
    animation: none !important; opacity: 1 !important;
    margin: 0;   /* NOT auto — auto would defeat the align-self left/right stagger below */
  }
  .co-photo img { width: 100% !important; height: auto !important; }

  /* Hero = the first photo, largest, on top. Feathered on the sides + top but kept
     fairly SOLID at the bottom (linear fade only in the last ~10%) so the copy can
     tuck up under its VISIBLE edge. */
  .co-stage .co-photo:first-child { order: 0; width: min(86vw, 440px) !important; }
  .co-chapter .co-stage .co-photo:first-child img {
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 9%,  #000 90%, transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
    mask-image:
      linear-gradient(to right,  transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 9%,  #000 90%, transparent 100%) !important;
    mask-composite: intersect !important;
  }

  /* Supporting photos = a left/right-staggered collage that overlaps GENTLY and
     EVENLY. Uniform frames + one soft all-edge feather + one shared overlap value
     mean every photo laps the next by the same slight amount — none jammed over
     another, none left sitting alone. */
  .co-stage .co-photo:not(:first-child) {
    order: 2;
    width: min(62vw, 272px) !important;
    margin-top: clamp(-52px, -6.5vh, -42px) !important;   /* gentle overlap onto the previous photo — softened below */
    z-index: 2;
  }
  .co-stage .co-photo:not(:first-child) img {
    /* UNIFORM frame height (explicit — aspect-ratio is ignored on an <img> whose
       height is auto, so natural ratios would make the visible overlap uneven). */
    height: clamp(168px, 22vh, 196px) !important;
    object-fit: cover !important; object-position: 50% 46% !important;
    /* Feather ALL FOUR edges so the photos blend into each other and the dark —
       two linears melt the sides + top + bottom, a radial rounds the corners. */
    -webkit-mask-image:
      radial-gradient(74% 72% at 50% 50%, #000 38%, rgba(0,0,0,0.4) 66%, transparent 95%),
      linear-gradient(to right,  transparent 0%, #000 13%, #000 87%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
    mask-image:
      radial-gradient(74% 72% at 50% 50%, #000 38%, rgba(0,0,0,0.4) 66%, transparent 95%),
      linear-gradient(to right,  transparent 0%, #000 13%, #000 87%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%) !important;
    mask-composite: intersect !important;
  }
  /* First supporting photo: a small gap below the copy (it starts the group); the
     rest lap upward onto it by the same even amount above. */
  .co-stage .co-photo:nth-child(2) { align-self: flex-start; margin-top: clamp(10px, 2vh, 20px) !important; z-index: 2; }
  .co-stage .co-photo:nth-child(3) { align-self: flex-end;   z-index: 3; }
  .co-stage .co-photo:nth-child(4) { align-self: flex-start; z-index: 4; }
  .co-stage .co-photo:nth-child(5) { align-self: flex-end;   z-index: 5; }

  /* Clear divider line between this section and the next. */
  .co-chapter::after {
    content: ""; order: 3;
    width: min(82%, 360px); height: 1px;
    margin-top: clamp(42px, 8vh, 74px);
    background: linear-gradient(90deg, transparent 0%, rgba(199, 154, 84, 0.6) 22%, rgba(199, 154, 84, 0.6) 78%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .co-cue__dot { animation: none; }
}
