/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── LIGHT THEME (default) ── */
:root {
  --bg: #ffffff;
  --s1: #fafafa;
  --s2: #f0f0f0;
  --border: #ededed;
  --border2: #d8d8d8;
  --text: #0a0a0a;
  --text2: #6a6a6a;
  --muted: #999999;
  --accent: #888;
  --cta-bg: #0a0a0a;
  --cta-text: #ffffff;
  --nav-bg: rgba(255,255,255,0.92);
  --tabs-bg: rgba(255,255,255,0.96);
  --modal-overlay: rgba(20,20,20,0.92);
  --avatar-bg: #f0f0f0;
  --avatar-border: #d8d8d8;
  --avatar-text: #888;
  --modal-panel-bg: #ffffff;
  --modal-panel-border: #ededed;
  --modal-panel-text: #0a0a0a;
  --modal-panel-text2: #555;
  --modal-tag-color: #888;
  --modal-tag-border: #d8d8d8;
  --modal-close-bg: rgba(0,0,0,0.55);
  --modal-close-border: rgba(255,255,255,0.18);
  --modal-close-text: #fff;
  --tab-color: #999;
  --tab-active-color: #0a0a0a;
  --tab-active-line: #0a0a0a;
  --cell-bg: #e8e8e8;
  --cell-play-bg: rgba(0,0,0,0.12);
  --cell-play-color: rgba(255,255,255,0.85);
  --cell-play-hover-bg: rgba(0,0,0,0.3);
  --cbtn-bg: #fafafa;
  --cbtn-border: #ededed;
  --cbtn-color: #555;
  --cbtn-hover-color: #0a0a0a;
  --cbtn-hover-border: #aaa;
  --font: -apple-system, 'SF Pro Display', BlinkMacSystemFont, sans-serif;
  --r: 12px;
  --r-btn: 20px;
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg: #000;
  --s1: #080808;
  --s2: #0d0d0d;
  --border: #161616;
  --border2: #1e1e1e;
  --text: #efefef;
  --text2: #b8b8b8;
  --muted: #888;
  --accent: #999;
  --cta-bg: #ffffff;
  --cta-text: #000000;
  --nav-bg: rgba(0,0,0,0.92);
  --tabs-bg: rgba(0,0,0,0.96);
  --modal-overlay: rgba(0,0,0,0.95);
  --avatar-bg: #0d0d0d;
  --avatar-border: #2a2a2a;
  --avatar-text: #888;
  --modal-panel-bg: #080808;
  --modal-panel-border: #161616;
  --modal-panel-text: #ffffff;
  --modal-panel-text2: #d8d8d8;
  --modal-tag-color: #aaa;
  --modal-tag-border: #2a2a2a;
  --modal-close-bg: rgba(0,0,0,0.55);
  --modal-close-border: rgba(255,255,255,0.18);
  --modal-close-text: #fff;
  --tab-color: #555;
  --tab-active-color: #efefef;
  --tab-active-line: #efefef;
  --cell-bg: #0d0d0d;
  --cell-play-bg: rgba(0,0,0,0.12);
  --cell-play-color: rgba(255,255,255,0.45);
  --cell-play-hover-bg: rgba(0,0,0,0.35);
  --cbtn-bg: #0c0c0c;
  --cbtn-border: #1e1e1e;
  --cbtn-color: #888;
  --cbtn-hover-color: #efefef;
  --cbtn-hover-border: #444;
}

html { scroll-behavior: smooth; }

html { background: var(--bg); transition: background .2s; }
body {
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  transition: color .2s;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  font-family: 'Pinyon Script', 'Apple Chancery', 'Snell Roundhand', cursive;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  font-size: 13px;
  color: var(--cta-text);
  background: var(--cta-bg);
  border: none;
  padding: 8px 18px;
  border-radius: var(--r-btn);
  text-decoration: none;
  transition: opacity .2s;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.85; }
.theme-toggle, .lang-toggle {
  background: none;
  border: 1px solid var(--border2);
  color: var(--text);
  height: 34px;
  border-radius: var(--r-btn);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  padding: 0;
  font-family: var(--font);
}
.theme-toggle { width: 34px; }
.lang-switcher { position: relative; padding-bottom: 8px; margin-bottom: -8px; }
.lang-toggle {
  padding: 0 10px;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
}
.lang-toggle #lang-toggle-flag { font-size: 16px; line-height: 1; }
.theme-toggle:hover, .lang-toggle:hover { background: var(--s1); }
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 4px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
  min-width: 170px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu,
