/* =====================================================================
   style.css — ธีมมืดโทนน้ำเงิน/ม่วง/ฟ้า สำหรับ Portfolio
   โครงสร้าง: tokens → base → layout → nav → buttons → hero → stats →
              sections → about → skills → projects → timeline → contact →
              footer → animation → print
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0b1020;
  --bg-2: #0f1730;
  --surface: #121a33;
  --surface-2: #182245;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.32);
  --text: #e6eaf2;
  --text-2: #aab4c8;
  --text-3: #7c879f;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 16px;
  --container: 1120px;
  --shadow: 0 12px 40px rgba(2, 6, 23, 0.45);
  --header-h: 68px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 3rem); } }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; background: var(--cyan); color: #06121a; padding: .5rem 1rem; border-radius: 8px; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(40% 30% at 50% 100%, rgba(34, 211, 238, 0.06), transparent 60%);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 16, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); position: relative; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06121a; font: 700 14px var(--mono);
}
.nav-menu { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; gap: .15rem; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: 8px;
  color: var(--text-2); font-weight: 500; font-size: .95rem;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  font: 600 .78rem var(--mono); letter-spacing: .1em;
  padding: .45rem .75rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 10px;
    background: transparent; border: 1px solid var(--border); cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: .5rem;
    padding: 1rem; background: var(--bg-2); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-actions { justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--border); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s, color .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--cyan), #38bdf8); color: #06121a; box-shadow: 0 6px 20px rgba(34, 211, 238, 0.22); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(34, 211, 238, 0.35); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border-strong); display: grid; place-items: center;
  color: var(--text-2); transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--cyan); border-color: var(--cyan); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 3.5rem; } }
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); margin-top: 1rem; letter-spacing: -0.02em; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-headline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 500; margin-top: .75rem; }
.hero-tagline { font-size: 1.05rem; color: var(--text-2); margin-top: 1rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.hero-social { display: flex; gap: .5rem; }
.open-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem;
  font-size: .85rem; color: var(--green);
  background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3);
  padding: .35rem .85rem; border-radius: 999px;
}
.open-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05); } }

.hero-card {
  position: relative; padding: 1.75rem; border-radius: 24px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(139, 92, 246, 0.45) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-card-top { display: flex; align-items: center; gap: 1.1rem; }
.avatar {
  width: 108px; height: 108px; border-radius: 26px; flex: none; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06121a; font: 700 1.8rem var(--mono);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.18);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-card-name { font-weight: 700; font-size: 1.15rem; }
.hero-card-sub { color: var(--text-2); font-size: .88rem; margin-top: .15rem; }
.facts { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: .9rem; }
.fact { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; }
.fact svg { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; }
.fact-label { display: block; font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.fact-value { display: block; font-size: .92rem; color: var(--text); margin-top: .1rem; }

/* ---------- Stats ---------- */
.stats { padding: 0 0 1rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-2); padding: 1.25rem; }
.stat-value { font: 700 1.9rem var(--mono); letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.stat-label { font-size: .84rem; color: var(--text-2); margin-top: .4rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: .75rem; }
.section-head .note { color: var(--text-2); margin-top: .75rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.about-text { color: var(--text-2); font-size: 1.05rem; }
.about-text p + p { margin-top: 1rem; }
.strengths { display: grid; gap: 1rem; }
.strength {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.strength-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.strength-icon svg { width: 22px; height: 22px; }
.strength h3 { font-size: 1.05rem; }
.strength p { color: var(--text-2); font-size: .92rem; margin-top: .35rem; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.skill-group {
  display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.skill-group h3 { font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: .82rem; padding: .28rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text);
}
.proof { margin-top: auto; padding-top: .25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-3); }
.proof a {
  font: 500 .74rem var(--mono); color: var(--cyan);
  padding: .12rem .5rem; border: 1px dashed rgba(34, 211, 238, 0.45); border-radius: 6px;
}
.proof a:hover { background: rgba(34, 211, 238, 0.1); text-decoration: none; }

/* ---------- Projects ---------- */
.projects-list { display: grid; gap: 2rem; }
.project {
  display: grid; overflow: hidden; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .project { grid-template-columns: 330px 1fr; } }
.project.featured { border-color: rgba(139, 92, 246, 0.55); }

.project-cover {
  position: relative; min-height: 220px; padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-start;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(139, 92, 246, 0.35), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .project-cover { border-bottom: 0; border-right: 1px solid var(--border); } }
.project-cover[data-tone="dome"] {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(52, 211, 153, 0.2), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(34, 211, 238, 0.3), transparent 60%),
    var(--bg-2);
}
.project-cover[data-tone="ttba"] {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(251, 191, 36, 0.16), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(52, 211, 153, 0.3), transparent 60%),
    var(--bg-2);
}
.project-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-inner { width: 100%; }
@media (min-width: 900px) { .cover-inner { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.cover-kicker { font: 500 .7rem var(--mono); letter-spacing: .18em; color: var(--text-2); }
.cover-title { font: 700 clamp(1.5rem, 2.6vw, 1.9rem) var(--font); letter-spacing: -0.02em; line-height: 1.15; margin-top: .6rem; }
.cover-metrics { display: grid; gap: .5rem; margin-top: 1.5rem; }
@media (min-width: 480px) and (max-width: 899px) { .cover-metrics { grid-template-columns: repeat(3, 1fr); } }
.metric {
  padding: .55rem .8rem; border-radius: 10px;
  background: rgba(11, 16, 32, 0.6); border: 1px solid var(--border);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.metric-value { font: 600 1rem var(--mono); color: var(--cyan); }
.metric-label { font-size: .74rem; color: var(--text-2); }
.featured-tag {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  font: 600 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase;
  background: var(--violet); color: #fff; padding: .3rem .6rem; border-radius: 999px;
}

.project-body { padding: 1.5rem; min-width: 0; }
@media (min-width: 768px) { .project-body { padding: 2rem; } }
.badge {
  display: inline-block; font: 500 .7rem var(--mono); letter-spacing: .08em;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08);
  padding: .25rem .6rem; border-radius: 999px;
}
.project h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: .85rem; }
.project-subtitle { color: var(--text-2); font-weight: 500; margin-top: .3rem; }
.project-summary { color: var(--text-2); margin-top: 1rem; }

.project-grid { display: grid; gap: .85rem; margin-top: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.project-grid > div { padding: .9rem 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.project-grid dt { font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.project-grid dd { margin-top: .4rem; font-size: .93rem; color: var(--text); overflow-wrap: anywhere; }
.project-grid .proof-cell dd { font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: var(--green); }
.project-grid .tech-cell .chips { margin-top: .5rem; }
.project-grid .tech-cell .chip { font-family: var(--mono); font-size: .72rem; padding: .2rem .55rem; }

details.project-more { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
details.project-more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem;
  color: var(--cyan); font-weight: 600; font-size: .95rem;
}
details.project-more summary::-webkit-details-marker { display: none; }
details.project-more summary::after { content: "+"; font-family: var(--mono); font-size: 1.1rem; line-height: 1; }
details.project-more[open] summary::after { content: "−"; }
details.project-more .less-label { display: none; }
details.project-more[open] .more-label { display: none; }
details.project-more[open] .less-label { display: inline; }
.highlights { margin-top: 1rem; display: grid; gap: .65rem; }
.highlights li { position: relative; padding-left: 1.35rem; color: var(--text-2); font-size: .93rem; }
.highlights li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.private-note { font-size: .82rem; color: var(--text-3); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.75rem; padding-left: 2rem; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--cyan), var(--violet)); opacity: .5;
}
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: calc(-2rem + 2px); top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--cyan);
}
.tl-item[data-type="education"]::before { border-color: var(--violet); }
.tl-period { font: 500 .76rem var(--mono); letter-spacing: .08em; color: var(--text-3); }
.tl-item h3 { font-size: 1.1rem; margin-top: .25rem; }
.tl-org { color: var(--text-2); font-size: .92rem; margin-top: .2rem; }
.tl-item ul { margin-top: .55rem; display: grid; gap: .3rem; }
.tl-item li { position: relative; padding-left: 1rem; color: var(--text-2); font-size: .9rem; }
.tl-item li::before { content: "–"; position: absolute; left: 0; color: var(--text-3); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; gap: 2rem; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 24px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.contact-card h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: .75rem; }
.contact-card .lead { color: var(--text-2); margin-top: 1rem; max-width: 50ch; }
.contact-cv { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.contact-list { display: grid; gap: .75rem; align-content: start; }
.contact-item {
  display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem .3rem 0;
  border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, 0.03);
  transition: border-color .15s;
}
.contact-item:hover { border-color: var(--cyan); }
.ci-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: .9rem; padding: .6rem .8rem; color: var(--text); }
.ci-main:hover { text-decoration: none; }
.ci-main svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.ci-label { display: block; font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ci-value { display: block; overflow-wrap: anywhere; }
.copy-btn {
  flex: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text-2);
  display: grid; place-items: center; font: 600 .7rem var(--mono);
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.done { color: var(--green); border-color: var(--green); width: auto; padding: 0 .6rem; }
.contact-empty { font-size: .85rem; color: var(--text-3); border: 1px dashed var(--border-strong); padding: 1rem; border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; font-size: .85rem; color: var(--text-3); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--text-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .open-pill::before { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- Print (หน้า index เมื่อสั่งพิมพ์ — CV ฉบับเต็มอยู่ที่ cv.html) ---------- */
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; }
  .bg-glow, .site-header, .hero-actions, .open-pill, .project-links, .contact-cv, .site-footer, .copy-btn { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section, .project, .skill-group, .strength, .hero-card, .contact-card, .stat, .metric, .project-grid > div { background: #fff !important; color: #111 !important; box-shadow: none !important; border-color: #ccc !important; }
  .stat-value, .project-grid dd, .fact-value, .ci-main, .about-text, .highlights li, .tl-org, .tl-item li, .project-summary, .project-subtitle, .strength p, .stat-label, .metric-label, .cover-kicker { color: #111 !important; }
  .hero h1 .accent { color: #111; background: none; -webkit-text-fill-color: initial; }
  .project { break-inside: avoid; }
  .project-cover { background: #f3f4f6 !important; }
}
