/* ── RAYCAST TOKENS ─────────────────────────── */
:root {
  --bg:      #0E1218;
  --bg2:     #151922;
  --text:    #F0F1EE;
  --text2:   #A7AFB8;
  --a:       #C4A46A;
  --b:       #6E879F;
  --a-rgb:   196,164,106;
  --b-rgb:   110,135,159;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.11);
  --nav-bg:  rgba(14,18,24,0.86);
  --card:    rgba(255,255,255,0.03);
  --radius:  8px;
  --font:    'Inter', sans-serif;
  --grad:    linear-gradient(135deg, #D6C39B 0%, #9FB0BD 48%, #5F748A 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle background wash */
.orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(120px); opacity: 0.06;
}
.orb-a { width: 600px; height: 600px; background: #C4A46A; top: -200px; right: -100px; }
.orb-b { width: 500px; height: 500px; background: #2F4963; bottom: -150px; left: -100px; }

/* ── NAV ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.nav-logo {
  font-size: 14px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none; letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 450; color: var(--text2);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: rgba(var(--a-rgb),0.09);
  color: var(--a) !important;
  border: 1px solid rgba(var(--a-rgb),0.22);
  padding: 6px 16px; border-radius: 8px;
  font-size: 12px !important; font-weight: 600 !important;
  transition: background 0.2s !important; letter-spacing: 0.01em;
}
.nav-cta:hover { background: rgba(var(--a-rgb),0.18) !important; }

/* ── SHARED ─────────────────────────────────── */
section { padding: 120px 0; position: relative; z-index: 1; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 40px; }

.label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px; display: inline-block;
}
h2.stitle {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: 0; color: var(--text);
  margin-bottom: 14px;
}
.ssub {
  font-size: 17px; color: var(--text2);
  max-width: 500px; line-height: 1.6; margin-bottom: 60px;
}

/* gradient text utility */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.mobile-break { display: none; }

/* ── HERO ───────────────────────────────────── */
#hero {
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 52px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 64px; align-items: center;
  max-width: 1060px; margin: 0 auto; padding: 0 40px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--a-rgb),0.08);
  color: var(--a);
  border: 1px solid rgba(var(--a-rgb),0.18);
  padding: 5px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 24px; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--a); border-radius: 50%;
  box-shadow: 0 0 4px rgba(var(--a-rgb),0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
h1.hero-name {
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: 0; color: var(--text);
  max-width: 680px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.hero-roles {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.role-tag {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 8px; padding: 5px 12px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.role-tag:hover,
.role-tag:focus-visible,
.role-tag:visited {
  text-decoration: none;
}
.hero-desc {
  font-size: 16px; line-height: 1.65; color: var(--text2);
  max-width: 400px; margin-bottom: 36px;
}
.hero-desc-en {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, #8F7140 0%, #A88B56 48%, #41566D 100%);
  color: #FFF8E8;
  padding: 11px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 136px; min-height: 46px; line-height: 1.12;
  box-shadow: 0 4px 18px rgba(99,78,42,0.26);
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  background: var(--card); color: var(--text);
  border: 1px solid var(--border2);
  padding: 11px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 136px; min-height: 46px; line-height: 1.12;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }

/* HERO CARD */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 36px; width: 100%; max-width: 330px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 24px 64px rgba(0,0,0,0.5);
  position: relative; overflow: visible;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.08) 0%, rgba(var(--b-rgb),0.05) 100%);
}
.hero-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(var(--a-rgb),0.3);
  margin-bottom: 18px;
  box-shadow: 0 0 0 4px rgba(var(--a-rgb),0.08);
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 38%; }
.hero-card-name {
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: 0; margin-bottom: 3px;
}
.hero-card-title { font-size: 13px; color: var(--text2); margin-bottom: 22px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
}
.stat-num {
  font-size: 18px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0; line-height: 1.08;
}
.stat-label { font-size: 11px; color: var(--text2); margin-top: 5px; line-height: 1.35; }
.hero-float {
  position: absolute; bottom: -14px; right: -14px;
  background: linear-gradient(135deg, #8F7140 0%, #5B6D7B 100%);
  color: #FFF8E8;
  border-radius: 10px; padding: 10px 16px;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(31,45,60,0.38);
  white-space: nowrap;
}

/* ── DECISION PATHS ─────────────────────────── */
.decision-section { background: var(--bg2); }
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.decision-card {
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.032);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.decision-card:hover {
  border-color: rgba(var(--a-rgb),0.36);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.decision-kicker,
.proof-kicker {
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  color: var(--a);
  margin-bottom: 14px;
}
.decision-card h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.decision-card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text2);
  margin-bottom: 22px;
}
.decision-card span {
  margin-top: auto;
  color: rgba(255,248,232,0.92);
  font-size: 13px;
  font-weight: 760;
}
.proof-strip {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
}
.proof-intro h3 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.proof-list a {
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: rgba(255,255,255,0.028);
  padding: 12px 13px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
  transition: border-color 0.2s, background 0.2s;
}
.proof-list a:hover {
  border-color: rgba(var(--a-rgb),0.32);
  background: rgba(var(--a-rgb),0.07);
}

/* ── ABOUT ──────────────────────────────────── */
#about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photo {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 0 0 4px rgba(var(--a-rgb),0.05);
  position: relative;
  background: var(--bg);
}
.about-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; }
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(13,13,15,0.5));
  pointer-events: none;
}
.about-text p { color: var(--text2); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.about-text p:last-of-type { margin-bottom: 36px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--border2);
  border-radius: 8px; padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.pill:hover,
.pill:focus-visible,
.pill:visited {
  text-decoration: none;
}
.pill:hover { border-color: var(--a); color: var(--text); }

/* ENGLISH PROFILE */
.compact-section { padding: 84px 0; background: var(--bg); }
.english-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}
.english-copy {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  max-width: 660px;
}
.english-copy p + p { margin-top: 16px; }
.english-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.english-tags span {
  border: 1px solid rgba(var(--a-rgb),0.2);
  background: rgba(var(--a-rgb),0.07);
  color: rgba(240,241,238,0.82);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 650;
}

