*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ============ THEMES ============ */
:root {
  /* SYSTEM (dark) */
  --bg: #0A0C10;
  --bg-rgb: 10,12,16;
  --bg2: #10141B;
  --bg3: #161B24;
  --line: rgba(233,230,223,0.08);
  --line2: rgba(233,230,223,0.16);
  --text: #E9E6DF;
  --mid: #A7ABB3;
  --muted: #757B85;
  --red: #E2573F;
  --red-soft: rgba(226,87,63,0.14);
  --red-border: rgba(226,87,63,0.3);
  --node: 233,230,223;
  --node-red: 226,87,63;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
[data-theme="light"] {
  /* PAPER (light, editorial) */
  --bg: #F9F7F4;
  --bg-rgb: 249,247,244;
  --bg2: #F2EEEA;
  --bg3: #E9E4DD;
  --line: rgba(26,26,24,0.1);
  --line2: rgba(26,26,24,0.2);
  --text: #1A1A18;
  --mid: #5A5855;
  --muted: #8F8B85;
  --red: #C0392B;
  --red-soft: rgba(192,57,43,0.08);
  --red-border: rgba(192,57,43,0.28);
  --node: 26,26,24;
  --node-red: 192,57,43;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.7; overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
::selection { background: var(--red); color: #fff; }

/* ============ SCROLL PROGRESS ============ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 101;
  background: linear-gradient(90deg, var(--red), #F0A26E);
  transition: width 0.1s linear;
}

/* ============ NAV ============ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.05rem 5rem;
  background: rgba(var(--bg-rgb), 0.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--text); text-decoration: none; }
.nav-name span { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 1.3rem; }
.nav-links { display: flex; gap: 1.7rem; list-style: none; align-items: center; }
.nav-links a {
  position: relative; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color 0.2s; padding-bottom: 0.2rem;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.theme-toggle {
  background: none; border: 1px solid var(--line2); color: var(--text); cursor: pointer;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 3s ease-in-out infinite; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line2); color: var(--text); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 0.9rem; cursor: pointer; border-radius: 999px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============ HERO ============ */
#hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem 5rem 5.5rem; overflow: hidden;
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 28% 42%, rgba(var(--bg-rgb),0.86) 0%, rgba(var(--bg-rgb),0.4) 55%, rgba(var(--bg-rgb),0) 100%),
    linear-gradient(to bottom, rgba(var(--bg-rgb),0.3), rgba(var(--bg-rgb),0) 30%, rgba(var(--bg-rgb),0) 70%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.14s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.34s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.42s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.5s; }
.hero-inner > *:nth-child(7) { animation-delay: 0.6s; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 0.7rem;
}
.hero-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--red); display: inline-block; }
.hero-name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero-name em { font-style: italic; font-weight: 400; color: var(--red); }
.hero-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--mid); margin-bottom: 2rem; line-height: 1.5; max-width: 620px; }
.hero-bio { font-size: 0.95rem; color: var(--mid); line-height: 1.85; margin-bottom: 1.15rem; max-width: 680px; }
.hero-bio strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 2.4rem 0 3.2rem; }
.btn-p {
  display: inline-block; padding: 0.88rem 2.1rem; background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; transition: filter 0.2s, transform 0.2s;
}
.btn-p:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-p:active { transform: scale(0.96); }
.btn-s {
  display: inline-block; padding: 0.88rem 2.1rem; border: 1px solid var(--line2); color: var(--text);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-s:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-s:active { transform: scale(0.96); }
.hero-stats { display: flex; gap: 2.6rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; max-width: 740px; }
.stat-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--text); display: block; line-height: 1.1; }
.stat-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 5rem; z-index: 2;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.hero-scroll::after { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--red), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============ TICKER ============ */
.ticker-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.ticker { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding: 1.05rem 0; white-space: nowrap; }
.ticker span::after { content: '·'; color: var(--red); margin: 0 1.8rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SHARED ============ */
.lbl {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem;
}
.lbl::before { content: ''; width: 22px; height: 1px; background: var(--red); transition: width 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s; }
.fi:not(.vis) .lbl::before { width: 0; }
.ttl { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.15; letter-spacing: -0.01em; }
section { padding: 6rem 5rem; }
.pco { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ============ 100 AI EXPERIMENTS ============ */
#experiments { overflow: hidden; padding-bottom: 5rem; }
.exp-hdr { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.6rem; }
.exp-hdr p.exp-sub { font-size: 0.95rem; color: var(--mid); line-height: 1.8; margin-top: 0.9rem; max-width: 640px; }
.exp-counter { text-align: right; }
.exp-counter-num { font-family: var(--serif); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--text); }
.exp-counter-num span { color: var(--red); }
.exp-counter-lbl { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.exp-progress { height: 3px; background: var(--line); border-radius: 999px; margin-bottom: 2.4rem; overflow: hidden; }
.exp-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #F0A26E); border-radius: 999px; transition: width 1.4s cubic-bezier(0.22,1,0.36,1); }

/* Featured showcase — text left (top-anchored), media right; CTA + dashes pinned bottom */
.exp-feature {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 2.2rem; align-items: stretch;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: 2.4rem; margin-bottom: 3rem;
}
.exp-feature-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ef-foot { margin-top: auto; padding-top: 1.4rem; }
.exp-feature-txt .ef-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red-border); border-radius: 999px; padding: 0.3rem 0.85rem; margin-bottom: 1.1rem;
}
.exp-feature-txt .ef-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s ease-in-out infinite; }
.exp-feature-txt h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exp-feature-txt p { font-size: 0.94rem; color: var(--mid); line-height: 1.78; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.exp-feature-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.exp-feature-tags .exp-tag { border-color: var(--line2); color: var(--mid); }
.exp-feature-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 0.8rem 1.7rem; border-radius: 999px; border: none; cursor: pointer; transition: filter 0.2s, transform 0.2s; }
.exp-feature-cta:hover { filter: brightness(1.12); transform: translateY(-2px); }
.exp-feature-cta:active { transform: scale(0.96); }
.ef-dashes { display: flex; gap: 0.45rem; margin-top: 1.4rem; }
.ef-dash { width: 26px; height: 4px; border-radius: 999px; background: var(--line2); border: none; cursor: pointer; padding: 0; transition: background 0.25s, width 0.25s; }
.ef-dash:hover { background: var(--muted); }
.ef-dash.active { background: var(--red); width: 40px; }
/* Media fills its column height — no aspect-ratio at desktop, so it can't overflow the grid */
.exp-feature-media {
  position: relative; min-height: 340px; height: 100%; min-width: 0;
  border-radius: 1rem; overflow: hidden;
  background: var(--bg3); border: 1px solid var(--line); cursor: pointer;
}
.exp-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease; }
.exp-feature-media:hover img { transform: scale(1.04); }
.exp-feature-media .ef-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(6,8,11,0.4), rgba(6,8,11,0.05));
}
.exp-feature-media .ef-play span {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(226,87,63,0.92);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 30px rgba(226,87,63,0.5); transition: transform 0.2s;
}
.exp-feature-media:hover .ef-play span { transform: scale(1.08); }
.exp-feature-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.exp-feature-media.playing { cursor: default; }
.ef-ctas { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.exp-feature-cta.alt { background: none; border: 1px solid var(--line2); color: var(--text); }
.exp-feature-cta.alt:hover { border-color: var(--red); color: var(--red); filter: none; }
.exp-feature-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(226,87,63,0.18), transparent 60%), var(--bg3);
}
.exp-feature-ph span { font-family: var(--serif); font-style: italic; font-size: 3rem; color: rgba(var(--node),0.14); }

