/* ==========================================================================
   Cover Story — home page hero and first sections (editorial magazine)
   Paired with assets/js/cover.js. Loaded on index.html only.
   ========================================================================== */
@font-face { font-family: "Gloock"; font-display: swap; src: url("../fonts/gloock-latin.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

.cover-home {
  --cv-paper: #efe9df;
  --cv-paper-2: #e7dfd2;
  --cv-ink: #151311;
  --cv-soft: #5d564d;
  --cv-line: #d3c9bb;
  --cv-red: #e2401b;
  --cv-disp: "Gloock", Georgia, serif;
  --cv-mono: "Plex Mono", ui-monospace, monospace;
  background: var(--cv-paper);
}
/* paper grain over the cover sections only */
.cover-home .cv, .cover-home .cv-partners, .cover-home .cv-toc, .cover-home .cv-feature { position: relative; isolation: isolate; }
.cover-home .cv::after, .cover-home .cv-toc::after, .cover-home .cv-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  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 baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

/* nav, re-skinned to sit on paper */
.cover-home .nav { background: rgba(239, 233, 223, .82); border-bottom-color: var(--cv-ink); }
.cover-home .nav-logo { font-family: var(--cv-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cover-home .nav-logo em { color: var(--cv-red); }
.cover-home .nav-links a { color: var(--cv-soft); }
.cover-home .nav-links a:hover { color: var(--cv-ink); }
.cover-home .nav-links a.btn { background: var(--cv-ink); border-color: var(--cv-ink); color: #fff; }

.cv-wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(18px, 3.5vw, 48px); }

/* ---------- hero ---------- */
.cv { overflow: hidden; color: var(--cv-ink); padding-top: 92px; }
.cv .cv-wrap { position: relative; }
.cv-mast { margin: 0; text-align: center; line-height: .8; font-weight: 400; }
.cv-mast-word {
  display: block; font-family: var(--cv-disp); font-size: clamp(80px, 15.8vw, 236px);
  letter-spacing: -.04em; white-space: nowrap; color: var(--cv-ink); margin-top: -.06em;
  will-change: transform;
}
.cv-mast-word b { color: var(--cv-red); font-weight: 400; }
.cv-mast-word .cv-l { display: inline-block; }

.cv-issue {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--cv-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 0; margin-top: 10px;
}
.cv-issue-mid { visibility: hidden; }
.cv-issue::before, .cv-issue::after { content: ""; position: absolute; left: 0; right: 0; background: var(--cv-ink); transform-origin: left; }
.cv-issue::before { top: 0; height: 2px; }
.cv-issue::after { bottom: 0; height: 1px; }

.cv-stage { position: relative; height: clamp(440px, calc(100vh - 92px - 15.8vw - 76px), 720px); }
.cv-face {
  position: absolute; left: 50%; bottom: 0; z-index: 2; height: calc(100% + 11.5vw); width: auto;
  transform: translateX(-50%); transform-origin: 50% 100%; pointer-events: none;
}
.cv-face img { height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .18)); }

.cv-partner { position: absolute; left: 0; top: 22px; z-index: 3; display: flex; align-items: center; gap: 12px;
  font-family: var(--cv-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cv-soft); }
.cv-partner img { height: 44px; width: auto; }
.cv-barcode { position: absolute; right: 0; top: 22px; z-index: 3; background: #fff; padding: 8px 10px 6px;
  font-family: var(--cv-mono); font-size: 10px; text-align: center; color: var(--cv-ink); }
.cv-barcode i { display: block; width: 96px; height: 38px;
  background: repeating-linear-gradient(90deg, #000 0 2px, #fff 2px 3px, #000 3px 4px, #fff 4px 7px, #000 7px 10px, #fff 10px 11px); }

.cv-lines { position: absolute; bottom: 4%; z-index: 3; width: min(360px, 27vw); display: flex; flex-direction: column; gap: 24px; }
.cv-lines--l { left: 0; gap: 18px; }
.cv-lines--r { right: 0; text-align: right; align-items: flex-end; gap: 18px; }
.cv-cl { display: block; color: var(--cv-ink); }
.cv-cl small { display: block; margin-bottom: 6px; font-family: var(--cv-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cv-red); }
.cv-cl b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.015em;
  background: linear-gradient(var(--cv-red), var(--cv-red)) 0 100% / 0 2px no-repeat; transition: background-size .5s cubic-bezier(.22,1,.36,1); }
.cv-lines--r .cv-cl b { background-position: 100% 100%; }
.cv-cl:hover b { background-size: 100% 2px; }
.cv-cl p { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--cv-soft); }
.cv-cl--huge b { font-family: var(--cv-disp); font-weight: 400; font-size: clamp(56px, 6vw, 96px); line-height: .85; color: var(--cv-red); background: none; }

.cv-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px; border: 1px solid var(--cv-ink);
  font-size: 14px; font-weight: 600; color: var(--cv-ink); background: transparent; transition: background .25s, color .25s; }
.cv-btn:hover { background: var(--cv-ink); color: var(--cv-paper); }
.cv-btn--solid { background: var(--cv-ink); color: var(--cv-paper); }
.cv-btn--solid:hover { background: var(--cv-red); border-color: var(--cv-red); color: #fff; }

.cv-sticker { position: absolute; z-index: 4; left: calc(50% + 60px); top: 28%; width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 18px; background: var(--cv-red); color: #fff;
  font-family: var(--serif); font-size: 17px; line-height: 1.15; box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); transform: rotate(12deg); }
.cv-sticker b { display: block; font-family: var(--cv-disp); font-weight: 400; font-size: 42px; line-height: 1; }
.cv-sticker::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(255,255,255,.55); border-radius: 50%; }