/* ── EXPERIENCE ─────────────────────────────── */
#experience { background: var(--bg); }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--a), var(--b));
  opacity: 0.3;
}
.exp-item { padding-left: 32px; padding-bottom: 52px; position: relative; }
.exp-item::before {
  content: ''; position: absolute; left: -4px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(var(--a-rgb),0.6);
}
.exp-item:last-child { padding-bottom: 0; }
.exp-period {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.exp-title { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 3px; }
.exp-org { font-size: 14px; color: var(--text2); margin-bottom: 10px; }
.exp-desc { font-size: 14px; color: var(--text2); line-height: 1.7; max-width: 580px; }

/* ── SKILLS ─────────────────────────────────── */
#skills { background: var(--bg2); }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.06), rgba(var(--b-rgb),0.04));
  transition: opacity 0.25s;
}
.skill-card:hover { border-color: var(--border2); }
.skill-card:hover::before { opacity: 1; }
.skill-icon { margin-bottom: 12px; }
.skill-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; letter-spacing: 0; }
.skill-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.skill-tag {
  background: rgba(var(--a-rgb),0.08);
  color: var(--a);
  border: 1px solid rgba(var(--a-rgb),0.15);
  border-radius: 6px; padding: 3px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}

/* ── PORTFOLIO ──────────────────────────────── */
#portfolio { background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.port-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.port-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.port-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.port-card-img {
  height: 230px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.port-card-img::before {
  content: '';
  position: absolute; inset: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.08), transparent 56%);
}
.port-card-img::after {
  content: '';
  position: absolute;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  filter: blur(18px);
}
.port-card-img svg {
  width: 108px;
  height: 108px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.36));
}
.port-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.port-card-body { padding: 22px; }
.port-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px; text-transform: uppercase;
}
.port-card-title { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 7px; }
.port-card-title-en {
  font-size: 13px;
  color: rgba(226,232,240,0.74);
  line-height: 1.45;
  margin: -2px 0 10px;
}
.port-card-type {
  width: fit-content;
  border: 1px solid rgba(var(--a-rgb),0.18);
  background: rgba(var(--a-rgb),0.07);
  color: rgba(214,195,155,0.92);
  border-radius: 6px;
  padding: 4px 9px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.port-card-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
.collab-strip {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}
.collab-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--a);
  margin-bottom: 8px;
}
.collab-strip h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0;
}
.collab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.collab-list a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,0.035);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  transition: border-color 0.2s, background 0.2s;
}
.collab-list a:hover {
  border-color: rgba(var(--a-rgb),0.28);
  background: rgba(var(--a-rgb),0.08);
}
/* ── COURSES ────────────────────────────────── */
.courses-section { background: var(--bg); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.course-card {
  min-height: 210px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.028);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.course-card--primary {
  border-color: rgba(var(--a-rgb),0.28);
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.09), rgba(var(--b-rgb),0.045));
}
.course-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--a);
  margin-bottom: 12px;
}
.course-card h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 12px;
}
.course-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text2);
}
.course-note {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(240,241,238,0.88);
}
.course-disclaimer {
  margin-top: 18px;
  border: 1px solid rgba(var(--b-rgb),0.22);
  background: rgba(var(--b-rgb),0.06);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text2);
}
/* ── BLOG ───────────────────────────────────── */
#blog { background: var(--bg2); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.blog-grid--featured { grid-template-columns: minmax(0, 720px); }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  cursor: pointer; transition: border-color 0.25s, background 0.25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.blog-card:hover { border-color: var(--border2); background: rgba(255,255,255,0.05); }
.blog-card--image { padding: 0; overflow: hidden; }
.blog-card--image > picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}
.blog-card--image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 24px; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.blog-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  letter-spacing: 0; line-height: 1.35;
  margin-bottom: 10px; flex: 1;
}
.blog-title-en {
  font-size: 13px;
  color: rgba(226,232,240,0.72);
  line-height: 1.45;
  margin: -4px 0 10px;
}
.blog-excerpt { font-size: 13px; color: var(--text2); line-height: 1.65; }
.blog-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.blog-tags span {
  border: 1px solid rgba(var(--a-rgb),0.16);
  color: var(--text2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
}
.blog-read {
  margin-top: 16px; font-size: 13px; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex; align-items: center; gap: 4px;
}
.essay-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}
.essay-media {
  position: sticky;
  top: 92px;
}
.essay-media picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #111827;
}
.essay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.essay-content {
  max-width: 720px;
}
.essay-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.essay-content h3 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 22px;
}
.essay-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text2);
  margin-bottom: 16px;
}
.essay-content ul {
  margin: 2px 0 22px;
  padding-left: 22px;
  color: var(--text2);
}
.essay-content li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 6px;
}
.essay-inline-image {
  margin: 28px 0 0;
}
.essay-inline-image picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #111827;
}
.essay-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.essay-inline-image figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
}
.article-page {
  padding: 128px 24px 80px;
  background: var(--bg2);
  min-height: 100vh;
}
.article-shell {
  max-width: 780px;
  margin: 0 auto;
  min-width: 0;
}
.article-back {
  display: inline-block;
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 28px;
}
.article-back:hover { color: var(--text); }
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text2);
  font-size: 12px;
}
.article-breadcrumb a {
  color: var(--text2);
  text-decoration: none;
  transition: color 0.18s;
}
.article-breadcrumb a:hover,
.article-breadcrumb a:focus-visible {
  color: var(--text);
}
.article-shell h1 {
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.article-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: 14px;
}
.article-title-en {
  font-size: 18px;
  color: rgba(226,232,240,0.78);
  line-height: 1.55;
  margin: -8px 0 18px;
}
.article-lead-en {
  font-size: 15px;
  color: rgba(226,232,240,0.68);
  border-left: 2px solid rgba(34,211,238,0.28);
  padding-left: 14px;
  margin-bottom: 30px;
}
.answer-summary {
  margin: 28px 0 34px;
  padding: 24px;
  border: 1px solid rgba(var(--a-rgb),0.28);
  border-left: 4px solid var(--a);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.09), rgba(var(--b-rgb),0.05));
}
.answer-summary-label {
  margin: 0 0 8px !important;
  color: var(--a) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-shell .answer-summary h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 3vw, 23px);
}
.article-shell .answer-summary p {
  margin: 0 0 12px;
}
.article-shell .answer-summary p:last-child {
  margin-bottom: 0;
}
.answer-summary-en {
  color: rgba(226,232,240,0.76) !important;
  font-size: 14px !important;
}
.answer-summary-boundary {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text2) !important;
  font-size: 13px !important;
}
.language-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  margin: 8px 0 24px;
}
.language-toggle-btn {
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.language-toggle-btn.is-active {
  background: var(--grad);
  color: #fff;
}
.article-lang-panel { display: none; }
.article-lang-panel.is-active { display: block; }
.article-shell p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text2);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.article-shell ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--text2);
}
.article-shell li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 6px;
}
.article-table-wrap {
  width: 100%;
  margin: 26px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.62);
}
.article-data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
}
.article-data-table th,
.article-data-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-data-table th:last-child,
.article-data-table td:last-child {
  border-right: 0;
}
.article-data-table tbody tr:last-child td {
  border-bottom: 0;
}
.article-data-table thead th {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(var(--a-rgb), 0.13);
}
.article-data-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.025);
}
.article-data-table tbody td:first-child {
  width: 110px;
  color: var(--text);
  font-weight: 750;
  white-space: nowrap;
}
.article-data-table--metrics td:not(:first-child),
.article-data-table--metrics th:not(:first-child) {
  text-align: right;
}
.article-key-finding {
  margin: 24px 0 26px !important;
  padding: 18px 20px;
  border-left: 4px solid var(--a);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.1), rgba(var(--b-rgb),0.05));
  color: var(--text) !important;
}
.article-hero-image,
.article-inline-image {
  margin: 30px 0;
}
.article-hero-image picture,
.article-inline-image picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #111827;
}
.article-hero-image img,
.article-inline-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.article-image--natural picture {
  aspect-ratio: auto;
  background: rgba(17, 24, 39, 0.72);
}
.article-image--natural img {
  height: auto;
  object-fit: contain;
}
.article-inline-image figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
}
.article-hero-image figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 30px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.035);
}
.article-share span {
  color: var(--text2);
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
}
.article-share a,
.article-share button {
  border: 1px solid rgba(var(--a-rgb),0.22);
  border-radius: 6px;
  background: rgba(var(--a-rgb),0.07);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  padding: 9px 11px;
  cursor: pointer;
}
.article-share a:hover,
.article-share button:hover {
  border-color: var(--border2);
  background: rgba(var(--a-rgb),0.12);
}
.article-shell h2,
.article-shell h3 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--text);
  margin: 36px 0 14px;
}
.article-shell .essay-meta a,
.article-link {
  color: var(--a);
  text-decoration: none;
  font-weight: 700;
}
.article-shell .essay-meta a:hover,
.article-link:hover { color: var(--text); }
.topic-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 36px;
}
.topic-map-card,
.writing-list-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.topic-map-card h2,
.writing-list-card h2 {
  margin-top: 0;
  font-size: 20px;
}
.topic-map-card p,
.writing-list-card p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.topic-map-card a,
.writing-list-card a {
  color: var(--a);
  text-decoration: none;
  font-weight: 700;
}
.topic-map-card a:hover,
.writing-list-card a:hover { color: var(--text); }
.writing-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}
.writing-list-card .essay-meta {
  margin-bottom: 8px;
}
.writing-list-card h2 {
  color: var(--text);
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.case-overview-grid,
.case-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 34px;
}
.case-overview-grid div,
.case-principles div {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.case-overview-grid span {
  display: block;
  color: var(--text2);
  font-size: 12px;
  margin-bottom: 6px;
}
.case-overview-grid strong {
  color: var(--text);
  font-size: 15px;
}
.case-principles h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.case-principles p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ── PRESS ──────────────────────────────────── */
.press-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.press-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.press-card:hover { border-color: var(--border2); background: rgba(255,255,255,0.05); }
.press-badge {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 6px; width: fit-content;
}
.press-badge.research  { background: rgba(var(--a-rgb),0.1);  color: var(--a); border: 1px solid rgba(var(--a-rgb),0.2); }
.press-badge.media     { background: rgba(52,211,153,0.1);   color: #34D399; border: 1px solid rgba(52,211,153,0.2); }
.press-badge.video     { background: rgba(251,113,133,0.1);  color: #FB7185; border: 1px solid rgba(251,113,133,0.2); }
.press-badge.academic  { background: rgba(var(--b-rgb),0.1); color: #A78BFA; border: 1px solid rgba(var(--b-rgb),0.2); }
.press-badge.publication { background: rgba(251,191,36,0.1); color: #FBBF24; border: 1px solid rgba(251,191,36,0.2); }
.press-title { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0; line-height: 1.35; }
.press-meta { font-size: 11px; color: var(--text2); }
.press-desc { font-size: 12px; color: var(--text2); line-height: 1.65; flex: 1; }
.press-link {
  font-size: 12px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) { .press-grid { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────── */
.faq-section { background: var(--bg2); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}
.faq-card p {
  margin: 0;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.8;
}
.faq-card .faq-answer-en {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid rgba(var(--a-rgb),0.28);
  color: rgba(226,232,240,0.74);
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card { padding: 20px; }
  .faq-card h3 { font-size: 18px; }
}

@media (max-width: 760px) {
  .topic-map-grid { grid-template-columns: 1fr; }
  .article-page { padding: 96px 18px 64px; }
  .article-breadcrumb { gap: 6px; }
  .answer-summary { padding: 20px 18px; }
  .article-share { align-items: stretch; }
  .article-share span { width: 100%; }
}

/* ── CONTACT ────────────────────────────────── */
#contact { background: var(--bg); text-align: center; }
.contact-inner { max-width: 520px; margin: 0 auto; }
.contact-inner .label { display: flex; justify-content: center; }
.contact-inner h2 { text-align: center; }
.contact-inner .ssub { max-width: 100%; text-align: center; margin: 0 auto 0; }
.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; text-align: left; }
.contact-direct {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.9;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.contact-buttons a {
  min-width: 96px;
  padding: 9px 14px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,0.035);
  font-size: 13px;
  font-weight: 650;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.contact-buttons a:hover,
.contact-buttons a:focus-visible {
  border-color: rgba(var(--a-rgb),0.5);
  background: rgba(var(--a-rgb),0.09);
  transform: translateY(-1px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px;
  font-family: var(--font); font-size: 14px; color: var(--text);
  outline: none; width: 100%; transition: border-color 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text2); }
input:focus, textarea:focus {
  border-color: rgba(var(--a-rgb),0.5);
  background: rgba(255,255,255,0.05);
}
textarea { resize: vertical; min-height: 110px; }
.hidden-field { display: none; }
.form-submit {
  background: linear-gradient(135deg, #8F7140 0%, #A88B56 48%, #41566D 100%);
  color: #FFF8E8;
  border: none; border-radius: 10px;
  padding: 14px; font-size: 15px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  box-shadow: 0 4px 18px rgba(31,45,60,0.42);
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── MODAL ──────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  overflow-y: auto; padding: 40px 20px;
}
.modal-overlay.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; max-width: 860px; width: 100%;
  padding: 48px; position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--text2);
  font-size: 28px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.modal-title { font-size: clamp(20px,3vw,28px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.modal-intro { color: var(--text2); line-height: 1.8; margin-bottom: 14px; }
.modal-intro-en {
  color: rgba(226,232,240,0.74); font-size: 14px; line-height: 1.75;
  border-left: 2px solid rgba(34,211,238,0.34); padding-left: 14px; margin-bottom: 32px;
}
.modal-image-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px;
}
.modal-image-row figure { margin: 0; }
.modal-image-row picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #f6f4ef;
}
.modal-image-row img {
  width: 100%; height: 100%; object-fit: cover;
  background: transparent; display: block;
}
.modal-image-row img.contain-image {
  object-fit: contain;
}
.case-evidence-grid picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.case-evidence-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: transparent;
}
.case-evidence-grid img.contain-image {
  object-fit: contain;
  background: #f6f4ef;
}
.modal-image-row figcaption { font-size: 11px; color: var(--text2); margin-top: 6px; text-align: center; }
.modal-body h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.modal-body p { color: var(--text2); line-height: 1.8; margin: 0 0 12px; font-size: 15px; }
.modal-body .en-text {
  color: rgba(226,232,240,0.7); font-size: 13px; line-height: 1.7;
  margin-top: 8px;
}
.modal-body > .en-text {
  border-left: 2px solid rgba(34,211,238,0.26); padding-left: 14px;
}
.case-timeline {
  display: grid; gap: 14px; margin: 16px 0 28px;
}
.case-timeline-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px;
  padding: 16px; border: 1px solid var(--border); border-radius: 8px;
  background: rgba(255,255,255,0.02);
}
.case-year {
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.case-timeline-item strong {
  display: block; color: var(--text); font-size: 14px; margin-bottom: 6px;
}
.case-timeline-item p {
  margin: 0; font-size: 14px; line-height: 1.75;
}
.case-evidence-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0 28px;
}
.case-evidence-grid figure {
  margin: 0; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: rgba(255,255,255,0.02);
}
.case-evidence-grid figcaption {
  padding: 10px 12px; color: var(--text2); font-size: 12px; line-height: 1.5;
}
.port-card--clickable { cursor: pointer; }
.port-card--clickable:hover { border-color: var(--accent); }
.port-card-more { font-size: 13px; color: var(--accent); margin-top: 12px; font-weight: 500; }
@media (max-width: 640px) {
  .modal-box { padding: 28px 20px; }
  .modal-image-row { grid-template-columns: 1fr; }
  .case-timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .case-evidence-grid { grid-template-columns: 1fr; }
  .case-overview-grid,
  .case-principles { grid-template-columns: 1fr; }
}

/* ── SOCIAL LINKS ───────────────────────────── */
.social-links { display: flex; gap: 12px; margin-bottom: 32px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-btn:hover { color: var(--text); border-color: var(--accent); background: var(--bg2); }

/* ── HI / DIGITAL CARD ─────────────────────── */
.hi-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--a-rgb),0.1), transparent 32%),
    linear-gradient(145deg, #0E1218 0%, #151922 55%, #101720 100%);
}
.hi-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.hi-profile {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hi-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(var(--a-rgb),0.45);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.hi-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hi-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hi-kicker {
  color: var(--a);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hi-copy h1 {
  color: var(--text);
  font-size: clamp(36px, 10vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hi-copy h1 span {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(18px, 5vw, 26px);
  color: var(--text2);
  font-weight: 650;
}
.hi-role {
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
}
.hi-statement {
  max-width: 420px;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
}
.hi-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hi-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.hi-button-primary {
  background: rgba(var(--a-rgb),0.15);
  border-color: rgba(var(--a-rgb),0.42);
  color: #FFF8E8;
}
.hi-button:hover,
.hi-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--a-rgb),0.55);
  background: rgba(var(--a-rgb),0.1);
}
.hi-site-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(var(--a-rgb),0.42);
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.18), rgba(255,255,255,0.055));
  color: #FFF8E8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.hi-site-link:hover,
.hi-site-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--a-rgb),0.62);
  background: linear-gradient(135deg, rgba(var(--a-rgb),0.24), rgba(255,255,255,0.075));
}

