/* =====================================================
   Muhamad Randi Ritvaldi — Personal CV
   Minimalist Professional · Dark / Light · Mobile-First
   ===================================================== */

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

/* ── DARK THEME (default) ── */
:root {
  --bg:           #0c0c0d;
  --bg-2:         #111113;
  --bg-card:      #161618;
  --border:       #222224;
  --border-hover: #333336;
  --accent:       #c9a96e;
  --accent-light: rgba(201,169,110,0.12);
  --text:         #e8e8ea;
  --text-sub:     #8a8a90;
  --text-muted:   #55555c;
  --white:        #f5f5f7;
  --shadow:       0 4px 32px rgba(0,0,0,0.35);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --serif:        'Playfair Display', Georgia, serif;
  --radius:       8px;
  --radius-lg:    14px;
  --max-w:        1080px;
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --nav-h:        64px;
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:           #f5f4f1;
  --bg-2:         #edecea;
  --bg-card:      #ffffff;
  --border:       #e0dfdb;
  --border-hover: #c8c6c0;
  --accent:       #9e7a38;
  --accent-light: rgba(158,122,56,0.1);
  --text:         #1a1918;
  --text-sub:     #46443f;
  --text-muted:   #8a8880;
  --white:        #1a1918;
  --shadow:       0 4px 32px rgba(0,0,0,0.1);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 2px; }

::selection { background: var(--accent-light); color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
button:focus-visible, a:focus-visible { border-radius: var(--radius); }

/* ── UTILS ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-num { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.3s, border-bottom 0.3s;
}
#navbar.scrolled {
  background: rgba(12,12,13,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] #navbar.scrolled { background: rgba(245,244,241,0.94); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-decoration: none; flex-shrink: 0; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: var(--text-sub);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.25s; white-space: nowrap;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent) !important; color: #000 !important;
  padding: 6px 16px; border-radius: var(--radius);
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* nav controls */
.nav-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 10px;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--text-muted); padding: 2px 4px;
  border-radius: 4px; transition: color 0.2s;
  font-family: var(--font);
}
.lang-btn.active { color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--text); }
.lang-sep { font-size: 0.65rem; color: var(--border-hover); }

.theme-toggle {
  width: 34px; height: 34px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-sub); transition: all 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.icon-sun, .icon-moon { transition: opacity 0.2s; }
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="dark"]  .icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; width: 34px; height: 34px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
  animation: slideDown 0.25s var(--ease);
}
.nav-mobile.open { display: flex; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--text-sub);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) 24px 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, var(--accent-light) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(201,169,110,0.04) 0%, transparent 60%),
    var(--bg);
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: block; transition-delay: 0.05s;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: -0.02em; transition-delay: 0.1s;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-sub); max-width: 480px;
  line-height: 1.78; margin-bottom: 36px; transition-delay: 0.18s;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; transition-delay: 0.24s; }

.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #000;
  font-size: 0.85rem; font-weight: 700;
  padding: 12px 22px; border-radius: var(--radius);
  text-decoration: none; letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.87; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text-sub);
  font-size: 0.85rem; font-weight: 500;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid var(--border); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--white); }

/* hero card */
.hero-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  transition-delay: 0.15s;
}
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.hero-meta { padding: 20px 24px 24px; }
.meta-item { padding: 10px 0; }
.meta-label { display: block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 3px; }
.meta-value { display: block; font-size: 0.84rem; font-weight: 500; color: var(--text); }
.meta-divider { height: 1px; background: var(--border); }
.hero-line { max-width: var(--max-w); margin: 48px auto 0; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }

/* ── SECTIONS COMMON ── */
section { padding: 100px 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.section-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 48px; }
.section-heading { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.section-desc { color: var(--text-sub); max-width: 560px; margin-top: -32px; margin-bottom: 44px; font-size: 0.95rem; line-height: 1.72; }

/* ── ABOUT ── */
#about { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 100px 1fr; gap: 48px; align-items: flex-start; }
.about-label { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.section-title-sm { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.about-content h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 24px; letter-spacing: -0.02em; }
.about-content h2 em { font-style: italic; color: var(--accent); }
.about-body p { color: var(--text-sub); font-size: 0.94rem; line-height: 1.8; margin-bottom: 14px; }
.about-body p strong { color: var(--text); font-weight: 600; }
.about-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pillar { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 500; color: var(--text-sub); background: var(--bg-card); border: 1px solid var(--border); padding: 6px 12px; border-radius: 100px; transition: border-color 0.2s, color 0.2s; }
.pillar:hover { border-color: var(--accent); color: var(--accent); }
.pillar-icon { color: var(--accent); font-size: 0.55rem; }

/* ── EXPERIENCE ── */
#experience { background: var(--bg); }
.exp-list { display: flex; flex-direction: column; }
.exp-item { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.3s var(--ease), border-color 0.3s; }
.exp-item:first-child { border-top: 1px solid var(--border); }
.exp-item:hover { padding-left: 12px; border-bottom-color: var(--border-hover); }
.exp-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.exp-period { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }
.exp-sub { font-size: 0.72rem; color: var(--text-muted); }
.exp-tag { display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); background: var(--accent-light); border: 1px solid rgba(201,169,110,0.2); padding: 3px 9px; border-radius: 4px; width: fit-content; }
.exp-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: -0.01em; }
.exp-company { font-size: 0.84rem; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.exp-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 14px; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; padding: 0; }
.exp-bullets li { font-size: 0.85rem; color: var(--text-sub); padding-left: 16px; position: relative; line-height: 1.6; }
.exp-bullets li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-size: 0.68rem; top: 2px; }
.exp-bullets li strong { color: var(--text); font-weight: 600; }
.exp-skills { display: flex; flex-wrap: wrap; gap: 7px; }
.exp-skills span { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 3px 9px; border-radius: 4px; transition: color 0.2s, border-color 0.2s; }
.exp-skills span:hover { color: var(--text-sub); border-color: var(--border-hover); }

/* ── SYNAPSIS ── */
#synapsis { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.syn-intro { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start; }
.syn-logo { height: 28px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
[data-theme="light"] .syn-logo { filter: brightness(0); opacity: 0.75; }
.syn-intro-text p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 14px; }
.syn-intro-text p strong { color: var(--text); }
.syn-cta { display: inline-block; margin-top: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
.syn-cta:hover { opacity: 0.75; }
.syn-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.syn-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; transition: border-color 0.25s; }
.syn-stat:hover { border-color: var(--accent); }
.syn-stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }
.syn-stat-label { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }

