/* COLORS®: a white gallery wall. No glass, no corners, lots of air. */
.cx-page { background: #fff; color: #0b1526; margin: 0; }
.cx-page ::selection { background: #0000ff; color: #fff; }
.cx-header .wordmark { color: #0000ff; text-shadow: none; }
.cx-header .site-nav { margin-right: 0; }
.cx-header .site-nav .nav-link { color: #0b1526; text-shadow: none; }
.cx-header .site-nav .nav-link:hover, .cx-header .site-nav .nav-link:focus-visible { color: #0b1526; }
.cx-header .site-nav .nav-link[aria-current="page"] { color: #0000ff; }

.cx-main { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.cx-tag { margin: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; }

.cx-hero { padding: clamp(80px, 16vh, 180px) 0 clamp(64px, 11vh, 120px); }
.cx-hero .cx-tag { margin-bottom: 28px; color: #0000ff; }
.cx-title { margin: 0; font-weight: 800; letter-spacing: -0.06em; line-height: 0.88; font-size: clamp(3.4rem, 12vw, 11rem); color: #0000ff; }
.cx-title span { font-weight: 400; font-size: 0.32em; vertical-align: 2.1em; margin-left: 0.08em; letter-spacing: 0; color: #0b1526; }
.cx-copy { margin: 40px 0 0; max-width: 32em; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }

/* Spectrum strip */
.cx-strip { display: flex; height: clamp(120px, 22vh, 220px); }
.cx-band { flex: 1 1 0; min-width: 0; border: 0; padding: 0; cursor: pointer; transition: flex-grow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cx-band:hover, .cx-band:focus-visible { flex-grow: 6; outline: none; }
.cx-strip-read { margin: 14px 0 0; min-height: 1.2em; font-size: 0.72rem; letter-spacing: 0.18em; white-space: pre; }

/* Index */
.cx-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid #0b1526; margin-top: clamp(80px, 13vh, 140px); padding-top: 22px; margin-bottom: clamp(40px, 6vh, 64px); }
.cx-order { display: flex; gap: 26px; }
.cx-order button { border: 0; background: none; padding: 2px 0; cursor: pointer; color: #0b1526; opacity: 0.4; font: 700 0.7rem 'Space Mono', monospace; letter-spacing: 0.22em; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: opacity 0.2s, text-decoration-color 0.2s; }
.cx-order button:hover { opacity: 0.8; }
.cx-order button[aria-checked="true"] { opacity: 1; text-decoration-color: currentColor; }

.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 42vw), 1fr)); gap: clamp(36px, 5vw, 64px) clamp(16px, 2.4vw, 32px); }
.cx-chip { display: block; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.cx-sw { display: block; aspect-ratio: 3 / 4; box-shadow: inset 0 0 0 1px rgba(11, 21, 38, 0.08); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cx-chip:hover .cx-sw, .cx-chip:focus-visible .cx-sw { transform: translateY(-8px); }
.cx-chip:focus-visible { outline: none; }
.cx-chip:focus-visible .cx-cn { text-decoration: underline; text-underline-offset: 4px; }
.cx-meta { display: grid; gap: 4px; padding-top: 16px; }
.cx-n { font-size: 0.62rem; letter-spacing: 0.18em; opacity: 0.5; }
.cx-cn { font-weight: 800; font-size: 0.98rem; letter-spacing: -0.02em; line-height: 1.15; }
.cx-ch { font-size: 0.62rem; letter-spacing: 0.12em; opacity: 0.6; }
.cx-pt { font-size: 0.56rem; letter-spacing: 0.16em; color: #0000ff; }

.cx-credit { margin: clamp(90px, 14vh, 150px) auto 0; max-width: 720px; text-align: center; font-size: 0.6rem; letter-spacing: 0.12em; line-height: 1.8; opacity: 0.55; }
.cx-foot { color: #0b1526; text-shadow: none; padding-top: 60px; }

/* The room: one colour, full screen */
.cx-room { position: fixed; inset: 0; z-index: 900; color: var(--ink-on, #fff); }
.cx-room[hidden] { display: none; }
.cx-room-fill { position: absolute; inset: 0; transition: background 0.6s ease; }
.cx-room-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: clamp(20px, 4vw, 48px) clamp(20px, 5vw, 64px); box-sizing: border-box; transition: color 0.4s; }
.cx-room-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; letter-spacing: 0.2em; }
.cx-close:focus { outline: none; }
.cx-close:focus-visible, .cx-step:focus-visible { outline: none; text-decoration-thickness: 3px; text-decoration-line: underline; }
.cx-close { border: 0; background: none; color: inherit; cursor: pointer; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; padding: 6px 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cx-room-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; padding: 32px 0; overflow-y: auto; }
.cx-name { margin: 0; font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; font-size: clamp(2.8rem, 8.5vw, 8.4rem); text-wrap: balance; }
.cx-hex { margin: 22px 0 0; font-size: 0.8rem; letter-spacing: 0.2em; }
.cx-room-text { max-width: 30em; }
.cx-desc { margin: 0; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.55; }
.cx-thanks { margin: 22px 0 0; font-weight: 700; font-size: 0.9rem; line-height: 1.45; }
.cx-where { margin: 28px 0 0; display: grid; gap: 6px; font-size: 0.62rem; letter-spacing: 0.12em; line-height: 1.7; }
.cx-where span:first-child { font-weight: 700; letter-spacing: 0.22em; }
.cx-pantone { margin: 18px 0 0; font-size: 0.6rem; letter-spacing: 0.08em; line-height: 1.7; opacity: 0.8; }
.cx-room [hidden] { display: none; }
.cx-room-foot { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.cx-step { flex: none; border: 0; background: none; color: inherit; cursor: pointer; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; padding: 8px 0; }
.cx-step:hover { text-decoration: underline; text-underline-offset: 6px; }
.cx-mini { flex: 1; display: flex; height: 22px; outline: 1px solid color-mix(in srgb, var(--ink-on, #fff) 35%, transparent); }
.cx-mini span { flex: 1 1 0; cursor: pointer; transition: flex-grow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cx-mini span.on { flex-grow: 5; box-shadow: inset 0 0 0 2px var(--ink-on, #fff); }

@media (max-width: 760px) {
  .cx-room-body { grid-template-columns: 1fr; align-items: start; align-content: end; }
  .cx-mini { display: none; }
  .cx-room-foot { justify-content: space-between; }
  .cx-strip { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-band, .cx-sw, .cx-mini span, .cx-room-fill { transition: none; }
}