.lang-menu.open { display: flex; }
.lang-option {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  text-align: left;
}
.lang-option:hover { background: var(--s1); }
.lang-option.active { background: var(--s2); font-weight: 600; }
.lang-flag { font-size: 18px; line-height: 1; }
.lang-name { flex: 1; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── LANG NOTICE ── */
.lang-notice {
  background: var(--s1);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}
.lang-notice.hidden { display: none; }

/* ── PROFILE ── */
.profile {
  padding: 40px 32px 36px;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--border);
}
.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--text) 0%, var(--text2) 50%, var(--text) 100%);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--avatar-text);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  position: relative;
}
.profile-avatar::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4d8c5e;
  border: 4px solid var(--bg);
  z-index: 2;
}
.profile-avatar > * {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--avatar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-avatar svg { width: 56px; height: 56px; flex-shrink: 0; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-stats {
  display: flex;
  gap: 28px;
  padding: 0;
  flex-wrap: wrap;
}
.stat { display: inline-flex; align-items: baseline; gap: 5px; }
.stat-num { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text2); font-weight: 500; }

.ai-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px solid var(--border2);
  padding: 6px 12px;
  border-radius: var(--r-btn);
  align-self: flex-start;
  margin-top: 2px;
}

.profile-name {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text);
}
.profile-role {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: -4px;
}
.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 600;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d8c5e;
}
.profile-tagline { font-size: 15px; color: var(--text2); line-height: 1.6; max-width: 540px; }
.profile-tagline strong { color: var(--text); font-weight: 700; }
.profile-cta {
  display: inline-block;
  align-self: flex-start;
  padding: 11px 28px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity .2s;
}
.profile-cta:hover { opacity: 0.88; }

/* ── TABS ── */
.tabs {
  display: flex;
  position: sticky;
  top: 49px;
  background: var(--tabs-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  max-width: 1183px;
  margin: 0 auto;
}
.tab-pills {
  max-width: 1183px;
  margin: 32px auto 8px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tab-pills .for {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 600;
}
.tab-pills .pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text);
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
}
.tab-pills:empty { display: none; }
.tab {
  flex: 1;
  padding: 13px 8px;
  background: none;
  border: none;
  color: var(--tab-color);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
  position: relative;
  font-family: var(--font);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--tab-active-color); }
.tab.active::after {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1.5px;
  background: var(--tab-active-line);
}
.tab svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
  max-width: 1183px;
  margin: 0 auto;
}
.grid.hidden { display: none; }

/* ── CELL ── */
.cell {
  aspect-ratio: 9 / 16;
  background: var(--cell-bg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.grid-legacy .cell { aspect-ratio: 4 / 5; }
.cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cell-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--cell-play-color);
  background: var(--cell-play-bg);
  transition: background .2s, color .2s;
}
.cell:hover .cell-play { background: var(--cell-play-hover-bg); color: rgba(255,255,255,0.95); }

/* ── ABOUT ── */
.about {
  padding: 44px 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.about.hidden { display: none; }
.about-photo {
  margin: 0 0 14px;
  align-self: stretch;
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}
.about-lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.about p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text2);
}
.about p:empty { display: none; }
.about-tag {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
  font-style: italic;
}
.about-signature {
  font-family: 'Pinyon Script', 'Apple Chancery', 'Snell Roundhand', cursive;
  font-size: 64px;
  color: var(--text);
  margin-top: 20px;
  line-height: 1;
  text-align: left;
}