/* ── SKILLS & AWARDS ── */
#skills { background: var(--bg); }
.skills-awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.block-title { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); margin-bottom: 18px; }
.skills-list { display: flex; flex-direction: column; gap: 14px; }
.skill-item { display: flex; flex-direction: column; gap: 6px; }
.skill-name { font-size: 0.82rem; font-weight: 500; color: var(--text-sub); }
.skill-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill { display: block; height: 100%; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.skill-fill.animated { transform: scaleX(1); }
.lang-list { display: flex; flex-direction: column; }
.lang-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.lang-item:first-child { border-top: 1px solid var(--border); }
.lang-name { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.lang-level { font-size: 0.73rem; color: var(--text-muted); letter-spacing: 0.04em; }
.cert-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: var(--text-sub); line-height: 1.6; }
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.awards-list { display: flex; flex-direction: column; gap: 12px; }
.award-item { display: flex; align-items: center; gap: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; transition: border-color 0.25s; }
.award-item:hover { border-color: var(--border-hover); }
.award-featured { background: linear-gradient(135deg, rgba(201,169,110,0.08), var(--bg-card)); border-color: rgba(201,169,110,0.3) !important; border-left: 3px solid var(--accent) !important; }
.award-medal { width: 38px; height: 38px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 800; flex-shrink: 0; }
.award-medal.gold   { background: rgba(201,169,110,0.15); color: var(--accent); border: 1px solid rgba(201,169,110,0.3); }
.award-medal.silver { background: rgba(148,163,184,0.12); color: #94a3b8; border: 1px solid rgba(148,163,184,0.25); }
.award-medal.bronze { background: rgba(180,120,80,0.12); color: #b47850; border: 1px solid rgba(180,120,80,0.25); font-size: 1rem; }
.award-medal.special { background: var(--bg); color: var(--text-sub); border: 1px solid var(--border); font-size: 0.95rem; }
.award-text { display: flex; flex-direction: column; gap: 3px; }
.award-title { font-size: 0.83rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.award-sub { font-size: 0.73rem; color: var(--text-muted); line-height: 1.55; }

/* ── EDUCATION ── */
#education { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.edu-timeline { display: flex; flex-direction: column; gap: 16px; }
.edu-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; transition: border-color 0.3s; }
.edu-card:hover { border-color: var(--border-hover); }
.edu-top { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.edu-school-initial { width: 46px; height: 46px; border-radius: var(--radius); background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; color: #000; flex-shrink: 0; }
.edu-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.edu-faculty { font-size: 0.8rem; color: var(--accent); margin-bottom: 2px; }
.edu-period { font-size: 0.74rem; color: var(--text-muted); }
.edu-note { font-size: 0.85rem; color: var(--text-sub); line-height: 1.72; margin-bottom: 14px; }
.edu-achievement { font-size: 0.8rem; color: var(--text-sub); background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; line-height: 1.65; }
.edu-achievement em { color: var(--text-muted); font-style: italic; font-size: 0.76rem; }
.ach-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }

/* ── AI SECTION ── */
#ai { background: var(--bg); }
.ai-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.ai-card { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; transition: border-color 0.25s; }
.ai-card:hover { border-color: var(--accent); }
.ai-card-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.ai-card-title { display: block; font-size: 0.86rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.ai-card-sub { display: block; font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ── LEADERSHIP ── */
#leadership { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.leadership-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.lp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 7px; transition: border-color 0.25s; }
.lp-card:hover { border-color: var(--border-hover); }
.lp-num { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.lp-title { font-size: 0.86rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.lp-desc { font-size: 0.76rem; color: var(--text-muted); line-height: 1.6; }

/* Speaker highlight */
.speaker-highlight { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s; }
.speaker-highlight:hover { border-color: var(--border-hover); }
.sh-photos { display: grid; grid-template-rows: 1fr auto; gap: 2px; background: var(--bg); }
.sh-photo-main { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.sh-photo-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sh-photo-thumbs img { width: 100%; height: 100px; object-fit: cover; transition: opacity 0.3s; }
.sh-photo-thumbs img:hover { opacity: 0.85; }
.sh-content { background: var(--bg-card); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sh-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sh-badge { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); background: var(--accent-light); border: 1px solid rgba(201,169,110,0.2); padding: 3px 9px; border-radius: 4px; }
.sh-date { font-size: 0.73rem; color: var(--text-muted); }
.sh-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.4; letter-spacing: -0.01em; }
.sh-venue { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }
.sh-quote { border-left: 3px solid var(--accent); padding: 10px 14px; margin: 0; background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.82rem; color: var(--text-sub); line-height: 1.7; font-style: italic; }
.sh-quote cite { display: block; margin-top: 6px; font-size: 0.73rem; font-style: normal; font-weight: 600; color: var(--accent); }
.sh-link { font-size: 0.78rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: opacity 0.2s; align-self: flex-start; }
.sh-link:hover { opacity: 0.75; }

/* ── BEYOND WORK ── */
#beyond { background: var(--bg); }
.golf-card { display: grid; grid-template-columns: 1fr 240px; gap: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 18px; transition: border-color 0.3s; }
.golf-card:hover { border-color: var(--border-hover); }
.golf-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.golf-icon { font-size: 1.1rem; }
.golf-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.golf-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 6px; }
.golf-challenge { font-size: 0.88rem; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.golf-challenge strong { color: var(--accent); }
.golf-desc { font-size: 0.86rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 18px; }
.golf-ig-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
.golf-ig-link:hover { opacity: 0.75; }
.golf-right { display: flex; flex-direction: column; gap: 14px; padding-top: 2px; }
.brands-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); }
.brands-list { display: flex; flex-direction: column; gap: 7px; }
.brand-tag { font-size: 0.8rem; font-weight: 500; color: var(--text-sub); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; display: flex; align-items: center; gap: 8px; transition: border-color 0.25s, color 0.25s; }
.brand-tag:hover { border-color: var(--accent); color: var(--accent); }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.beyond-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.writing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.3s; }
.writing-card:hover { border-color: var(--border-hover); }
.writing-card-header { display: flex; align-items: center; gap: 8px; }
.writing-card-icon { font-size: 1.2rem; }
.writing-card-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.writing-card-desc { font-size: 0.85rem; color: var(--text-sub); line-height: 1.72; }
.writing-card-articles { display: flex; flex-direction: column; gap: 6px; }
.wc-article { display: block; text-decoration: none; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.25s, background 0.25s; }
.wc-article:hover { border-color: var(--accent); background: var(--accent-light); }
.wc-pub { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 4px; }
.wc-pub span { color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.wc-title { font-size: 0.83rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.beyond-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.3s; }
.beyond-card:hover { border-color: var(--border-hover); }
.beyond-icon { font-size: 1.4rem; }
.beyond-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--white); }
.beyond-card p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.75; }

/* ── CONTACT ── */
#contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.contact-left .section-num { display: block; margin-bottom: 10px; }
.contact-left h2 { font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.3rem); font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: -0.02em; }
.contact-left > p { font-size: 0.92rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; }
.contact-link { display: flex; justify-content: space-between; align-items: center; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--border); transition: border-color 0.2s; gap: 12px; }
.contact-link:first-child { border-top: 1px solid var(--border); }
.contact-link:hover { border-color: var(--accent); }
.link-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); flex-shrink: 0; }
.link-val { font-size: 0.84rem; color: var(--text-sub); transition: color 0.2s; text-align: right; word-break: break-all; }
.contact-link:hover .link-val { color: var(--accent); }
.contact-ig-row { cursor: default; }
.contact-ig-wrap { display: flex; align-items: center; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.contact-ig-sep { color: var(--text-muted); font-size: 0.8rem; }
.contact-ig-handle { font-size: 0.84rem; color: var(--text-sub); text-decoration: none; transition: color 0.2s; }
.contact-ig-handle:hover { color: var(--accent); }
.contact-right { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; }
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
input, textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 13px;
  color: var(--text); font-family: var(--font); font-size: 0.88rem;
  outline: none; resize: vertical; transition: border-color 0.2s, background 0.3s; width: 100%;
}
input:focus, textarea:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
.btn-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--accent); color: #000; border: none; border-radius: var(--radius); padding: 12px 18px; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: var(--font); }
.btn-submit:hover { opacity: 0.87; }
.btn-arrow { font-size: 1rem; }
#form-msg { margin-top: 10px; font-size: 0.82rem; text-align: center; min-height: 1.2em; }
#form-msg.form-msg-success { color: #4caf6e; }
#form-msg.form-msg-error   { color: #e05a5a; }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-name { font-size: 0.8rem; font-weight: 600; color: var(--text-sub); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }

/* ── RESPONSIVE — Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  section { padding: 80px 0; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { max-width: 100%; }
  .hero-card { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-label { flex-direction: row; align-items: center; gap: 10px; margin-bottom: 20px; }

  .syn-intro { grid-template-columns: 1fr; gap: 28px; }
  .syn-stats { grid-template-columns: repeat(4, 1fr); }

  .skills-awards-grid { grid-template-columns: 1fr; gap: 40px; }

  .exp-item { grid-template-columns: 1fr; gap: 4px; }
  .exp-meta { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }

  .leadership-pillars { grid-template-columns: repeat(2, 1fr); }
  .speaker-highlight { grid-template-columns: 1fr; }
  .sh-photo-main { height: 200px; }
  .sh-photo-thumbs img { height: 90px; }

  .golf-card { grid-template-columns: 1fr; gap: 28px; }

  .beyond-row { grid-template-columns: 1fr; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── RESPONSIVE — Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  :root { --nav-h: 56px; }
  section { padding: 64px 0; }

  .hero-headline { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }
  .hero-card { display: flex; flex-direction: column; }

  .section-header { flex-direction: column; gap: 6px; margin-bottom: 32px; }
  .section-heading { font-size: 1.7rem; }

  .syn-stats { grid-template-columns: repeat(2, 1fr); }

  .leadership-pillars { grid-template-columns: 1fr; }

  .lang-switcher { padding: 3px 8px; }
  .lang-btn { font-size: 0.68rem; }

  .footer-nav { flex-wrap: wrap; gap: 12px; }

  .about-pillars { gap: 6px; }
  .pillar { font-size: 0.74rem; }
}

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── NEARON SHOWCASE ── */
.nearon-showcase { margin-top: 48px; display: flex; flex-direction: column; gap: 28px; }