/* ---------- partners ---------- */
.cv-partners { border-top: 1px solid var(--cv-ink); border-bottom: 1px solid var(--cv-ink); padding: 26px 0 30px; overflow: hidden; background: var(--cv-paper); }
.cv-partners-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.cv-partners-head h2 { font-family: var(--cv-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cv-ink); }
.cv-partners-head span { font-family: var(--cv-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cv-soft); }
.cv-logos { display: flex; width: max-content; will-change: transform; }
.cv-logos-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); list-style: none; margin: 0; }
.cv-logos-track img { height: 40px; width: auto; max-width: 220px; object-fit: contain;
  filter: grayscale(1) brightness(.2) sepia(.2); opacity: .78; transition: filter .4s, opacity .4s, transform .4s; }
.cv-logos-track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
.cv-logos-track .cv-logo-tall { height: 64px; }
.cv-logos-track .cv-logo-sony { height: 50px; }
.cv-logos-track .cv-logo-uom { height: 44px; filter: brightness(0) sepia(.2); }
.cv-logos-track .cv-logo-uom:hover { filter: brightness(0) invert(.25) sepia(1) saturate(4) hue-rotate(320deg); }

/* ---------- in this issue ---------- */
.cv-toc { padding: clamp(80px, 9vw, 130px) 0; color: var(--cv-ink); overflow: hidden; }
.cv-toc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; border-bottom: 2px solid var(--cv-ink); padding-bottom: 18px; }
.cv-toc-head h2 { font-family: var(--cv-disp); font-weight: 400; font-size: clamp(60px, 9vw, 150px); line-height: .82; letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.cv-toc-head p { max-width: 340px; color: var(--cv-soft); font-size: 15px; line-height: 1.5; }
.cv-toc-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cv-it { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px 30px; border-right: 1px solid var(--cv-line); }
.cv-it:first-child { padding-left: 0; }
.cv-it:last-child { border-right: 0; padding-right: 0; }
.cv-pg { font-family: var(--cv-disp); font-size: 60px; line-height: 1; color: var(--cv-red); }
.cv-it--lead .cv-pg { color: var(--cv-ink); }
.cv-it h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.08; letter-spacing: -.015em; }
.cv-it h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cv-it p { font-size: 14.5px; line-height: 1.5; color: var(--cv-soft); }
.cv-it ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; border-top: 1px solid var(--cv-line); }
.cv-it li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--cv-line); font-size: 14px; font-weight: 600; color: var(--cv-ink); }
.cv-it li a::after { content: "→"; color: var(--cv-red); transition: transform .3s; }
.cv-it li a:hover::after { transform: translateX(4px); }
.cv-it-img { margin: auto 0 0; padding-top: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.cv-it-img img { width: 100%; height: 100%; scale: 1.16; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; transition: filter .6s; }
.cv-it:hover .cv-it-img img { filter: grayscale(0); mix-blend-mode: normal; }

/* ---------- feature spread ---------- */
.cv-feature { padding: clamp(80px, 9vw, 130px) 0; border-top: 1px solid var(--cv-ink); color: var(--cv-ink); }
.cv-spread { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.cv-spread-img { margin: 0; }
.cv-spread-frame { overflow: hidden; aspect-ratio: 16 / 10; }
.cv-spread-frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; }
.cv-spread-img figcaption { font-family: var(--cv-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cv-soft); margin-top: 10px; }
.cv-kick { font-family: var(--cv-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cv-red); }
.cv-spread h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.03em; margin: 14px 0 18px; }
.cv-spread h2 em { font-style: italic; }
.cv-drop { font-size: 17px; line-height: 1.65; color: #3a352f; }
.cv-drop::first-letter { font-family: var(--cv-disp); float: left; font-size: 84px; line-height: .8; padding: 6px 10px 0 0; color: var(--cv-red); }
.cv-venues { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 26px; padding: 0; }
.cv-venues li { border: 1px solid var(--cv-ink); padding: 6px 12px; font-family: var(--cv-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- motion: initial states (only when JS is running) ---------- */
.cv-js .cv-mast-word .cv-l { transform: translateY(105%); opacity: 0; }
.cv-js .cv-issue::before, .cv-js .cv-issue::after { transform: scaleX(0); }
.cv-js .cv-face img { opacity: 0; transform: translateY(40px) scale(.97); }
.cv-js .cv-lines > *, .cv-js .cv-partner, .cv-js .cv-barcode { opacity: 0; transform: translateY(24px); }
.cv-js .cv-sticker { opacity: 0; transform: scale(.4) rotate(-40deg); }
.cv-js [data-cv-reveal] { opacity: 0; transform: translateY(46px); clip-path: inset(0 0 18% 0); }

.cv-in .cv-mast-word .cv-l { transform: none; opacity: 1; transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .6s; transition-delay: calc(var(--i) * 55ms); }
.cv-in .cv-issue::before, .cv-in .cv-issue::after { transform: none; transition: transform 1.2s cubic-bezier(.65,0,.35,1) .35s; }
.cv-in .cv-face img { opacity: 1; transform: none; transition: opacity 1s .3s, transform 1.4s cubic-bezier(.16,1,.3,1) .3s; }
.cv-in .cv-lines > *, .cv-in .cv-partner, .cv-in .cv-barcode { opacity: 1; transform: none; transition: opacity .8s, transform 1s cubic-bezier(.16,1,.3,1); }
.cv-in .cv-lines > :nth-child(1) { transition-delay: .7s; } .cv-in .cv-lines > :nth-child(2) { transition-delay: .82s; } .cv-in .cv-lines > :nth-child(3) { transition-delay: .94s; }
.cv-in .cv-partner, .cv-in .cv-barcode { transition-delay: .6s; }
.cv-in .cv-sticker { opacity: 1; transform: rotate(12deg); transition: opacity .4s 1.15s, transform .9s cubic-bezier(.34,1.56,.64,1) 1.15s; }
[data-cv-reveal].cv-seen { opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: opacity .9s, transform 1.1s cubic-bezier(.16,1,.3,1), clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.cv-toc-grid [data-cv-reveal]:nth-child(2) { transition-delay: .08s; }
.cv-toc-grid [data-cv-reveal]:nth-child(3) { transition-delay: .16s; }
.cv-toc-grid [data-cv-reveal]:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cv-issue-mid { display: none; }
  .cv-lines { width: min(300px, 28vw); }
  .cv-toc-grid { grid-template-columns: 1fr 1fr; }
  .cv-it { border-right: 0; border-bottom: 1px solid var(--cv-line); padding: 26px 22px 30px 0 !important; }
  .cv-it:nth-child(odd) { border-right: 1px solid var(--cv-line); }
  .cv-it:nth-child(even) { padding-left: 22px !important; }
}
@media (max-width: 900px) {
  .cv { padding-top: 86px; }
  .cv-mast-word { font-size: 19.5vw; }
  .cv-issue { font-size: 10px; }
  .cv-issue span:last-child { text-align: right; }
  .cv-partner { width: 46%; }
  .cv-partner span { display: none; }
  .cv-issue-place { display: none; }
  .cv-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .cv-face { position: relative; left: auto; transform: none; height: auto; width: 88%; margin: -10vw auto 0; order: 1; }
  .cv-face img { width: 100%; height: auto; }
  .cv-partner { position: relative; top: auto; order: 0; padding: 14px 0 0; z-index: 5; }
  .cv-barcode { display: none; }
  .cv-sticker { left: auto; right: 2%; top: 30vw; width: 112px; height: 112px; font-size: 13px; }
  .cv-sticker b { font-size: 30px; }
  .cv-lines { position: relative; width: auto; left: auto; right: auto; bottom: auto; order: 2; text-align: left; align-items: flex-start;
    padding: 22px 0; border-top: 1px solid var(--cv-ink); gap: 18px; }
  .cv-lines--r { text-align: left; align-items: flex-start; }
  .cv-lines--r .cv-cl b { background-position: 0 100%; }
  .cv-toc-head { flex-direction: column; align-items: flex-start; }
  .cv-spread { grid-template-columns: 1fr; }
  .cv-logos-track img { height: 30px; } .cv-logos-track .cv-logo-tall { height: 48px; } .cv-logos-track .cv-logo-sony { height: 40px; }
  .cv-partners-head span { display: none; }
}
@media (max-width: 600px) {
  .cv-toc-grid { grid-template-columns: 1fr; }
  .cv-it, .cv-it:nth-child(even) { border-right: 0 !important; padding: 24px 0 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-js .cv-mast-word .cv-l, .cv-js .cv-face img, .cv-js .cv-lines > *, .cv-js .cv-partner, .cv-js .cv-barcode, .cv-js [data-cv-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .cv-js .cv-sticker { opacity: 1; transform: rotate(12deg); }
  .cv-js .cv-issue::before, .cv-js .cv-issue::after { transform: none; }
}

/* ==========================================================================
   Island header — after the ICT Campus pill nav, behaving like a Dynamic
   Island. Widths and heights are set by assets/js/island.js from the active
   panel; CSS only says how to get there.
   ========================================================================== */
.isl-dock { position: fixed; z-index: 100; left: 0; right: 0; top: calc(14px + env(safe-area-inset-top)); display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.isl {
  --isl-ink: #121110; --isl-ink-2: #262320; --isl-fg: #f6f1ea; --isl-dim: #a39a8f; --isl-hot: #f4551e;
  --isl-spring: cubic-bezier(.32, 1.28, .52, 1);
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 10px;
  height: 56px; width: 520px; max-width: calc(100vw - 24px); padding: 6px; border-radius: 999px;
  background: var(--isl-ink); color: var(--isl-fg);
  box-shadow: 0 18px 50px -18px rgba(20, 14, 8, .55), 0 0 0 1px rgba(255,255,255,.06) inset;
  transition: width .62s var(--isl-spring), height .62s var(--isl-spring), border-radius .62s var(--isl-spring), box-shadow .3s;
  font-family: var(--sans);
}
.isl[data-state="menu"] { border-radius: 30px; align-items: flex-start; }
.isl[data-state="boot"] { width: 132px; height: 38px; }
.isl.isl-noanim, .isl.isl-noanim * { transition: none !important; }

.isl-me { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; overflow: visible; transition: width .5s var(--isl-spring), height .5s var(--isl-spring); }
.isl-me img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.isl[data-state="boot"] .isl-me { width: 26px; height: 26px; }
.isl[data-state="read"] .isl-me { width: 36px; height: 36px; }
.isl-live { position: absolute; right: -1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2.5px var(--isl-ink); }

.isl-stage { position: relative; flex: 1 1 auto; align-self: stretch; min-width: 0; overflow: hidden; border-radius: 22px; }
.isl-panel {
  position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  opacity: 0; filter: blur(6px); transform: scale(.94); transform-origin: left center; pointer-events: none;
  transition: opacity .28s ease, filter .35s ease, transform .5s var(--isl-spring);
}
.isl-panel.is-on { opacity: 1; filter: none; transform: none; pointer-events: auto; transition-delay: .14s; }

.isl-p-intro b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.isl-p-intro span { font-size: 14px; color: var(--isl-dim); }
.isl-p-live { color: var(--isl-fg); }
.isl-p-live small { display: block; font-family: var(--cv-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--isl-hot); }
.isl-p-live b { display: block; font-size: 14px; font-weight: 600; }
.isl-eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 18px; margin-left: 2px; }
.isl-eq i { width: 3px; border-radius: 2px; background: var(--isl-hot); animation: isl-eq 1s ease-in-out infinite; }
.isl-eq i:nth-child(1) { height: 40%; animation-delay: -.2s; } .isl-eq i:nth-child(2) { height: 90%; animation-delay: -.5s; }
.isl-eq i:nth-child(3) { height: 60%; animation-delay: -.1s; } .isl-eq i:nth-child(4) { height: 75%; animation-delay: -.7s; }
@keyframes isl-eq { 50% { transform: scaleY(.35); } }
.isl-eq i { transform-origin: bottom; }

.isl-name { font-family: var(--cv-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 0 6px 0 2px; color: var(--isl-fg); }
.isl-links { display: flex; gap: 2px; }
.isl-links a { padding: 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #d9d1c6; transition: background .2s, color .2s; }
.isl-links a:hover { background: var(--isl-ink-2); color: #fff; }
.isl-more { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--isl-ink-2); color: var(--isl-fg); font: 600 13px var(--sans); cursor: pointer; }
.isl-more:hover { background: #34302b; }
.isl-more-dots { display: inline-flex; gap: 3px; } .isl-more-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.isl-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--isl-hot); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.isl-cta:hover { background: #d8410c; color: #fff; }

.isl-p-read { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0 8px 0 2px; }
.isl-p-read small { font-family: var(--cv-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--isl-dim); }
.isl-p-read b { font-size: 14px; font-weight: 600; }
.isl-pct { font-family: var(--cv-mono); font-size: 11px; color: var(--isl-hot); min-width: 3ch; text-align: right; }

.isl-p-menu { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 6px 10px 10px 4px; white-space: normal; transform-origin: top left; }
.isl-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.isl-menu-head small { display: block; font-family: var(--cv-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--isl-hot); }
.isl-menu-head b { font-size: 15px; }
.isl-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--isl-ink-2); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.isl-menu-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.isl-menu-grid a { display: flex; align-items: baseline; gap: 10px; padding: 12px 12px; border-radius: 14px; font-family: var(--serif); font-size: 20px; color: var(--isl-fg); transition: background .2s; }
.isl-menu-grid a:hover { background: var(--isl-ink-2); }
.isl-menu-grid span { font-family: var(--cv-mono); font-size: 11px; color: var(--isl-dim); }
.isl-menu-foot { display: flex; gap: 10px; margin-top: auto; }
.isl-ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a352f; color: var(--isl-fg); font-size: 14px; font-weight: 600; }
.isl[data-state="menu"] .isl-me { opacity: 0; width: 0; margin-right: -10px; }

/* the scroll-progress ring that hugs the pill (ICT Campus pattern) */
.isl-ring { position: absolute; max-width: none; max-height: none; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .3s; }
.isl-ring path { stroke: var(--isl-hot); stroke-width: 2.5; }
.isl-ring [data-isl-ring-track] { stroke-opacity: .22; }
.isl[data-scrolled="true"]:not([data-state="menu"]) .isl-ring { opacity: 1; }

/* the shadow wakes up a little on scroll */
.isl[data-scrolled="true"] { box-shadow: 0 22px 60px -20px rgba(20, 14, 8, .7), 0 0 0 1px rgba(255,255,255,.08) inset; }

/* the old site nav is not used on the cover home page */
.cover-home > .nav, .cover-home > .mobile-menu, .cover-home .progress-bar { display: none !important; }

@media (max-width: 900px) {
  .isl-links { display: none; }
  .isl-cta { height: 40px; padding: 0 14px; font-size: 13px; }
  .isl-p-intro span, .isl-menu-head small { display: none; }
  .isl-menu-grid { grid-template-columns: 1fr 1fr; }
  .isl-menu-grid a { font-size: 18px; padding: 10px; }
}
@media (max-width: 420px) {
  .isl-p-nav .isl-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .isl, .isl * { transition-duration: .01ms !important; animation: none !important; }
}

/* ==========================================================================
   In this issue — pinned contents spread (assets/js/toc.js)
   ========================================================================== */
.tc { --tc-ink: #121110; --tc-ink-2: #1d1a17; --tc-paper: #f3ede3; --tc-fg: #f6f1ea; --tc-dim: #9b9186; --tc-hot: #e2401b;
  position: relative; background: var(--tc-ink); color: var(--tc-fg); }
.tc::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 50% at 75% 45%, rgba(226, 64, 27, .16), transparent 70%); }
.tc-pin { position: relative; display: grid; grid-template-columns: minmax(280px, 25vw) 1fr; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: clamp(70px, 9vh, 110px) 0 clamp(50px, 7vh, 80px) clamp(18px, 3.5vw, 48px); overflow: hidden; }
.tc-js .tc-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 84px; padding-bottom: 40px; }

/* rail */
.tc-rail { position: relative; z-index: 2; align-self: center; }
.tc-eyebrow { font-family: var(--cv-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-hot); }
.tc-title { font-family: var(--cv-disp); font-weight: 400; font-size: clamp(56px, 6.4vw, 104px); line-height: .86; letter-spacing: -.03em; margin: 14px 0 16px; color: var(--tc-fg); }
.tc-title em { font-style: normal; color: var(--tc-hot); }
.tc-dek { font-size: 15px; line-height: 1.55; color: var(--tc-dim); max-width: 30ch; }
.tc-index { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid #2c2824; }
.tc-index a { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0 15px; border-bottom: 1px solid #2c2824; color: var(--tc-dim); transition: color .4s; }
.tc-ix-n { font-family: var(--cv-disp); font-size: 22px; color: inherit; transition: color .4s; }
.tc-ix-t { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.tc-ix-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.tc-ix-bar i { display: block; height: 100%; background: var(--tc-hot); transform: scaleX(var(--p, 0)); transform-origin: left; }
.tc-index a:hover, .tc-index a[aria-current="true"] { color: var(--tc-fg); }
.tc-index a[aria-current="true"] .tc-ix-n { color: var(--tc-hot); }
.tc-index a[aria-current="true"] .tc-ix-t { transform: translateX(6px); }
.tc-hint { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-family: var(--cv-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-dim); }
.tc-count b { color: var(--tc-fg); font-weight: 500; }
.tc-scroll { display: inline-flex; align-items: center; gap: 10px; }
.tc-scroll i { position: relative; width: 16px; height: 26px; border: 1.5px solid #4a443d; border-radius: 10px; }
.tc-scroll i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--tc-hot); animation: tc-wheel 1.6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes tc-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* the row of pages */
.tc-viewport { position: relative; height: 100%; display: flex; align-items: center; min-width: 0; overflow: hidden; margin-left: -24px; padding-left: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px); mask-image: linear-gradient(90deg, transparent 0, #000 56px); }
.tc-track { display: flex; gap: clamp(20px, 2.6vw, 40px); padding: 0 8vw 0 48px; will-change: transform; }
.tc-page {
  --a: 1; flex: 0 0 auto; position: relative; display: grid; grid-template-columns: 1.08fr 1fr;
  width: min(900px, 60vw); height: min(72vh, 600px); min-height: 460px; background: var(--tc-paper); color: var(--cv-ink, #151311);
  border-radius: 6px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2);
  transform: perspective(1400px) rotateY(calc((1 - var(--a)) * -9deg)) scale(calc(.9 + var(--a) * .1));
  transform-origin: left center; opacity: calc(.42 + var(--a) * .58); transition: box-shadow .4s;
}
.tc-page::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  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 baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
/* the fold down the middle of a magazine spread */
.tc-page::before { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 51.9%; width: 40px; margin-left: -20px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.10) 48%, rgba(255,255,255,.18) 52%, transparent); }

.tc-photo { position: relative; margin: 0; overflow: hidden; background: #2a2622; }
.tc-photo > img { position: absolute; top: 0; left: -8%; width: 116%; max-width: none; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); will-change: transform; }
.tc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,8,6,.55)); pointer-events: none; }

.tc-copy { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 38px); min-width: 0; }
.tc-run { display: flex; justify-content: space-between; font-family: var(--cv-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7d7468; border-bottom: 1px solid #d6ccbe; padding-bottom: 10px; }
.tc-run b { font-weight: 500; color: var(--cv-ink, #151311); }
.tc-num { font-family: var(--cv-disp); font-size: clamp(90px, 9.5vw, 156px); line-height: .8; margin: 18px 0 6px -4px; color: transparent; -webkit-text-stroke: 1.5px #151311;
  transition: color .5s, -webkit-text-stroke-color .5s; }
.tc-page.is-active .tc-num { color: var(--tc-hot); -webkit-text-stroke-color: var(--tc-hot); }
.tc-kick { font-family: var(--cv-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-hot); }
.tc-h { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -.02em; margin: 8px 0 12px; }
.tc-p { font-size: 15px; line-height: 1.55; color: #4e473f; }
.tc-links { list-style: none; margin: auto 0 0; padding: 18px 0 0; }
.tc-links a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #d6ccbe; font-size: 14.5px; font-weight: 600; color: #151311; transition: color .25s, padding .35s cubic-bezier(.16,1,.3,1); }
.tc-links li:last-child a { border-bottom: 1px solid #d6ccbe; }
.tc-links a::after { content: "→"; color: var(--tc-hot); }
.tc-links a:has(span)::after { content: none; }
.tc-links a span { color: var(--tc-hot); }
.tc-links a:hover { color: var(--tc-hot); padding-left: 6px; }

/* artefacts that sit on each photo */
.tc-art { position: absolute; z-index: 2; left: 18px; bottom: 18px; color: #f6f1ea; border-radius: 12px; overflow: hidden;
  background: rgba(18, 17, 16, .78); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform: translateY(calc((1 - var(--a)) * 30px)) rotate(-2deg); }
.tc-win-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-family: var(--cv-mono); font-size: 10px; color: #b9afa3; border-bottom: 1px solid rgba(255,255,255,.08); }
.tc-win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4a443d; } .tc-win-bar i:first-child { background: var(--tc-hot); }
.tc-win-bar span { margin-left: 6px; }
.tc-art--lesson { width: min(250px, 62%); }
.tc-art--lesson img { display: block; width: 100%; max-width: none; height: 140px; object-fit: cover; object-position: left top; }
.tc-chip { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tc-hot); color: #fff; }
.tc-art--code { width: min(280px, 74%); }
.tc-art--code pre { margin: 0; padding: 14px 14px 46px; font-family: var(--cv-mono); font-size: 12.5px; line-height: 1.6; white-space: pre; color: #e9e2d8; }
.tc-art--code s { text-decoration: none; color: #ff8a5c; } .tc-art--code u { text-decoration: none; color: #9fd3c7; } .tc-art--code em { font-style: normal; color: #f2c46d; }
.tc-art--cite { width: min(300px, 78%); padding: 16px 18px; background: rgba(243, 237, 227, .94); color: #151311; }
.tc-cite-k { display: block; font-family: var(--cv-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tc-hot); }
.tc-art--cite b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.2; margin: 8px 0 10px; }
.tc-cite-m { font-size: 12px; color: #5d564d; } .tc-cite-m i { font-style: normal; font-family: var(--cv-disp); font-size: 20px; color: #151311; }
.tc-art--brands { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.tc-brand { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 14px; font-weight: 700; }
.tc-mk { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-family: var(--cv-mono); font-size: 11px; font-weight: 600; }
.tc-mk--ict { background: var(--tc-hot); color: #fff; }
.tc-mk--cr { display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 7px; background: #f3ede3; }
.tc-mk--cr b { width: 3px; border-radius: 1px; background: #151311; } .tc-mk--cr b:nth-child(1) { height: 6px; } .tc-mk--cr b:nth-child(2) { height: 9px; } .tc-mk--cr b:nth-child(3) { height: 13px; background: var(--tc-hot); }
.tc-mk--pw { background: #f3ede3; position: relative; }
.tc-mk--pw::before { content: ""; width: 11px; height: 14px; border: 1.8px solid #151311; border-radius: 1.5px; }
.tc-mk--pw::after { content: ""; position: absolute; width: 6px; height: 1.8px; background: var(--tc-hot); top: 14px; left: 11px; box-shadow: 0 3.5px 0 var(--tc-hot); }

/* no-JS and reduced motion: a plain stack of pages */
.tc:not(.tc-on) .tc-track { flex-direction: column; align-items: stretch; padding: 0 clamp(18px, 3.5vw, 48px) 0 0; }
.tc:not(.tc-on) .tc-page { width: 100%; transform: none; opacity: 1; }
.tc:not(.tc-on) .tc-hint { display: none; }
.tc:not(.tc-on) .tc-pin { grid-template-columns: 1fr; padding-top: clamp(70px, 9vw, 120px); }
.tc:not(.tc-on) .tc-pin { height: auto; position: relative; }

/* phones: rail on top, swipeable row of pages */
@media (max-width: 900px) {
  .tc-js .tc-pin, .tc-pin { position: relative; height: auto; grid-template-columns: 1fr; padding: 70px 0 60px; gap: 26px; }
  .tc-rail { padding: 0 18px; }
  .tc-index { display: flex; gap: 6px; overflow-x: auto; border: 0; margin-top: 20px; scrollbar-width: none; }
  .tc-index::-webkit-scrollbar { display: none; }
  .tc-index a { display: inline-flex; gap: 8px; white-space: nowrap; padding: 9px 14px; border: 1px solid #2c2824; border-radius: 999px; }
  .tc-index a[aria-current="true"] { background: var(--tc-fg); color: #151311; border-color: var(--tc-fg); }
  .tc-index a[aria-current="true"] .tc-ix-t { transform: none; }
  .tc-ix-n, .tc-ix-t { font-size: 15px; } .tc-ix-bar { display: none; }
  .tc-scroll { display: none; }
  .tc-viewport { display: block; margin-left: 0; padding-left: 0; -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tc-viewport::-webkit-scrollbar { display: none; }
  .tc-track, .tc:not(.tc-on) .tc-track { flex-direction: row; gap: 12px; padding: 0 18px; transform: none !important; }
  .tc-page, .tc:not(.tc-on) .tc-page { width: 84vw; height: auto; min-height: 0; grid-template-columns: 1fr; scroll-snap-align: center; transform: none; opacity: 1; }
  .tc-page::before { display: none; }
  .tc-photo { aspect-ratio: 4 / 3; }
  .tc-num { font-size: 84px; margin-top: 12px; }
  .tc-art { transform: rotate(-2deg) scale(.72); transform-origin: left bottom; left: 12px; bottom: 12px; }
  .tc-art--code pre { font-size: 11px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .tc-scroll i::after { animation: none; } }
.tc-builds { list-style: none; margin: 0; padding: 10px 14px 44px; }
.tc-builds li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.tc-builds li:last-child { border-bottom: 0; }
.tc-builds b { display: block; font-size: 13.5px; } .tc-builds span { font-size: 11.5px; color: #b9afa3; }

/* Logos in their own colours (most brand guidelines forbid recolouring),
   each on a plain tile; Moratuwa's white wordmark sits on its own dark tile. */
.cv-logos-track { gap: 14px; padding-right: 14px; }
.cv-logos-track li { display: grid; place-items: center; height: 84px; padding: 0 28px; background: #fff; border: 1px solid var(--cv-line); border-radius: 14px; }
.cv-logos-track img, .cv-logos-track img:hover, .cv-logos-track .cv-logo-uom, .cv-logos-track .cv-logo-uom:hover { filter: none; opacity: 1; transform: none; }
.cv-logos-track li:has(.cv-logo-uom) { background: #1b2a4a; border-color: #1b2a4a; }
.cv-logos-note { margin-top: 16px; font-size: 12px; color: var(--cv-soft); }
.cv-partner span { line-height: 1.5; }
@media (max-width: 900px) { .cv-logos-track li { height: 64px; padding: 0 18px; } }
