@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;0,900;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:          #f4f5f1;
  --bg-1:        #eef1ea;
  --surface:     rgba(255,255,255,.72);
  --surface-2:   rgba(255,255,255,.9);

  --text:        #111713;
  --muted:       #4f5a51;
  --subtle:      #8b938a;

  --gold:        #0b6b43;
  --gold-lt:     #0b7a4a;
  --gold-glow:   rgba(32,184,111,.2);
  --gold-bg:     rgba(32,184,111,.09);
  --line-gold:   rgba(32,184,111,.24);

  --teal:        #1e66ff;
  --teal-glow:   rgba(30,102,255,.14);

  --line:        rgba(17,23,19,.1);

  --shadow-sm:   0 12px 34px rgba(17,23,19,.08);
  --shadow-md:   0 18px 48px rgba(17,23,19,.1);
  --shadow-lg:   0 24px 70px rgba(17,23,19,.12);
  --glow-gold:   0 0 42px rgba(32,184,111,.12);

  --max:         1200px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font:         'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  --ease:         cubic-bezier(.22,.68,0,1.2);
  --ease-std:     cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(32,184,111,.13), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(30,102,255,.14), transparent 24rem),
    radial-gradient(circle at 72% 88%, rgba(34,197,94,.11), transparent 28rem),
    linear-gradient(145deg, var(--bg), var(--bg-1));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
section, header { scroll-margin-top: 80px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  transform: translateY(-200%);
  background: var(--gold); color: #fff;
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 700; font-size: .875rem;
}
.skip-link:focus { transform: translateY(0); }

/* ── AMBIENT ORBS (fixed, behind everything) ─────────────── */
.bg-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-orbs::before {
  content: '';
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,184,111,.13) 0%, transparent 70%);
  top: -10%; left: -8%;
  animation: orbFloat 22s ease-in-out infinite;
}
.bg-orbs::after {
  content: '';
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,102,255,.12) 0%, transparent 70%);
  bottom: 5%; right: -6%;
  animation: orbFloat 28s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(28px,-36px) scale(1.05); }
  66%      { transform: translate(-18px,28px) scale(.97); }
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.site-nav {
  position: relative; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(20px,5vw,64px); height: 72px;
  background: rgba(230,233,239,.58);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: border-color 300ms, box-shadow 300ms;
}
.site-nav.is-scrolled {
  border-color: rgba(32,184,111,.16);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--text); flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

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

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius);
  color: var(--muted); font-size: .875rem; font-weight: 600;
  transition: color 200ms, background 200ms;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.nav-cta,
.nav-home {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  transition: background 200ms, transform 200ms, box-shadow 200ms;
}

.nav-cta {
  background: var(--gold); color: #ffffff;
}

.nav-home {
  color: var(--gold-lt);
  border: 1px solid var(--line-gold);
  background: var(--gold-bg);
}

.nav-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.nav-home:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.portfolio-breadcrumb {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px clamp(20px,5vw,64px);
  color: var(--muted);
  border-bottom: 1px solid rgba(36,48,68,.08);
  background: rgba(230,233,239,.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-breadcrumb ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  min-height: 24px;
  max-width: var(--max);
  padding: 0;
}

.portfolio-breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
}

.portfolio-breadcrumb li + li::before {
  content: "/";
  padding: 0 8px;
  color: rgba(101,115,134,.52);
  font-weight: 500;
}

.portfolio-breadcrumb a {
  color: var(--muted);
  transition: color 180ms ease;
}

.portfolio-breadcrumb a:hover,
.portfolio-breadcrumb [aria-current="page"] {
  color: var(--text);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(44px,6vw,72px) clamp(20px,5vw,40px) clamp(40px,5vw,64px);
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: clamp(32px,5vw,56px);
  align-items: start;
}

/* subtle dot-grid pattern in hero right area */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(circle, rgba(36,48,68,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at 85% 40%, rgba(0,0,0,.5), transparent 70%);
  mask-image: radial-gradient(ellipse 50% 80% at 85% 40%, rgba(0,0,0,.5), transparent 70%);
}

.availability-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--line-gold); background: var(--gold-bg);
  color: var(--gold-lt); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.availability-pill::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s ease infinite; flex-shrink: 0;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,3vw,2.6rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -.025em;
  color: var(--text); max-width: 820px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--teal) 50%, #0b7a4a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 4s ease infinite;
}

@keyframes gradShift {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

.hero-summary {
  margin-top: 14px; max-width: 620px;
  color: var(--muted); font-size: .93rem; line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem; font-weight: 700;
  letter-spacing: .02em; border: 1px solid transparent; cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms, background 200ms, border-color 200ms;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover {
  background: var(--gold-lt); transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--gold-glow);
}
.btn-secondary {
  background: transparent; color: var(--text); border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--gold); color: var(--gold-lt);
  transform: translateY(-2px); background: var(--gold-bg);
}

