/* chloepyrah.com: styles generated from the Chloe Pyrah design system */
@font-face { font-family: "Inktera"; src: url("../fonts/Inktera.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f4ede1;
  --surface: #fbf7f0;
  --linen: #e9dfcc;
  --sky: #d6e1df;
  --sky-deep: #b5c9c6;
  --chrome: #e6ddcd;
  --line: #d3c7b2;
  --ink: #2a2420;
  --ink-muted: #685d53;
  --red: #d8452b;
  --red-fill: #c63f26;
  --red-ink: #a8341d;
  --on-red: #ffffff;
  --blue: #2c5aa0;
  --on-blue: #ffffff;
  --teal: #2e7470;
  --on-teal: #ffffff;
  --marker: #e8b03a;
  --on-marker: #2a2420;
  --orange: #e0782f;
  --olive: #8a9a3b;
  --focus: #2c5aa0;
  --dot-close: var(--red);
  --dot-min: var(--marker);
  --dot-max: var(--teal);
  --shadow-rest: 0 1px 2px rgba(42,36,32,0.08), 0 12px 28px -14px rgba(42,36,32,0.30);
  --shadow-hover: 0 2px 4px rgba(42,36,32,0.08), 0 20px 36px -16px rgba(42,36,32,0.36);
  --shadow-lift: 0 28px 50px -18px rgba(42,36,32,0.42);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-none: 0px;
  --radius-window: 12px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --font-display: "Inktera", "Arial Black", Impact, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-numerals: "Inktera", "Arial Black", Impact, sans-serif;
  --blue-light: #b9cdec;
  --teal-light: #b3d6d2;
  --olive-light: #d6dca8;
  --orange-ink: #b5521a;
  --olive-ink: #5b6820;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
  --paper: #1b1a17;
  --surface: #24221e;
  --linen: #2b2823;
  --sky: #1f2a2b;
  --sky-deep: #2c3b3c;
  --chrome: #34302a;
  --line: #47413a;
  --ink: #f1e9dc;
  --ink-muted: #b5aa9b;
  --red: #f0684b;
  --red-fill: #f0684b;
  --red-ink: #f5937c;
  --on-red: #1b1a17;
  --blue: #8aaee6;
  --on-blue: #1b1a17;
  --teal: #5fb0ad;
  --on-teal: #1b1a17;
  --marker: #e8b03a;
  --on-marker: #2a2420;
  --orange: #ee8e47;
  --olive: #a7b752;
  --focus: #e8b03a;
  --dot-close: var(--red);
  --dot-min: var(--marker);
  --dot-max: var(--teal);
  --shadow-rest: 0 1px 2px rgba(0,0,0,0.4), 0 12px 28px -14px rgba(0,0,0,0.7);
  --shadow-hover: 0 2px 4px rgba(0,0,0,0.4), 0 20px 36px -16px rgba(0,0,0,0.8);
  --shadow-lift: 0 28px 50px -18px rgba(0,0,0,0.85);
    --blue-light: #2c3f60;
    --teal-light: #24413f;
    --olive-light: #3a3f22;
    --orange-ink: #f39a5c;
    --olive-ink: #b9c76a;
    color-scheme: dark;
  }
}

[hidden] { display: none !important; }
.cp-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px; }

:where(.cp-btn, .cp-pill, .cp-icon, .cp-case, .cp-draggable, .cp-dot, .cp-sticker):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Shared: calm easing, tone fills, print grain */
:root {
  --cp-ease: cubic-bezier(.22, .61, .36, 1);
  --cp-grain: 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%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cp-tone-red { background-color: var(--red); color: var(--on-red); }
.cp-tone-blue { background-color: var(--blue); color: var(--on-blue); }
.cp-tone-teal { background-color: var(--teal); color: var(--on-teal); }
.cp-tone-marker { background-color: var(--marker); color: var(--on-marker); }
.cp-tone-orange { background-color: var(--orange); color: var(--on-marker); }
.cp-tone-olive { background-color: var(--olive); color: var(--on-marker); }
.cp-fill-red { fill: var(--red); background-color: var(--red); } .cp-fill-blue { fill: var(--blue); background-color: var(--blue); }
.cp-fill-teal { fill: var(--teal); background-color: var(--teal); } .cp-fill-marker { fill: var(--marker); background-color: var(--marker); }
.cp-fill-orange { fill: var(--orange); background-color: var(--orange); } .cp-fill-olive { fill: var(--olive); background-color: var(--olive); }
svg.cp-motif, svg.cp-atom { background-color: transparent; }

/* Button: flat pill, lifts softly */
.cp-btn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-sans); letter-spacing: .2px; padding: 14px 24px; border-radius: var(--radius-pill); border: 0; cursor: pointer; text-decoration: none; transition: transform .25s var(--cp-ease), box-shadow .25s var(--cp-ease), background-color .2s var(--cp-ease); }
.cp-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-rest); }
.cp-btn:active { transform: translateY(0); box-shadow: none; }
.cp-btn-primary { background: var(--red-fill); color: var(--on-red); }
.cp-btn-secondary { background: var(--blue); color: var(--on-blue); }
.cp-btn-accent { background: var(--marker); color: var(--on-marker); }
.cp-btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cp-btn-outline:hover { background: var(--ink); color: var(--paper); box-shadow: none; }