.exp-rail { margin-bottom: 2.2rem; }
.exp-rail-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.exp-rail-title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); display: flex; align-items: center; gap: 0.6rem; }
.exp-rail-title::before { content: ''; width: 18px; height: 1px; background: var(--red); }
.exp-nav { display: flex; gap: 0.5rem; }
.exp-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: none;
  color: var(--text); cursor: pointer; font-size: 1rem; transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.exp-btn:hover { border-color: var(--red); color: var(--red); }
.exp-btn:active { transform: scale(0.9); }
.exp-track {
  display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.9rem 8px; margin: -0.4rem -8px;
  -webkit-overflow-scrolling: touch;
}
.exp-card {
  flex: 0 0 360px; scroll-snap-align: start;
  position: relative; aspect-ratio: 16/9; border-radius: 0.9rem; overflow: hidden;
  background: var(--bg3); border: 1px solid var(--line);
  color: #fff; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.3s;
}
.exp-card:hover, .exp-card:focus-visible { transform: scale(1.035); border-color: var(--red); box-shadow: 0 18px 46px rgba(0,0,0,0.45); z-index: 2; outline: none; }
.exp-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.exp-thumb-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(226,87,63,0.22), transparent 60%), #14181F;
}
.exp-thumb-ph span { font-family: var(--serif); font-style: italic; font-size: 3.2rem; color: rgba(255,255,255,0.16); }
.exp-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,8,11,0.94) 0%, rgba(6,8,11,0.55) 34%, rgba(6,8,11,0) 62%);
  transition: background 0.3s;
}
.exp-card:hover .exp-shade { background: linear-gradient(to top, rgba(6,8,11,0.97) 0%, rgba(6,8,11,0.8) 55%, rgba(6,8,11,0.25) 100%); }
.exp-num {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em;
  background: rgba(6,8,11,0.72); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 0.28rem 0.7rem; border-radius: 999px;
}
.exp-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem 1.15rem; z-index: 2; }
.exp-info h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-details { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s; }
.exp-card:hover .exp-details, .exp-card:focus-visible .exp-details { max-height: 150px; opacity: 1; margin-top: 0.5rem; }
.exp-details p {
  font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.exp-tagline {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-top: 0.55rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.exp-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.2rem 0.6rem; border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.8); border-radius: 999px; }