/* ── HERO METRICS ────────────────────────────────────────── */
.hero-metrics {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px; margin-top: 22px;
}
.hero-metrics div {
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(12px);
  transition: border-color 250ms, background 250ms;
}
.hero-metrics div:hover { border-color: var(--line-gold); background: var(--gold-bg); }
.hero-metrics dt {
  font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold);
}
.hero-metrics dd { margin-top: 5px; color: var(--muted); font-size: .85rem; line-height: 1.4; }

/* ── HERO PANEL ──────────────────────────────────────────── */
.hero-panel {
  position: relative; border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(203,209,220,.64));
  padding: 12px;
  box-shadow: var(--shadow-lg), var(--glow-gold);
}
.hero-panel::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(145deg, rgba(32,184,111,.22), transparent 50%, rgba(30,102,255,.16));
  z-index: -1;
}
.hero-panel::after {
  content: '';
  position: absolute; bottom: -32px; left: 10%; right: 10%; height: 64px;
  background: radial-gradient(ellipse, rgba(32,184,111,.16) 0%, transparent 70%);
  filter: blur(24px); z-index: -1;
}
.hero-panel img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top;
  border-radius: calc(var(--radius-xl) - 4px);
}

.profile-card {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  padding: 16px 18px; border-radius: var(--radius);
  background: rgba(230,233,239,.9);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.profile-card .profile-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text);
}
.profile-card p:not(.profile-name) { margin-top: 4px; font-size: .8rem; color: var(--muted); }

/* ── KEYWORD TICKER ──────────────────────────────────────── */
.keyword-strip {
  position: relative; z-index: 1;
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-1);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px; white-space: nowrap;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.ticker-item::after {
  content: ''; display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .55;
}

/* ── SECTION BASE ────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: clamp(48px,6vw,80px) clamp(20px,5vw,40px);
}
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-alt { background: var(--bg-1); }

.section-intro { margin-bottom: 32px; }
.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem,2.4vw,2rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.018em;
  color: var(--text); max-width: 800px;
}
.section-intro p:not(.eyebrow) {
  margin-top: 12px; max-width: 680px;
  color: var(--muted); font-size: .95rem; line-height: 1.7;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px; font-size: .73rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 26px; height: 1px; background: var(--gold);
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; align-items: start;
}
.about-copy { color: var(--muted); font-size: .93rem; line-height: 1.75; }
.about-copy p + p { margin-top: 14px; }
.about-copy strong { color: var(--text); font-weight: 700; }

.quick-facts { display: grid; gap: 10px; }
.quick-facts article {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(12px);
  transition: border-color 200ms, background 200ms;
}
.quick-facts article:hover { border-color: var(--line-gold); background: var(--gold-bg); }
.quick-facts strong {
  display: block; font-size: .73rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.quick-facts span { display: block; color: var(--muted); font-size: .85rem; }

/* ── SERVICES ────────────────────────────────────────────── */
.service-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;
}
.service-card {
  padding: 24px 22px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms, background 260ms, box-shadow 260ms;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 260ms;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32,184,111,.22);
  background: var(--surface-2);
  box-shadow: var(--shadow-md), 0 0 40px var(--gold-glow);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 900;
  color: var(--gold); opacity: .14; line-height: 1; margin-bottom: 10px;
  letter-spacing: -.05em;
}
.service-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 8px;
}
.service-card p { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ── CAREER SNAPSHOT ─────────────────────────────────────── */
.results-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;
}
.result-card {
  padding: 24px 22px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  backdrop-filter: blur(12px);
  transition: transform 260ms var(--ease), border-color 260ms, box-shadow 260ms;
}
.result-card:hover {
  transform: translateY(-5px);
  border-color: rgba(32,184,111,.22);
  box-shadow: var(--shadow-md);
}
.result-label {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--gold-bg); border: 1px solid var(--line-gold);
  color: var(--gold); font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.result-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 8px;
}
.result-card p { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ── SKILLS ──────────────────────────────────────────────── */
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.skills-grid span {
  display: inline-flex; align-items: center; height: 40px;
  padding: 0 18px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--muted);
  font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(8px); cursor: default;
  transition: border-color 200ms, color 200ms, background 200ms, transform 200ms;
}
.skills-grid span:hover {
  border-color: var(--gold); color: var(--gold-lt);
  background: var(--gold-bg); transform: translateY(-2px);
}

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline {
  display: grid; gap: 12px;
  position: relative; padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(30,102,255,.18));
}
.timeline-item {
  position: relative;
  padding: 20px 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  backdrop-filter: blur(12px);
  transition: border-color 250ms, box-shadow 250ms;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -42px; top: 34px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg);
  box-shadow: 0 0 12px var(--gold-glow);
}
.timeline-item:hover { border-color: rgba(32,184,111,.28); box-shadow: var(--shadow-sm); }
.timeline-item time {
  display: inline-flex; padding: 4px 12px; border-radius: 100px;
  background: var(--gold-bg); border: 1px solid var(--line-gold);
  color: var(--gold); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.timeline-item h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 8px;
}
.timeline-item p { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ── CERTIFICATIONS ──────────────────────────────────────── */
.cert-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;
}
.cert-card {
  padding: 22px 20px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  backdrop-filter: blur(12px); position: relative;
  transition: border-color 250ms, transform 260ms var(--ease), box-shadow 250ms;
}
.cert-card::before {
  content: '✦';
  position: absolute; top: 22px; right: 22px;
  color: var(--gold); opacity: .35; font-size: 1rem;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32,184,111,.28); box-shadow: var(--shadow-sm);
}
.cert-card h3 {
  font-size: .93rem; font-weight: 700; color: var(--text);
  line-height: 1.35; margin-bottom: 8px; max-width: 88%;
}
.cert-card p { color: var(--muted); font-size: .85rem; line-height: 1.65; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: 48px; align-items: start;
  max-width: var(--max); margin: 0 auto;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem,2.4vw,1.9rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.018em;
  color: var(--text); margin-top: 0; margin-bottom: 14px;
}
.contact-copy > p {
  color: var(--muted); font-size: .93rem; line-height: 1.72; margin-bottom: 20px;
}
.contact-links, .social-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.contact-links a,
.contact-links span,
.social-links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted);
  font-size: .85rem; font-weight: 600; backdrop-filter: blur(8px);
  transition: border-color 200ms, color 200ms, background 200ms;
}
.contact-links a:hover, .social-links a:hover {
  border-color: var(--gold); color: var(--gold-lt); background: var(--gold-bg);
}