/* Tag: flat catalogue label */
.cp-tag { display: inline-flex; align-items: center; font: 500 11px/14px var(--font-mono); letter-spacing: 2px; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); }
.cp-tag-neutral { color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.cp-tag-work { background: var(--blue); color: var(--on-blue); }
.cp-tag-data { background: var(--marker); color: var(--on-marker); }
.cp-tag-travel { background: var(--orange); color: var(--on-marker); }
.cp-tag-fashion { background: var(--red-fill); color: var(--on-red); }

/* Marker: italic word over a mustard band on the lower half, like a printed underline */
.cp-marker { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: inherit; background: linear-gradient(transparent 60%, var(--marker) 60%, var(--marker) 92%, transparent 92%); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cp-marker-red { background-image: linear-gradient(transparent 60%, var(--red) 60%, var(--red) 92%, transparent 92%); }
.cp-marker-blue { background-image: linear-gradient(transparent 60%, var(--blue) 60%, var(--blue) 92%, transparent 92%); }
.cp-marker-teal { background-image: linear-gradient(transparent 60%, var(--teal) 60%, var(--teal) 92%, transparent 92%); }
.cp-marker-orange { background-image: linear-gradient(transparent 60%, var(--orange) 60%, var(--orange) 92%, transparent 92%); }
.cp-marker-olive { background-image: linear-gradient(transparent 60%, var(--olive) 60%, var(--olive) 92%, transparent 92%); }
.cp-marker:is(.cp-marker-red, .cp-marker-blue, .cp-marker-teal) { color: inherit; }

/* Sticker: flat badges and the atomic starburst */
.cp-sticker { position: relative; display: inline-grid; place-items: center; text-align: center; text-decoration: none; flex: none; transition: transform .6s var(--cp-ease); }
.cp-sticker-text { position: relative; font: 500 11px/1.25 var(--font-mono); letter-spacing: 2px; text-transform: uppercase; padding: 0 12px; }
.cp-sticker-circle { border-radius: 50%; }
.cp-sticker-circle:hover { transform: rotate(-12deg); }
.cp-sticker-halfmoon { border-radius: 999px 999px 0 0; align-items: end; padding-bottom: 10px; box-sizing: border-box; }
.cp-sticker-pill { border-radius: var(--radius-pill); padding: 10px 8px; }
.cp-sticker-atom { background: none !important; color: var(--on-marker); }
.cp-sticker-atom .cp-sticker-text { color: var(--on-marker); font-size: 10px; letter-spacing: 1.5px; max-width: 54%; padding: 0; line-height: 1.15; }
.cp-sticker-atom:not(.cp-tone-marker) .cp-sticker-text { color: #ffffff; } /* white text on red, blue, teal, orange and olive starbursts */
.cp-atom { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--cp-ease); }
.cp-sticker-atom:hover .cp-atom { transform: rotate(45deg); }
.cp-atom line { stroke-width: 3px; stroke-linecap: round; }
.cp-sticker-atom.cp-tone-marker .cp-atom { --a: var(--marker); } .cp-sticker-atom.cp-tone-red .cp-atom { --a: var(--red); }
.cp-sticker-atom.cp-tone-blue .cp-atom { --a: var(--blue); } .cp-sticker-atom.cp-tone-teal .cp-atom { --a: var(--teal); }
.cp-sticker-atom.cp-tone-orange .cp-atom { --a: var(--orange); } .cp-sticker-atom.cp-tone-olive .cp-atom { --a: var(--olive); }
.cp-atom line { stroke: var(--a, var(--marker)); } .cp-atom circle { fill: var(--a, var(--marker)); }

/* Motif */
.cp-motif { display: block; max-width: 100%; height: auto; overflow: visible; }
.cp-motif .cp-motif-ring { fill: none; stroke-width: 6px; stroke-linecap: round; }
.cp-fill-red .cp-motif-ring { stroke: var(--red); } .cp-fill-blue .cp-motif-ring { stroke: var(--blue); } .cp-fill-teal .cp-motif-ring { stroke: var(--teal); }
.cp-fill-marker .cp-motif-ring { stroke: var(--marker); } .cp-fill-orange .cp-motif-ring { stroke: var(--orange); } .cp-fill-olive .cp-motif-ring { stroke: var(--olive); }
.cp-motif .cp-motif-arch { fill: none; stroke-width: 7px; }
.cp-fill-red .cp-motif-arch { stroke: var(--red); } .cp-fill-blue .cp-motif-arch { stroke: var(--blue); } .cp-fill-teal .cp-motif-arch { stroke: var(--teal); }
.cp-fill-marker .cp-motif-arch { stroke: var(--marker); } .cp-fill-orange .cp-motif-arch { stroke: var(--orange); } .cp-fill-olive .cp-motif-arch { stroke: var(--olive); }
.cp-motif .cp-motif-alt { fill: var(--ink); opacity: .85; }

/* Marquee: a slow printed band */
.cp-marquee { overflow: hidden; }
.cp-marquee-track { display: flex; width: max-content; animation: cp-marquee var(--cp-marquee-speed, 48s) linear infinite; }
.cp-marquee:hover .cp-marquee-track { animation-play-state: paused; }
.cp-marquee-row { display: flex; align-items: center; gap: 32px; padding: 14px 16px; font: 400 24px/1 var(--font-display); white-space: nowrap; }
.cp-marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .9; }
@keyframes cp-marquee { to { transform: translateX(-50%); } }

/* Squiggle */
.cp-squiggle { display: block; max-width: 100%; height: auto; overflow: visible; }
.cp-squiggle path { fill: none; stroke-width: 10px; stroke-linecap: round; stroke-linejoin: round; }
.cp-stroke-teal path { stroke: var(--teal); } .cp-stroke-red path { stroke: var(--red); } .cp-stroke-blue path { stroke: var(--blue); }
.cp-stroke-marker path { stroke: var(--marker); } .cp-stroke-orange path { stroke: var(--orange); } .cp-stroke-olive path { stroke: var(--olive); }

/* PillNav */
.cp-pillnav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; padding: 4px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface) 70%, transparent); width: fit-content; margin-inline: auto; box-shadow: var(--shadow-rest); }
.cp-pill { font: 500 13px/1 var(--font-sans); letter-spacing: .3px; color: var(--ink); text-decoration: none; padding: 9px 15px; border-radius: var(--radius-pill); transition: background-color .2s var(--cp-ease), color .2s var(--cp-ease); }
.cp-pill:hover { background: var(--linen); }
.cp-pill[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Window: soft rounded panel, gentle depth */
.cp-win { position: relative; background: var(--surface); border-radius: var(--radius-window); box-shadow: var(--shadow-rest), 0 0 0 1px var(--line); max-width: 100%; transition: box-shadow .3s var(--cp-ease), transform .3s var(--cp-ease); }
.cp-win-handle { background: var(--chrome); border-radius: var(--radius-window) var(--radius-window) 0 0; }
.cp-win.is-collapsed .cp-win-handle { border-radius: var(--radius-window); }
.cp-win-body { overflow: hidden; border-radius: 0 0 var(--radius-window) var(--radius-window); }
.cp-win-arch .cp-win-body-flush { border-radius: 0 0 var(--radius-window) var(--radius-window); padding: 10px 10px 0; background: var(--surface); }
.cp-win-arch .cp-win-body-flush > * { border-radius: 999px 999px 0 0; overflow: hidden; }
.cp-draggable .cp-win-handle, .cp-note.cp-draggable, .cp-icon.cp-draggable { cursor: grab; touch-action: none; user-select: none; }
.is-dragging, .is-dragging .cp-win-handle { cursor: grabbing !important; }
.cp-win.is-dragging, .cp-note.is-dragging { box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); transform: scale(1.02); }
.cp-win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 18px; }
.cp-dots { display: inline-flex; gap: 7px; flex: none; }
.cp-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; display: block; cursor: pointer; transition: transform .2s var(--cp-ease); }
.cp-dot:hover { transform: scale(1.25); }
.cp-dot-close { background: var(--dot-close); } .cp-dot-min { background: var(--dot-min); } .cp-dot-max { background: var(--dot-max); }
.cp-win-title { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-win-url { flex: 1; font: 400 12px/16px var(--font-mono); color: var(--ink-muted); background: var(--surface); border-radius: var(--radius-pill); padding: 3px 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-win-body { padding: 24px; font-size: 14px; line-height: 21px; }
.cp-win-body-flush { padding: 0; }
.cp-win-body-flush > img, .cp-win-body-flush > .cp-ph { display: block; width: 100%; }
.cp-shake { animation: cp-shake .45s var(--cp-ease); }
.cp-rise { animation: cp-rise .5s var(--cp-ease); }
@keyframes cp-shake { 0%,100% { translate: 0 0; } 25% { translate: -5px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
@keyframes cp-rise { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* DesktopIcon */
.cp-icon { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; width: 108px; padding: 6px; background: none; border: 0; border-radius: 8px; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; transition: transform .3s var(--cp-ease); }
.cp-icon:hover { transform: translateY(-3px); }
.cp-icon:hover .cp-icon-label { background: var(--ink); color: var(--paper); }
.cp-thumb { width: 80px; height: 64px; border-radius: 6px; background-size: cover; background-position: center; border: 4px solid var(--surface); box-shadow: var(--shadow-rest); }
.cp-thumb-arch { border-radius: 999px 999px 6px 6px; height: 72px; width: 64px; }
.cp-thumb-circle { border-radius: 50%; width: 68px; height: 68px; }
.cp-thumb-sky { background-color: var(--sky-deep); }
.cp-thumb-red { background-color: var(--red); } .cp-thumb-blue { background-color: var(--blue); } .cp-thumb-teal { background-color: var(--teal); }
.cp-thumb-linen { background-color: var(--linen); } .cp-thumb-marker { background-color: var(--marker); }
.cp-thumb-orange { background-color: var(--orange); } .cp-thumb-olive { background-color: var(--olive); }
.cp-folder { width: 64px; height: 52px; }
.cp-folder-back { fill: var(--teal); }
.cp-folder-front { fill: var(--marker); }
.cp-icon-label { font: 400 12px/16px var(--font-mono); padding: 2px 7px; border-radius: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); transition: background-color .2s var(--cp-ease), color .2s var(--cp-ease); }

/* NoteCard */
.cp-note { position: relative; background: var(--linen); color: var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-rest); padding: 14px 20px 20px; width: 260px; max-width: 100%; font-size: 14px; line-height: 21px; box-sizing: border-box; transition: box-shadow .3s var(--cp-ease), transform .3s var(--cp-ease); }
.cp-note:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cp-note-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cp-note-app { font: 500 12px/16px var(--font-sans); color: var(--red-ink); }
.cp-note-pin { width: 12px; height: 12px; border-radius: 50%; }
.cp-note-title { margin: 0 0 12px; font-weight: 700; }
.cp-note-title mark { background: linear-gradient(transparent 50%, var(--marker) 50%, var(--marker) 92%, transparent 92%); color: inherit; padding: 0 3px; }
.cp-note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cp-note-list li { display: flex; gap: 10px; align-items: baseline; }
.cp-note-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--marker); transform: translateY(1px); }
.cp-note-list li:nth-child(3n+2)::before { background: var(--teal); }
.cp-note-list li:nth-child(3n)::before { background: var(--red); }
.cp-note-body p { margin: 0 0 8px; }

/* Desktop: a faded print with a sun and a hill */
.cp-desktop { position: relative; overflow: hidden; color: var(--ink); isolation: isolate; }
.cp-desktop::after { content: ""; position: absolute; inset: 0; background-image: var(--cp-grain); opacity: .18; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.cp-desktop-sky { background: var(--sky); }
.cp-desktop-paper { background: var(--paper); }
.cp-desktop-sun { position: absolute; z-index: -1; width: 340px; height: 340px; right: -60px; top: -110px; border-radius: 50%; background: var(--marker); opacity: .8; }
.cp-desktop-hill { position: absolute; z-index: -1; width: 70%; height: 320px; left: -12%; bottom: -200px; border-radius: 50% 50% 0 0; background: var(--sky-deep); }
.cp-desktop-paper .cp-desktop-hill { background: var(--linen); }
.cp-desktop-nav { position: relative; z-index: 2; padding: 16px; }

/* PortraitHero: a cut-out portrait sitting on a flat ledge */
.cp-phero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 48px max(16px, 6%); background: var(--paper); overflow: hidden; isolation: isolate; }
.cp-phero::after { content: ""; position: absolute; inset: 0; background-image: var(--cp-grain); opacity: .14; mix-blend-mode: multiply; pointer-events: none; }
.cp-phero-text { position: relative; z-index: 2; display: grid; gap: 18px; align-content: center; }
.cp-phero-eyebrow { font: 500 11px/14px var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); }
.cp-phero-name { margin: 0; font: 400 144px/0.88 var(--font-display); color: var(--ink); text-wrap: balance; }
.cp-phero-tagline { margin: 0; font: 500 30px/1.2 var(--font-sans); letter-spacing: -0.6px; max-width: 18ch; }
.cp-phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cp-phero-stage { position: relative; justify-self: center; width: min(100%, 380px); padding-top: 24px; }
.cp-phero-sun { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; top: -2%; left: 14%; border-radius: 50%; background: var(--marker); }
.cp-phero-dot { position: absolute; z-index: -1; width: 18%; aspect-ratio: 1; top: 6%; left: -6%; border-radius: 50%; background: var(--orange); }
.cp-phero-figure { position: relative; width: 100%; max-width: 100%; }
.cp-phero-ledge { position: absolute; z-index: 0; top: var(--cp-seat, 60%); left: -20%; right: -70%; height: 140%; border-radius: 999px 999px 0 0; background: var(--teal); }
.cp-phero-blue .cp-phero-ledge { background: var(--blue); } .cp-phero-red .cp-phero-ledge { background: var(--red); }
.cp-phero-img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(42, 36, 32, .28)); }
.cp-phero-stage > .cp-sticker { position: absolute; z-index: 2; right: -16%; top: 4%; }
@media (max-width: 640px) {
  .cp-phero { grid-template-columns: 1fr; padding-block: 32px 0; }
  .cp-phero-name { font-size: 72px; }
  .cp-phero-tagline { font-size: 24px; }
  .cp-phero-stage { width: min(80%, 300px); }
}

