/* SVG marks retain their shape and inherit the theme on every platform. */
.icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }

/* A two-second introduction, using the portfolio's blue, coral, and pink backdrop. */
html.preloading { overflow: hidden; }
.preloading body > :not(.preloader) { visibility: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 68% 62%, rgb(253 146 124 / .12), transparent 54%), radial-gradient(ellipse at 85% 90%, rgb(216 57 149 / .2), transparent 65%), linear-gradient(120deg, var(--bg), var(--deep));
  color: var(--paper);
  transition: opacity 250ms ease;
}
.preloader-percent {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1;
}
.preloader-track { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--glass); }
.preloader-fill { height: 100%; background: linear-gradient(90deg, var(--sky), var(--pink)); transform: scaleX(0); transform-origin: left; }
.preloader-done { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .preloader { transition: none; } }

/* Begin the text reveal after the preloader's 250ms fade has cleared. */
@media (prefers-reduced-motion: no-preference) {
  .hero-entering .hero-copy > * {
    animation: hero-text-enter 650ms cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: 250ms;
  }
  .hero-entering .hero-copy > :nth-child(2) { animation-delay: 340ms; }
  .hero-entering .hero-copy > :nth-child(3) { animation-delay: 430ms; }
  .hero-entering .hero-copy > :nth-child(4) { animation-delay: 520ms; }
  .hero-entering .hero-actions {
    animation: hero-text-enter 650ms cubic-bezier(.22, 1, .36, 1) 610ms both;
  }
  .hero-entering .hero-bottom {
    animation: hero-text-enter 650ms cubic-bezier(.22, 1, .36, 1) 790ms both;
  }
}
@keyframes hero-text-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reference swatches stay exact; transparent layers blend them into a saturated backdrop. */
:root {
  color-scheme: dark;
  --sky: #0593C6;
  --paper: #FCFFFF;
  --pink: #D83995;
  --coral: #FD927C; /* Sampled from the warm glow in orange.png. */
  --bg: #07121C;
  --deep: #081722;
  --surface: rgb(8 23 34 / .86);
  --glass: rgb(252 255 255 / .035);
  --ink: var(--paper);
  --muted: rgb(252 255 255 / .78);
  --line: rgb(252 255 255 / .22);
  --lime: var(--pink);
  --white: var(--paper);
}
body { background: var(--bg); position: relative; isolation: isolate; min-height: 100svh; }
/* Fine vertical refraction echoes the reference without washing out its colours. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgb(252 255 255 / .025) 7px, rgb(3 44 72 / .10) 9px, transparent 12px);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
::selection { background: var(--glass); color: var(--paper); }
a:focus-visible, button:focus-visible, input:focus-visible { outline-color: var(--paper); }
em { font-family: var(--heading); font-style: normal; font-weight: inherit; }
.site-header { height: 112px; }
.wordmark { color: var(--paper); }
.wordmark span { color: var(--paper); }
.site-header nav { background: var(--glass); border-color: var(--line); backdrop-filter: none; }
.site-header nav a { color: var(--paper); }
.site-header nav a:hover { background: var(--glass); color: var(--paper); }
.site-header nav a.active { color: var(--paper); background: var(--glass); box-shadow: none; }
.resume-link { border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.hero { padding-top: clamp(36px, 7svh, 78px); isolation: isolate; }
/* Midnight canvas with subdued colour glows across the homepage and case studies. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgb(7 18 28 / .9), rgb(7 18 28 / .56) 42%, rgb(7 18 28 / .3) 76%),
    radial-gradient(ellipse 23% 44% at 64% 61%, rgb(253 146 124 / .28) 0%, rgb(253 146 124 / .12) 24%, transparent 78%),
    radial-gradient(ellipse 36% 54% at 68% 82%, rgb(216 57 149 / .38) 0%, rgb(216 57 149 / .16) 30%, transparent 75%),
    radial-gradient(ellipse 48% 68% at 97% 15%, rgb(5 147 198 / .3) 8%, transparent 80%),
    radial-gradient(ellipse 38% 42% at 12% 100%, rgb(5 147 198 / .22), transparent 85%),
    var(--bg);
}
.hero-copy { width: 100%; }
.hero .eyebrow { color: var(--paper); letter-spacing: 2px; }
.status-dot { background: var(--glass); box-shadow: none; }
.hero h1 {
  font-size: clamp(64px, 7.2vw, 104px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-transform: lowercase;
  margin: 22px 0 24px;
}
.hero h1 em { letter-spacing: inherit; }
.hero-intro { font-size: 19px; margin-bottom: 8px; }
.hero-description { color: var(--muted); max-width: 490px; font-size: 15px; line-height: 1.8; }
.hello-mark { color: var(--paper); }
.hero-art { display: none; }
.button { border: 1px solid var(--line); padding: 14px 25px; text-transform: uppercase; letter-spacing: .7px; }
.primary { color: var(--ink); background: var(--glass); border-color: var(--line); }
.primary:hover { background: var(--glass); border-color: var(--line); box-shadow: none; }
.hero .button { margin-top: 24px; min-width: 235px; justify-content: space-between; }
.text-link { border-color: var(--line); color: var(--paper); }
.text-link:hover, .resume-link:hover, .social-links a:hover { color: var(--paper); }
.hero-bottom { margin-top: clamp(36px, 6svh, 64px); border-color: var(--line); color: var(--paper); padding-bottom: 26px; }
.scroll-hint { color: var(--paper); }
.work-section { padding-top: 96px; }
.section-top h2 { font-weight: 550; }
.roles-note { display: block; margin-top: 12px; color: var(--paper); line-height: 1.7; }
@media (max-width: 740px) {
  .work-section .section-top { flex-direction: column; }
  .work-section .section-top > .work-intro { display: block; }
}
.period { color: var(--paper); }
.filters button { border-color: var(--line); color: var(--paper); }
.filters button[aria-pressed=true] { background: var(--glass); color: var(--paper); border-color: var(--line); }
.filters button:hover { border-color: var(--line); color: var(--paper); }
.project-card.featured { background: var(--glass); border: 1px solid var(--line); }
.project-art-link { border: 1px solid var(--line); }
.featured .project-art-link { border: 0; }
.project-visual { color: var(--paper); }
.project-visual::before { background: var(--glass); }
.project-info h3 a:hover { color: var(--paper); }
.project-info .eyebrow, .project-info p { color: var(--muted); }
.tags li { border-color: var(--line); color: var(--paper); background: var(--glass); }
.art-caption { color: var(--paper); opacity: 1; }
.voice { background: var(--glass); }
.voice-window { background: var(--glass); border-color: var(--line); box-shadow: none; }
.live-dot { background: var(--glass); color: var(--paper); }
.voice-orb { background: var(--glass); color: var(--paper); box-shadow: none; }
.wave i { background: var(--glass); }
.voice-route { border-color: var(--line); }
.speech { background: var(--glass); }
.speech-paper { background: var(--glass); border-color: var(--line); box-shadow: none; }
.speech-glyph { color: var(--paper); }
.speech-glyph span { color: var(--paper); }
.signal i { background: var(--glass); }
.paper-bottom { border-color: var(--line); color: var(--paper); }
.round-icon { border-color: var(--line); }
.presence { background: var(--glass); }
.presence-window { background: var(--glass); color: var(--paper); box-shadow: none; border: 1px solid var(--line); }
.presence-window .window-bar { border-color: var(--line); }
.face-scan { background: var(--glass); border-color: var(--line); }
.head-shape, .shoulder-shape { background: var(--glass); }
.face-scan i { background: var(--glass); box-shadow: none; }
.verified { color: var(--paper); }
.fake-line { background: var(--glass); }
.present-pill { background: var(--glass); color: var(--paper); }
.void { background: var(--glass); }
.terminal-phone { background: var(--glass); border-color: var(--line); color: var(--paper); box-shadow: none; }
.phone-bottom { background: var(--glass); }
.analytics { background: var(--glass); }
.chart-card { background: var(--glass); border-color: var(--line); box-shadow: none; }
.bar-chart { border-color: var(--line); background: var(--glass); }
.bar-chart i { background: var(--glass); }
.bar-chart i:nth-child(3n) { background: var(--glass); }
.more-work a { border-color: var(--line); }
.about-note { background: var(--glass); border: 1px solid var(--line); box-shadow: none; }
.note-star { color: var(--paper); }
.about-note li::before { color: var(--paper); }
.note-footer { border-color: var(--line); font-family: var(--font); font-style: normal; color: var(--paper); }
.achievement-row span { color: var(--paper); }
.workspace-teaser { background: var(--glass); border: 1px solid var(--line); }
.mini-desktop { background: var(--glass); border-color: var(--line); box-shadow: none; }
.mini-desktop-bar { background: var(--glass); color: var(--paper); border-bottom: 1px solid var(--line); }
.desktop-folders span { color: var(--paper); }
.mini-dock { background: var(--glass); border-color: var(--line); backdrop-filter: none; }
.contact-section { isolation: isolate; }
.contact-section h2 { font-weight: 600; }
.contact-section h2 em { color: var(--paper); }
.contact-star { color: var(--paper); }
.email-link { border-color: var(--line); }
.copy-button:hover { background: var(--glass); }
footer .wordmark { color: var(--paper); }
.skip-link { background: var(--glass); color: var(--paper); }
.case-study>.project-visual { border: 1px solid var(--line); }
.case-study>h1 { font-weight: 600; }
.case-content aside h2 { color: var(--paper); }
dialog { background: var(--glass); border-color: var(--line); color: var(--paper); box-shadow: none; }
dialog::backdrop { background: var(--glass); }
.workspace-titlebar { background: var(--glass); }
.workspace-titlebar button { background: var(--glass); color: var(--paper); }
.workspace-layout nav { background: var(--glass); }
.workspace-layout nav button[aria-pressed=true] { background: var(--glass); color: var(--paper); }
.workspace-layout nav button:hover { background: var(--glass); }
.terminal-form input { border-color: var(--line); color: var(--paper); }
.terminal-form button { background: var(--glass); color: var(--paper); }
.terminal-output { color: var(--paper); }
/* White inner dot and a softly diffused blue ring, based on cursor.png. */
html.custom-cursor, html.custom-cursor *, html.custom-cursor dialog::backdrop { cursor: none !important; }
#cursor-halo, #cursor-dot {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 10000;
  opacity: 0;
  transition: opacity .12s;
  will-change: transform;
}
#cursor-halo {
  width: 50px;
  height: 50px;
  border: 1px solid var(--sky);
  box-shadow: 0 0 7px rgb(5 147 198 / .85), 0 0 18px 3px rgb(5 147 198 / .48), 0 0 34px 7px rgb(5 147 198 / .22), inset 0 0 12px rgb(5 147 198 / .28);
}
#cursor-dot {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 0 6px 1px rgb(252 255 255 / .95), 0 0 17px 5px rgb(252 255 255 / .58), 0 0 32px 9px rgb(252 255 255 / .28);
}
@media(min-width:1500px) { .hero h1 { font-size: clamp(104px, 6.8vw, 120px); } }
@media(max-width:1000px) { .hero-copy { width: 100%; } .hero h1 { font-size: clamp(64px, 9vw, 88px); } .hero-description { max-width: 450px; } }
@media(max-width:740px) {
  .site-header { height: 88px; }
  .hero { padding-top: 42px; }
  body::after {
    background:
      linear-gradient(180deg, rgb(7 18 28 / .8), rgb(7 18 28 / .56) 60%, rgb(7 18 28 / .42)),
      radial-gradient(ellipse 65% 38% at 70% 58%, rgb(253 146 124 / .28) 0%, rgb(253 146 124 / .12) 25%, transparent 82%),
      radial-gradient(ellipse 85% 48% at 95% 78%, rgb(216 57 149 / .34), transparent 85%),
      radial-gradient(ellipse 100% 60% at 0% 20%, rgb(5 147 198 / .28), transparent 90%),
      var(--bg);
  }
  .hero h1 { font-size: clamp(44px, 11.3vw, 76px); line-height: 1.06; margin: 22px 0; }
  .hero h1 em { letter-spacing: inherit; }
  .hero-description { max-width: 400px; font-size: 14px; }
  .hero .button { min-width: 205px; margin-right: 17px; }
  .hero .text-link { margin-top: 20px; }
  .hero-bottom { margin-top: 44px; }
  .work-section { padding-top: 67px; }
  .project-card.featured { border: 0; background: var(--glass); }
  .featured .project-art-link { border: 1px solid var(--line); }
  .about-main h2 { font-size: 34px; }
  .contact-section h2 { font-size: 48px; }
  .contact-star { font-size: 52px; }
}