.contact-form {
  padding: 32px; border: 1px solid var(--line);
  border-radius: var(--radius-xl); background: var(--surface);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 20px; }
.form-group:last-of-type { margin-bottom: 0; }

.contact-form label {
  display: block; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.56); color: var(--text);
  font: inherit; font-size: .95rem; color-scheme: light;
  transition: border-color 200ms, box-shadow 200ms, background 200ms;
  -webkit-appearance: none; appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%237a8899' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 20px; padding-right: 40px; cursor: pointer;
  background-color: rgba(255,255,255,.56);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--subtle); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  background: var(--gold-bg);
  box-shadow: 0 0 0 3px rgba(32,184,111,.12);
}
.contact-form button { width: 100%; height: 52px; margin-top: 24px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 28px clamp(20px,5vw,64px);
  border-top: 1px solid var(--line); background: var(--bg-1);
}
.site-footer p { color: var(--subtle); font-size: .85rem; }
.site-footer nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-footer nav a {
  padding: 6px 12px; border-radius: var(--radius);
  color: var(--muted); font-size: .85rem; font-weight: 600;
  transition: color 200ms, background 200ms;
}
.site-footer nav a:hover { color: var(--gold-lt); background: var(--gold-bg); }

/* ── WORK / PORTFOLIO ────────────────────────────────────── */
.work-category      { margin-bottom: 52px; }
.work-category:last-child { margin-bottom: 0; }

.work-cat-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.work-cat-title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); letter-spacing: -.02em; margin: 0;
}

.work-cat-count {
  display: inline-flex; align-items: center; height: 24px;
  padding: 0 10px; border-radius: 100px;
  background: var(--gold-bg); border: 1px solid var(--line-gold);
  color: var(--gold); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}

.work-grid--3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.work-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms, box-shadow 260ms;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32,184,111,.25);
  box-shadow: var(--shadow-md);
}

.work-thumb {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 1/1; text-decoration: none;
}

.work-thumb--video { aspect-ratio: 16/9; }

.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform 350ms var(--ease-std);
}

.work-card:hover .work-thumb img { transform: scale(1.04); }

/* placeholder shown until an image is inserted */
.work-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: var(--surface-2);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 8px,
    rgba(36,48,68,.035) 8px, rgba(36,48,68,.035) 16px
  );
  color: var(--subtle); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-align: center;
  padding: 12px;
}

.work-ph-icon {
  font-size: 1.4rem; opacity: .5;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1.5px dashed var(--subtle);
  display: flex; align-items: center; justify-content: center;
}

/* hover overlay */
.work-overlay {
  position: absolute; inset: 0;
  background: rgba(36,48,68,.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 230ms;
}

.work-thumb:hover .work-overlay { opacity: 1; }

.work-overlay-label {
  color: var(--gold-lt); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-gold); padding: 8px 18px;
  border-radius: 100px; background: var(--gold-bg);
}