/* TravelMap: dot-matrix world, pins, zoom, regions, note on click */
.cp-tmap { position: relative; background: var(--linen); border-radius: var(--radius-card); padding: 24px; isolation: isolate; }
.cp-tmap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--cp-grain); opacity: .14; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.cp-tmap-caption { position: relative; z-index: 1; margin: 0 0 14px; font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.cp-tmap-stage { position: relative; z-index: 1; width: 100%; max-width: 100%; overflow: hidden; border-radius: 10px; touch-action: none; }
.cp-tmap-stage.is-panning { cursor: grabbing; }
.cp-tmap-world { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .6s var(--cp-ease); }
.cp-tmap-stage.is-panning .cp-tmap-world { transition: none; }
.cp-tmap-dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.cp-tmap-dots path { fill: var(--sky-deep); }
.cp-tmap-pins { position: absolute; inset: 0; pointer-events: none; }
.cp-tmap-pin { pointer-events: auto; position: absolute; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; padding: 0; border: 2.5px solid var(--surface); border-radius: 50%; background: var(--red); box-shadow: 0 2px 6px rgba(42, 36, 32, .3); cursor: pointer; transition: left .6s var(--cp-ease), top .6s var(--cp-ease), transform .2s var(--cp-ease), background-color .2s var(--cp-ease); }
.cp-tmap-stage.is-panning .cp-tmap-pin { transition: none; }
.cp-tmap-pin:hover, .cp-tmap-pin:focus-visible { transform: scale(1.5); z-index: 3; }
.cp-tmap-pin:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cp-tmap-pin.is-open { background: var(--marker); transform: scale(1.6); z-index: 4; }
.cp-tmap-pin.is-open::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--marker); opacity: .6; }
.cp-tmap-regions { position: absolute; z-index: 5; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tmap-chip { font: 500 12px/1 var(--font-sans); padding: 8px 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-rest); cursor: pointer; transition: background-color .2s var(--cp-ease), color .2s var(--cp-ease); }
.cp-tmap-chip:hover { background: var(--marker); color: var(--on-marker); }
.cp-tmap-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cp-tmap-zoom { position: absolute; z-index: 5; right: 12px; bottom: 12px; display: grid; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-rest); }
.cp-tmap-zbtn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); font: 500 20px/1 var(--font-sans); cursor: pointer; }
.cp-tmap-zbtn + .cp-tmap-zbtn { border-top: 1px solid var(--line); }
.cp-tmap-zbtn:hover:not(:disabled) { background: var(--marker); color: var(--on-marker); }
.cp-tmap-zbtn:disabled { color: var(--line); cursor: default; }
:where(.cp-tmap-chip, .cp-tmap-zbtn):focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.cp-tmap-card { position: absolute; z-index: 6; width: 290px; transform: translateX(18px); animation: cp-tmap-in .3s var(--cp-ease); }
.cp-tmap-card.is-left { transform: translateX(calc(-100% - 18px)); }
.cp-tmap-card .cp-note { width: 100%; box-shadow: var(--shadow-hover); }
.cp-tmap-close { border: 0; background: none; padding: 0 2px; font: 400 20px/1 var(--font-sans); color: var(--ink-muted); cursor: pointer; }
.cp-tmap-close:hover { color: var(--ink); }
.cp-tmap-more { display: inline-block; margin-top: 12px; font-weight: 500; font-size: 13px; color: var(--red-ink); text-decoration: none; }
@keyframes cp-tmap-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .cp-tmap { padding: 14px 10px; }
  .cp-tmap-pin { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2px; }
  .cp-tmap-regions { left: 6px; bottom: 6px; gap: 4px; }
  .cp-tmap-chip { padding: 6px 9px; font-size: 11px; }
  .cp-tmap-zoom { right: 6px; bottom: auto; top: 6px; }
  .cp-tmap-zbtn { width: 30px; height: 30px; font-size: 17px; }
  .cp-tmap-card, .cp-tmap-card.is-left, .cp-tmap-card.is-up { position: static; transform: none; margin: 12px 0 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .cp-tmap-card { animation: none; } .cp-tmap-pin, .cp-tmap-world { transition: none; } }