.exp-more { text-align: center; margin-top: 1rem; }
.exp-more a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); text-decoration: none; border-bottom: 1px solid var(--line2); padding-bottom: 0.25rem; transition: color 0.2s, border-color 0.2s; }
.exp-more a:hover { color: var(--red); border-color: var(--red); }

/* Experiment modal */
#exp-modal {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(5,6,9,0.9); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 2rem;
}
#exp-modal.open { display: flex; }
.exp-modal-box {
  position: relative;
  width: min(1200px, 95vw); height: 88vh; max-height: 88vh; display: flex; flex-direction: row;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: 1.25rem; overflow: hidden;
  animation: lb-in 0.25s ease;
}
.exp-modal-info {
  flex: 0 0 32%; max-width: 380px; min-width: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  padding: 2.2rem 1.7rem; border-right: 1px solid var(--line); overflow-y: auto;
}
.exp-modal-info-top { display: flex; flex-direction: column; }
.exp-modal-info .exp-m-num {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--red);
  border: 1px solid var(--red-border); padding: 0.25rem 0.7rem; border-radius: 999px;
  white-space: nowrap; align-self: flex-start; margin-bottom: 1.1rem;
}
.exp-modal-info h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25; margin-bottom: 1.1rem; }
.exp-modal-info #exp-m-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.78; margin-bottom: 1.3rem; }
.exp-modal-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.exp-modal-tags span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.2rem 0.65rem; border: 1px solid var(--line2); color: var(--muted); border-radius: 999px; }
.exp-modal-open {
  align-self: flex-start; flex-shrink: 0;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); text-decoration: none; border: 1px solid var(--line2); border-radius: 999px;
  padding: 0.55rem 1.1rem; white-space: nowrap; transition: border-color 0.2s, color 0.2s;
}
.exp-modal-open:hover { border-color: var(--red); color: var(--red); }
.exp-modal-close {
  position: absolute; top: 0.8rem; right: 0.9rem; z-index: 5;
  background: rgba(10,12,16,0.55); border: 1px solid var(--line2); color: #fff;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.exp-modal-close:hover { color: var(--red); border-color: var(--red); transform: rotate(90deg); }
.exp-modal-body { position: relative; flex: 1 1 auto; min-width: 0; background: #0B0D12; overflow: auto; }
.exp-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; background: #0B0D12; }
.exp-modal-body video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; display: block; background: #000; }
.exp-modal-body img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; display: block; background: #0B0D12;  }

.exp-carwrap { position: relative; width: 100%; height: 100%; }
.exp-carousel { position: relative; display: flex; gap: 0.75rem; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 4%; scroll-behavior: smooth; align-items: center; padding: 0 4%; scrollbar-width: thin; }
.exp-carousel::-webkit-scrollbar { height: 6px; }
.exp-carousel::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 999px; }
.exp-carousel img { flex: 0 0 64%; scroll-snap-align: start; width: 64%; max-height: 94%; height: auto; min-width: 0; object-fit: contain; display: block; }
.exp-car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(10,12,16,0.65); color: var(--bg); font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.exp-car-btn:hover { color: var(--red); border-color: var(--red); background: rgba(10,12,16,0.9); }
.exp-car-btn.prev { left: 0.8rem; }
.exp-car-btn.next { right: 0.8rem; }
.exp-car-count { position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%); z-index: 4; font-family: var(--mono); font-size: 1rem; letter-spacing: 0.08em; color: var(--bg); background: rgba(10,12,16,0.65); border: 1px solid var(--line2); border-radius: 999px; padding: 0.3rem 0.8rem; }
/* ============ WORK — compact index ============ */
#work { padding-bottom: 5rem; padding-top: 0; }
.work-intro { margin-bottom: 2.4rem; }
.work-intro p { font-size: 0.95rem; color: var(--mid); line-height: 1.8; margin-top: 0.9rem; max-width: 740px; }
.windex { border-top: 1px solid var(--line2); }
.wrow {
  display: grid; grid-template-columns: 240px 190px 1fr auto; gap: 2.2rem; align-items: center;
  grid-template-areas: "thumb meta main arrow";
  padding: 1rem 0.6rem; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background 0.2s;
}
.wrow:hover { background: var(--bg2); }
.wrow-thumb { grid-area: thumb; width: 100%; max-width: 240px; aspect-ratio: 16/9; overflow: hidden; border-radius: 0.8rem; border: 1px solid var(--line); background: var(--bg3); }
.wrow-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s ease; }
.wrow:hover .wrow-thumb img { transform: scale(1.06); }
.wrow-meta { grid-area: meta; }
.wrow-meta .pco { margin-bottom: 0.4rem; font-size: 0.74rem; }
.wrow-meta .wtags { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.wrow-main { grid-area: main; }
.wrow-main h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.35rem; }
.wrow-main p { font-size: 0.92rem; color: var(--mid); line-height: 1.65; max-width: 580px; }
.wrow-arrow { grid-area: arrow; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.wrow-arrow::after { content: ' →'; display: inline-block; transition: transform 0.2s; }
.wrow:hover .wrow-arrow::after { transform: translateX(4px); }

/* ============ SUNSTICE ============ */
#sunstice { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-hdr { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; align-items: start; }
.cs-hdr > div > p:not(.lbl) { font-size: 0.95rem; color: var(--mid); line-height: 1.8; margin-top: 0.85rem; max-width: 500px; }
.cs-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.cs-table td { padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--text); }
.cs-table td:first-child { font-family: var(--mono); color: var(--muted); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; width: 130px; }

