/* AUNM Campus Journey v2: one sticky film aerial, one slow push-in, six quiet hotspots.
   Scoped under .cj2. Uses the brand tokens if present (tokens.css), with fallbacks. */
.cj2 {
  --cj2-navy: var(--aunm-navy-900, #0e1d33);
  --cj2-navy-deep: var(--aunm-navy-950, #08121f);
  --cj2-gold: var(--aunm-gold-300, #d6b273);
  --cj2-gold-deco: var(--aunm-gold-500, #b8894a);
  --cj2-cream: var(--aunm-gold-100, #f2e0b8);
  --cj2-paper: var(--aunm-paper-100, #f6f1e6);
  --cj2-serif: var(--font-display, "Newsreader", "Iowan Old Style", Georgia, serif);
  --cj2-sans: var(--font-sans, "Public Sans", system-ui, sans-serif);
  --cj2-ease: cubic-bezier(.2, .7, .1, 1);
  --cj2-top: 0px;              /* height of a fixed header to keep clear of (e.g. 64px) */
  --cj2-len: 640vh;            /* scroll length of the journey: calm, generous dwell */
  position: relative;
  height: var(--cj2-len);
  background: var(--cj2-navy-deep);
  color: var(--cj2-paper);
}
.cj2 *, .cj2 *::before, .cj2 *::after { box-sizing: border-box; }

.cj2__stage {
  position: sticky; top: var(--cj2-top);
  height: calc(100vh - var(--cj2-top)); height: calc(100svh - var(--cj2-top));
  overflow: hidden; isolation: isolate;
  contain: layout paint;
}

/* The plate holds the image and the hotspots, so both move as one layer. */
.cj2__plate {
  position: absolute; left: 0; top: 0;
  width: 100%; aspect-ratio: 16 / 9;
  transform-origin: 0 0;
  will-change: transform;
}
.cj2__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover;
  user-select: none; -webkit-user-drag: none;
}

/* Quiet vignette: navy at the top and the bottom so text reads, nothing over the campus. */
.cj2__veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(rgba(8,18,31,.14), rgba(8,18,31,.14)),
    linear-gradient(to bottom, rgba(8,18,31,.55) 0%, rgba(8,18,31,0) 26%),
    linear-gradient(to top, rgba(8,18,31,.72) 0%, rgba(8,18,31,0) 34%);
}
/* Light film grain so the plate matches the rest of the site. */
.cj2__grain {
  position: absolute; inset: -50%; z-index: 3; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@property --sx { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
@property --sy { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
/* ------------------------------------------------------------ Highlights (2026-11-14)
   Everything here sits ABOVE the veil and the grain (z 4), in layers that follow the plate's transform:
   .cj2__dim   screen-space spotlight: the frame dims around the current center and the light glides between them
   .cj2__bloom a warm light pool on the building (screen blend)
   .cj2__over  gold footprint traces (SVG, image space) + beacons, leader lines and label cards.
   Per-center custom properties set by the JS: --d drawn, --l lit, --lb label in, --ln leader drawn, --f faint, --all closing. */
.cj2__dim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  --sx: 50%; --sy: 50%; --rx: 200px; --ry: 140px;
  background: radial-gradient(var(--rx) var(--ry) at var(--sx) var(--sy),
    rgba(8,18,31,0) 0%, rgba(8,18,31,0) 55%, rgba(8,18,31,.34) 100%),
    radial-gradient(calc(var(--rx) * 3.2) calc(var(--ry) * 3.2) at var(--sx) var(--sy),
    rgba(8,18,31,0) 20%, rgba(8,18,31,.38) 100%);
}
.cj2__bloom, .cj2__over {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none;
  width: 100%; aspect-ratio: 16 / 9; transform-origin: 0 0; will-change: transform;
}
.cj2__bloom { mix-blend-mode: screen; }
.cj2__bloom svg, .cj2__traces { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.cj2-bloom { fill: #e9b86a; opacity: 0; }

.cj2-trace { --d: 0; --l: 0; --f: 0; --all: 0; --u: 1; }
.cj2__over { --u: 1; }
.cj2-trace path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
/* All six sit on the plan as faint gold outlines once the journey starts. */
.cj2-trace__faint {
  stroke: var(--cj2-gold); stroke-width: calc(var(--u) * 1px);
  opacity: calc(var(--f) * .38 + var(--all) * .3);
}
/* A whisper of gold across the current footprint. */
.cj2-trace__fill { fill: rgba(242,214,150,.16) !important; opacity: calc(var(--l) * var(--d)); }
/* The bright edge traces itself as you scroll (pathLength = 1). */
.cj2-trace__glow, .cj2-trace__edge { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--d)); }
.cj2-trace__glow {
  stroke: #ffd98f; stroke-width: calc(var(--u) * 9px);
  opacity: calc(var(--l) * .85 + var(--all) * .35);
}
.cj2-trace__edge {
  stroke: #ffe7b3; stroke-width: calc(var(--u) * 2.25px);
  opacity: calc(var(--l) + var(--all) * .85);
}

/* ------------------------------------------------------------ Beacons, leader lines, label cards */
.cj2__spots { position: absolute; inset: 0; }
.cj2-spot {
  position: absolute; width: 0; height: 0;
  --dx: 0px; --dy: -90px;          /* label offset from the ring (set per spot in JS) */
  --inv: 1;                        /* counter-scale so rings and type stay crisp during the push */
  --l: 0; --lb: 0; --ln: 0; --all: 0; --len: 120;
}
.cj2-spot__ring {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px;
  border: 1.5px solid var(--cj2-gold); border-radius: 50%;
  background: rgba(8,18,31,.35);
  box-shadow: 0 0 0 calc(var(--l) * 7px) rgba(214,178,115,.18), 0 0 calc(var(--l) * 26px) rgba(255,214,140,.65);
  transform: scale(calc(var(--inv) * .4)); opacity: 0;
  transition: transform 1.1s var(--cj2-ease), opacity .9s var(--cj2-ease), border-color .4s;
}
.cj2-spot__ring::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: #ffe2a6; box-shadow: 0 0 8px rgba(255,214,140,.9);
}
/* Pulse: two rings breathe out from the current beacon. */
.cj2-spot__ring i {
  position: absolute; inset: -1.5px; border-radius: 50%; border: 1px solid #ffd98f; opacity: 0; pointer-events: none;
}
.cj2-spot.is-current .cj2-spot__ring i { animation: cj2-pulse 2.6s var(--cj2-ease) infinite; }
.cj2-spot.is-current .cj2-spot__ring i + i { animation-delay: 1.3s; }
@keyframes cj2-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }

/* Leader line: an SVG hairline from the beacon to the card, drawn by scroll. */
.cj2-spot__line {
  position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none;
  width: 1px; height: 1px;
  filter: drop-shadow(0 0 3px rgba(8,18,31,.8));
}
.cj2-spot__line line {
  stroke: var(--cj2-gold); stroke-width: 1.25; vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--len) var(--len); stroke-dashoffset: calc(var(--len) * (1 - var(--ln)));
  opacity: calc(.45 + var(--l) * .55);
}
.cj2-spot__line circle { fill: #ffd98f; opacity: calc(var(--ln) * var(--ln) * (.5 + var(--l) * .5)); }

.cj2-spot__label {
  position: absolute; left: var(--dx); top: var(--dy);
  transform: translate(var(--fx, 0px), var(--fy, 0px)) translate(var(--ax, -50%), var(--ay, -100%))
             translate(calc(var(--vx, 0) * (1 - var(--lb)) * -18px), calc(var(--vy, -1) * (1 - var(--lb)) * -18px))
             scale(calc(var(--inv) * (.62 + .38 * var(--l))));
  transform-origin: var(--ox, 50%) var(--oy, 100%);
  display: flex; flex-direction: column; gap: 4px; min-height: 44px; justify-content: flex-end;
  padding: 12px 16px 13px; max-width: 340px;
  text-decoration: none; color: var(--cj2-paper); white-space: nowrap;
  opacity: calc(var(--lb) * (.55 + .45 * max(var(--l), var(--all))));
  background: linear-gradient(135deg, rgba(8,18,31,calc(var(--l) * .74)), rgba(14,29,51,calc(var(--l) * .58)));
  box-shadow: inset 0 1px 0 rgba(214,178,115,calc(var(--l) * .9)), 0 18px 40px rgba(8,18,31,calc(var(--l) * .35));
  -webkit-backdrop-filter: blur(calc(var(--l) * 8px)); backdrop-filter: blur(calc(var(--l) * 8px));
  text-shadow: 0 1px 14px rgba(8,18,31,.95), 0 0 3px rgba(8,18,31,.9), 0 0 1px rgba(8,18,31,.9);
}
.cj2-spot__num {
  font-family: var(--cj2-sans); font-size: 12px; font-weight: 600; letter-spacing: .28em;
  color: var(--cj2-gold); font-variant-numeric: lining-nums tabular-nums;
}
.cj2-spot__name {
  font-family: var(--cj2-serif); font-variation-settings: "opsz" 48; font-weight: 400;
  font-size: clamp(26px, 2.35vw, 36px); line-height: 1.05; letter-spacing: -.005em;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .6s var(--cj2-ease), color .3s;
}
.cj2-spot__more {
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  max-height: calc(var(--l) * 7.5em); opacity: calc(var(--l) * var(--l));
  white-space: normal; width: 300px; max-width: 100%;
}
.cj2-spot__full {
  font-family: var(--cj2-sans); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cj2-gold); margin-top: 6px; line-height: 1.5;
}
.cj2-spot__sub {
  font-family: var(--cj2-serif); font-style: italic; font-weight: 300; font-size: 16.5px; line-height: 1.38; color: var(--cj2-cream);
}
.cj2-spot__label:hover .cj2-spot__name,
.cj2-spot__label:focus-visible .cj2-spot__name { background-size: 100% 1px; color: #fff; }
.cj2-spot__label:focus-visible { outline: 1px solid var(--cj2-gold); outline-offset: 5px; opacity: 1; }
/* Hidden labels must not catch clicks. */
.cj2-spot__label { pointer-events: none; }
.cj2-spot.is-on .cj2-spot__label, .cj2.is-all .cj2-spot__label { pointer-events: auto; }

/* Revealed beacons */
.cj2-spot.is-on .cj2-spot__ring { opacity: 1; transform: scale(var(--inv)); }
.cj2-spot.is-current .cj2-spot__ring { transform: scale(calc(var(--inv) * 1.2)); }

/* The per-center copy lines are now on the cards; the bottom copy keeps only the intro and the closing line. */
.cj2__line:not([data-line="intro"]):not([data-line="outro"]) { visibility: hidden; }

/* Phones: the same properties change in steps, so let them glide. */
.cj2.is-static:not(.is-reduced) .cj2-trace path,
.cj2.is-static:not(.is-reduced) .cj2-spot__line line,
.cj2.is-static:not(.is-reduced) .cj2-spot__line circle,
.cj2.is-static:not(.is-reduced) .cj2-bloom,
.cj2.is-static:not(.is-reduced) .cj2__dim {
  transition: stroke-dashoffset 1.6s var(--cj2-ease), opacity .9s var(--cj2-ease), --sx 1.4s var(--cj2-ease), --sy 1.4s var(--cj2-ease);
}
.cj2.is-static:not(.is-reduced) .cj2-spot__label {
  transition: opacity .9s var(--cj2-ease) .35s, transform 1.1s var(--cj2-ease) .35s;
}

/* ------------------------------------------------------------ Copy (max 2 lines on screen) */
.cj2__copy {
  position: absolute; z-index: 5; left: clamp(20px, 5vw, 72px); bottom: clamp(36px, 8vh, 84px);
  max-width: min(36rem, 80vw); pointer-events: none;
}
.cj2__line {
  position: absolute; left: 0; bottom: 0; width: max-content; max-width: min(36rem, 80vw);
  opacity: 0; transform: translate3d(0, 14px, 0);
  transition: opacity .9s var(--cj2-ease), transform 1.1s var(--cj2-ease);
}
.cj2__line.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.cj2__line a { pointer-events: auto; }
.cj2__kicker {
  display: block; margin: 0 0 10px; font-family: var(--cj2-sans); font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cj2-gold);
}
.cj2__title {
  margin: 0; font-family: var(--cj2-serif); font-variation-settings: "opsz" 72; font-weight: 300;
  font-size: clamp(30px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.012em; text-wrap: balance;
}
.cj2__sub {
  margin: 10px 0 0; font-family: var(--cj2-serif); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.35vw, 20px); line-height: 1.4; color: var(--cj2-cream); text-wrap: pretty;
}

/* ------------------------------------------------------------ Progress hairline + counter */
.cj2__progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(246,241,230,.14); }
.cj2__bar { position: absolute; inset: 0; background: var(--cj2-gold-deco); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.cj2__count {
  position: absolute; z-index: 5; right: clamp(20px, 5vw, 72px); bottom: clamp(36px, 8vh, 84px);
  font-family: var(--cj2-sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; color: rgba(246,241,230,.7);
  font-variant-numeric: tabular-nums;
}
.cj2__count b { color: var(--cj2-gold); font-weight: 600; }
.cj2__tag {
  position: absolute; z-index: 5; right: clamp(20px, 5vw, 72px); top: clamp(20px, 4vh, 40px);
  font-family: var(--cj2-sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,241,230,.55);
}
.cj2__skip {
  position: absolute; z-index: 6; left: 16px; top: 16px; padding: 10px 14px; background: var(--cj2-paper); color: var(--cj2-navy);
  font: 600 12.5px/1 var(--cj2-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .3s var(--cj2-ease), transform .3s var(--cj2-ease);
}
.cj2__skip:focus { opacity: 1; pointer-events: auto; transform: none; outline: 1px solid var(--cj2-gold); }

/* QA preview hook (?cj2p=) */
.cj2.is-preview .cj2__stage { position: fixed; inset: 0; height: 100vh; z-index: 99; }

/* ------------------------------------------------------------ Mobile cards (hidden on desktop) */
.cj2__cards { display: none; }

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

/* ============================================================ STATIC MODE
   Phones (no sticky scrub) and prefers-reduced-motion share it: no scroll length, no push, all labels on. */
.cj2.is-static { height: auto; }
.cj2.is-static .cj2__stage { position: relative; top: 0; height: auto; aspect-ratio: 16 / 9; max-height: 92vh; }
.cj2.is-static .cj2__line { transition: none !important; }
.cj2.is-reduced *, .cj2.is-reduced *::before, .cj2.is-reduced *::after { transition: none !important; animation: none !important; }
.cj2.is-static .cj2__progress, .cj2.is-static .cj2__count { display: none; }

/* Reduced motion on desktop: the picture with every label, plus the closing line. */
.cj2.is-reduced .cj2__stage { aspect-ratio: auto; height: 100vh; height: 100svh; max-height: none; min-height: 560px; }

/* Phones: the aerial sits behind a swipeable row of center cards. */
@media (max-width: 767px) {
  .cj2.is-static .cj2__stage { aspect-ratio: auto; height: 78svh; min-height: 520px; max-height: 760px; }
  /* The current center keeps a compact label (number + name) on a short leader; the full text lives on the cards. */
  .cj2-spot__more { display: none; }
  .cj2-spot__label { padding: 8px 12px 9px; gap: 2px; }
  .cj2-spot__name { font-size: 24px; }
  .cj2-spot__num { font-size: 10.5px; }
  .cj2-spot__ring { left: -15px; top: -15px; width: 30px; height: 30px; display: grid; place-items: center; }
  .cj2-spot__ring::after { display: none; }
  .cj2-spot__ring::before {
    content: attr(data-n); font: 600 10.5px/1 var(--cj2-sans); letter-spacing: .04em; color: var(--cj2-gold);
    text-shadow: 0 0 6px rgba(8,18,31,.9);
  }
  .cj2-spot.is-current .cj2-spot__ring { background: rgba(14,29,51,.55); box-shadow: 0 0 0 5px rgba(214,178,115,.22), 0 0 26px rgba(255,214,140,.7); }
  .cj2__copy { top: 22px; bottom: auto; left: 16px; right: 16px; max-width: none; }
  .cj2__line { position: static; width: auto; max-width: none; }
  .cj2__line:not([data-line="intro"]) { display: none; }
  .cj2__title { font-size: 30px; }
  .cj2__tag { display: none; }
  .cj2__cards {
    display: flex; position: absolute; z-index: 6; left: 0; right: 0; bottom: 18px;
    gap: 12px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .cj2__cards::-webkit-scrollbar { display: none; }
  .cj2-card {
    flex: 0 0 78%; scroll-snap-align: start; min-height: 150px;
    display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px;
    background: rgba(14,29,51,.78); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
    border-top: 1px solid var(--cj2-gold-deco); color: var(--cj2-paper); text-decoration: none;
  }
  .cj2-card__num { font: 600 10.5px/1 var(--cj2-sans); letter-spacing: .24em; color: var(--cj2-gold); }
  .cj2-card__name { font-family: var(--cj2-serif); font-size: 21px; line-height: 1.15; font-weight: 400; }
  .cj2-card__sub { font-family: var(--cj2-serif); font-style: italic; font-weight: 300; font-size: 15px; line-height: 1.35; color: var(--cj2-cream); }
  .cj2-card__go { margin-top: auto; font: 600 11px/1 var(--cj2-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cj2-gold); }
  .cj2-card:focus-visible { outline: 1px solid var(--cj2-gold); outline-offset: -4px; }
  .cj2__veil { background:
      linear-gradient(to bottom, rgba(8,18,31,.7) 0%, rgba(8,18,31,0) 30%),
      linear-gradient(to top, rgba(8,18,31,.8) 0%, rgba(8,18,31,0) 45%); }
}

/* Phones with reduced motion: numbered beacons + outlines on the plan, names on the cards (six labels would collide). */
@media (max-width: 767px) { .cj2.is-reduced .cj2-spot__label, .cj2.is-reduced .cj2-spot__line { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cj2 *, .cj2 *::before, .cj2 *::after { transition: none !important; animation: none !important; }
}

/* Site h2 colours must not reach the titles on the aerial (they were rendering navy on phones). */
.cj2 .cj2__title { color: var(--cj2-paper); }

/* Copy lines vs center labels (Julian 2026-11-14): a line leaving fades fast, a line arriving waits, and the
   reduced-motion desktop frame drops the closing line because all six labels are on. */
.cj2__line:not(.is-on) { transition: opacity .18s linear, transform .18s linear; }
@media (min-width: 768px) { .cj2.is-reduced .cj2__copy { display: none; } }
.cj2.is-scrub .cj2__line, .cj2.is-scrub .cj2__line.is-on { transition: transform 1.1s var(--cj2-ease); }
/* Day to blue hour plate (opacity set from scroll; phones glide between cards). */
.cj2__img--night { opacity: 0; will-change: opacity; }
.cj2.is-static:not(.is-reduced) .cj2__img--night { transition: opacity 1.4s var(--cj2-ease); }

/* ------------------------------------------------------------ Dot navigation */
.cj2__dots {
  position: absolute; z-index: 7; right: clamp(14px, 2.2vw, 30px); top: 50%; transform: translate3d(8px, -50%, 0);
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--cj2-ease), transform .6s var(--cj2-ease);
}
.cj2__dots.is-shown { opacity: 1; pointer-events: auto; transform: translate3d(0, -50%, 0); }
.cj2-dot {
  position: relative; width: 28px; height: 28px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; color: inherit; -webkit-tap-highlight-color: transparent;
}
.cj2-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(246,241,230,.5); box-shadow: 0 0 0 1px rgba(8,18,31,.35);
  transition: transform .45s var(--cj2-ease), background .35s, box-shadow .45s;
}
.cj2-dot:hover::before { background: rgba(246,241,230,.9); }
.cj2-dot.is-on::before {
  background: var(--cj2-gold); transform: scale(1.75);
  box-shadow: 0 0 0 3px rgba(214,178,115,.22), 0 0 14px rgba(255,214,140,.75);
}
.cj2-dot__label {
  position: absolute; right: 100%; top: 50%; margin-right: 6px; transform: translate3d(6px, -50%, 0);
  white-space: nowrap; padding: 6px 10px; background: rgba(8,18,31,.82); border-left: 1px solid var(--cj2-gold-deco);
  font: 600 10.5px/1 var(--cj2-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cj2-paper);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--cj2-ease), transform .3s var(--cj2-ease);
}
.cj2-dot:hover .cj2-dot__label, .cj2-dot:focus-visible .cj2-dot__label { opacity: 1; transform: translate3d(0, -50%, 0); }
.cj2-dot:focus-visible { outline: 1px solid var(--cj2-gold); outline-offset: -3px; border-radius: 50%; }
.cj2.is-reduced .cj2__dots { display: none; }
@media (max-width: 767px) {
  .cj2__dots {
    top: auto; right: 0; left: 0; bottom: 200px; transform: none; flex-direction: row; justify-content: center; gap: 2px;
  }
  .cj2__dots.is-shown { transform: none; }
  .cj2-dot { width: 30px; height: 30px; }
  .cj2-dot:not([data-i]) { display: none; }      /* phones: one dot per center (the cards) */
  .cj2-dot__label { display: none; }
}

/* Phones polish (2026-11-14): 44 px dot targets, last card can align, cards never clip. */
@media (max-width: 767px) {
  .cj2__dots { gap: 0; }
  .cj2-dot { width: 44px; height: 44px; }
  .cj2__cards::after { content: ""; flex: 0 0 calc(22% - 28px); }
  .cj2-card { min-height: 0; }
  .cj2-card__name { overflow-wrap: anywhere; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .cj2.is-static .cj2__stage { min-height: 500px; }
  .cj2__title { font-size: 26px; }
  .cj2-card { padding: 14px 16px 12px; gap: 4px; }
  .cj2-card__sub { font-size: 14px; }
}

/* Smaller desktop windows: cards scale down rather than clip. */
@media (min-width: 768px) and (max-height: 760px) {
  .cj2-spot__name { font-size: clamp(22px, 2vw, 30px); }
  .cj2-spot__sub { font-size: 15px; }
  .cj2-spot__more { width: 260px; }
  .cj2-spot__label { padding: 10px 14px 11px; }
}