/* StatBlock */
.cp-stat { position: relative; margin: 0; display: grid; gap: 10px; padding: 22px 22px 22px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-rest); max-width: 260px; overflow: hidden; isolation: isolate; }
.cp-stat-disc { position: absolute; z-index: -1; width: 120px; height: 120px; right: -36px; top: -36px; border-radius: 50%; }
.cp-stat-red .cp-stat-disc { background: var(--marker); }
.cp-stat-blue .cp-stat-disc { background: var(--blue-light); }
.cp-stat-orange .cp-stat-disc { background: var(--marker); }
.cp-stat-teal .cp-stat-disc { background: var(--teal-light); }
.cp-stat-green .cp-stat-disc { background: var(--olive-light); }
.cp-stat-value { font: 400 64px/0.9 var(--font-numerals); letter-spacing: -1px; }
.cp-stat-red .cp-stat-value { color: var(--red); }
.cp-stat-blue .cp-stat-value { color: var(--blue); }
.cp-stat-ink .cp-stat-value { color: var(--ink); }
.cp-stat-orange .cp-stat-value { color: var(--orange-ink); }
.cp-stat-green .cp-stat-value { color: var(--olive-ink); }
.cp-stat figcaption { display: grid; gap: 4px; }
.cp-stat-label { font-size: 14px; line-height: 21px; }
.cp-stat-source { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }

/* CaseCard: alternating rectangle, arch and circle frames */
.cp-case { position: relative; display: grid; gap: 12px; align-content: start; color: var(--ink); text-decoration: none; min-width: 0; }
.cp-case-media { position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%; background-size: cover; background-position: center; overflow: hidden; transition: border-radius .5s var(--cp-ease), filter .3s var(--cp-ease); }
.cp-case:nth-child(3n+2) .cp-case-media, .cp-case-frame-arch .cp-case-media { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 4.2; }
.cp-case:nth-child(3n) .cp-case-media, .cp-case-frame-round .cp-case-media { border-radius: 0 0 999px 999px; aspect-ratio: 4 / 4.2; }
.cp-case-frame-rect .cp-case-media { border-radius: 0; aspect-ratio: 4 / 3; }
.cp-case:hover .cp-case-media { border-radius: 40px; }
.cp-case-work .cp-case-media { background-color: var(--blue); }
.cp-case-data .cp-case-media { background-color: var(--marker); }
.cp-case-travel .cp-case-media { background-color: var(--orange); }
.cp-case-fashion .cp-case-media { background-color: var(--red); }
.cp-case-file { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font: 400 12px/16px var(--font-mono); background: var(--surface); color: var(--ink); padding: 2px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.cp-case-sticker { position: absolute; right: -10px; top: -14px; }
.cp-case-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cp-case-when { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.cp-case-title { font: 400 28px/1 var(--font-display); transition: color .2s var(--cp-ease); }
.cp-case:hover .cp-case-title { color: var(--red); }
.cp-case-summary { font-size: 14px; line-height: 21px; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  .cp-marquee-track { animation: none; }
  .cp-shake, .cp-rise { animation: none; }
  .cp-btn, .cp-case-media, .cp-win, .cp-pill, .cp-sticker, .cp-note, .cp-icon, .cp-atom, .cp-dot { transition: none; }
}

/* ===== Page layout (chloepyrah.com) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: 48px; padding-right: 48px; } }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.site-name { font: 700 17px/1 var(--font-sans); letter-spacing: -.2px; text-decoration: none; }
.site-header .cp-pillnav { box-shadow: none; background: transparent; margin: 0; }
.site-header .cp-btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 760px) { .site-header .cp-pillnav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } .site-header .cp-btn { display: none; } }

/* Hero tweaks for full-width page */
.cp-phero { min-height: min(640px, 86vh); padding-block: 56px 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .cp-phero { padding-left: max(48px, calc((100% - 1104px) / 2)); padding-right: max(48px, calc((100% - 1104px) / 2)); } }
.cp-phero-stage { width: min(100%, 420px); align-self: end; }
.hero-intro { margin: 0; max-width: 46ch; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }

/* Sections */
.section { padding-block: 96px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.eyebrow { font: 500 11px/14px var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 12px; }
.h-display { margin: 0; font: 400 64px/.92 var(--font-display); color: var(--ink); text-wrap: balance; }
.h-line { margin: 0; font: 500 40px/1.1 var(--font-sans); letter-spacing: -1.2px; text-wrap: balance; }
.link-arrow { font: 500 14px/1 var(--font-sans); color: var(--red-ink); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .section { padding-block: 64px; } .h-display { font-size: 40px; } .h-line { font-size: 28px; } }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

/* About desktop */
.about-desktop .cp-desktop { border-radius: 24px; min-height: 620px; }
.about-copy { position: absolute; left: 48px; top: 64px; max-width: 420px; z-index: 1; }
.about-copy p { margin: 16px 0 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
@media (max-width: 1100px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-row .cp-stat { max-width: none; padding: 32px 28px 30px; gap: 14px; align-content: start; }
.stat-row .cp-stat-value { font-size: 88px; }
.cp-stat-teal .cp-stat-value { color: var(--teal); }
.stat-row .cp-stat-label { font-size: 15px; line-height: 23px; }
.stat-row .cp-stat-disc { width: 180px; height: 180px; right: -50px; top: -50px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } .stat-row .cp-stat-value { font-size: 80px; } }
@media (max-width: 760px) {
  .about-desktop .cp-desktop { display: flex; flex-direction: column; gap: 24px; padding: 32px 16px; min-height: 0; }
  .about-copy { position: static; max-width: none; }
  .cp-desktop [data-drag] { position: static !important; width: auto !important; }
  .icon-row { display: flex; flex-wrap: wrap; gap: 8px; }
}
@media (min-width: 761px) { .cp-desktop [data-drag] { position: absolute; } .icon-row { display: contents; } }

/* Travel strip */
.places { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 1000px) { .places { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.place { display: grid; gap: 10px; justify-items: center; text-align: center; text-decoration: none; }
.place-shape { width: 100%; max-width: 96px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 400 28px/1 var(--font-display); color: var(--paper); transition: border-radius .5s var(--cp-ease), transform .3s var(--cp-ease); }
.place:nth-child(3n+2) .place-shape { border-radius: 999px 999px 0 0; }
.place:nth-child(3n) .place-shape { border-radius: 0 0 999px 999px; }
.place:hover .place-shape { border-radius: 24px; transform: translateY(-3px); }
.place-name { font-weight: 500; }
.place-region { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); margin-top: -6px; }
.place-more .place-shape { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); font: 500 15px/1.2 var(--font-sans); }
@media (max-width: 600px) { .places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--linen); padding-block: 72px 40px; isolation: isolate; }
.site-footer .wrap { display: grid; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--red-ink); }
.footer-small { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.footer-arches { position: absolute; right: -20px; bottom: -10px; width: 220px; z-index: -1; opacity: .9; }
@media (min-width: 761px) { .site-footer .wrap { padding-right: 260px; } }
@media (max-width: 760px) { .footer-arches { width: 110px; } .site-footer { padding-bottom: 120px; } .cp-case-media, .cp-case:nth-child(n) .cp-case-media { aspect-ratio: 16 / 11; } }

.place-shape.cp-fill-marker, .place-shape.cp-fill-olive, .place-shape.cp-fill-orange { color: var(--on-marker); }

.travel-map { margin-bottom: 48px; }
.place-group + .place-group { margin-top: 48px; }
.place-group-title { margin: 0 0 20px; font: 500 11px/14px var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: 10px; }
.place-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.place-group-title span { color: var(--ink); }

/* Hero: blue hanging arch behind the sun (from the design system cover), sticker between the feet */
.cp-phero-arch { position: absolute; z-index: -2; top: -96px; right: -38%; width: 56%; height: 74%; border-radius: 0 0 999px 999px; background: var(--blue); }
.cp-phero-sun { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .cp-phero-sun { mix-blend-mode: screen; } }
.cp-phero-stage > .cp-sticker { right: auto; left: 13%; top: 79%; }
@media (max-width: 640px) { .cp-phero-arch { top: 0; right: -20%; width: 48%; height: 62%; } }

/* Country buttons filter the travel map */
button.place { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
button.place:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
.place[aria-pressed="true"] .place-shape { border-radius: 24px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--ink); }
.place[aria-pressed="true"] .place-name { text-decoration: underline; text-underline-offset: 4px; }
.cp-tmap-filter { position: absolute; z-index: 5; left: 12px; top: 12px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: 500 13px/1 var(--font-sans); }
.cp-tmap-filter .cp-tmap-chip { box-shadow: none; }

.cp-tmap-card { width: 290px; }
.cp-tmap-card .cp-note-list strong { font-weight: 700; }

/* Angkor portrait: nudge down so she sits right on the teal ledge (no gap) */
.cp-phero-img { transform: translateY(2.4%); }

/* ===== Inner pages: work, data, travel, about ===== */
/* Page hero: big Inktera title with a flat shape composition in the page colour
   (work blue, data mustard, travel orange, about red with blue) */
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-block: 72px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); overflow: hidden; isolation: isolate; --ph: var(--blue); --ph-2: var(--marker); --ph-3: var(--red); }
@media (min-width: 900px) { .page-hero { padding-left: max(48px, calc((100% - 1104px) / 2)); padding-right: max(48px, calc((100% - 1104px) / 2)); } }
.page-hero-work { --ph: var(--blue); --ph-2: var(--marker); --ph-3: var(--red); }
.page-hero-data { --ph: var(--marker); --ph-2: var(--teal); --ph-3: var(--red); }
.page-hero-travel { --ph: var(--orange); --ph-2: var(--blue); --ph-3: var(--teal); }
.page-hero-about { --ph: var(--red); --ph-2: var(--blue); --ph-3: var(--marker); }
.page-hero-fashion { --ph: var(--red); --ph-2: var(--marker); --ph-3: var(--blue); }
.page-hero-text { display: grid; gap: 18px; justify-items: start; }
.page-hero-text .eyebrow { margin: 0; }
.page-title { margin: 0; font: 400 168px/.82 var(--font-display); letter-spacing: -2px; color: var(--ink); }
.page-hero .cp-phero-tagline { margin: 0; font: 500 30px/1.15 var(--font-sans); letter-spacing: -.6px; }
.page-hero .cp-phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.page-hero-art { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: end; }
.ph-arch { position: absolute; left: 6%; bottom: 0; width: 64%; height: 92%; border-radius: 999px 999px 0 0; background: var(--ph); }
.ph-sun { position: absolute; right: 0; top: 6%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--ph-2); mix-blend-mode: multiply; }
.ph-dot { position: absolute; right: 18%; bottom: 8%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--ph-3); }
@media (prefers-color-scheme: dark) { .ph-sun { mix-blend-mode: screen; } }
.ph-label { position: absolute; left: 38%; bottom: 14px; transform: translateX(-50%); z-index: 2; font: 400 12px/16px var(--font-mono); background: var(--surface); color: var(--ink); padding: 2px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.ph-photo { position: absolute; left: 12%; bottom: 0; width: 52%; height: 80%; border-radius: 999px 999px 0 0; background-size: cover; background-position: center; z-index: 1; box-shadow: var(--shadow-rest); }
.ph-bars { position: absolute; left: 16%; bottom: 0; width: 44%; height: 64%; display: flex; align-items: end; gap: 10%; z-index: 1; }
.ph-bars i { flex: 1; background: var(--surface); border-radius: 999px 999px 0 0; }
.ph-bars i:nth-child(1) { height: 42%; } .ph-bars i:nth-child(2) { height: 70%; } .ph-bars i:nth-child(3) { height: 54%; } .ph-bars i:nth-child(4) { height: 100%; background: var(--red); }
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; }
  .page-title { font-size: 104px; }
  .page-hero-art { width: min(80%, 320px); justify-self: center; }
}
@media (max-width: 480px) { .page-title { font-size: 84px; } .page-hero .cp-phero-tagline { font-size: 24px; } }