.nearon-platform {
  background: linear-gradient(135deg, rgba(201,169,110,0.06), var(--bg-card));
  border: 1px solid rgba(201,169,110,0.25);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.nearon-platform-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.nearon-platform-text { flex: 1; min-width: 260px; }
.nearon-badge {
  display: inline-flex; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); background: var(--accent-light);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 3px 9px; border-radius: 4px; margin-bottom: 12px;
}
.nearon-name {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em;
}
.nearon-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.78; }
.nearon-tags {
  display: flex; flex-direction: column; gap: 7px;
  align-items: flex-end; flex-shrink: 0;
}
.nearon-tag {
  font-size: 0.73rem; font-weight: 500; color: var(--text-sub);
  background: var(--bg); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px; white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.nearon-tag:hover { border-color: var(--accent); color: var(--accent); }

.nearon-solutions-label { margin-bottom: 16px; }
.nearon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.nearon-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 14px;
  display: flex; flex-direction: column; gap: 7px;
  transition: border-color 0.25s, transform 0.25s;
}
.nearon-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.nearon-card-icon { font-size: 1.25rem; line-height: 1; }
.nearon-card-title { font-size: 0.82rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.nearon-card-desc  { font-size: 0.74rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .nearon-grid { grid-template-columns: repeat(2, 1fr); }
  .nearon-tags { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .nearon-platform { padding: 20px; }
  .nearon-platform-top { flex-direction: column; gap: 16px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.1ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── PRINT ── */
@media print {
  #navbar, .nav-mobile, .hero-actions, .hero-line,
  .golf-ig-link, .sh-link, .nav-controls, .btn-ghost,
  .btn-primary, .syn-cta, footer .footer-nav { display: none !important; }

  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  .hero-photo { display: none !important; }
  .about-pillars, .exp-skills, .syn-stats,
  .ai-cards, .leadership-pillars, .golf-right { display: none !important; }

  section { padding: 20pt 0 !important; break-inside: avoid; scroll-margin-top: 0; }
  .skill-fill { transform: scaleX(1) !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: inherit; text-decoration: none; }
  .hero-headline { font-size: 22pt !important; }
  .section-heading { font-size: 16pt !important; }
  .exp-item { grid-template-columns: 140px 1fr !important; }
  .exp-body h3 { font-size: 11pt; }
  .contact-wrap { grid-template-columns: 1fr !important; }
  .contact-right { display: none !important; }
  footer { border-top: 1px solid #ccc !important; }
  .footer-copy { color: #000 !important; }
}