@media (max-width: 520px) {
  .hi-shell { padding: 26px 16px; }
  .hi-actions { grid-template-columns: 1fr; }
  .hi-photo { width: 116px; height: 116px; }
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg2);
  font-size: 12px; color: var(--text2);
  position: relative; z-index: 1;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── DIVIDER ────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
  position: relative; z-index: 1;
}

/* ── REVEAL ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.25s; }
.reveal-delay-4 { transition-delay: 0.36s; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: flex; gap: 0; }
  .nav-links li { display: none; }
  .nav-links li:has(a[href="#safety-map"]),
  .nav-links li:has(a[href="#work-with-me"]),
  .nav-links li:has(a[href="#contact"]) { display: block; }
  .nav-links li:has(a[href="#contact"]) a { padding: 6px 14px; border-radius: 20px; }
  /* Always keep the language switch reachable on mobile (shown as a small pill). */
  .nav-links li:has(a.nav-lang) { display: block; }
  .nav-links li:has(a.nav-lang) a { padding: 6px 12px; border: 1px solid var(--a); border-radius: 20px; }
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  #hero { min-height: auto; padding: 108px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 20px; }
  .hero-visual { display: none; }
  .mobile-break { display: block; }
  h1.hero-name { font-size: clamp(28px, 8.6vw, 34px); line-height: 1.2; max-width: 100%; word-break: break-all; }
  .hero-desc { max-width: none; font-size: 15px; }
  .hero-badge { font-size: 11px; letter-spacing: 0.02em; }
  .role-tag { font-size: 12px; max-width: calc(100vw - 40px); word-break: break-all; }
  h2.stitle { font-size: clamp(32px, 10vw, 40px); }
  .ssub { font-size: 15px; margin-bottom: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-card { min-height: auto; }
  .proof-strip { grid-template-columns: 1fr; gap: 18px; }
  .proof-list { grid-template-columns: 1fr; }
  .english-grid { grid-template-columns: 1fr; gap: 24px; }
  .compact-section { padding: 64px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .collab-strip { grid-template-columns: 1fr; gap: 18px; }
  .collab-list { justify-content: flex-start; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: auto; }
  .essay-feature { grid-template-columns: 1fr; gap: 24px; }
  .essay-media { position: static; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 14px; text-align: center; }
  .case-grid { grid-template-columns: 1fr; }
  .case-filter-nav { flex-wrap: wrap; gap: 8px; }
}

/* ── CASES INDEX ─────────────────────────────── */
.cases-page { padding-top: 52px; }

.cases-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}
.cases-hero .stitle { margin-bottom: 12px; }
.cases-hero .ssub { margin-bottom: 32px; }