/* ── FAQ ── */
.faq {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
/* whole FAQ collapses behind one toggle (minimal, still indexed) */
.faq-title {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  user-select: none;
  transition: color .18s;
}
.faq-title::-webkit-details-marker { display: none; }
.faq-title::after { content: "+"; font-size: 15px; line-height: 1; }
.faq[open] .faq-title::after { content: "−"; }
.faq-title:hover { color: var(--text); }
.faq-body { margin-top: 22px; }
.faq-item { margin-bottom: 20px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-q { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.faq-a { font-size: 15px; line-height: 1.65; color: var(--text2); }

/* ── TOOLKIT ── */
.toolkit {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.toolkit-title {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.toolkit-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toolkit-cat {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.toolkit-items {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
}

/* ── CONTACTS ── */
.contacts {
  padding: 56px 24px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.contact-row { display: flex; gap: 10px; justify-content: center; }
.cbtn {
  padding: 12px 32px;
  background: var(--cbtn-bg);
  border: 1px solid var(--cbtn-border);
  border-radius: 8px;
  color: var(--cbtn-color);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.cbtn:hover { border-color: var(--cbtn-hover-border); color: var(--cbtn-hover-color); }

/* ── MODAL ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--modal-overlay);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-content {
  display: flex;
  align-items: stretch;
  max-height: 90vh;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}

.modal-video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.modal-video {
  display: block;
  max-height: 90vh;
  width: auto;
  outline: none;
  cursor: pointer;
}

.modal-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.95);
  font-size: 56px;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 4px rgba(0,0,0,0.4);
}
.modal-play-overlay:hover { background: rgba(0,0,0,0.08); }
.modal-play-overlay.hidden { display: none; }

.modal-tapzone { display: none; }

.modal-info {
  width: 340px;
  flex-shrink: 0;
  background: var(--modal-panel-bg);
  border-left: 1px solid var(--modal-panel-border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.modal-info.hidden { display: none; }

.modal-title { font-size: 22px; font-weight: 700; color: var(--modal-panel-text); }
.modal-desc { font-size: 14px; color: var(--modal-panel-text2); line-height: 1.7; }
.modal-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
}
.modal-tag:empty { display: none; }
.modal-tag-pill {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--modal-tag-color);
  border: 1px solid var(--modal-tag-border);
  padding: 4px 12px;
  border-radius: var(--r-btn);
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--modal-close-bg);
  border: 1px solid var(--modal-close-border);
  color: var(--modal-close-text);
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 210;
  transition: background .2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(0,0,0,0.85); }

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--modal-close-bg);
  border: 1px solid var(--modal-close-border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
  padding: 0;
}
.modal-nav:hover { background: rgba(0,0,0,0.9); }
.modal-prev { left: 20px; }
.modal-next { right: 20px; }

/* ── V16 PROFILE (Single-sentence statement) ── */
.profile-v16 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 60px 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── HEADER AURORA (glow near the top — dark theme only; light stays clean white) ── */
.site-fx { display: none; }
[data-theme="dark"] .site-fx { display: block; }
.site-fx {
  position: absolute; top: 0; left: 0; width: 100%; height: 1000px;
  z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
}
.site-fx .fx-aurora { position: absolute; inset: 0; filter: blur(80px); opacity: .5; }
.site-fx .fx-aurora b { position: absolute; display: block; border-radius: 50%; }
.site-fx .fx-aurora b:nth-child(1) { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px;
  left: 4%; top: -14%; background: rgba(112,130,168,.30); animation: heroBlob1 24s ease-in-out infinite; }
.site-fx .fx-aurora b:nth-child(2) { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px;
  right: 2%; top: -8%; background: rgba(160,162,172,.22); animation: heroBlob2 28s ease-in-out infinite; }
.site-fx .fx-aurora b:nth-child(3) { width: 34vw; height: 34vw; max-width: 500px; max-height: 500px;
  left: 30%; top: 14%; background: rgba(77,140,94,.20); animation: heroBlob3 32s ease-in-out infinite; }
@keyframes heroBlob1 { 50% { transform: translate(12%, 14%) scale(1.12); } }
@keyframes heroBlob2 { 50% { transform: translate(-12%, 12%) scale(1.10); } }
@keyframes heroBlob3 { 50% { transform: translate(8%, -10%) scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .site-fx .fx-aurora b { animation: none; } .v16-headline em { animation: none; } }
.v16-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  margin-bottom: 20px;
}
.v16-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.v16-status .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4d8c5e;
  box-shadow: 0 0 0 2px rgba(77, 140, 94, 0.2);
}
.v16-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -1.4px;
  line-height: 1.05;
  color: var(--text);
  max-width: 900px;
  min-width: 0;
  overflow-wrap: break-word;
  margin: 0 auto;
}
.v16-headline em {
  font-style: italic;
  background-image: linear-gradient(95deg, #2746c4, #6f3fb3, #bd2c8e, #6f3fb3, #2746c4);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: emDrift 5s ease-in-out infinite alternate, emHue 6s ease-in-out infinite;
}
@keyframes emDrift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes emHue { 0%, 100% { filter: hue-rotate(-10deg); } 50% { filter: hue-rotate(12deg); } }
.v16-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  margin-top: 26px;
  gap: 20px;
}
.v16-meta-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 12px;
}
.v16-stats { justify-content: center; }
.v16-role { font-size: 14px; color: var(--text); font-weight: 600; max-width: 100%; overflow-wrap: break-word; }
.v16-stats {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--text2);
  flex-wrap: wrap;
}
.v16-stats b { color: var(--text); font-weight: 700; }
.v16-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}
.v16-cta:hover { opacity: 0.85; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 12px 16px; }
  .nav-cta { padding: 7px 14px; font-size: 12px; }

  .profile-v16 {
    padding: 36px 18px 32px;
  }
  .v16-tag {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  .v16-headline { font-size: 26px; letter-spacing: -0.3px; line-height: 1.18; width: 100%; max-width: 92vw; white-space: normal; overflow-wrap: normal; word-break: keep-all; }
  .v16-meta { flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; max-width: 88vw; }
  .v16-meta-left { gap: 10px; align-items: center; max-width: 88vw; }
  .v16-role { font-size: 13px; width: 100%; max-width: 88vw; }
  .v16-stats { font-size: 12px; gap: 16px; }
  .v16-cta { text-align: center; padding: 14px 20px; }

  .profile {
    padding: 24px 16px 24px;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-avatar { width: 110px; height: 110px; padding: 2px; }
  .profile-avatar svg { width: 60px; height: 60px; }
  .profile-right { align-items: center; gap: 10px; }
  .profile-stats { gap: 22px; justify-content: center; }
  .stat-num { font-size: 17px; }
  .stat-label { font-size: 11px; }
  .profile-name { font-size: 26px; letter-spacing: -0.5px; }
  .profile-role { font-size: 10px; letter-spacing: 2px; }
  .profile-status { font-size: 10px; }
  .profile-tagline { font-size: 13px; line-height: 1.55; }
  .profile-avatar::after { width: 18px; height: 18px; border-width: 3px; bottom: 4px; right: 4px; }
  .ai-badge { font-size: 10px; padding: 5px 10px; letter-spacing: 1.2px; }
  .profile-cta { padding: 10px 28px; font-size: 13px; align-self: center; }

  .tabs { top: 47px; }
  .tab { font-size: 10px; letter-spacing: 1px; padding: 12px 4px; gap: 5px; }
  .tab svg { width: 12px; height: 12px; }

  .nav-logo { font-size: 26px; }

  .lang-toggle { padding: 0 8px; font-size: 12px; gap: 4px; }
  .lang-toggle #lang-toggle-flag { font-size: 14px; }
  .theme-toggle { width: 32px; height: 32px; }
  .lang-toggle { height: 32px; }
  .lang-menu { min-width: 160px; }

  .about { padding: 36px 20px 24px; }
  .about-lead { font-size: 18px; }
  .about p { font-size: 14px; }

  .modal { padding: 0; align-items: stretch; background: #000; }
  .modal-content {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    position: relative;
  }
  .modal-video-wrap { width: 100%; height: 100%; background: #000; }
  .modal-video { width: 100%; height: 100%; max-height: 100vh; object-fit: contain; background: #000; }
  .modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 60%, transparent 100%);
    color: #fff;
    padding: 80px 20px max(32px, env(safe-area-inset-bottom)) 20px;
    width: 100%;
    border: none;
    z-index: 5;
    gap: 8px;
  }
  .modal-info .modal-title { color: #fff; font-size: 18px; }
  .modal-info .modal-desc { color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.55; }
  .modal-info .modal-tag-pill {
    color: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.35);
  }
  .modal-close {
    top: max(16px, env(safe-area-inset-top));
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    z-index: 220;
  }
  .modal-nav {
    width: 38px; height: 38px; font-size: 22px;
    background: rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.2);
    top: 50%;
    z-index: 220;
  }
  .modal-prev { left: 10px; }
  .modal-next { right: 10px; }
  .modal-play-overlay { font-size: 60px; z-index: 4; }
  .modal-tapzone {
    position: absolute;
    top: 70px;
    bottom: 180px;
    width: 28%;
    z-index: 3;
    cursor: pointer;
  }
  .modal-tapzone.left { left: 0; }
  .modal-tapzone.right { right: 0; }

  .contacts { padding: 40px 16px 60px; }
  .contact-row { flex-direction: column; align-items: center; }
  .cbtn { width: 100%; max-width: 280px; text-align: center; }
}

/* ── SITE FOOTER ── */
.site-footer {
  text-align: center;
  padding: 28px 20px 40px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--text2); }
