@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #f5f5f7;
  --bg2: #ffffff;
  --bg3: #ececf0;
  --paper: #f5f5f7;
  --white: #ffffff;
  --dark: #080b11;
  --surface: #f5f5f7;
  --surface-hover: #ececf0;
  --border: rgba(8, 11, 17, 0.14);
  --border-hover: #0066cc;
  --primary: #0066cc;
  --primary-glow: rgba(0, 102, 204, 0.28);
  --accent: #0066cc;
  --accent2: #ffffff;
  --amber: #d97706;
  --text: #16191f;
  --text-muted: #515762;
  --text-dim: #6d737d;
  --max-w: 1120px;
  --radius: 0.4rem;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --grid-line: rgba(255, 255, 255, 0.08);
  --transition: 180ms ease;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }

header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: 60px;
  display: flex;
  align-items: center;
  background: rgba(8, 11, 17, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(14px);
}
nav {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { min-height: 44px; flex: 0 1 auto; display: inline-flex; align-items: center; font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
nav ul { display: flex; align-items: center; gap: 0.15rem; }
nav ul a {
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  display: inline-flex;
  align-items: center;
  color: #b8bdc7;
  font-size: 0.88rem;
  font-weight: 500;
}
nav ul a:hover, nav ul a.active { color: var(--white); }
nav ul a.active { box-shadow: inset 0 -2px var(--primary); }

.hero, .surface-dark, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--dark);
  color: var(--white);
}
.hero::before, .surface-dark.blueprint::before, .page-hero.blueprint::before, .research-feature.surface-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero {
  min-height: min(840px, calc(100vh - 60px));
  padding: 7rem 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('images/thorangla.jpg') center / cover no-repeat;
  filter: brightness(0.16) grayscale(0.5);
}
.hero-traj { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-traj .traj-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  filter: drop-shadow(0 0 6px var(--primary-glow));
  animation: trajDraw 3.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
.hero-traj .traj-ref { fill: none; stroke: var(--grid-line); stroke-width: 1; stroke-dasharray: 4 6; }
.hero-traj .waypt { fill: var(--dark); stroke: var(--primary); stroke-width: 1.5; opacity: 0; animation: wayptIn 0.5s ease forwards; }
.hero-content { position: relative; z-index: 1; width: min(100%, 840px); margin: 0 auto; }
.hero-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(217, 119, 6, 0.55);
  border-radius: var(--radius);
  color: #f4ad47;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 1.25rem; font-size: clamp(3rem, 8vw, 6.25rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.98; }
.hero h1 .grad { color: var(--white); }
.hero-subtitle { max-width: 650px; margin: 0 auto 2.5rem; color: #c2c7d0; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
.hero-scroll { position: absolute; bottom: 1.5rem; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: #858b96; font-family: var(--mono); font-size: 0.68rem; transform: translateX(-50%); animation: float 3s ease-in-out infinite; }
.hero-scroll-arrow { width: 1px; height: 28px; background: var(--primary); opacity: 0.7; }

.btn {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #0055ad; transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.hero .btn-outline, .surface-dark .btn-outline, .page-hero .btn-outline { border-color: #5ca5ee; color: #8fc3f7; }
.hero .btn-outline:hover, .surface-dark .btn-outline:hover, .page-hero .btn-outline:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.surface-light { background: var(--white); color: var(--text); }
.surface-paper { background: var(--paper); color: var(--text); }
.surface-dark { background-color: var(--dark); color: var(--white); }
.section, .section-inner { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 5.5rem 2rem; position: relative; }
.section-inner { z-index: 1; }
.page-hero { padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); }
.page-hero .section-desc { color: #b8bdc7; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-tag::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; }
.section-title { max-width: 820px; margin-bottom: 1.1rem; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.section-desc { max-width: 680px; margin-bottom: 3.5rem; color: var(--text-muted); font-size: 1.08rem; }
.divider { width: min(calc(100% - 4rem), var(--max-w)); height: 1px; margin: 0 auto; border: 0; background: var(--border); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-item { min-width: 0; padding: 2.25rem 1.5rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: 0; }
.stat-num { color: var(--text); font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 600; letter-spacing: -0.04em; }
.stat-label { margin-top: 0.3rem; color: var(--text-dim); font-family: var(--mono); font-size: 0.67rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.about-photo { overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.badge, .skill-pill, .proj-tag {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.badge.highlight { border-color: rgba(0, 102, 204, 0.35); color: var(--primary); }
.about-text p { margin-bottom: 1rem; color: var(--text-muted); }

.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.feat-card { position: relative; min-width: 0; padding: 2rem 1.5rem 0; display: flex; flex-direction: column; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feat-card:nth-child(3n) { border-right: 0; }
.feat-card .card-badge { position: absolute; top: 2.75rem; right: 2.25rem; z-index: 2; padding: 0.28rem 0.55rem; border-radius: var(--radius); background: rgba(8, 11, 17, 0.9); color: var(--white); font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.feat-img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg3); border-radius: calc(var(--radius) / 2); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.feat-card:hover .feat-img img { transform: scale(1.025); }
.feat-body { padding: 1.5rem 0 2rem; flex: 1; display: flex; flex-direction: column; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.8rem; }
.feat-tag { color: var(--primary); font-family: var(--mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.feat-body h3 { margin-bottom: 0.65rem; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.feat-body p { flex: 1; color: var(--text-muted); font-size: 0.9rem; }
.feat-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.feat-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--primary); font-size: 0.82rem; font-weight: 600; }
.feat-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.skill-cat { min-width: 0; padding: 1.75rem 1.5rem 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.skill-cat:nth-child(3n) { border-right: 0; }
.skill-cat-icon { margin-bottom: 0.7rem; font-size: 1.35rem; }
.skill-cat h3 { margin-bottom: 0.8rem; color: var(--text); font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.skill-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.timeline { position: relative; max-width: 800px; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; top: 0.45rem; bottom: 0; left: 0; width: 1px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 0; padding: 0 0 2.5rem 0.5rem; border-bottom: 1px solid var(--border); }
.tl-item + .tl-item { padding-top: 2.5rem; }
.tl-dot { position: absolute; top: 0.35rem; left: -2.38rem; width: 10px; height: 10px; border: 2px solid var(--paper); border-radius: 50%; background: var(--primary); }
.tl-item + .tl-item .tl-dot { top: 2.85rem; }
.tl-date { margin-bottom: 0.35rem; color: var(--primary); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; }
.tl-title { margin-bottom: 0.25rem; font-size: 1.05rem; font-weight: 600; }
.tl-sub { margin-bottom: 0.55rem; color: var(--text-muted); font-size: 0.88rem; }
.tl-desc { color: var(--text-dim); font-size: 0.9rem; line-height: 1.65; }

.portfolio-grid { display: grid; gap: 0; }
.proj-group-tag { display: flex; align-items: center; gap: 0.8rem; margin: 4rem 0 1.25rem; color: var(--text-muted); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; }
.proj-group-tag:first-child { margin-top: 0; }
.proj-group-tag .idx { color: var(--primary); font-weight: 600; }
.proj-group-tag::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.proj-card, .proj-card.featured-proj { min-width: 0; display: grid; grid-template-columns: minmax(240px, 36%) minmax(0, 1fr); border-top: 1px solid var(--border); }
.proj-card:last-child { border-bottom: 1px solid var(--border); }
.proj-images { min-width: 0; overflow: hidden; margin: 2rem 0; background: var(--bg3); border-radius: calc(var(--radius) / 2); }
.proj-images img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform 350ms ease; }
.project-placeholder { min-height: 220px; display: grid; place-items: center; color: var(--text-dim); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.proj-card:hover .proj-images img { transform: scale(1.025); }
.proj-body { min-width: 0; padding: 2rem clamp(1.5rem, 5vw, 4rem); display: flex; flex-direction: column; }
.proj-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }
.proj-badge { padding: 0; color: var(--primary); font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.proj-year { color: var(--text-dim); font-family: var(--mono); font-size: 0.68rem; }
.proj-body h2 { margin-bottom: 0.65rem; font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; }
.proj-body p { flex: 1; margin-bottom: 1.1rem; color: var(--text-muted); font-size: 0.92rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.proj-links { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: auto; }
.proj-link { min-height: 44px; padding: 0.5rem 0.8rem; display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid var(--primary); border-radius: var(--radius); color: var(--primary); font-size: 0.78rem; font-weight: 600; }
.proj-link:hover { background: var(--primary); color: var(--white); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-info h2 { margin-bottom: 0.75rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.contact-info > p { margin-bottom: 2rem; color: var(--text-muted); }
.contact-items { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.contact-item { min-width: 0; padding: 1rem 0; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--border); }
.contact-item-icon { width: 36px; height: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-item-text { min-width: 0; }
.contact-item-text span { display: block; margin-bottom: 0.1rem; color: var(--text-dim); font-family: var(--mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-item-text a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; color: var(--text); font-size: 0.9rem; font-weight: 500; }
.contact-item-text a[href]:hover { color: var(--primary); }
.contact-social { margin-top: 2.5rem; }
.contact-social h3 { margin-bottom: 0.8rem; color: var(--text-dim); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-btn { min-height: 44px; padding: 0.55rem 0.8rem; display: inline-flex; align-items: center; gap: 0.45rem; border-bottom: 1px solid var(--border); color: var(--text-muted); font-family: var(--mono); font-size: 0.72rem; font-weight: 500; }
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.social-btn svg, .social-btn img { width: 17px; height: 17px; fill: currentColor; }

.research-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; padding-block: clamp(4rem, 9vw, 8rem); }
.research-feature.reverse { grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); }
.research-feature.reverse .research-media { order: 2; }
.research-feature.reverse .research-copy { order: 1; }
.research-media { min-width: 0; overflow: hidden; border-radius: var(--radius); }
.research-media img { width: 100%; }
.research-copy { min-width: 0; padding: clamp(1.5rem, 4vw, 4rem); }
.research-copy > * + * { margin-top: 1rem; }
.cta-band { padding: clamp(3.5rem, 8vw, 6rem) 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-block: 1px solid var(--border); }
.cta-band > * { max-width: 680px; }
.editorial-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.editorial-grid > * { grid-column: span 4; min-width: 0; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.detail-list, .interest-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.detail-list > *, .interest-list > * { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.detail-list dt { color: var(--text-dim); font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; }
.detail-list dd { margin-top: 0.25rem; }
.interest-list > * { display: grid; grid-template-columns: minmax(120px, 0.35fr) 1fr; gap: 1.5rem; }

footer { padding: 2.5rem 2rem; border-top: 1px solid var(--border); background: var(--white); color: var(--text-dim); text-align: center; font-size: 0.8rem; }
footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--primary); }
footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.2); } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trajDraw { to { stroke-dashoffset: 0; } }
@keyframes wayptIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-traj .traj-path { stroke-dashoffset: 0; }
  .hero-traj .waypt { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

@media(max-width:900px) {
  .featured-grid, .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-card:nth-child(3n), .skill-cat:nth-child(3n) { border-right: 1px solid var(--border); }
  .feat-card:nth-child(2n), .skill-cat:nth-child(2n) { border-right: 0; }
  .research-feature, .research-feature.reverse { grid-template-columns: 1fr; }
  .research-feature.reverse .research-media, .research-feature.reverse .research-copy { order: initial; }
  .editorial-grid > * { grid-column: span 6; }
  .proj-card, .proj-card.featured-proj { grid-template-columns: minmax(200px, 34%) minmax(0, 1fr); }
}

@media(max-width:720px) {
  .about-grid, .contact-grid, .proj-card, .proj-card.featured-proj { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .proj-images { margin: 1.5rem 0 0; }
  .proj-body { padding-inline: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media(max-width:640px) {
  header { min-height: 56px; }
  nav { padding: 0 0.65rem; gap: 0.25rem; }
  .nav-logo { max-width: 92px; overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; }
  nav ul { flex: 1 1 auto; justify-content: flex-end; }
  nav ul a { min-height: 44px; padding: 0.55rem 0.42rem; font-size: 0.73rem; }
  .hero { min-height: calc(100svh - 56px); padding: 5rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .hero-badge { font-size: 0.61rem; }
  .section, .section-inner { padding: 4rem 1.25rem; }
  .divider { width: calc(100% - 2.5rem); }
  .featured-grid, .skills-grid { grid-template-columns: 1fr; }
  .feat-card, .feat-card:nth-child(2n), .feat-card:nth-child(3n), .skill-cat, .skill-cat:nth-child(2n), .skill-cat:nth-child(3n) { border-right: 0; }
  .feat-card { padding-inline: 0; }
  .feat-card .card-badge { right: 0.75rem; }
  .timeline { padding-left: 1.5rem; }
  .tl-dot { left: -1.88rem; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid > * { grid-column: 1; }
  .interest-list > * { grid-template-columns: 1fr; gap: 0.35rem; }
  .cta-band { padding-inline: 1.25rem; }
  footer { padding-inline: 1.25rem; }
}

@media(max-width:380px) {
  nav { padding-inline: 0.35rem; }
  .nav-logo { max-width: 72px; font-size: 0.74rem; }
  nav ul a { padding-inline: 0.32rem; font-size: 0.68rem; }
}
