/* IPC DOME case study. Black, sport: race lines, ■ markers, lane numbering,
   Instrument Sans (the brand face). Accent = terracotta from the palette. */

.project-page--ipc { background: #000; color: #f3ede2; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Nav: transparent on the hero, glass once scrolled. */
.project-page--ipc .ipc-nav { position: fixed; inset: 0 0 auto; z-index: 50; background: transparent; border: 0; color: #fff; padding-block: 14px; align-items: center; }
.ipc-nav a { color: inherit; }
.ipc-nav .project-nav__mark img { filter: brightness(0) invert(1); }
.ipc-nav .project-nav__mark { display: grid; place-items: center; height: 40px; padding: 0 16px; border-radius: 999px; }
.ipc-nav nav { gap: 2px; padding: 4px; border-radius: 999px; }
.ipc-nav nav a { display: grid; place-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; transition: background-color var(--t-hover) ease; }
.ipc-nav nav a:hover { background: rgb(255 255 255 / .14); text-decoration: none; }
.ipc-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ipc-nav .project-nav__mark, .ipc-nav nav { transition: background-color .4s ease, box-shadow .4s ease; }
.ipc-nav.is-floating .project-nav__mark, .ipc-nav.is-floating nav { background: var(--glass-solid); box-shadow: var(--glass-edge), var(--glass-lift); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ipc-nav.is-floating .project-nav__mark, .ipc-nav.is-floating nav { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}

.ipc { --tc: #c83c29; --ivory: #f3ede2; --ink: #16171a; --line: rgb(243 237 226 / .16); --dim: #8c877f; --gut: clamp(20px, 4vw, 72px);
  font-family: "Instrument Sans", "Inter Tight", system-ui, sans-serif; }
.ipc figure, .ipc p, .ipc h2, .ipc h3, .ipc dl, .ipc dd, .ipc ol, .ipc ul { margin: 0; }
.ipc ol, .ipc ul { padding: 0; list-style: none; }
.ipc img { display: block; width: 100%; height: auto; }
.ipc h2, .ipc h3 { font-weight: 500; }

.ipc-label { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .01em; color: var(--ivory); }
.ipc-label span { font-size: 9px; color: var(--tc); }
.ipc-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ipc-meta span:last-child { text-align: right; }

/* HERO */
.ipc-hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: #fff; container-type: inline-size; }
.ipc-hero__photo { position: absolute; inset: 0; height: 100% !important; object-fit: cover; }
.ipc-race i { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgb(255 255 255 / .28); transform-origin: top; }
.ipc-marker { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px; margin-left: -6px; font-size: 12px; color: #fff; }
.ipc-marker::before { content: ""; width: 12px; height: 12px; background: var(--tc); }
.ipc-hero__logo { position: absolute; inset: 0; margin: 0; font: inherit; }
.ipc-hero__ipc { position: absolute; left: 13.54%; top: 46%; width: max(150px, 15cqw); translate: 0 -50%; }
.ipc-hero__dome { position: absolute; right: 13.54%; top: 46%; width: max(190px, 24cqw); translate: 0 -38%; }
.ipc-tag { position: absolute; display: flex; gap: 8px; align-items: center; font-size: 12px; color: rgb(255 255 255 / .85); }
.ipc-tag span { font-size: 9px; }
.ipc-tag--tl { left: var(--gut); top: 86px; }
.ipc-tag--tr { right: var(--gut); top: 86px; font-variant-numeric: tabular-nums; }
.ipc-tag--bl { left: var(--gut); bottom: 28px; }
.ipc-tag--br { right: var(--gut); bottom: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .js .ipc-hero__photo { animation: ipc-photo 2.2s var(--ease-expo) both; }
  .js .ipc-race i { animation: ipc-line 1.4s var(--ease-expo) both; }
  .js .ipc-race i:nth-child(2) { animation-delay: .08s; } .js .ipc-race i:nth-child(3) { animation-delay: .16s; } .js .ipc-race i:nth-child(4) { animation-delay: .24s; }
  .js .ipc-hero__ipc, .js .ipc-hero__dome { animation: ipc-fade 1.2s ease .5s both; }
  .js .ipc-hero__dome { animation-delay: .75s; }
  .js .ipc-marker, .js .ipc-tag { animation: ipc-fade .8s ease 1s both; }
}
@keyframes ipc-photo { from { opacity: 0; transform: scale(1.08); } }
@keyframes ipc-line { from { transform: scaleY(0); } }
@keyframes ipc-fade { from { opacity: 0; } }

/* ABOUT */
.ipc-about { padding: clamp(72px, 9vw, 160px) var(--gut) clamp(48px, 6vw, 96px); }
.ipc-about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px clamp(32px, 5vw, 96px); margin-top: clamp(28px, 3vw, 48px); align-items: end; }
.ipc-about h2 { font-size: clamp(44px, 6.6vw, 128px); line-height: .94; letter-spacing: -.045em; }
.ipc-about__copy > p { max-width: 44ch; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.4; color: #d9d3c8; }
.ipc-spec { display: grid; margin-top: 28px !important; font-size: 13px; }
.ipc-spec div { display: grid; grid-template-columns: 9ch 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.ipc-spec dt { color: var(--dim); }
.ipc-venue { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 8px; margin-top: clamp(48px, 6vw, 96px) !important; }
.ipc-venue img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.ipc-venue li:first-child img { aspect-ratio: auto; }

/* POSITIONING */
.ipc-position { padding: clamp(56px, 7vw, 120px) var(--gut); border-top: 1px solid var(--line); }
.ipc-position__lead { max-width: 22ch; margin-top: clamp(24px, 3vw, 44px) !important; font-size: clamp(30px, 3.8vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.ipc-rows { margin-top: clamp(40px, 5vw, 80px) !important; }
.ipc-rows div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.ipc-rows dt { display: flex; gap: 18px; font-size: 15px; color: var(--dim); }
.ipc-rows dt span { color: var(--tc); font-variant-numeric: tabular-nums; }
.ipc-rows dd { font-size: clamp(17px, 1.45vw, 24px); line-height: 1.3; letter-spacing: -.015em; }

/* CONCEPT */
.ipc-concept { padding: clamp(56px, 7vw, 120px) var(--gut) 0; }
.ipc-concept__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 64px); }
.ipc-concept__head .ipc-label { grid-column: 1 / -1; }
.ipc-concept__head h2 { font-size: clamp(56px, 9vw, 180px); line-height: .9; letter-spacing: -.05em; color: var(--tc); }
.ipc-concept__head p { max-width: 40ch; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.4; color: #d9d3c8; }
.ipc-concept__pair { display: grid; grid-template-columns: 854fr 914fr; gap: 8px; }
.ipc-concept__pair img { height: 100%; object-fit: cover; border-radius: 4px; }
.ipc-concept__card { position: relative; color: #fff; }
.ipc-concept__card svg { position: absolute; left: 50%; top: 50%; width: 30%; translate: -50% -50%; }

/* CONSTRUCTION GRID — motion */
.ipc-grid { padding: clamp(72px, 9vw, 150px) 0 clamp(48px, 6vw, 96px); }
.ipc-grid__head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gut) 18px; }
.ipc-replay { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ivory); font: inherit; font-size: 13px; cursor: pointer; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
.ipc-replay:hover { background: rgb(243 237 226 / .08); border-color: rgb(243 237 226 / .4); }
.ipc-replay:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.ipc-grid__stage { background: #000; border-block: 1px solid var(--line); overflow: hidden; }
.cg-svg { display: block; width: 100%; height: auto; }
.cg-logo { fill: #313131; }
.cg-lines line { stroke: #fff; stroke-width: 1.5; opacity: .55; }
.cg-circles circle { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .7; }

/* Rest state (no JS / reduced motion): the finished board. Motion states only apply when JS arms the stage. */
.ipc-grid.is-armed .cg-ipc, .ipc-grid.is-armed .cg-dome, .ipc-grid.is-armed .cg-desc { opacity: 0; }
.ipc-grid.is-armed .cg-lines line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ipc-grid.is-armed .cg-circles circle { transform: scale(0); opacity: 0; }
.ipc-grid.is-playing .cg-lines .cg-h { animation: cg-draw 1s var(--ease-in-out) calc(var(--i) * 70ms) forwards; }
.ipc-grid.is-playing .cg-lines .cg-v { animation: cg-draw 1.1s var(--ease-in-out) calc(.45s + var(--i) * 120ms) forwards; }
.ipc-grid.is-playing .cg-ipc { animation: cg-in .8s ease 1.2s forwards; }
.ipc-grid.is-playing .cg-dome { animation: cg-in .8s ease 1.65s forwards; }
.ipc-grid.is-playing .cg-desc { animation: cg-in .7s ease 1.95s forwards; }
.ipc-grid.is-playing .cg-circles circle { animation: cg-pop .7s var(--ease-expo) calc(2.2s + var(--i) * 120ms) forwards; }
.ipc-grid.is-playing .cg-logo { animation: cg-flash 1.3s ease 3s; }
@keyframes cg-draw { to { stroke-dashoffset: 0; } }
@keyframes cg-in { to { opacity: 1; } }
@keyframes cg-pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: .7; } }
@keyframes cg-flash { 0%, 100% { fill: #313131; } 18%, 40% { fill: #ffffff; } }

.ipc-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); padding: clamp(32px, 4vw, 56px) var(--gut) 0; }
.ipc-notes li { padding-top: 14px; border-top: 1px solid var(--line); }
.ipc-notes span { font-size: 13px; color: var(--tc); font-variant-numeric: tabular-nums; }
.ipc-notes h3 { margin-top: 18px !important; font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.03em; line-height: 1.05; }
.ipc-notes p { margin-top: 10px; max-width: 34ch; font-size: 15px; line-height: 1.45; color: #bdb7ad; }

/* LOGO FAMILY */
.ipc-family { padding: clamp(56px, 7vw, 120px) var(--gut); border-top: 1px solid var(--line); }
.ipc-family__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px !important; }
.ipc-tile { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: clamp(16px, 2vw, 28px); border-radius: 4px; }
.ipc-tile svg { width: 62%; margin: auto; }
.ipc-tile p { font-size: 13px; line-height: 1.35; }
.ipc-tile b { display: block; font-weight: 500; }
.ipc-tile--ink { background: #1c1c1c; color: #fff; }
.ipc-tile--ink p { color: #9a958d; } .ipc-tile--ink b { color: #fff; }
.ipc-tile--ivory { background: var(--ivory); color: var(--ink); }
.ipc-tile--ivory p { color: #6d675e; } .ipc-tile--ivory b { color: var(--ink); }
.ipc-colours { margin-top: clamp(48px, 6vw, 96px); }
.ipc-colours__stage { display: grid; place-items: center; aspect-ratio: 21 / 9; margin-top: 4px; border-radius: 4px; background: var(--bg); color: var(--fg); transition: background-color .5s var(--ease-out), color .5s var(--ease-out); border: 1px solid var(--line); }
.ipc-colours__stage svg { width: min(36%, 420px); }
.ipc-colours__pick { display: flex; gap: 10px; margin-top: 14px; }
.ipc-colours__pick button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(243 237 226 / .35); background: var(--sw); cursor: pointer; transition: transform .2s var(--ease-out); }
.ipc-colours__pick button[aria-checked="true"] { outline: 2px solid var(--ivory); outline-offset: 3px; }
.ipc-colours__pick button:hover { transform: scale(1.08); }
.ipc-colours__pick button:focus-visible { outline: 2px solid var(--tc); outline-offset: 3px; }

/* full-width slides */
.ipc-full { padding: 0 var(--gut) clamp(56px, 7vw, 110px); }
.ipc-full img { border-radius: 4px; }
.ipc-full--edge { padding-inline: 0; }
.ipc-full--edge img { border-radius: 0; }
.ipc-full--edge .ipc-meta { padding-inline: var(--gut); }

/* PALETTE */
.ipc-palette { padding: clamp(56px, 7vw, 120px) var(--gut); background: #0c0c0c; }
.ipc-swatches { display: flex; height: clamp(180px, 26vw, 420px); margin-top: 22px !important; border-radius: 4px; overflow: hidden; }
.ipc-swatches li { flex: var(--w) 1 0; min-width: 0; background: var(--c); transition: flex-grow .6s var(--ease-out); }
.ipc-swatches li:hover, .ipc-swatches li:focus-within { flex-grow: calc(var(--w) + 14); }
.ipc-swatches button { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 100%; height: 100%; padding: 14px; border: 0; background: none; color: var(--t); font: inherit; text-align: left; cursor: copy; }
.ipc-swatches b { font-weight: 500; font-size: clamp(13px, 1.1vw, 18px); white-space: nowrap; }
.ipc-swatches span { font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ipc-swatches button:focus-visible { outline: 2px solid var(--t); outline-offset: -6px; }
.ipc-copied { color: var(--ivory); }

.ipc-type { margin-top: clamp(64px, 8vw, 130px); }
.ipc-type__rows { margin-top: 22px; }
.ipc-type__rows div { display: grid; grid-template-columns: 1fr 4fr; gap: 24px; align-items: baseline; padding: clamp(14px, 1.6vw, 26px) 0; border-top: 1px solid var(--line); }
.ipc-type__rows span { font-size: 12px; color: var(--dim); }
.ipc-type .t1 { font-size: clamp(40px, 6vw, 112px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.ipc-type .t2 { font-size: clamp(28px, 3.4vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.ipc-type .t3 { font-size: clamp(20px, 2vw, 36px); font-weight: 500; letter-spacing: -.02em; }
.ipc-type .t4 { max-width: 52ch; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.45; color: #d9d3c8; }

/* PHOTOGRAPHY */
.ipc-photo { padding: 0 var(--gut) clamp(56px, 7vw, 120px); }
.ipc-photo h2, .ipc-apps h2, .ipc-picto h2, .ipc-way h2 { margin-top: 18px !important; font-size: clamp(36px, 5vw, 96px); line-height: .95; letter-spacing: -.045em; }
.ipc-photo__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: clamp(28px, 3vw, 48px) !important; }
.ipc-photo__row img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: grayscale(1) contrast(1.08); transition: filter .6s ease; }
.ipc-photo__row li:hover img { filter: grayscale(0); }
.ipc-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; font-size: 14px; line-height: 1.45; color: #bdb7ad; }
.ipc-dodont b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--ivory); }

/* APPLICATIONS */
.ipc-apps { display: grid; gap: clamp(28px, 3vw, 48px); padding: clamp(56px, 7vw, 120px) var(--gut); border-top: 1px solid var(--line); }
.ipc-apps > .ipc-label { margin-bottom: -18px; }
.ipc-apps figure img { border-radius: 4px; }
.ipc-merch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ipc-merch img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; transition: transform .8s var(--ease-out); }
.ipc-merch li { overflow: hidden; border-radius: 4px; }
.ipc-merch li:hover img { transform: scale(1.04); }
.ipc-apps > .ipc-meta { margin-top: calc(-1 * clamp(28px, 3vw, 48px) + 0px); }

/* PICTOGRAMS */
.ipc-picto { padding: clamp(56px, 7vw, 120px) var(--gut); border-top: 1px solid var(--line); }
.ipc-picto__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(32px, 5vw, 96px); align-items: end; }
.ipc-picto__head .ipc-label { grid-column: 1 / -1; }
.ipc-picto__head p { max-width: 44ch; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.45; color: #d9d3c8; }
.ipc-picto__build { margin-top: clamp(32px, 4vw, 64px) !important; }
.ipc-picto__build img { border-radius: 4px; }
.ipc-picto__grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(32px, 4vw, 64px) !important; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ipc-picto__grid li { position: relative; display: grid; grid-template-rows: auto 1fr auto; aspect-ratio: 1 / 1.08; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ivory); transition: background-color .3s ease, color .3s ease; }
.ipc-picto__grid svg { width: 46%; margin: auto; overflow: visible; transition: transform .5s var(--ease-out); }
.ipc-picto__grid .pc-n { font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ipc-picto__grid .pc-name { font-size: 13px; }
.ipc-picto__grid .pc-id { position: absolute; right: 12px; bottom: 12px; font-size: 11px; color: var(--dim); }
.ipc-picto__grid li:hover { background: var(--ivory); color: var(--ink); }
.ipc-picto__grid li:hover svg { transform: scale(1.1); }
.ipc-picto__grid li:hover .pc-n, .ipc-picto__grid li:hover .pc-id { color: #6d675e; }

/* WAYFINDING */
.ipc-way { display: grid; gap: clamp(24px, 3vw, 40px); padding: clamp(56px, 7vw, 120px) var(--gut); border-top: 1px solid var(--line); }
.ipc-way figure img { border-radius: 4px; }
.ipc-way__strip { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ipc-way__strip::-webkit-scrollbar { display: none; }
.ipc-way__strip figure { scroll-snap-align: start; }
.ipc-way__strip:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
.ipc-way > .ipc-meta { margin-top: calc(-1 * clamp(24px, 3vw, 40px)); }

/* CLOSING */
.ipc-close { display: grid; place-items: center; min-height: 70svh; padding: 80px var(--gut); border-top: 1px solid var(--line); color: #fff; }
.ipc-close svg { width: min(46vw, 520px); }

/* Shared ending */
.project-page--ipc .more-work, .project-page--ipc .site-contact, .project-page--ipc .case-footer { padding-inline: clamp(20px, 4vw, 72px); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .ipc-about__grid, .ipc-concept__head, .ipc-picto__head { grid-template-columns: 1fr; }
  .ipc-venue { grid-template-columns: 1fr 1fr; }
  .ipc-venue li:first-child { grid-column: 1 / -1; }
  .ipc-notes { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ipc-picto__grid { grid-template-columns: repeat(4, 1fr); }
  .ipc-rows div { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .ipc-hero { height: 88svh; }
  .ipc-hero__ipc { left: var(--gut); top: 40%; width: 62vw; }
  .ipc-hero__dome { right: var(--gut); top: 60%; width: 62vw; }
  .ipc-marker:nth-of-type(3) { display: none; }
  .ipc-tag--br { display: none; }
  .ipc-concept__pair, .ipc-family__row, .ipc-photo__row, .ipc-merch, .ipc-dodont { grid-template-columns: 1fr; }
  .ipc-tile { aspect-ratio: 4 / 3; }
  .ipc-notes { grid-template-columns: 1fr; }
  .ipc-picto__grid { grid-template-columns: repeat(3, 1fr); }
  .ipc-picto__grid .pc-id { display: none; }
  .ipc-type__rows div { grid-template-columns: 1fr; gap: 6px; }
  .ipc-swatches { flex-direction: column; height: auto; }
  .ipc-swatches li { flex: none; height: 64px; }
  .ipc-swatches button { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .ipc-colours__stage { aspect-ratio: 4 / 3; }
  .ipc-colours__stage svg { width: 62%; }
  .ipc-way__strip { grid-auto-columns: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .ipc-swatches li { transition: none; }
  .ipc-photo__row img, .ipc-merch img, .ipc-picto__grid svg { transition: none; }
}

/* ===== v2: motion rebuilt from the Figma timelines ===== */

/* Loops only run while on screen (JS toggles .is-live); with no JS or reduced motion the final frame shows. */
[data-loop]:not(.is-live) * { animation-play-state: paused !important; }

/* SUB-BRANDS — slide 13, 12.3 s loop */
.ipc-sub__stage { background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.sb-svg { display: block; width: 100%; height: auto; }
.sb-svg .sb-bar { transform-box: fill-box; }
.js .ipc-sub .sb-hero { animation: sb-hero 12.3s linear infinite; }
.js .ipc-sub .sb-ipc { animation: sb-ipc 12.3s linear infinite; }
.ipc-sub .sb-word:not(.sb-dome) { opacity: 0; }
.js .ipc-sub .sb-dome { animation: sb-dome 12.3s linear infinite; }
.js .ipc-sub .sb-dome .sb-shift { animation: sb-shift-dome 12.3s linear infinite; }
.js .ipc-sub .sb-dome .sb-bar { animation: sb-bar-dome 12.3s linear infinite; }
.js .ipc-sub .sb-hyrox { animation: sb-hyrox 12.3s linear infinite; }
.js .ipc-sub .sb-hyrox .sb-shift { animation: sb-shift-hyrox 12.3s linear infinite; }
.js .ipc-sub .sb-hyrox .sb-bar { animation: sb-bar-hyrox 12.3s linear infinite; }
.js .ipc-sub .sb-track { animation: sb-track 12.3s linear infinite; }
.js .ipc-sub .sb-track .sb-shift { animation: sb-shift-track 12.3s linear infinite; }
.js .ipc-sub .sb-track .sb-bar { animation: sb-bar-track 12.3s linear infinite; }
.js .ipc-sub .sb-court { animation: sb-court 12.3s linear infinite; }
.js .ipc-sub .sb-court .sb-shift { animation: sb-shift-court 12.3s linear infinite; }
.js .ipc-sub .sb-court .sb-bar { animation: sb-bar-court 12.3s linear infinite; }
.js .ipc-sub .sb-hybrid { animation: sb-hybrid 12.3s linear infinite; }
.js .ipc-sub .sb-hybrid .sb-shift { animation: sb-shift-hybrid 12.3s linear infinite; }
.js .ipc-sub .sb-hybrid .sb-bar { animation: sb-bar-hybrid 12.3s linear infinite; }
.js .ipc-sub .sb-s1 { animation: sb-s1 12.3s linear infinite; }
.js .ipc-sub .sb-s2 { animation: sb-s2 12.3s linear infinite; }
.js .ipc-sub .sb-s3 { animation: sb-s3 12.3s linear infinite; }
.js .ipc-sub .sb-s4 { animation: sb-s4 12.3s linear infinite; }
@keyframes sb-hero { 0%, 78.049% { transform: translateY(119.754px); animation-timing-function: ease-in-out; } 84.553%, 100% { transform: none; } }
@keyframes sb-ipc { 0% { opacity: 0; animation-timing-function: ease-out; } 4.065%, 100% { opacity: 1; } }
@keyframes sb-dome { 0%, 4.878% { opacity: 0; animation-timing-function: ease-out; } 7.317%, 16.667% { opacity: 1; animation-timing-function: ease-in; } 18.293%, 74.39% { opacity: 0; animation-timing-function: ease-out; } 77.236%, 100% { opacity: 1; } }
@keyframes sb-shift-dome { 0%, 8.537% { transform: translateX(-161.333px); animation-timing-function: ease-in-out; } 13.415%, 100% { transform: none; } }
@keyframes sb-bar-dome { 0%, 8.537% { width: 3.5px; animation-timing-function: ease-in-out; } 13.415%, 100% { width: 164.333px; } }
@keyframes sb-hyrox { 0%, 18.699% { opacity: 0; animation-timing-function: ease-out; } 21.138%, 30.488% { opacity: 1; animation-timing-function: ease-in; } 32.114%, 100% { opacity: 0; } }
@keyframes sb-shift-hyrox { 0%, 22.358% { transform: translateX(-78.066px); animation-timing-function: ease-in-out; } 27.236%, 100% { transform: none; } }
@keyframes sb-bar-hyrox { 0%, 22.358% { width: 3.5px; animation-timing-function: ease-in-out; } 27.236%, 100% { width: 81.066px; } }
@keyframes sb-track { 0%, 32.52% { opacity: 0; animation-timing-function: ease-out; } 34.959%, 44.309% { opacity: 1; animation-timing-function: ease-in; } 45.935%, 100% { opacity: 0; } }
@keyframes sb-shift-track { 0%, 36.179% { transform: translateX(-83.525px); animation-timing-function: ease-in-out; } 41.057%, 100% { transform: none; } }
@keyframes sb-bar-track { 0%, 36.179% { width: 41.997px; animation-timing-function: ease-in-out; } 41.057%, 100% { width: 125.522px; } }
@keyframes sb-court { 0%, 46.341% { opacity: 0; animation-timing-function: ease-out; } 48.78%, 58.13% { opacity: 1; animation-timing-function: ease-in; } 59.756%, 100% { opacity: 0; } }
@keyframes sb-shift-court { 0%, 50% { transform: translateX(-91.325px); animation-timing-function: ease-in-out; } 54.878%, 100% { transform: none; } }
@keyframes sb-bar-court { 0%, 50% { width: 3.5px; animation-timing-function: ease-in-out; } 54.878%, 100% { width: 94.325px; } }
@keyframes sb-hybrid { 0%, 60.163% { opacity: 0; animation-timing-function: ease-out; } 62.602%, 71.951% { opacity: 1; animation-timing-function: ease-in; } 73.577%, 100% { opacity: 0; } }
@keyframes sb-shift-hybrid { 0%, 63.821% { transform: translateX(-53.028px); animation-timing-function: ease-in-out; } 68.699%, 100% { transform: none; } }
@keyframes sb-bar-hybrid { 0%, 63.821% { width: 3.5px; animation-timing-function: ease-in-out; } 68.699%, 100% { width: 56.028px; } }
@keyframes sb-s1 { 0%, 83.74% { opacity: 0; animation-timing-function: ease-out; } 86.992%, 100% { opacity: 1; } }
@keyframes sb-s2 { 0%, 84.959% { opacity: 0; animation-timing-function: ease-out; } 88.211%, 100% { opacity: 1; } }
@keyframes sb-s3 { 0%, 86.179% { opacity: 0; animation-timing-function: ease-out; } 89.431%, 100% { opacity: 1; } }
@keyframes sb-s4 { 0%, 87.398% { opacity: 0; animation-timing-function: ease-out; } 90.65%, 100% { opacity: 1; } }

/* SOCIAL — slide 20, 8 s loop. Coordinates are the 1920×1080 slide; 1 design px = --u. */
.ipc-social__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: rgb(219 219 222); container-type: inline-size; }
.soc-post { --u: calc(100cqw / 1920); position: absolute; width: calc(var(--u) * 432.11); }
.soc-post > img { width: 100%; height: auto; border-radius: calc(var(--u) * 10); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 30) rgb(0 0 0 / .08); }
.soc-p1 { left: calc(var(--u) * 33); top: calc(var(--u) * 41); }
.soc-p2 { left: calc(var(--u) * 488.78); top: calc(var(--u) * 381.55); }
.soc-p3 { left: calc(var(--u) * 972.33); top: calc(var(--u) * 143.88); }
.soc-p4 { left: calc(var(--u) * 1455.89); top: calc(var(--u) * 102.73); }
.soc-grad { position: absolute; left: 0; right: 0; top: 9.233%; height: 82.16%; overflow: hidden; background: #c83c29; }
.soc-blob { position: absolute; left: 22.38%; top: 56.95%; width: 100.72%; aspect-ratio: 1; border-radius: 50%; background: #ffb91e; filter: blur(calc(var(--u) * 80)); transform-origin: 50% 50%; }
.soc-grad svg { position: absolute; left: 38.81%; top: 46.48%; width: 22.38%; }
.js .ipc-social .soc-p1 { animation: soc-p1 8s linear infinite; }
.js .ipc-social .soc-p2 { animation: soc-p2 8s linear infinite; }
.js .ipc-social .soc-p3 { animation: soc-p3 8s linear infinite; }
.js .ipc-social .soc-p4 { animation: soc-p4 8s linear infinite; }
.js .ipc-social .soc-blob { animation: soc-blob 8s ease-in-out infinite; }
@keyframes soc-p1 { 0%, 1.875% { translate: 0 calc(var(--u) * -758.429); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 15.625%, 100% { translate: 0 0; } }
@keyframes soc-p2 { 0%, 3.625% { translate: 0 calc(var(--u) * 758.454); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 17.375%, 100% { translate: 0 0; } }
@keyframes soc-p3 { 0%, 5.375% { translate: 0 calc(var(--u) * -861.313); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 19.125%, 100% { translate: 0 0; } }
@keyframes soc-p4 { 0%, 7.125% { translate: 0 calc(var(--u) * 1037.27); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 20.875%, 100% { translate: 0 0; } }
@keyframes soc-blob {
  0%, 100% { translate: 0 0; scale: 1; }
  16.667% { translate: calc(var(--u) * -249.494) calc(var(--u) * -120.117); scale: 1.25; }
  33.333% { translate: calc(var(--u) * -227.888) calc(var(--u) * -417.195); scale: .9; }
  50% { translate: calc(var(--u) * 31.38) calc(var(--u) * -471.209); scale: 1.15; }
  66.667% { translate: calc(var(--u) * 74.591) calc(var(--u) * -228.145); scale: .85; }
  83.333% { translate: calc(var(--u) * -98.254) calc(var(--u) * -12.089); scale: 1.2; }
}

/* PICTOGRAM MORPH — one large figure melts into the next (goo filter only during the change). */
.ipc-morph { display: grid; grid-template-columns: 1fr minmax(240px, 34%) 1fr; align-items: end; gap: 24px; margin-top: clamp(32px, 4vw, 64px); padding: clamp(24px, 3vw, 48px); border: 1px solid var(--line); border-radius: 4px; }
.ipc-morph__stage { aspect-ratio: 1; color: var(--ivory); }
.ipc-morph__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ipc-morph__goo, .ipc-morph__crisp { transition: opacity .18s ease; }
.ipc-morph__goo { opacity: 0; }
.ipc-morph.is-morphing .ipc-morph__goo { opacity: 1; }
.ipc-morph.is-morphing .ipc-morph__crisp { opacity: 0; }
.ipc-morph__goo > g { opacity: 0; transition: opacity .7s ease-in-out; }
.ipc-morph__goo > g.is-on { opacity: 1; }
.ipc-morph__count { display: flex; gap: 10px; align-items: baseline; font-variant-numeric: tabular-nums; }
.ipc-morph__count span:first-child { font-size: clamp(64px, 9vw, 168px); line-height: .8; letter-spacing: -.05em; color: var(--tc); }
.ipc-morph__count span:last-child { font-size: 15px; color: var(--dim); }
.ipc-morph__label { display: grid; justify-items: end; gap: 6px; text-align: right; }
.ipc-morph__label b { font-weight: 500; font-size: clamp(28px, 3.4vw, 60px); letter-spacing: -.035em; line-height: 1; }
.ipc-morph__label span { font-size: 14px; color: var(--dim); }
.ipc-picto__grid li { cursor: pointer; }
.ipc-picto__grid li.is-active { background: var(--tc); color: #fff; }
.ipc-picto__grid li.is-active .pc-n, .ipc-picto__grid li.is-active .pc-id { color: rgb(255 255 255 / .75); }

/* WAYFINDING slideshow (whole renders, no crop) */
.ipc-slides { position: relative; display: grid; border-radius: 4px; overflow: hidden; }
.ipc-slides figure { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; }
.ipc-slides figure.is-on { opacity: 1; }
.ipc-slides img { border-radius: 0 !important; }
.ipc-slides__nav { grid-area: 1 / 1; align-self: end; justify-self: end; display: flex; gap: 6px; margin: 14px; z-index: 1; }
.ipc-slides__nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(22 23 26 / .85); color: #fff; font-size: 16px; cursor: pointer; transition: background-color var(--t-hover) ease; }
.ipc-slides__nav button:hover { background: var(--tc); }
.ipc-slides__nav button:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }

@media (max-width: 620px) {
  .ipc-morph { grid-template-columns: 1fr 1fr; }
  .ipc-morph__stage { grid-column: 1 / -1; grid-row: 1; width: 70%; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ipc-sub *, .js .ipc-social * { animation: none !important; }
  .ipc-slides figure { transition: none; }
}