/* Modules — thumbnail rail LEFT, featured panel RIGHT, equal heights */
.mod-viewer { display: grid; grid-template-columns: 220px minmax(0, 800px); gap: 1.4rem; margin-bottom: 4.5rem; align-items: stretch; }
.mod-viewer > * { min-width: 0; }
.mod-side { display: flex; flex-direction: column; gap: 0.8rem; height: 560px; }
.mod-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1rem; overflow-y: auto; overflow-x: hidden; padding-right: 0.3rem; scroll-behavior: smooth; }
.mod-list-nav { display: flex; gap: 0.5rem; justify-content: center; flex-shrink: 0; }
.mod-list-nav .exp-btn { width: 36px; height: 36px; transform: rotate(90deg); }
.mod-list-nav .exp-btn:active { transform: rotate(90deg) scale(0.9); }
.mod-thumb {
  display: block; width: 100%;
  background: none; border: none; cursor: pointer; text-align: left; padding: 0; flex-shrink: 0;
  font-family: var(--sans); color: var(--mid); transition: color 0.2s;
}
.mod-thumb-img {
  display: block; width: 100%; aspect-ratio: 16/10; border-radius: 0.7rem; overflow: hidden;
  border: 2px solid var(--line); background: var(--bg3);
  transition: border-color 0.22s, transform 0.22s;
}
.mod-thumb-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.mod-thumb:hover .mod-thumb-img { border-color: var(--line2); transform: translateY(-2px); }
.mod-thumb.active { color: var(--text); }
.mod-thumb.active .mod-thumb-img { border-color: var(--red); }
.mod-thumb-name { display: flex; gap: 0.45rem; align-items: baseline; padding: 0.5rem 0.15rem 0; }
.mod-thumb-name .n { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); flex-shrink: 0; }
.mod-thumb.active .mod-thumb-name .n { color: var(--red); }
.mod-thumb-name .t {
  font-family: var(--serif); font-weight: 600; font-size: 0.92rem; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mod-feature {
  border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg3); display: flex; flex-direction: column; height: 560px;
}
.mod-feature-img { position: relative; flex: 1; min-height: 0; background: var(--bg3); }
.mod-feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; cursor: zoom-in; }
.mod-feature-body { background: var(--bg2); border-top: 1px solid var(--line); padding: 1.4rem 1.8rem 1.6rem; flex-shrink: 0; }
.mod-feature-body .mnum { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.45rem; }
.mod-feature-body h4 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 0.5rem; line-height: 1.15; }
.mod-feature-body p { font-size: 0.93rem; color: var(--mid); line-height: 1.72; max-width: 700px; }
.mod-fade { animation: modfade 0.35s ease; }
@keyframes modfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Deep dive */
.dd-hdr p { font-size: 0.95rem; color: var(--mid); line-height: 1.8; margin-top: 0.7rem; margin-bottom: 2.5rem; max-width: 760px; }
.cs-strip-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 1.3rem; }
.journey-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.4rem; margin-bottom: 1.05rem; }
.journey-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin-top: 1.6rem; }
.j3-lbl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.j3-title { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; margin-bottom: 0.5rem; }
.j3-quote { font-size: 0.84rem; font-style: italic; line-height: 1.6; background: var(--bg3); border-left: 2px solid var(--red); padding: 0.75rem 0.9rem; margin-top: 0.8rem; color: var(--mid); border-radius: 0 0.5rem 0.5rem 0; }
.j3-img { border-radius: 0.7rem; overflow: hidden; border: 1px solid var(--line); background: var(--bg3); aspect-ratio: 16/11; margin-bottom: 0.6rem; }
.j3-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; cursor: zoom-in; transition: transform 0.4s ease; }
.j3-img:hover img { transform: scale(1.03); }
.j3-cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.j3-list { list-style: none; }
.j3-list li { font-size: 0.86rem; color: var(--mid); line-height: 1.6; padding: 0.38rem 0; border-top: 1px solid var(--line); }
.j3-list li:first-child { border-top: none; }
.j3-desc { font-size: 0.86rem; color: var(--mid); line-height: 1.68; }

.artifacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.05rem; margin-bottom: 1.05rem; }
.artifact-img { background: var(--bg3); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4/3; border-radius: 1.25rem; }
.artifact-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.4s ease; }
.artifacts > div:hover .artifact-img img { transform: scale(1.04); }
.artifact-cap { padding: 0.75rem 0.2rem 0; }
.artifact-cap strong { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 0.25rem; }
.artifact-cap p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

.inums { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.05rem; margin: 2.4rem 0; }
.inum { padding: 1.8rem 1.4rem; text-align: center; border-radius: 1.25rem; background: var(--bg); border: 1px solid var(--line); transition: border-color 0.22s, transform 0.22s; }
.inum:hover { border-color: var(--red); transform: translateY(-3px); }
.inum-big { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; color: var(--red); display: block; line-height: 1.1; }
.inum-sm { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.55rem; display: block; line-height: 1.5; }

.rev-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin: 3.5rem 0 1.2rem; flex-wrap: wrap; gap: 1.2rem; }
.rev-hdr h4 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.rbadge { display: flex; align-items: center; gap: 1rem; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 0.7rem 1.3rem; border-radius: 0 1.25rem 1.25rem 0; }
.rbadge-num { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--red); }
.rbadge-stars { color: #F0A500; font-size: 0.95rem; display: block; }
.rbadge-meta { font-size: 0.76rem; color: var(--muted); }
.rgrid { display: flex; gap: 1.05rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.4rem 0; }
.rcard { flex: 0 0 400px; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--line); padding: 1.6rem 1.7rem; border-radius: 1.25rem; display: flex; flex-direction: column; transition: border-color 0.22s; }
.rcard:hover { border-color: var(--line2); }
.rcard blockquote { font-size: 0.87rem; color: var(--mid); line-height: 1.7; font-style: italic; margin-bottom: 0.8rem; flex: 1; }
.rdate { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.07em; color: var(--muted); }