.case-filter-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-filter-nav a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
.case-filter-nav a:hover {
  color: var(--a);
  border-color: rgba(var(--a-rgb), 0.4);
}

.case-map-section {
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--border);
}

.home-map-section {
  background: var(--bg2);
}

.case-map-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.case-map-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--text);
  margin-top: 8px;
}

.case-map-header p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.75;
}

.case-map-figure {
  margin: 0 0 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.case-map-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-map-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.case-map-item {
  min-height: 148px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text2);
  text-decoration: none;
  background: rgba(255,255,255,0.035);
}

.case-map-item--active {
  border-color: rgba(var(--a-rgb), 0.32);
  background: rgba(var(--a-rgb), 0.07);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.case-map-item--active:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--a-rgb), 0.62);
  background: rgba(var(--a-rgb), 0.1);
}

.case-map-item--pending {
  opacity: 0.72;
}

.case-map-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--a);
  font-size: 13px;
  font-weight: 750;
}

.case-map-status {
  color: rgba(255,255,255,0.46);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.case-map-item strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.case-map-item span:last-child {
  font-size: 12px;
  line-height: 1.55;
}

.case-map-note {
  margin-top: 18px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
}

.case-map-note span {
  flex: 0 0 auto;
  color: var(--a);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.case-map-note p {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.7;
}

.case-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.case-section:last-of-type { border-bottom: none; }

.case-section-header { margin-bottom: 36px; }
.case-section-header .label { margin-bottom: 8px; }
.case-section-desc {
  font-size: 14px;
  color: var(--text2);
  max-width: 560px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.case-card:hover { border-color: var(--border2); }

.case-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.case-card h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.case-oneliner {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.case-fit {
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  line-height: 1.55;
  font-style: italic;
  border-left: 2px solid rgba(var(--a-rgb),0.2);
  padding-left: 8px;
}

.label-en {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: none;
}

.cases-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.cases-back:hover { color: var(--text); }

.case-meta {
  list-style: none;
  font-size: 12px;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.case-meta span {
  color: rgba(255,255,255,0.35);
  margin-right: 6px;
}

.case-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--a);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 4px;
}
.case-cta:hover { opacity: 0.8; }
.case-cta--disabled {
  color: rgba(255,255,255,0.25);
  cursor: default;
  font-size: 12px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 4px;
}

.case-type-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text2);
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.case-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
}
.case-status--completed {
  color: #5dbf6e;
  background: rgba(93,191,110,0.12);
}
.case-status--in-progress {
  color: #e5a84a;
  background: rgba(229,168,74,0.12);
}
.case-status--research {
  color: #8b82e8;
  background: rgba(139,130,232,0.12);
}
.case-status--field-note {
  color: var(--text2);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1080px) {
  .case-map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .case-map-section { padding: 44px 0 56px; }
  .case-map-header {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }
  .case-map-header h2 { font-size: 26px; }
  .case-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-map-item { min-height: 132px; }
  .case-map-note { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .case-map-grid { grid-template-columns: 1fr; }
  .case-map-item { min-height: auto; }
}

.cases-contact-cta {
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cases-contact-cta p {
  font-size: 14px;
  color: var(--text2);
}
.cases-contact-cta a {
  color: var(--a);
  text-decoration: none;
}
.cases-contact-cta a:hover { text-decoration: underline; }

.cases-index-link {
  margin-top: 24px;
  text-align: center;
}
.cases-index-link a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.cases-index-link a:hover { color: var(--a); }

.course-cases-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.course-cases-link:hover { color: var(--a); }

/* ===================================================================
   AWWWARDS NEAR-WHITE LAYER  (v20260621-awwwards-rebuild)
   Quiet editorial index over the clean live base:
   near-white #f8f8f8, dark ink, giant headings, big imagery,
   minimal lines, lots of whitespace. No colorful poster blocks.
   This is the ONLY theme override; the base above is the live source.
   =================================================================== */

:root {
  --bg:      #f8f8f8;
  --bg2:     #f8f8f8;
  --text:    #1c1c1c;
  --text2:   rgba(28,28,28,0.66);
  --muted:   rgba(28,28,28,0.64);   /* darkened for AA contrast on small labels/dates */
  --accent:  #1c1c1c;
  --a:       #1c1c1c;
  --b:       #1c1c1c;
  --a-rgb:   28,28,28;
  --b-rgb:   28,28,28;
  --border:  rgba(28,28,28,0.12);
  --border2: rgba(28,28,28,0.24);
  --rule:    rgba(28,28,28,0.85);   /* crisp charcoal divider — clear, not faint */
  --card:    transparent;
  --nav-bg:  rgba(248,248,248,0.86);
  --grad:    linear-gradient(#1c1c1c,#1c1c1c);
}

html, body { background: var(--bg); }
body { color: var(--text); font-size: 16px; }

/* kill all decorative glow / wash / shadow chrome */
.orb,
.section-divider,
.hero-card, .hero-card::before, .hero-float,
.case-map-figure,
.case-map-item::before, .case-map-item::after,
.port-card-img::before, .port-card-img::after,
.skill-card::before,
.about-photo::after {
  display: none !important;
}

/* gradient-clipped text -> solid dark ink */
.nav-logo, .label, .grad-text, .exp-period,
.port-card-label, .blog-read, .press-link,
.stat-num, .case-map-number, .label-en {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--text);
}
.label-en, .case-map-status { color: var(--muted); }

/* ── NAV ── */
nav {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: var(--nav-bg);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.nav-logo { font-weight: 600; }
.nav-links a { color: var(--text2); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* primary actions -> solid ink pills; secondary -> outline pills */
.nav-cta, .btn-primary, .form-submit, .form-submit-link,
.contact-buttons a:first-child {
  color: #fff !important;
  background: var(--text) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 999px;
}
.btn-secondary, .contact-buttons a, .language-toggle-btn,
.article-share a, .article-share button, .social-btn,
.case-filter-nav a, .hi-button {
  color: var(--text) !important;
  background: transparent !important;
  border: 1px solid var(--border2) !important;
  box-shadow: none !important;
  border-radius: 999px;
}
.hi-button-primary, .hi-site-link { background: var(--text) !important; color: #fff !important; border-color: var(--text) !important; }

/* ── RHYTHM ── */
section { padding: clamp(76px, 10vw, 134px) 0; }
.container, .hero-inner { max-width: 1180px; }

/* ── HERO ── */
#hero { padding: 120px 0 64px; min-height: auto; }
.hero-inner { display: block; text-align: center; }
.hero-roles { display: none; }
.hero-badge {
  display: block; width: auto; margin: 0 auto;
  color: var(--muted); background: transparent; border: 0;
  border-radius: 0; box-shadow: none; padding: 0;
  font-size: 14px; font-weight: 400; letter-spacing: 0.02em; text-align: center;
}
.hero-badge::before { display: none; }
h1.hero-name {
  max-width: none; margin: 20px auto 0; color: var(--text);
  font-size: clamp(76px, 13vw, 168px); line-height: 0.9;
  font-weight: 600; letter-spacing: -0.01em; overflow-wrap: normal;
}
.hero-desc {
  max-width: 720px; margin: 30px auto 0; color: var(--text);
  font-size: clamp(18px, 2.1vw, 26px); line-height: 1.42; font-weight: 500;
}
.hero-desc-en {
  display: block; max-width: 560px; margin: 12px auto 0;
  color: var(--muted); font-size: 15px; line-height: 1.55; font-weight: 400;
}
.hero-actions { justify-content: center; margin-top: 32px; }
.hero-visual { display: block; margin-top: 60px; }
.hero-feature { margin: 0 auto; width: min(100%, 1180px); background: #ececec; overflow: hidden; }
.hero-feature img {
  display: block; width: 100%; height: min(60vw, 720px); min-height: 340px;
  object-fit: cover; filter: grayscale(0.1) saturate(0.9) contrast(1.02);
}

/* ── SECTION HEADINGS (giant) ── */
h2.stitle, .case-map-header h2, .article-shell h1, .cases-hero h1 {
  color: var(--text); font-size: clamp(52px, 8.4vw, 112px);
  line-height: 1; font-weight: 600; letter-spacing: -0.01em;
}
.ssub, .case-map-header p, .case-section-desc {
  max-width: 680px; color: var(--text2);
  font-size: 17px; line-height: 1.65; font-weight: 400;
}
.label { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; }

/* ── SAFETY MAP (filled dark theme cards, awwwards-directory style) ── */
.case-map-section, .home-map-section { background: var(--bg); border-bottom: 0; }
.case-map-header { display: block; margin-bottom: 48px; }
.case-map-header h2 { margin-top: 8px; }
.case-map-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.case-map-item, .case-map-item--active {
  min-height: 300px; color: #fff; background: #1a1a1a;
  border: 0; border-radius: 18px; box-shadow: none;
  padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 0;
  align-items: stretch; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.case-map-item--active:hover, .case-map-item:hover {
  transform: translateY(-4px); background: #111; border: 0; box-shadow: none;
}
.case-map-number {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22); background: transparent;
  color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;
  letter-spacing: 0;
}
.case-map-item .case-map-status {
  margin-top: auto; margin-bottom: 12px;
  color: rgba(255,255,255,0.45); background: transparent;
  text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
}
.case-map-item strong {
  margin-top: 0; color: #fff;
  font-size: clamp(24px,2.1vw,32px); line-height: 1.15; font-weight: 600;
}
.case-map-item span:last-child {
  margin-top: 14px; padding-top: 0; border-top: 0;
  max-width: 32ch; color: rgba(255,255,255,0.5);
  font-size: 13px; line-height: 1.6;
}
.case-map-note { margin-top: 30px; padding: 18px 0 0; background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.case-map-note span { color: var(--muted); }

/* ── GENERIC CARD FLATTENING (editorial border-top) ── */
.decision-grid, .skills-grid, .portfolio-grid, .course-grid,
.blog-grid, .press-grid, .topic-map-grid, .case-overview-grid,
.case-principles, .faq-grid, .case-grid {
  gap: 60px 40px;
}
.decision-card, .skill-card, .port-card, .course-card, .course-card--primary,
.blog-card, .topic-map-card, .writing-list-card, .case-overview-grid div,
.case-principles div, .faq-card, .press-card, .case-card {
  color: var(--text); background: transparent !important;
  border: 0; border-top: 1px solid var(--rule); border-radius: 0;
  box-shadow: none; padding: 18px 0 0;
}
.decision-card:hover, .skill-card:hover, .port-card:hover, .course-card:hover,
.blog-card:hover, .topic-map-card:hover, .faq-card:hover, .press-card:hover,
.case-card:hover {
  background: transparent !important; transform: none; box-shadow: none;
  border-color: var(--text);
}
.decision-card h3, .course-card h3, .skill-card h3, .blog-title,
.port-card-title, .faq-card h3 {
  color: var(--text); font-size: clamp(21px,2.3vw,30px); line-height: 1.16; font-weight: 600;
}
.decision-card p, .course-card p, .skill-card p, .blog-excerpt,
.port-card-desc, .faq-card p {
  color: var(--text2); font-size: 14px; line-height: 1.66; font-weight: 400;
}
.decision-card span, .course-note { color: var(--text); font-weight: 600; }

/* ── DECISION / DECISION SECTION ── */
.decision-section { background: var(--bg); }
.decision-kicker, .proof-kicker, .course-kicker, .collab-eyebrow { color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }

/* proof + collab strips -> quiet rules */
.proof-strip, .collab-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.proof-intro h3, .collab-strip h3 { color: var(--text); }
.proof-list a, .collab-list a {
  color: var(--text); background: transparent; border: 1px solid var(--border2);
  border-radius: 999px;
}
.proof-list a:hover, .collab-list a:hover { border-color: var(--text); background: transparent; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-photo { border: 1px solid var(--border); box-shadow: none; background: #ececec; }
.about-text p { color: var(--text2); }

/* ── ENGLISH PROFILE ── */
.compact-section { background: var(--bg); }
.english-copy { color: var(--text2); }
.english-tags span, .role-tag, .pill, .skill-tag, .blog-tags span {
  color: var(--text2); background: transparent; border: 0; border-radius: 0;
  box-shadow: none; padding: 0; font-weight: 400;
}
.pill:hover, .role-tag:hover { color: var(--text); border: 0; }

/* ── EXPERIENCE TIMELINE (soften) ── */
#experience { background: var(--bg); }
.timeline::before { background: var(--border2); opacity: 1; }
.exp-item::before { background: var(--text); box-shadow: none; }
.exp-title { color: var(--text); }
.exp-period { color: var(--muted); }

/* ── PORTFOLIO IMAGERY ── */
#portfolio { background: var(--bg); }
.port-card-body, .blog-card-body { padding: 18px 0 0; }
.port-card-img, .blog-card--image > picture {
  min-height: 320px; background: #ececec; border: 0; border-radius: 0; overflow: hidden;
}
.port-card-img img, .blog-card--image > picture > img { filter: grayscale(0.08) saturate(0.92); }
.port-card-img svg { color: rgba(28,28,28,0.2); filter: none; }
.port-card-title-en, .blog-title-en { color: var(--muted); }
.port-card-type { color: var(--muted); background: transparent; border: 1px solid var(--border); }

/* ── COURSES ── */
.courses-section { background: var(--bg); }
.course-card--primary { background: transparent; }
.course-disclaimer { border: 1px solid var(--border); background: transparent; color: var(--text2); }
.course-cases-link { color: var(--muted); }
.course-cases-link:hover { color: var(--text); }

/* ── BLOG ── */
#blog { background: var(--bg); }
.blog-grid--featured { grid-template-columns: minmax(0, 860px); }
.blog-date { color: var(--muted); }

/* ── PRESS ── */
.press-title { color: var(--text); }
.press-meta, .press-desc { color: var(--text2); }
.press-badge,
.press-badge.research, .press-badge.media, .press-badge.video,
.press-badge.academic, .press-badge.publication {
  color: var(--muted) !important; background: transparent !important;
  border: 0 !important; padding: 0; letter-spacing: 0.08em; font-weight: 600;
}

/* ── FAQ ── */
.faq-section { background: var(--bg); }
.faq-card .faq-answer-en { color: var(--muted); border-left-color: var(--border2); }

/* ── CONTACT ── */
#contact { background: var(--bg); }
.contact-direct { color: var(--text2); }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); color: var(--text2); }
.footer-links a { color: var(--text2); }
.footer-links a:hover { color: var(--text); }

/* ── ARTICLE / WRITING / CASES PAGES ── */
.article-page { background: var(--bg); }
.article-shell { max-width: 900px; padding-top: 120px; }
.article-lead { max-width: 760px; color: var(--text2); font-size: clamp(20px,2.2vw,27px); line-height: 1.52; font-weight: 400; }
.article-title-en, .article-lead-en { color: var(--muted); border-left-color: var(--border2); }
.article-shell p, .article-shell li { color: var(--text2); font-size: 17px; line-height: 1.86; max-width: 44em; }
.article-shell h2 { color: var(--text); font-size: clamp(32px,4vw,52px); line-height: 1.1; font-weight: 600; }
.article-shell h3 { color: var(--text); font-size: clamp(24px,2.8vw,34px); line-height: 1.18; font-weight: 600; }
.article-back, .article-breadcrumb, .article-breadcrumb a, .cases-back { color: var(--text2); }
.article-link, .topic-map-card a, .writing-list-card a, .case-cta, .cases-contact-cta a { color: var(--text); font-weight: 700; }
.article-hero-image, .article-inline-image, .essay-media picture,
.essay-inline-image picture {
  background: #ececec; border: 0; border-radius: 0; box-shadow: none;
}
.article-hero-image img, .article-inline-image img { filter: grayscale(0.06) saturate(0.94); }
.answer-summary, .article-key-finding {
  background: transparent; border: 0; border-left: 3px solid var(--text);
  border-radius: 0; color: var(--text) !important;
}
.answer-summary-label { color: var(--muted) !important; }
.answer-summary-en { color: var(--muted) !important; }
.answer-summary-boundary { border-top-color: var(--border); color: var(--text2) !important; }
.article-table-wrap { background: transparent; border: 1px solid var(--border); }
.article-data-table thead th { background: rgba(28,28,28,0.05); color: var(--text); }
.article-data-table tbody tr:nth-child(even) { background: rgba(28,28,28,0.02); }
.article-data-table th, .article-data-table td { border-color: var(--border); }
.article-share { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.language-toggle { border: 1px solid var(--border); background: transparent; }
.language-toggle-btn { border-radius: 999px; }
.language-toggle-btn.is-active { background: var(--text) !important; color: #fff !important; }
.essay-content h3 { color: var(--text); }
.essay-content p, .essay-content li { color: var(--text2); }
.essay-meta { color: var(--muted); }
.topic-map-card, .writing-list-card { padding: 24px 0 0; }
.topic-map-card h2, .writing-list-card h2 { color: var(--text); font-size: clamp(20px,2vw,26px); }

/* ── CASES INDEX ── */
.cases-hero { border-bottom: 1px solid var(--border); }
.case-section { border-bottom: 1px solid var(--border); }
.case-card h3 { color: var(--text); font-size: clamp(18px,1.8vw,22px); }
.case-oneliner { color: var(--text2); }
.case-fit { color: var(--muted); border-left-color: var(--border2); }
.case-meta, .case-meta span { color: var(--text2); }
.case-type-tag { color: var(--muted); background: transparent; border: 1px solid var(--border); }
/* status pills -> monochrome (completed = solid ink, others = outline) */
.case-status { border: 1px solid var(--border2); }
.case-status--completed {
  color: #fff !important; background: var(--text) !important; border-color: var(--text);
}
.case-status--in-progress, .case-status--research, .case-status--field-note {
  color: var(--text2) !important; background: transparent !important; border-color: var(--border2);
}
.cases-contact-cta { border-top: 1px solid var(--border); }
.cases-index-link a { color: var(--text2); }
.cases-index-link a:hover { color: var(--text); }

/* ── HI / DIGITAL CARD (near-white) ── */
.hi-page { background: var(--bg); }
.hi-photo { border: 1px solid var(--border2); box-shadow: none; }
.hi-kicker { color: var(--muted); }
.hi-copy h1 { color: var(--text); }
.hi-copy h1 span, .hi-statement { color: var(--text2); }
.hi-role { color: var(--text); }

/* ── MODAL ── */
.modal-overlay { background: rgba(28,28,28,0.4); }
.modal-box { background: #fff; border: 1px solid var(--border); box-shadow: none; }
.modal-title, .modal-body h3 { color: var(--text); }
.modal-intro, .modal-body p { color: var(--text2); }
.modal-label { color: var(--muted); }

/* ── FORM INPUTS ── */
input, textarea { background: #fff; border: 1px solid var(--border2); color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus { border-color: var(--text); background: #fff; }

/* ── RESPONSIVE TUNING ── */
@media (max-width: 980px) {
  .about-grid { display: grid; grid-template-columns: 1fr; }
  .portfolio-grid, .skills-grid, .course-grid, .blog-grid, .decision-grid { grid-template-columns: 1fr; }
  .case-map-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 620px) {
  #hero { padding-top: 96px; }
  h1.hero-name { font-size: clamp(58px, 18vw, 92px); }
  h2.stitle, .case-map-header h2, .article-shell h1, .cases-hero h1 { font-size: clamp(42px, 13vw, 66px); }
  .hero-feature img { height: 62vw; min-height: 240px; }
  .case-map-grid { grid-template-columns: 1fr; }
  .case-map-item, .case-map-item--active { min-height: 240px; }
}

/* ── PHOTO CARDS: portfolio cases + blog articles (framer-style) ──
   Real photo cover on top, clean white card, no editorial top-line. */
.port-card, .blog-card--image {
  background: #fff !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.port-card:hover, .blog-card--image:hover {
  background: #fff !important;
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28,28,28,0.08);
}
.port-card-img, .blog-card--image > picture {
  display: block; height: 248px; min-height: 0;
  background: #ececec; border: 0; border-radius: 0; overflow: hidden;
}
.port-card-img img, .blog-card--image > picture > img {
  width: 100%; height: 100%; object-fit: cover; filter: none;
}
.port-card-body, .blog-card-body { padding: 22px 24px 24px; }
.port-card-title, .blog-title { font-size: clamp(19px,1.7vw,23px); line-height: 1.22; margin-bottom: 8px; }
.port-card-label, .blog-date { color: var(--muted); margin-bottom: 8px; }
.port-card-more, .blog-read { margin-top: 16px; color: var(--text); font-weight: 600; }