.play-btn {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; padding-left: 3px;
  box-shadow: 0 0 24px var(--gold-glow);
}

.work-info { padding: 14px 16px 16px; }

.work-info h4 {
  font-size: .93rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 5px;
}

.work-info p {
  font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-info p.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.work-see-more {
  display: inline-block; background: none; border: none; padding: 0;
  font-size: .72rem; font-weight: 700; color: var(--gold);
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; margin-bottom: 8px;
  transition: color 180ms;
  font-family: var(--font);
}
.work-see-more:hover { color: var(--gold-lt); }

.work-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 700; color: var(--gold);
  letter-spacing: .06em; text-transform: uppercase;
  transition: color 180ms, gap 180ms;
}

.work-link:hover { color: var(--gold-lt); gap: 9px; }

.work-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 8px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  background: var(--gold-bg);
  font-size: .78rem; font-weight: 600;
  color: var(--gold-lt); font-style: italic;
  letter-spacing: .02em;
}

/* ── EDUCATION ───────────────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.edu-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: transform 260ms var(--ease), box-shadow 260ms, border-color 260ms;
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold-lt);
}

.edu-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}

.edu-badge {
  display: inline-flex; align-items: center; height: 24px;
  padding: 0 10px; border-radius: 100px; flex-shrink: 0;
  background: var(--gold-bg); border: 1px solid var(--line-gold);
  color: var(--gold); font-size: .68rem; font-weight: 800;
  letter-spacing: .06em;
}

.edu-type {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}

.edu-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 6px;
}

.edu-location {
  font-size: .82rem; color: var(--subtle);
  font-style: italic; margin: 0;
}

/* ── SOCIETY CARDS ───────────────────────────────────────── */
.society-label {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(30,102,255,.08); border: 1px solid rgba(30,102,255,.25);
  color: var(--teal); font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}

.society-card {
  padding: 24px 22px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms, box-shadow 260ms;
}

.society-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity 260ms;
}

.society-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30,102,255,.22);
  box-shadow: var(--shadow-md), 0 0 40px rgba(30,102,255,.08);
}

.society-card:hover::before { opacity: 1; }

.society-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 8px;
}

.society-card p {
  color: var(--muted); font-size: .875rem; line-height: 1.7; margin: 0;
}

.society-time {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: var(--teal); opacity: .75;
}

.society-icon {
  position: absolute; top: 20px; right: 20px;
  font-size: 1.1rem; opacity: .2;
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 620ms var(--ease-std), transform 620ms var(--ease-std);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero                { grid-template-columns: 1fr; }
  .hero-panel          { max-width: 400px; }
  .about-grid          { grid-template-columns: 1fr; }
  .contact-section     { grid-template-columns: 1fr; }
  .service-grid,
  .results-grid,
  .cert-grid           { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-grid           { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-grid--3        { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edu-grid            { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .timeline            { padding-left: 24px; }
  .timeline-item::before { left: -32px; }
}

@media (max-width: 680px) {
  .nav-links           { display: none; }
  .nav-actions         { gap: 8px; }
  .nav-cta,
  .nav-home            { height: 36px; padding: 0 14px; font-size: .82rem; }
  .hero-metrics,
  .service-grid,
  .results-grid,
  .cert-grid           { grid-template-columns: 1fr; }
  .work-grid,
  .work-grid--3        { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edu-grid            { grid-template-columns: 1fr; }
  .hero-actions        { flex-direction: column; }
  .btn                 { width: 100%; }
  .profile-card        { position: static; margin-top: 12px; }
  .contact-form        { padding: 24px 18px; }
  .timeline            { padding-left: 20px; }
  .timeline-item::before { left: -28px; width: 12px; height: 12px; }
}

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

/* Homepage platform palette alignment */
body {
  background:
    radial-gradient(circle at 12% 10%, rgba(32,184,111,.1), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(30,102,255,.08), transparent 24rem),
    linear-gradient(145deg, var(--bg), var(--bg-1));
}

.orb-1 {
  background: radial-gradient(circle, rgba(32,184,111,.12) 0%, transparent 70%);
}

.orb-2 {
  background: radial-gradient(circle, rgba(30,102,255,.1) 0%, transparent 70%);
}

.nav-logo:hover,
.hero-card:hover,
.service-card:hover,
.portfolio-card:hover,
.timeline-item:hover,
.contact-link:hover,
.society-card:hover {
  border-color: var(--line-gold);
}

.hero-bg::before,
.visual-orbit,
.contact::before {
  background: radial-gradient(circle, rgba(32,184,111,.12) 0%, rgba(30,102,255,.06) 36%, transparent 70%);
}

.timeline::before {
  background: linear-gradient(to bottom, var(--gold), rgba(30,102,255,.14));
}

.timeline-item::before {
  box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(32,184,111,.24);
}