/* ============ CISCO ============ */
.cis-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; }
.cis-txt > p:not(.lbl) { font-size: 0.95rem; color: var(--mid); line-height: 1.82; margin-top: 0.75rem; margin-bottom: 1rem; }
.ch-list { list-style: none; margin: 0.5rem 0 1.25rem; }
.ch-list li { font-size: 0.9rem; padding: 0.68rem 0 0.68rem 1.2rem; border-top: 1px solid var(--line); color: var(--mid); line-height: 1.6; position: relative; }
.ch-list li::before { content: '—'; position: absolute; left: 0; color: var(--red); }
.pmini { margin: 1.6rem 0; }
.pmini-step { display: flex; gap: 1.4rem; padding: 1.05rem 0; border-top: 1px solid var(--line); align-items: flex-start; }
.pmini-lbl { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); min-width: 130px; padding-top: 0.2rem; }
.pmini-txt { font-size: 0.89rem; color: var(--mid); line-height: 1.62; }
.ci-impacts { margin-top: 1.4rem; }
.ci-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); align-items: flex-start; }
.ci-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 0.6rem; }
.ci-txt { font-size: 0.9rem; color: var(--mid); line-height: 1.62; }
.prod-show { display: flex; flex-direction: column; gap: 1.7rem; position: sticky; top: 6rem; }
.prod-item { border-top: 1px solid var(--line2); padding-top: 1.3rem; }
.prod-lbl { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red); margin-bottom: 0.35rem; }
.prod-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; margin-bottom: 0.4rem; }
.prod-desc { font-size: 0.87rem; color: var(--mid); line-height: 1.62; }
.prod-ph { width: 100%; margin-top: 0.85rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 1.25rem; border: 1px solid var(--line); }
.prod-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease; }
.prod-item:hover .prod-ph img { transform: scale(1.03); }

/* ============ PROCESS — accordion ============ */
#process { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 5rem; }
.j-sub { font-size: 0.95rem; color: var(--mid); margin: 0.7rem 0 2.4rem; max-width: 660px; }
.acc { border-top: 1px solid var(--line2); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: 56px 190px 1fr auto; gap: 1.6rem; align-items: center;
  padding: 1.15rem 0.5rem; transition: background 0.2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg3); }
