/* Tandis 24 Design Lab: shared styles for every page */
:root {
  --ink: #e8edf8;
  --soft: #c3cde3;
  --muted: #93a2c2;
  --line: rgba(130, 165, 255, 0.2);
  --gold: #dcb86e;
  --gold-soft: rgba(220, 184, 110, 0.55);
  --blue: #6ea8ff;
  --violet: #a68bff;
  --brand: linear-gradient(120deg, #6aa6ff 0%, #8f8bff 48%, #b88cff 100%);
  --card: rgba(20, 30, 70, 0.62);
  --card-2: rgba(28, 40, 90, 0.5);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- background, the same on every page ---------- */
html { background: #0c1434; }
body.t24 {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.7;
  background:
    radial-gradient(1100px 700px at 8% -10%, rgba(80, 130, 255, 0.28), transparent 60%),
    radial-gradient(900px 640px at 100% 8%, rgba(150, 100, 255, 0.24), transparent 60%),
    radial-gradient(900px 700px at 85% 95%, rgba(40, 190, 200, 0.12), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(255, 170, 90, 0.10), transparent 60%),
    linear-gradient(165deg, #121d4c 0%, #172259 38%, #131c4a 70%, #0e1638 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body.t24::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 175, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 175, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}
body.t24 *, body.t24 *::before, body.t24 *::after { box-sizing: border-box; }
.t24-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: #fff; color: #0c1434; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.t24-skip:focus { left: 12px; }

/* ---------- banner ---------- */
.t24-head {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13, 20, 52, 0.94), rgba(15, 24, 62, 0.88));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(2, 6, 24, 0.45);
}
.t24-head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, #f3d99a 50%, var(--gold) 80%, transparent);
  opacity: 0.85;
}
.t24-brand {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 32px 6px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
/* 143px, the size of the logos on the old site; in a narrower window they shrink a little so the title keeps its room */
.t24-logo { display: block; width: clamp(104px, 11.2vw, 143px); height: clamp(104px, 11.2vw, 143px); border-radius: 50%; }
.t24-logo img {
  width: 100%; height: 100%; display: block; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(220, 184, 110, 0.35), 0 0 28px rgba(90, 140, 255, 0.45), 0 0 60px rgba(150, 110, 255, 0.18);
  transition: transform 0.4s ease;
}
a.t24-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.t24-titles { text-align: center; }
.t24-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 1rem + 1.7vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9db6ff;
  filter: drop-shadow(0 2px 18px rgba(110, 140, 255, 0.25));
}
.t24-tagline {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-style: italic;
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.12rem);
  color: #b7c3e0;
}
.t24-tagline::before, .t24-tagline::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.t24-tagline::after { background: linear-gradient(90deg, var(--gold), transparent); }

.t24-nav { border-top: 1px solid rgba(130, 165, 255, 0.14); margin-top: 16px; }
.t24-nav ul { list-style: none; margin: 0 auto; padding: 0 16px; max-width: 1400px; display: flex; flex-wrap: wrap; justify-content: center; }
.t24-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px 15px;
  color: #c9d3ea;
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.t24-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #6aa6ff, #b88cff);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.t24-nav a:hover { color: #fff; }
.t24-nav a:hover::after, .t24-nav a[aria-current="page"]::after { width: calc(100% - 20px); }
.t24-nav a[aria-current="page"] { color: #fff; }
.t24-nav a svg { width: 12px; height: 12px; opacity: 0.6; }
.t24-nav a:focus-visible, .t24 a:focus-visible, .t24 button:focus-visible { outline: 2px solid #9fc0ff; outline-offset: 3px; border-radius: 6px; }
.t24-menu { display: none; }

/* ---------- page body ---------- */
.t24-main { max-width: 1200px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 32px); }
.t24-card {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 44, 98, 0.62), rgba(18, 28, 68, 0.66));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4.5vw, 60px);
  box-shadow: 0 30px 90px rgba(3, 7, 26, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.t24-card + .t24-card { margin-top: clamp(24px, 4vw, 44px); }
.t24-h2 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem);
  line-height: 1.15;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9db6ff;
}
.t24-h2.sub { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-top: clamp(36px, 5vw, 56px); }
.t24-prose { max-width: 74ch; margin: 0 auto; }
.t24-prose p { margin: 0 0 1.35em; font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.14rem); line-height: 1.85; color: var(--soft); }
.t24-prose p:last-child { margin-bottom: 0; }
.t24 strong { color: #93bbff; font-weight: 600; }
.t24-prose a { color: #a9c6ff; }

/* ---------- living images ---------- */
.t24-scene {
  position: relative;
  margin: 0 auto clamp(30px, 4vw, 46px);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #0b1230;
  box-shadow: 0 34px 90px rgba(2, 6, 24, 0.6), 0 0 0 1px rgba(150, 185, 255, 0.22), 0 0 60px rgba(110, 120, 255, 0.16);
}
.t24-scene-in { position: absolute; inset: 0; }
.t24-scene img, .t24-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t24-scene img { object-fit: cover; }
.t24-scene canvas { pointer-events: none; mix-blend-mode: screen; }
.t24-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -80px 120px -60px rgba(5, 9, 30, 0.55);
}

/* ---------- services (Our Mission) ---------- */
.t24-services { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 16px; }
.t24-services li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(40, 56, 120, 0.42), rgba(26, 38, 88, 0.36));
  border: 1px solid rgba(130, 165, 255, 0.16);
}
.t24-services .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(106, 166, 255, 0.22), rgba(184, 140, 255, 0.22));
  border: 1px solid rgba(160, 190, 255, 0.28);
}
.t24-services .ico svg { width: 26px; height: 26px; color: #cfe0ff; }
.t24-services strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.16rem; color: #e9efff; margin-bottom: 4px; }
.t24-services p { margin: 0; color: var(--soft); font-size: 1.04rem; line-height: 1.7; }
.t24-note {
  max-width: 980px;
  margin: clamp(26px, 4vw, 36px) auto 0;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(220, 184, 110, 0.12), rgba(110, 140, 255, 0.1));
  border: 1px solid rgba(220, 184, 110, 0.32);
}
.t24-note p { margin: 0; color: #dbe3f6; font-size: 1.04rem; line-height: 1.8; }
.t24-note p + p { margin-top: 0.8em; }

/* ---------- contact ---------- */
.t24-mail { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.t24-mail a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, rgba(106, 166, 255, 0.28), rgba(184, 140, 255, 0.28));
  border: 1px solid rgba(170, 195, 255, 0.4);
  box-shadow: 0 10px 30px rgba(60, 90, 220, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t24-mail a:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(60, 90, 220, 0.35); }
.t24-mail a svg { width: 22px; height: 22px; }
.t24-mail button {
  font: inherit; font-size: 0.95rem; color: #cfd9f2; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; background: transparent; border: 1px solid rgba(170, 195, 255, 0.3);
}
.t24-mail button:hover { color: #fff; border-color: rgba(200, 215, 255, 0.6); }

/* ---------- Bricks: coming soon ---------- */
.t24-soon { text-align: center; max-width: 760px; margin: 0 auto; }
.t24-soon .rocket { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 34px; background: rgba(110, 140, 255, 0.14); border: 1px solid rgba(160, 190, 255, 0.3); margin-bottom: 18px; }
.t24-soon h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.2; background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #9db6ff; }
.t24-soon p { margin: 0; color: var(--soft); font-size: 1.12rem; }

/* ---------- footer ---------- */
.t24-foot { margin-top: clamp(40px, 6vw, 72px); padding: 56px 0 26px; background: #070C1E; border-top: 1px solid var(--line); color: var(--muted); position: relative; font-family: var(--body); text-align: left; }
.t24-foot::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(520px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.t24-foot-in, .t24-foot-fine { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.t24-foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.t24 .t24-foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.t24-foot-brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(220, 184, 110, 0.35); }
.t24-foot-brand b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; color: #eef2ff; }
.t24-foot-brand small { display: block; margin-top: 4px; font-size: 13px; font-style: italic; color: var(--muted); }
.t24-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.t24-foot-h { margin: 0 0 14px; font-family: var(--display); font-size: 14.5px; font-weight: 700; color: #eef2ff; }
.t24-foot-h2 { margin-top: 26px; }
.t24-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t24-foot li { margin: 0; padding: 0; }
.t24 .t24-foot a:not(.t24-foot-brand) { color: #c3cde3; text-decoration: none; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.t24 .t24-foot a:not(.t24-foot-brand):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.t24 .t24-prof-links a { display: inline-flex; align-items: center; gap: 9px; }
.t24-prof-links svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
/* each profile icon in the colour of its service: Google Scholar blue, YouTube red */
.t24-prof-links a[data-prof="scholar"] svg { color: #4285F4; }
.t24-prof-links a[data-prof="youtube"] svg { color: #FF0000; }
.t24-foot-fine { margin-top: 48px; }
.t24-foot-fine p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: #7f8db0; }
@media (max-width: 860px) {
  .t24-foot-in { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 520px) {
  .t24-foot-in, .t24-foot-fine { padding: 0 18px; }
  .t24-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .t24-foot-cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- justified text, lines aligned on both sides ---------- */
.t24-prose p, .t24-services p, .t24-note p, .stop-card > p:not(.stop-when):not(.stop-org), .proj-line, .t24-glance dd {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .t24-brand { grid-template-columns: auto 1fr auto; gap: 14px; padding: 14px 16px 12px; }
  .t24-logo { width: 64px; height: 64px; }
  .t24-logo.right { display: none; }
  .t24-titles { text-align: left; }
  .t24-tagline { font-size: 0.9rem; gap: 0; }
  .t24-tagline::before, .t24-tagline::after { display: none; }
  .t24-menu {
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-size: 0.95rem; font-weight: 500; color: #e3e9f8;
    padding: 10px 14px; border-radius: 12px; cursor: pointer;
    background: rgba(110, 140, 255, 0.14); border: 1px solid rgba(160, 190, 255, 0.3);
  }
  .t24-menu svg { width: 18px; height: 18px; }
  .t24-nav { margin-top: 0; display: none; background: #121b46; }
  .t24-head.menu-open .t24-nav { display: block; }
  .t24-nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .t24-nav a { display: flex; padding: 13px 14px; border-radius: 10px; }
  .t24-nav a::after { display: none; }
  .t24-nav a[aria-current="page"] { background: rgba(110, 140, 255, 0.18); }
  .t24-head { position: sticky; }
  .t24-services li { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .t24-scene { border-radius: 14px; }
}
@media (max-width: 860px) {
  .t24-tagline { line-height: 1.4; }
}
@media (max-width: 520px) {
  .t24-brand { gap: 12px; }
  .t24-logo { width: 54px; height: 54px; }
  .t24-title { font-size: 1.12rem; }
  .t24-tagline { font-size: 0.8rem; margin-top: 4px; }
  .t24-menu { padding: 10px; }
  .t24-menu .t24-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .t24-brand, .t24-logo, .t24-tagline, .t24-nav, .t24-logo img, .t24-mail a { transition: none; }
}

/* ---------- About Me ---------- */
.t24-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.t24-about .t24-prose { margin: 0; }
.t24-glance {
  margin: 0; padding: 8px 24px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(40, 56, 120, 0.5), rgba(24, 34, 82, 0.45));
  border: 1px solid rgba(220, 184, 110, 0.32);
}
.t24-glance div { padding: 14px 0; border-bottom: 1px solid rgba(140, 170, 255, 0.14); }
.t24-glance div:last-child { border-bottom: 0; }
.t24-glance dt { font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.t24-glance dd { margin: 2px 0 0; color: #eef2fc; font-size: 1.02rem; line-height: 1.5; }
.t24-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.t24-chips span { padding: 6px 12px; border-radius: 999px; font-size: 0.86rem; color: #d6e0f6; background: rgba(110, 140, 255, 0.12); border: 1px solid rgba(150, 180, 255, 0.24); }

/* the route: a road, a car, a signal at every stop */
.t24-route { position: relative; list-style: none; margin: 0 auto; padding: 12px 0 8px 118px; max-width: 980px; }
.t24-route > .route-road {
  position: absolute; left: 30px; top: 0; bottom: 0; width: 56px; border-radius: 28px;
  background: linear-gradient(90deg, #232a48 0%, #313a62 50%, #232a48 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.t24-route > .route-road::before { content: ""; position: absolute; inset: 0 6px; border-left: 2px solid rgba(220, 228, 255, 0.35); border-right: 2px solid rgba(220, 228, 255, 0.35); }
.t24-route > .route-road::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, rgba(255, 214, 120, 0.9) 0 16px, transparent 16px 34px); }
.t24-route > .route-trail {
  position: absolute; left: 30px; top: 0; width: 56px; height: 0; border-radius: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(220, 184, 110, 0.04), rgba(120, 170, 255, 0.22));
  box-shadow: inset 0 0 0 2px rgba(220, 184, 110, 0.45), 0 0 26px rgba(130, 160, 255, 0.35);
}
.t24-route > .route-car { position: absolute; left: 58px; top: 0; width: 36px; height: 66px; z-index: 3; transform: translate(-50%, 18px); will-change: transform; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(120, 160, 255, 0.45)); }
.t24-route > .route-car svg { width: 100%; height: 100%; overflow: visible; }
.t24-route > .route-car::after {
  content: ""; position: absolute; left: 50%; top: 44%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  border: 1.5px dashed rgba(140, 230, 255, 0.75); animation: t24-lidar 2.2s linear infinite; pointer-events: none;
}
@keyframes t24-lidar { from { transform: scale(0.2); opacity: 0.9; } to { transform: scale(1.25); opacity: 0; } }
.route-stop { position: relative; margin: 0 0 34px; }
.route-stop:last-child { margin-bottom: 0; }
.route-x { position: absolute; left: -32px; top: 40px; width: 32px; height: 18px; background: #2a3255; box-shadow: inset 0 1px 0 rgba(220, 228, 255, 0.3), inset 0 -1px 0 rgba(220, 228, 255, 0.3); }
.route-x::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(255, 214, 120, 0.8) 0 6px, transparent 6px 10px); }
.route-signal { position: absolute; left: -26px; top: 6px; width: 12px; height: 30px; padding: 3px 0; border-radius: 4px; background: #0d1328; border: 1px solid rgba(200, 215, 255, 0.25); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.route-signal i { width: 6px; height: 6px; border-radius: 50%; background: #2a3150; transition: background 0.4s, box-shadow 0.4s; }
.route-signal i:first-child { background: #ff4d5e; box-shadow: 0 0 8px #ff4d5e; }
.route-stop.is-on .route-signal i:first-child { background: #3a2230; box-shadow: none; }
.route-stop.is-on .route-signal i:last-child { background: #3dff9a; box-shadow: 0 0 10px #3dff9a; }
.stop-card {
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 2.8vw, 30px); border-radius: 18px;
  background: linear-gradient(180deg, rgba(38, 54, 118, 0.48), rgba(22, 32, 78, 0.42));
  border: 1px solid rgba(130, 165, 255, 0.16);
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}
.route-stop.is-on .stop-card { border-color: rgba(220, 184, 110, 0.45); box-shadow: 0 18px 50px rgba(5, 10, 34, 0.45), 0 0 0 1px rgba(220, 184, 110, 0.12); }
.stop-when { margin: 0; font-size: 0.86rem; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.stop-card h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1.25; color: #f0f4ff; }
.stop-org { margin: 4px 0 0; color: #a9b8da; font-size: 1rem; }
.stop-card > p:not(.stop-when):not(.stop-org) { margin: 12px 0 0; color: var(--soft); font-size: 1.04rem; line-height: 1.75; }
.t24-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 22px; }
.t24 .proj { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 14px; text-decoration: none; background: rgba(12, 18, 46, 0.55); border: 1px solid rgba(140, 170, 255, 0.16); transition: border-color 0.25s, transform 0.25s; }
.t24 .proj:hover { border-color: rgba(170, 195, 255, 0.45); transform: translateY(-2px); }
.proj-img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0c1330; }
.proj-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.proj-img.contain img { object-fit: contain; padding: 8px; }
.proj-name { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 700; color: #eef2ff; font-size: 1.04rem; }
.proj-name svg { width: 11px; height: 11px; opacity: 0.6; }
.proj-line { color: #b4c1de; font-size: 0.9rem; line-height: 1.55; }
.t24-ai { margin-top: 22px; }
@media (max-width: 860px) {
  .t24-about { grid-template-columns: 1fr; }
  .t24-route { padding-left: 84px; }
  .t24-route > .route-road, .t24-route > .route-trail { left: 14px; width: 44px; }
  .t24-route > .route-car { left: 36px; width: 30px; height: 55px; }
  .route-x { left: -26px; width: 26px; }
  .route-signal { left: -22px; }
}
@media (prefers-reduced-motion: reduce) { .t24-route > .route-car::after { animation: none; display: none; } }

/* ---------- Current Projects: a light panel with white cards ---------- */
.t24-card.t24-light { background: #F3F5FA; border-color: rgba(14, 22, 48, 0.08); box-shadow: 0 30px 90px rgba(3, 7, 26, 0.45); -webkit-backdrop-filter: none; backdrop-filter: none; }
.t24-h2.dark { background: none; -webkit-text-fill-color: #0E1630; color: #0E1630; text-align: left; }
.t24-card.t24-light { padding: clamp(24px, 3.4vw, 44px); }
.pcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .pcards { grid-template-columns: 1fr; } }
.t24 .pcard { display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 16px; background: #fff; border: 1px solid rgba(14, 22, 48, 0.08); box-shadow: 0 10px 30px rgba(14, 22, 48, 0.07); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.t24 .pcard:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 22, 48, 0.13); }
.pcard-img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #18244A, #0A1124 75%); }
.pcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard.contain .pcard-img img { object-fit: contain; padding: 7%; }
.pcard-kind { margin-top: 16px; font-size: 0.86rem; font-weight: 600; color: #8A6A2A; }
.pcard-name { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1.32rem; line-height: 1.2; color: #0E1630; }
.pcard-name svg { display: inline-block; width: 11px; height: 11px; margin-left: 6px; vertical-align: 2px; color: #0E1630; }
.pcard-line { margin-top: 10px; font-size: 0.96rem; line-height: 1.6; color: #46516E; text-align: left; }