.section-tight { padding-block: 48px; }
.section-linen { background: var(--linen); position: relative; isolation: isolate; }
.section-linen::after { content: ""; position: absolute; inset: 0; background-image: var(--cp-grain); opacity: .12; mix-blend-mode: multiply; pointer-events: none; z-index: -1; }
.section-tight .stat-row { margin-top: 0; }
.stat-row .cp-stat-value { white-space: nowrap; }


/* Work: focus cards with a big word in the frame */
.focus-card { cursor: default; }
.focus-media { display: grid; place-items: center; }
.focus-word { font: 400 96px/1 var(--font-display); color: var(--paper); }
.focus-card .cp-case-media.cp-fill-marker .focus-word, .focus-card .cp-case-media.cp-fill-orange .focus-word, .focus-card .cp-case-media.cp-fill-olive .focus-word { color: var(--on-marker); }
.focus-card:hover .cp-case-title { color: inherit; }

/* Work: roles as windows */
.role-stack { display: grid; gap: 24px; }
.role-win .cp-win-body { padding: 28px 32px 32px; }
.role { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.role-when { display: grid; gap: 10px; align-content: start; }
.role-years { font: 400 40px/.95 var(--font-numerals); color: var(--blue); display: grid; }
.role-to { font: 500 11px/1.6 var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); }
.role-org { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.role-title { margin: 0 0 16px; font: 500 22px/1.25 var(--font-sans); letter-spacing: -.3px; }
.role-list { gap: 10px; font-size: 15px; line-height: 23px; }
.role-win:nth-child(2) .role-years { color: var(--orange-ink); }
.role-win:nth-child(3) .role-years { color: var(--teal); }
.role-win:nth-child(4) .role-years { color: var(--red-ink); }
@media (max-width: 760px) { .role { grid-template-columns: 1fr; gap: 16px; } .role-years { display: flex; gap: 10px; align-items: baseline; font-size: 32px; } .role-win .cp-win-body { padding: 20px; } }

/* Work: skills */
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.skill-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 500 20px/1.2 var(--font-sans); }
.skill-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.skill-tags, .tool-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags .cp-tag, .tool-tags .cp-tag { text-transform: none; letter-spacing: .3px; font-size: 13px; line-height: 18px; padding: 7px 14px; color: var(--ink); background: var(--surface); }
.note-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.note-row .cp-note { width: auto; }
.note-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 900px) { .skill-grid, .note-row, .note-row-3 { grid-template-columns: 1fr; } }

/* Call-to-action band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 48px; border-radius: 24px; }
.cta-band .h-line { color: inherit; }
.cta-band .cp-phero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.cp-btn-ghost:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } }

/* Data: visual slots */
.viz-stack { display: grid; gap: 72px; }
.viz { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.viz-flip .viz-frame { order: 2; }
.viz-win .cp-win-body-flush > img, .viz-win iframe { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; border: 0; object-fit: cover; }
.viz-slot { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); background-image: radial-gradient(circle, var(--sky-deep) 1.6px, transparent 1.8px); background-size: 16px 16px; }
.viz-slot-num { position: absolute; right: -2%; bottom: -14%; font: 400 220px/1 var(--font-numerals); opacity: .9; }
.viz-slot-red .viz-slot-num { color: var(--red); } .viz-slot-blue .viz-slot-num { color: var(--blue); } .viz-slot-teal .viz-slot-num { color: var(--teal); }
.viz-slot-text { position: relative; font: 400 12px/16px var(--font-mono); background: var(--surface); padding: 4px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-rest); }
.viz-copy { display: grid; gap: 14px; justify-items: start; }
.viz-title { margin: 0; font: 400 40px/1 var(--font-display); }
.viz-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.placeholder-text { color: var(--ink-muted); font-style: italic; border-left: 3px dashed var(--line); padding-left: 14px; }
.placeholder-list li { color: var(--ink-muted); font-style: italic; }
@media (max-width: 900px) { .viz { grid-template-columns: 1fr; gap: 24px; } .viz-flip .viz-frame { order: 0; } .viz-slot-num { font-size: 150px; } .viz-title { font-size: 32px; } }