/* Keep the complete introduction visible on shorter desktop screens. */
@media (min-width: 741px) and (max-height: 760px) {
  .site-header { height: 92px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(64px, 6.7vw, 94px); margin: 18px 0 22px; }
  .hero-bottom { margin-top: 34px; }
}

/* Personal photography: a main portrait and a dedicated football story. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 29%; grid-template-areas: 'copy portrait' 'actions portrait' 'bottom bottom'; column-gap: 50px; align-items: center; }
.hero-copy { grid-area: copy; }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 24px; align-self: start; }
.hero .hero-actions .button { margin: 0; }
.hero h1 { font-size: clamp(62px, 6.1vw, 88px); }
.hero-bottom { grid-area: bottom; }
.hero-portrait { grid-area: portrait; margin: 0; width: 100%; align-self: center; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); box-shadow: none; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-portrait figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 17px; text-align: center; padding: 0; }
.hero-portrait figcaption span:first-child { font-size: 12px; letter-spacing: 1.8px; color: var(--paper); }
.hero-portrait figcaption span:last-child { font-size: 13.2px; color: var(--muted); text-transform: uppercase; }
.football-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 70px; align-items: center; padding-top: 90px; }
.football-feature figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.football-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.football-feature figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 65px 25px 22px; background: var(--glass); font-size: 14.4px; color: var(--paper); }
.football-story h2 { font-size: clamp(30px, 3.3vw, 43px); line-height: 1.18; margin: 20px 0 25px; }
.football-story h2 em { color: var(--paper); }
.football-story>p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--muted); }
.football-honours { margin: 28px 0; }
.football-honours li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.football-honours li>span { font-size: 12px; color: var(--paper); padding-top: 3px; }
.football-honours strong { font-size: 14px; font-weight: 500; }
.football-honours p { font-size: 14.4px; color: var(--muted); margin-top: 4px; }
.football-story .football-closing { font-size: 14.4px!important; }
.void-showcase {
  margin: 0;
  padding: 48px 24px 28px;
  display: grid;
  justify-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--glass);
}
.app-phone {
  width: min(100%, 310px);
  position: relative;
  padding: 7px;
  border: 2px solid var(--line);
  border-radius: 43px;
  background: var(--glass);
  box-shadow: none;
}
.app-phone::before, .app-phone::after {
  content: '';
  position: absolute;
  width: 3px;
  background: var(--glass);
  border-radius: 0 3px 3px 0;
  right: -5px;
}
.app-phone::before { top: 100px; height: 55px; }
.app-phone::after { top: 180px; height: 30px; }
.app-phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.phone-camera {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--glass);
  border: 2px solid var(--line);
  box-shadow: none;
}
.void-showcase figcaption { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--paper); text-align: center; }
@media (max-width: 740px) { .void-showcase { padding: 28px 20px 22px; border-radius: 22px; } }
/* Comfortable touch targets without changing the desktop composition. */
@media (pointer: coarse) {
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .filters button, .copy-button, .workspace-layout nav button, .terminal-form button { min-height: 44px; }
  .workspace-titlebar button { width: 44px; height: 44px; }
  .social-links a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (min-width: 741px) and (max-height: 760px) { .hero h1 { font-size: clamp(62px, 5.8vw, 82px); } }
@media (max-width: 1100px) {
  .hero { column-gap: 30px; grid-template-columns: minmax(0, 1fr) 28%; }
  .hero h1 { font-size: clamp(52px, 6.6vw, 72px); }
  .portrait-frame { border-radius: 28px; }
  .football-feature { gap: 38px; }
}
@media (max-width: 740px) {
  .site-header { height: 72px; }
  .site-header nav a { padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: 'copy' 'portrait' 'actions' 'bottom'; gap: 0; padding-top: 14px; min-height: calc(100svh - 72px); align-content: start; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); margin: 12px 0 14px; }
  .hero .eyebrow { letter-spacing: .8px; }
  .hero-intro { font-size: 18px; margin-bottom: 6px; }
  .hero-portrait { width: 100%; max-width: none; margin: 18px 0 0; }
  .portrait-frame { aspect-ratio: auto; height: clamp(250px, 44svh, 460px); border-radius: 22px; }
  .portrait-frame img { object-position: 50% 42%; }
  .hero-portrait figcaption { text-align: center; padding: 0; margin-top: 8px; gap: 2px; }
  .hero-portrait figcaption span:last-child { font-size: 12px; white-space: nowrap; }
  .hero-actions { width: 100%; margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero .hero-actions .button { width: 100%; min-width: 0; min-height: 52px; padding: 15px 22px; gap: 12px; font-size: 13px; letter-spacing: .5px; }
  .hero-bottom { margin-top: 24px; flex-wrap: wrap; gap: 10px 18px; }
  .football-feature { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
  .football-feature figure { width: min(100%, 430px); justify-self: center; }
  .football-story h2 { font-size: 34px; }
}

.hero h1 .hero-accent { color: var(--pink); }

/* Readable body copy on desktop and mobile; secondary text stays at least 12px. */
body,
.hero-description,
.project-info p,
.about-main p:not(.eyebrow),
.toolbox p:not(.eyebrow),
.timeline p,
.achievement-row p,
.workspace-teaser p:not(.eyebrow),
.contact-section > p:not(.eyebrow):not(.copy-status),
.case-content aside > p:not(.eyebrow):not(.illustration-note),
.case-content section p,
.workspace-text,
.football-story > p:not(.eyebrow),
.football-honours p { font-size: 16px; }
.football-story .football-closing { font-size: 16px !important; }
@media (max-width: 740px) {
  .hero-description { font-size: 15px; line-height: 1.6; }
}

/* One reusable touch glow follows the finger and fades after release. */
.touch-glow {
  position: fixed;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  background: radial-gradient(circle, var(--paper) 0 3px, rgb(252 255 255 / .5) 5px, rgb(5 147 198 / .3) 13px, transparent 27px);
  box-shadow: 0 0 16px rgb(5 147 198 / .28);
}
.touch-glow::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgb(5 147 198 / .85); border-radius: inherit; }

/* Keep the Whisper illustration centered, with room for its caption. */
.project-visual.speech {
  height: auto;
  min-height: 370px;
  padding: 24px 24px 56px;
}
.speech .speech-paper {
  width: min(100%, 400px);
  max-width: 400px;
  padding: 20px;
  transform: none;
}
.speech-glyph { line-height: 1.15; margin-top: 12px; }
.speech .signal { height: 74px; }
.speech .signal i { flex: 1 1 3px; max-width: 3px; min-width: 0; }
.speech .round-icon { flex-shrink: 0; }
.speech .art-caption { left: 16px; right: 16px; text-align: center; }
.project-card:hover .speech .speech-paper { transform: translateY(-4px); }
.case-study > .project-visual.speech { min-height: 440px; }
@media (max-width: 740px) {
  .project-visual.speech { padding-inline: 18px; }
  .speech .speech-paper { padding: 16px; }
  .speech .mono { letter-spacing: 0; }
  .case-study > .project-visual.speech { min-height: 370px; }
}

/* A shared glass treatment keeps every section in the same visual family. */
.site-header nav, .about-note, .workspace-teaser, .mini-dock {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.site-header nav a.active, .site-header nav a:hover {
  background: rgb(252 255 255 / .13);
  box-shadow: inset 0 0 0 1px var(--line);
}
.primary { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.primary:hover { background: var(--pink); color: var(--paper); border-color: var(--pink); box-shadow: 0 8px 32px rgb(216 57 149 / .25); }
.hero .primary + .primary { background: var(--glass); color: var(--paper); border-color: rgb(252 255 255 / .48); }
.hero .primary + .primary:hover { background: rgb(252 255 255 / .14); border-color: var(--paper); }
.wordmark span, .period, .hello-mark, .note-star, .contact-star,
.achievement-row span { color: var(--pink); }
.status-dot { background: var(--pink); box-shadow: 0 0 16px rgb(216 57 149 / .6); }
.filters button[aria-pressed=true], .workspace-layout nav button[aria-pressed=true] {
  background: rgb(216 57 149 / .24); border-color: var(--pink); color: var(--paper);
}
.filters button:hover, .copy-button:hover, .workspace-layout nav button:hover { background: rgb(252 255 255 / .12); }
.project-card.featured { background: var(--surface); }
.voice, .speech, .presence, .void, .analytics, .mini-desktop, .void-showcase {
  background:
    radial-gradient(ellipse at 90% 95%, rgb(216 57 149 / .2), transparent 68%),
    radial-gradient(ellipse at 10% 10%, rgb(5 147 198 / .3), transparent 75%),
    var(--deep);
}
.voice-window, .speech-paper, .presence-window, .chart-card, .terminal-phone, .app-phone {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 18px 45px rgb(3 44 72 / .28);
}
.project-visual::before { background: none; }
.voice-orb { background: var(--sky); box-shadow: 0 0 32px rgb(5 147 198 / .35); }
.wave i, .bar-chart i { background: var(--sky); }
.signal i, .bar-chart i:nth-child(3n) { background: var(--pink); }
.head-shape, .shoulder-shape { background: var(--sky); }
.face-scan i { background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.fake-line, .phone-bottom { background: rgb(252 255 255 / .35); }
.live-dot, .present-pill { background: rgb(5 147 198 / .23); }
.portrait-frame { border-color: rgb(252 255 255 / .28); box-shadow: 0 24px 70px rgb(3 44 72 / .35); }
.football-feature figcaption { background: linear-gradient(transparent, rgb(3 44 72 / .9)); }
dialog { background: var(--deep); border-color: var(--line); box-shadow: 0 30px 100px rgb(3 44 72 / .55); }
dialog::backdrop { background: rgb(3 44 72 / .65); backdrop-filter: blur(10px); }
.terminal-form button, .skip-link { background: var(--pink); color: var(--paper); }
::selection { background: var(--pink); color: var(--paper); }
@media (max-width: 740px) { .project-card.featured { background: transparent; } }

/* Two text styles throughout: lowercase copy and uppercase labels / controls. */
body { text-transform: lowercase; }
button, .button, .eyebrow, .hero-bottom, .timeline-date, .timeline-type,
.tags, .mono, .art-caption, .void-showcase figcaption,
.hero-portrait figcaption span:first-child { text-transform: uppercase; }