.acc-n { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--red); opacity: 0.55; }
.acc-lbl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); }
.acc-title { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.acc-plus { font-family: var(--mono); color: var(--muted); font-size: 0.95rem; transition: transform 0.25s; padding-right: 0.5rem; }
.acc details[open] .acc-plus { transform: rotate(45deg); color: var(--red); }
.acc details[open] .acc-body { animation: modfade 0.35s ease; }
.acc-body { padding: 0.2rem 0.5rem 1.5rem calc(56px + 190px + 3.2rem + 0.5rem); }
.acc-body ul { list-style: none; max-width: 780px; }
.acc-body li { font-size: 0.89rem; color: var(--mid); line-height: 1.68; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.acc-body li:first-child { border-top: none; }
.acc-body em { color: var(--text); font-style: normal; font-weight: 500; }

/* ============ ABOUT + CAREER ============ */
#about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
#about .ttl { margin-bottom: 1.6rem; }
.about-text p:not(.lbl) { font-size: 0.95rem; color: var(--mid); line-height: 1.83; margin-bottom: 1.25rem; }
.lf { margin-top: 1.6rem; padding: 1.7rem; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 0 1.25rem 1.25rem 0; }
.lf-lbl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.65rem; }
.lf p { font-size: 0.9rem; color: var(--mid); line-height: 1.72; margin-bottom: 0.65rem; }
.lf p:last-child { margin-bottom: 0; }
.career-mini { margin-bottom: 2rem; }
.career-item { border-top: 1px solid var(--line); padding: 0.85rem 0; }
.career-line1 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.career-co { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.career-period { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em; white-space: nowrap; }
.career-role { font-size: 0.86rem; color: var(--mid); margin-top: 0.15rem; }
.sk-cat { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.sk-cat-name { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.sk-tags { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.sk-tag { font-size: 0.78rem; padding: 0.26rem 0.8rem; border: 1px solid var(--line2); color: var(--mid); border-radius: 999px; transition: border-color 0.2s, color 0.2s; }
.sk-tag:hover { border-color: var(--red); color: var(--text); }

/* ============ EDUCATION ============ */
#education { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.edu-row-item { border-top: 1px solid var(--line); padding: 1rem 0; }
.edu-period { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.25rem; }
.edu-title { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; margin-bottom: 0.2rem; }
.edu-sub { font-size: 0.84rem; color: var(--muted); }

/* ============ CONTACT ============ */
#contact { position: relative; text-align: center; padding: 8rem 4rem; overflow: hidden; border-top: 1px solid var(--line); }
#contact::before {
  content: ''; position: absolute; inset: -40% -20%; pointer-events: none;
  background: radial-gradient(ellipse 45% 40% at 50% 60%, var(--red-soft), transparent 70%);
}
#contact > * { position: relative; }
#contact .lbl { justify-content: center; }
#contact .ttl { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 1.2rem; }
#contact .ttl em { font-style: italic; font-weight: 400; color: var(--red); }
.c-sub { font-size: 0.95rem; color: var(--mid); margin: 0 auto 3rem; max-width: 500px; line-height: 1.75; }
.c-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.c-link {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 0.9rem 2.2rem; border: 1px solid var(--line2); border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.c-link:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
footer { background: var(--bg2); color: var(--muted); text-align: center; padding: 1.7rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; border-top: 1px solid var(--line); }

#to-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line2); background: rgba(var(--bg-rgb),0.85); backdrop-filter: blur(8px);
  color: var(--text); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, border-color 0.2s, color 0.2s, transform 0.2s;
}
#to-top.show { opacity: 1; pointer-events: auto; }
#to-top:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

/* ============ FADE-IN ============ */
.fi { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.fi.vis { opacity: 1; transform: none; }

/* ============ LIGHTBOX ============ */
.lightbox-trigger { cursor: zoom-in; }
#lightbox { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(5,6,9,0.94); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 2rem; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 84vw; max-height: 82vh; object-fit: contain; border-radius: 1rem; box-shadow: 0 32px 80px rgba(0,0,0,0.7); animation: lb-in 0.22s ease; }
@keyframes lb-in { from { opacity:0; transform:scale(0.96); } to { opacity:1; transform:scale(1); } }
#lightbox-close { position: fixed; top: 1.5rem; right: 2rem; font-size: 1.5rem; color: rgba(255,255,255,0.7); cursor: pointer; background: none; border: none; line-height: 1; padding: 0.5rem; transition: color 0.2s, transform 0.2s; }
#lightbox-close:hover { color: var(--red); transform: rotate(90deg); }
#lightbox-caption { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); white-space: nowrap; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker { animation: none; flex-wrap: wrap; }
  .hero-scroll::after { animation: none; }
  .hero-inner > * { animation: none; }
  .fi { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  nav { padding: 1rem 2.5rem; }
  section, #hero { padding-left: 2.5rem; padding-right: 2.5rem; }
  .hero-scroll { left: 2.5rem; }
  .cis-grid { gap: 3rem; }
  .acc-body { padding-left: 0.5rem; }
  .wrow {
    grid-template-columns: 210px 1fr auto; gap: 0.4rem 1.6rem;
    grid-template-areas: "thumb meta arrow" "thumb main arrow";
    align-items: start;
  }
  .wrow-thumb { grid-row: span 2; align-self: center; }
  .wrow-meta { align-self: end; }
  .mod-viewer { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(var(--bg-rgb),0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 0.6rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 2.5rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .cis-grid, .cs-hdr, #about { grid-template-columns: 1fr; }
  .inums { grid-template-columns: 1fr 1fr; }
  .inum { padding: 1.3rem 0.9rem; }
  .inum-big { font-size: 1.8rem; }
  .artifacts { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .artifact-cap p { font-size: 0.78rem; }
  .journey-3, .edu-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .prod-show { position: static; }
  section, #hero { padding-left: 1.6rem; padding-right: 1.6rem; }
  .hero-scroll { display: none; }
  .exp-counter { text-align: left; }
  .wrow {
    grid-template-columns: 120px 1fr; gap: 0.35rem 1.1rem;
    grid-template-areas: "thumb meta" "thumb main" "thumb arrow";
    align-items: start; padding: 0.9rem 0.3rem;
  }
  .wrow-thumb { grid-row: span 3; align-self: start; margin-top: 0.2rem; }
  .wrow-meta { align-self: auto; }
  .wrow-meta .wtags { display: none; }
  .wrow-main h3 { font-size: 1.05rem; }
  .wrow-main p { font-size: 0.85rem; }
  .wrow-arrow { font-size: 0.64rem; }
  .mod-viewer { grid-template-columns: 1fr; }
  .mod-side { height: auto; flex-direction: column-reverse; }
  .mod-list { flex: none; flex-direction: row; align-items: flex-start; overflow-x: auto; overflow-y: visible; min-height: 0; height: auto; padding-bottom: 0.3rem; padding-right: 0; }
  .mod-thumb { flex: 0 0 180px; }
  .mod-list-nav { justify-content: flex-end; }
  .mod-list-nav .exp-btn { transform: none; }
  .mod-list-nav .exp-btn:active { transform: scale(0.9); }
  .mod-feature { height: auto; max-width: 100%; }
  .mod-feature-img { flex: none; aspect-ratio: 16/9; position: relative; overflow: hidden; }
  .mod-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .mod-feature-body { padding: 1.4rem 1.4rem; }
  .acc summary { grid-template-columns: 40px 1fr auto; }
  .acc summary .acc-lbl { display: none; }
  .exp-card { flex-basis: 300px; }
  .exp-modal-box { flex-direction: column; height: 90vh; max-height: 90vh; }
  .exp-modal-info { flex: 0 0 auto; max-width: none; min-width: 0; max-height: 42vh; border-right: none; border-bottom: 1px solid var(--line); padding: 1.5rem 1.3rem; }
  .exp-modal-info h3 { font-size: 1.2rem; }
  .exp-modal-body { flex: 1 1 auto; min-height: 0; display: grid; place-items: center;}
  .exp-feature { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.6rem; }
  .exp-feature-media { order: -1; min-height: 0; height: auto; aspect-ratio: 16/10; }
  .rcard { flex-basis: 320px; }
}
@media (max-width: 600px) {
  .journey-3, .edu-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .exp-hdr { flex-direction: column; align-items: flex-start; }
  .exp-card { flex-basis: 270px; }
  .mod-thumb { flex-basis: 150px; }
  .rcard { flex-basis: 280px; }
}