/* Travel: guide cards follow the map filter */
.guide-group + .guide-group, .guide-soon { margin-top: 48px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.guide { width: auto; background: var(--surface); scroll-margin-top: 120px; }
.guide .cp-note-list { font-size: 14px; }
.guide-title { font-size: 20px; line-height: 1.3; margin-bottom: 14px; }
.guide-map { margin-top: 14px; padding: 0; border: 0; background: none; font: 500 13px/1 var(--font-sans); color: var(--red-ink); cursor: pointer; }
.guide-map:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide.is-flash { animation: cp-guide-flash 1.6s var(--cp-ease); }
@keyframes cp-guide-flash { 0%, 40% { box-shadow: 0 0 0 4px var(--marker), var(--shadow-hover); } 100% { box-shadow: var(--shadow-rest); } }
.guide-filter { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: 500 13px/1 var(--font-sans); }
.guide-filter .cp-tmap-chip { box-shadow: none; }


@media (prefers-reduced-motion: reduce) { .guide.is-flash { animation: none; } }

/* About: story and photo slots */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.story-body { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; }
.story-body p { margin: 0; }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: end; }
.photo-slot { position: relative; margin: 0; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-rect { aspect-ratio: 4 / 4.6; }
.photo-arch { border-radius: 999px 999px 0 0; }
.photo-round { border-radius: 0 0 999px 999px; }
.photo-slot-text { font: 400 12px/16px var(--font-mono); color: var(--paper); opacity: .9; }
.photo-slot .cp-case-file { bottom: 12px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; gap: 24px; } .photo-row { grid-template-columns: 1fr 1fr; gap: 16px; } .photo-row .photo-slot:last-child { grid-column: span 2; aspect-ratio: 16 / 10; } }
/* inner page fixes */
.page-work .stat-row .cp-stat-value { font-size: 56px; }
@media (max-width: 1100px) { .page-work .stat-row .cp-stat-value { font-size: 72px; } }
@media (max-width: 760px) { .page-work .stat-row .cp-stat-value { font-size: 64px; } }
.viz-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
@media (max-width: 900px) { .viz-flip { grid-template-columns: 1fr; } }
.guide-grid { display: block; columns: 3 280px; column-gap: 24px; }
.guide { display: block; break-inside: avoid; margin: 0 0 24px; }
.guide[hidden] { display: none; }
.photo-slot { aspect-ratio: 4 / 4.4; }
.photo-rect { aspect-ratio: 4 / 3.9; }
/* Work focus cards: MMM matches the BI shape (rounded bottom), AI stays an arch */
.focus-card:nth-child(3n+1) .cp-case-media { border-radius: 0 0 999px 999px; }
@media (min-width: 761px) { .focus-card:nth-child(3n+1) .cp-case-media { aspect-ratio: 4 / 4.2; } }
.focus-card:hover .cp-case-media { border-radius: 40px; }

/* Case studies: feature card on the Work page */
.case-feature-list { display: grid; gap: 32px; }
.case-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-rest); color: var(--ink); text-decoration: none; transition: box-shadow .3s var(--cp-ease), transform .3s var(--cp-ease); }
.case-feature:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-feature-art { position: relative; display: block; width: min(100%, 320px); aspect-ratio: 1; justify-self: center; --ph: var(--blue); --ph-2: var(--marker); --ph-3: var(--red); }
.case-feature-text { display: grid; gap: 14px; justify-items: start; }
.case-feature-title { font-size: 44px; line-height: 1; }
.case-feature:hover .case-feature-title { color: var(--red); }
.case-feature .cp-case-summary { font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { .case-feature { grid-template-columns: 1fr; gap: 24px; padding: 24px; } .case-feature-art { width: min(70%, 240px); } .case-feature-title { font-size: 32px; } }

/* Case study reading page */
.cs-hero { padding-block: 56px 24px; }
.cs-hero .wrap { display: grid; gap: 18px; justify-items: start; max-width: 960px; }
.cs-back { margin-bottom: 8px; }
.cs-hero .eyebrow { margin: 0; }
.cs-title { margin: 0; font: 400 88px/.92 var(--font-display); letter-spacing: -1px; text-wrap: balance; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-intro { font-size: 19px; max-width: 54ch; }
.cs-body { padding-top: 48px; }
.cs-wrap { max-width: 760px; display: grid; gap: 56px; }
.cs-block { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; }
.cs-block p { margin: 0; }
.cs-h { margin: 0 0 4px; font: 400 40px/1 var(--font-display); }
.cs-block:nth-child(5n+1) .cs-h { color: var(--blue); } .cs-block:nth-child(5n+2) .cs-h { color: var(--orange-ink); }
.cs-block:nth-child(5n+3) .cs-h { color: var(--teal); } .cs-block:nth-child(5n+4) .cs-h { color: var(--red-ink); } .cs-block:nth-child(5n) .cs-h { color: var(--olive-ink); }
.cs-list { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-rest); padding: 22px 26px; gap: 10px; font-size: 16px; line-height: 1.5; }
.cs-quote { margin: 8px 0; padding: 28px 32px; border-radius: 0 var(--radius-card) var(--radius-card) 0; background: var(--linen); border-left: 6px solid var(--marker); }
.cs-quote p { font: 400 italic 34px/1.2 var(--font-serif); }
.cs-quote cite { display: block; margin-top: 12px; font: 400 12px/16px var(--font-mono); font-style: normal; color: var(--ink-muted); }
@media (max-width: 640px) { .cs-title { font-size: 52px; } .cs-h { font-size: 30px; } .cs-quote p { font-size: 26px; } }
.nobr { white-space: nowrap; }
body[class*="page-case-"] .stat-row .cp-stat-value { font-size: 56px; }
@media (max-width: 1100px) { body[class*="page-case-"] .stat-row .cp-stat-value { font-size: 72px; } }

/* Work: shorter focus shapes (half height) */
.focus-card .cp-case-media, .focus-card:nth-child(n) .cp-case-media { aspect-ratio: 4 / 2.1; }
.focus-word { font-size: 64px; }
@media (max-width: 760px) { .focus-card .cp-case-media, .focus-card:nth-child(n) .cp-case-media { aspect-ratio: 16 / 7; } }

/* Case studies: one frame holding compact rows (room for three) */
.case-feature-list { gap: 0; padding: 8px 32px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-rest); }
.case-feature { grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 24px 0; border-radius: 0; background: none; box-shadow: none; }
.case-feature + .case-feature { border-top: 1px solid var(--line); }
.case-feature:hover { box-shadow: none; transform: none; }
.case-feature-art { width: 150px; }
.case-feature-art .ph-label { display: none; }
.case-feature-text { gap: 10px; }
.case-feature-title { font-size: 32px; }
.case-feature .cp-case-summary { font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .case-feature-list { padding: 4px 20px; } .case-feature { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; } .case-feature-art { width: 110px; justify-self: start; } .case-feature-title { font-size: 26px; } }

/* Case study: one shared column so every edge lines up */
.cs-col { max-width: 956px; }
@media (max-width: 899px) { .cs-col { max-width: none; } }
.cs-hero .wrap.cs-col { max-width: 956px; }
.cs-wrap.cs-col { max-width: 956px; }
.cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 760px) { .cs-stats { grid-template-columns: 1fr; } }
body[class*="page-case-"] .stat-row .cp-stat-value { font-size: 64px; }
.cs-intro { max-width: none; }
.cs-block { font-size: 18px; }
.cs-body { padding-top: 24px; }
.cs-body + .section .cta-band { margin-top: 0; }

/* Footer: links sit on the page margin; arches tucked into the corner below them */
@media (min-width: 761px) {
  .site-footer .wrap { padding-right: 48px; }
  .site-footer { padding-bottom: 56px; }
  .footer-arches { width: 130px !important; right: max(48px, calc((100% - 1104px) / 2)); bottom: -30px; }
  .site-footer { padding-bottom: 88px; }
}

/* Dashboards redrawn in the design system (case studies) */
.dash-win { margin: 8px 0; }
.dash-body { padding: 20px; display: grid; gap: 16px; background: var(--paper); }
.dash-caption { margin: 0; font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.dash-grid { display: grid; gap: 12px; }
.dash-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.dash-grid-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-grid-tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-grid-tiles-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dash-panel { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 14px 14px 8px; min-width: 0; }
.dash-step { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 500 14px/1.3 var(--font-sans); }
.dash-num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 500 11px/1 var(--font-mono); color: var(--paper); flex: none; }
.dash-num.cp-fill-marker, .dash-num.cp-fill-orange, .dash-num.cp-fill-olive { color: var(--on-marker); }
.dash-note { margin: 0 0 6px; font-size: 12px; line-height: 1.4; color: var(--ink-muted); min-height: 34px; }
.dash-svg { display: block; width: 100%; height: auto; overflow: visible; }
.dash-axis { stroke: var(--line); stroke-width: 1; }
.dash-grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.dash-val { font: 500 11px/1 var(--font-sans); fill: var(--ink); text-anchor: middle; }
.dash-end { text-anchor: end; }
.dash-cat, .dash-tick { font: 400 10px/1 var(--font-mono); fill: var(--ink-muted); text-anchor: middle; }
.dash-tick { text-anchor: end; }
.dash-fill-red { fill: var(--red); background: var(--red); } .dash-fill-blue { fill: var(--blue); background: var(--blue); }
.dash-fill-teal { fill: var(--teal); background: var(--teal); } .dash-fill-orange { fill: var(--orange); background: var(--orange); }
.dash-fill-olive { fill: var(--olive); background: var(--olive); } .dash-fill-marker { fill: var(--marker); background: var(--marker); }
.dash-fill-grey { fill: var(--line); background: var(--line); }
.dash-mark path { stroke: var(--surface); stroke-width: 2px; paint-order: stroke; transition: opacity .2s var(--cp-ease); }
.dash-svg:hover .dash-mark path { opacity: .55; } .dash-svg .dash-mark:hover path { opacity: 1; }
.dash-line { fill: none; stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; }
.dash-stroke-teal { stroke: var(--teal); } .dash-stroke-red { stroke: var(--red); }
.dash-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 8px; }
.dash-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.dash-key i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.dash-tile { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; display: grid; gap: 6px; align-content: space-between; min-height: 84px; }
.dash-tile-label { font-size: 12px; line-height: 1.3; color: var(--ink-muted); }
.dash-tile-value { font: 400 36px/1 var(--font-numerals); color: var(--ink); }
.dash-tile-teal .dash-tile-value { color: var(--teal); } .dash-tile-red .dash-tile-value { color: var(--red-ink); }
.dash-tile-blue .dash-tile-value { color: var(--blue); } .dash-tile-orange .dash-tile-value { color: var(--orange-ink); }
.dash-tile-olive .dash-tile-value { color: var(--olive-ink); } .dash-tile-marker .dash-tile-value { color: var(--ink); box-shadow: inset 0 -4px 0 var(--marker); }
.dash-list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; }
.dash-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dash-list li:first-child { border-top: 0; }
.dash-client { font: 400 11px/1.2 var(--font-mono); color: var(--ink-muted); }
.dash-task { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-pri, .dash-status { font: 500 10px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-muted); }
.dash-pri-urgent { background: var(--red-fill); color: var(--on-red); box-shadow: none; }
.dash-pri-high { background: var(--marker); color: var(--on-marker); box-shadow: none; }
.dash-status { background: var(--teal); color: var(--on-teal); box-shadow: none; }
@media (max-width: 760px) {
  .dash-body { padding: 12px; }
  .dash-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .dash-grid-tiles-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-tile-value { font-size: 28px; }
}
@media (max-width: 480px) { .dash-grid-3 { grid-template-columns: 1fr; } }

/* Briefing template mock (ClickUp task, redrawn) */
.bt { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.bt-main, .bt-activity { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 16px; min-width: 0; }
.bt-crumb { margin: 0 0 6px; font: 400 11px/1.4 var(--font-mono); color: var(--ink-muted); }
.bt-title { margin: 0 0 14px; font: 700 20px/1.25 var(--font-sans); letter-spacing: -.3px; }
.bt-meta { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 12px; align-items: center; margin-bottom: 14px; }
.bt-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.bt-status { display: inline-block; font: 500 10px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill); background: var(--blue); color: var(--on-blue); }
.bt-date { font-size: 13px; }
.bt-avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 500 11px/1 var(--font-mono); }
.bt-desc { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 12px; margin-bottom: 14px; }
.bt-desc p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); font-style: italic; }
.bt-sub { margin: 0 0 8px; font: 500 14px/1.3 var(--font-sans); }
.bt-table { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bt-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px; }
.bt-row + .bt-row { border-top: 1px solid var(--line); }
.bt-value { display: flex; flex-wrap: wrap; gap: 4px; }
.bt-tag { font: 500 11px/1 var(--font-sans); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.bt-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font: 500 9px/1 var(--font-mono); color: var(--paper); flex: none; }
.bt-mark.cp-fill-marker { color: var(--on-marker); }
.bt-activity { display: flex; flex-direction: column; }
.bt-feed { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 10px; font-size: 12px; line-height: 1.45; color: var(--ink-muted); flex: 1; }
.bt-feed b { color: var(--ink); font-weight: 500; }
.bt-comment { margin-top: 12px; font-size: 12px; color: var(--ink-muted); padding: 8px 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); }
.bt-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--ink-muted); }
.bt-key > span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .bt { grid-template-columns: 1fr; } .bt-meta { grid-template-columns: auto 1fr; } .bt-row { grid-template-columns: 1fr; gap: 6px; } }

/* Dashboard fixes: no underline on black tiles; charts fill their panels */
.dash-tile-marker .dash-tile-value { box-shadow: none; }
.dash-stretch { align-items: stretch; }
.dash-fill { display: flex; flex-direction: column; }
.dash-fill .dash-svg { flex: 1; }

/* Task statuses: three groups, eight statuses, with the amends loop */
.st { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.st-group { margin: 0; padding: 8px 10px; border-radius: 10px 10px 0 0; background: var(--linen); font: 500 11px/1.2 var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); text-align: center; grid-row: 1; }
.st-card { grid-row: 2; display: grid; align-content: start; gap: 8px; padding: 12px 10px 14px; border-radius: 12px; min-height: 150px; }
.st-name { font: 700 13px/1.2 var(--font-sans); }
.st-text { font-size: 11.5px; line-height: 1.4; }
.st-grey { background: var(--line); color: var(--ink); }
.st-sky { background: var(--sky-deep); color: var(--ink); }
.st-blue { background: var(--blue); color: var(--on-blue); }
.st-olive { background: var(--olive); color: var(--on-marker); }
.st-red { background: var(--red-fill); color: var(--on-red); }
.st-marker { background: var(--marker); color: var(--on-marker); }
.st-orange { background: var(--orange); color: var(--on-marker); }
.st-teal { background: var(--teal); color: var(--on-teal); }
.st-loop { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; height: 22px; margin-top: -4px; }
.st-loop-line { grid-column: 3 / 8; margin: 0 calc(50% / 5); border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; position: relative; margin-left: calc((100% / 5) / 2 - 1px); margin-right: calc((100% / 5) / 2 - 1px); }
.st-loop-line::before { content: ""; position: absolute; left: -7px; top: -6px; border: 6px solid transparent; border-bottom: 8px solid var(--ink); border-top: 0; }
.st-note { margin: 6px auto 0; max-width: 520px; text-align: center; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.st-note b { color: var(--blue); }
.st-arrow { display: none; margin-right: 6px; color: var(--ink); }
@media (max-width: 760px) {
  .st { grid-template-columns: 1fr 1fr; }
  .st-group, .st-card { grid-column: auto !important; grid-row: auto; }
  .st-group { grid-column: 1 / -1 !important; border-radius: 10px; margin-top: 6px; }
  .st-card { min-height: 0; }
  .st-loop { display: none; }
  .st-arrow { display: inline; }
}
.st-note { justify-self: center; }

/* Case study card art: a mini brief form on flat shapes */
.case-feature-art.page-hero-brief { --ph: var(--teal); --ph-2: var(--orange); --ph-3: var(--red); }
.mini-brief { position: absolute; left: 22%; top: 18%; width: 62%; height: 70%; z-index: 2; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-hover); padding: 9% 9% 0; display: flex; flex-direction: column; gap: 7%; overflow: hidden; }
.mini-brief i { display: block; border-radius: 999px; }
.mb-top { display: flex; gap: 4px; position: absolute; left: 8%; top: 5%; }
.mb-dot { width: 5px; height: 5px; background: var(--line); }
.mb-top .mb-dot:nth-child(1) { background: var(--red); } .mb-top .mb-dot:nth-child(2) { background: var(--marker); } .mb-top .mb-dot:nth-child(3) { background: var(--teal); }
.mb-title { display: block; height: 8px; width: 78%; border-radius: 999px; background: var(--ink); margin-top: 6%; }
.mb-status { display: block; height: 8px; width: 38%; border-radius: 999px; background: var(--blue); }
.mb-row { display: flex; align-items: center; gap: 4px; padding-top: 6%; border-top: 1px solid var(--line); }
.mb-label { width: 26%; height: 5px; background: var(--line); margin-right: 6%; flex: none; }
.mb-pill { height: 8px; width: 24%; }
.mb-short { width: 14%; }
.mb-blue { background: var(--blue); } .mb-orange { background: var(--orange); } .mb-olive { background: var(--olive); } .mb-teal { background: var(--teal); }
.mb-av { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.case-feature-art.page-hero-brief .ph-arch { left: 0; width: 58%; }
.case-feature-art.page-hero-brief .ph-dot { right: 4%; bottom: 4%; z-index: 3; }
.mini-brief > span { flex: none; }

/* Data page: full-width dashboard visual with copy beside the heading */
.viz-wide { grid-template-columns: 1fr; gap: 28px; }
.viz-wide .viz-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 12px; align-items: start; }
.viz-wide .viz-copy > .cp-case-meta, .viz-wide .viz-copy > .viz-title { grid-column: 1; }
.viz-wide .viz-copy > .viz-text, .viz-wide .viz-copy > .link-arrow { grid-column: 2; }
.viz-wide .viz-copy > .cp-case-meta { grid-row: 1; } .viz-wide .viz-copy > .viz-title { grid-row: 2; }
.viz-wide .viz-copy > .viz-text:first-of-type { grid-row: 1 / span 2; } .viz-wide .viz-copy > .viz-text:nth-of-type(2) { grid-row: 3; }
.viz-wide .viz-copy > .link-arrow { grid-row: 4; justify-self: start; }
.dash-grid-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .viz-wide .viz-copy { grid-template-columns: 1fr; }
  .viz-wide .viz-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .dash-grid-tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid-even { grid-template-columns: 1fr; }
}

/* Audit scorecard */
.au { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.au-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 1fr; gap: 12px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.au-head { border-top: 0; font: 500 10px/1.3 var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); background: var(--linen); }
.au-group { padding: 10px 16px 6px; border-top: 1px solid var(--line); font: 500 11px/1.3 var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); }
.au-name { font-weight: 500; }
.au-pill { justify-self: start; font: 500 11px/1 var(--font-sans); padding: 6px 10px; border-radius: var(--radius-pill); }
.au-teal { background: var(--teal); color: var(--on-teal); } .au-blue { background: var(--blue); color: var(--on-blue); }
.au-marker { background: var(--marker); color: var(--on-marker); } .au-red { background: var(--red-fill); color: var(--on-red); }
@media (max-width: 480px) { .au-row { grid-template-columns: minmax(0, 1.2fr) 1fr 1fr; gap: 6px; padding: 8px 10px; font-size: 13px; } .au-pill { padding: 5px 7px; font-size: 10px; } }

/* 12-month roadmap */
.rm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rm-col { display: grid; gap: 10px; align-content: start; }
.rm-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; }
.rm-red { background: var(--red-fill); color: var(--on-red); } .rm-blue { background: var(--blue); color: var(--on-blue); } .rm-teal { background: var(--teal); color: var(--on-teal); }
.rm-phase { font: 400 26px/1 var(--font-display); }
.rm-when { font: 400 11px/1.2 var(--font-mono); opacity: .9; }
.rm-card { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 6px; }
.rm-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 500 11px/1 var(--font-mono); color: var(--paper); }
.rm-title { font: 700 15px/1.25 var(--font-sans); }
.rm-text { font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
@media (max-width: 760px) { .rm { grid-template-columns: 1fr; } }

/* Card art: mini audit scorecard */
.case-feature-art.page-hero-audit { --ph: var(--red); --ph-2: var(--blue); --ph-3: var(--marker); }
.case-feature-art.page-hero-audit .ph-arch { left: 0; width: 58%; }
.case-feature-art.page-hero-audit .ph-dot { right: 4%; bottom: 4%; z-index: 3; }
.mini-audit { position: absolute; left: 22%; top: 20%; width: 62%; height: 66%; z-index: 2; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-hover); padding: 10% 9%; display: flex; flex-direction: column; justify-content: space-between; }
.ma-row { display: flex; align-items: center; gap: 8%; flex: none; }
.mini-audit i { display: block; flex: none; }
.ma-label { width: 40%; height: 5px; border-radius: 999px; background: var(--line); }
.ma-dot { width: 18%; height: 8px; border-radius: 999px; }
.ma-teal { background: var(--teal); } .ma-blue { background: var(--blue); } .ma-red { background: var(--red); } .ma-marker { background: var(--marker); }
.cs-title-long { font-size: 64px; line-height: .95; }
@media (max-width: 640px) { .cs-title-long { font-size: 42px; } }

/* Work: "out and about" photo strip */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.moment .photo-rect, .moment .photo-arch, .moment .photo-round { aspect-ratio: 4 / 4.2; }
.moment { margin: 0; display: grid; gap: 14px; }
.moment-media { display: block; aspect-ratio: 4 / 4.4; background-size: cover; background-position: center; background-color: var(--linen); }
.moment-media.photo-rect { aspect-ratio: 4 / 3.9; }
.moment-media.photo-arch { border-radius: 999px 999px 0 0; }
.moment-media.photo-round { border-radius: 0 0 999px 999px; }
.moment figcaption { display: grid; gap: 8px; justify-items: start; }
.moment-text { font-size: 15px; line-height: 1.45; }
@media (max-width: 760px) { .moments { grid-template-columns: 1fr; } .moment-media, .moment-media.photo-rect { aspect-ratio: 4 / 3.4; } }
.page-hero-art .ph-photo { background-position: 50% 30%; }
@media (max-width: 760px) { .moment .photo-rect, .moment .photo-arch, .moment .photo-round { aspect-ratio: 4 / 3.4; } }
@media (min-width: 761px) { .moments .moment-media.photo-rect, .moments .moment-media.photo-arch, .moments .moment-media.photo-round { aspect-ratio: 4 / 4.2; } }

/* Home "What you'll find here": half-height pictures */
.home-doors .cp-case-media, .home-doors .cp-case:nth-child(n) .cp-case-media { aspect-ratio: 4 / 2.1; }
.home-doors .cp-case-data .cp-case-media { background-position: center top; }
@media (max-width: 760px) { .home-doors .cp-case-media, .home-doors .cp-case:nth-child(n) .cp-case-media { aspect-ratio: 16 / 7; } }
.page-hero-work .ph-photo { background-position: 45% 40%; }

/* Travel: photos on guide cards */
.guide-photo { display: block; margin: -14px -20px 14px; aspect-ratio: 16 / 9; background-size: cover; background-position: center 35%; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.home-doors .cp-case-travel .cp-case-media { background-position: 50% 45%; }
.page-hero-travel .ph-photo { background-position: 72% 40%; }

/* Travel: postcards gallery (masonry columns, alternating frames) */
.gallery { columns: 4 220px; column-gap: 20px; }
.gal { margin: 0 0 20px; break-inside: avoid; display: grid; gap: 8px; }
.gal-media { display: block; background-size: cover; background-position: center; aspect-ratio: 4 / 3; }
.gal-tall .gal-media { aspect-ratio: 3 / 4.6; border-radius: 16px; }
.gal-arch .gal-media { aspect-ratio: 4 / 4.6; border-radius: 999px 999px 0 0; }
.gal-round .gal-media { aspect-ratio: 4 / 4.2; border-radius: 0 0 999px 999px; }
.gal-rect .gal-media { border-radius: 4px; }
.gal figcaption { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 12px; } .gal { margin-bottom: 12px; } }
.gal { display: block; } .gal-media { margin-bottom: 8px; }
.gal-media[style*="ta-prohm"], .guide-photo[style*="ta-prohm"] { background-position: 82% 50%; }
.guide-photo[style*="langkawi-pier"] { background-position: 50% 40%; }
.page-hero-travel .ph-photo { background-position: 50% 40%; }
