/* ==========================================================================
   KAZI HARUN-OR-RASHID — Executive Capital Market Portfolio
   Design tokens
   ========================================================================== */
:root {
  /* Color */
  --navy-deep: #060b14;      /* darkest black-navy, base body bg */
  --navy: #0a1626;           /* primary section bg */
  --navy-light: #101f34;     /* raised panels on navy */
  --forest: #0c2018;         /* dark forest green panels */
  --forest-light: #10281e;
  --plum: #1f1424;           /* deep plum accent panels */
  --gold: #c6a15b;           /* primary gold accent */
  --gold-bright: #e3c383;    /* hover / highlight gold */
  --gold-dim: #8a7040;       /* muted gold for hairlines */
  --off-white: #f3efe6;      /* primary light text */
  --text-muted: #9aa5b3;     /* secondary text on dark */
  --text-faint: #6b7484;     /* tertiary text on dark */
  --border-hair: rgba(198, 161, 91, 0.16);
  --border-hair-strong: rgba(198, 161, 91, 0.32);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.45);

  /* Type */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max-width: 1340px;
  --nav-height: 88px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--navy-deep);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain texture over the whole page — keeps dark panels from
   feeling flat/digital and adds a premium, tactile, "printed" quality. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 16px;
  background: var(--gold); color: var(--navy-deep);
  padding: 10px 18px; z-index: 200; font-weight: 600;
  transition: top 0.2s var(--ease);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   Eyebrow / section labels
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.15rem);
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.18;
}
.section-head p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-pad { padding: 148px 0; }
@media (max-width: 768px) { .section-pad { padding: 88px 0; } }

.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.crumb .gold { color: var(--gold); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border-hair-strong);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), height 0.4s var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--border-hair);
  background: rgba(6, 11, 20, 0.92);
  height: 68px;
}
.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--off-white); font-weight: 600; }
.brand-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--off-white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--gold); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--gold); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,11,20,0.55) 0%, rgba(6,11,20,0.72) 55%, rgba(6,11,20,0.96) 100%),
    linear-gradient(90deg, rgba(6,11,20,0.92) 0%, rgba(6,11,20,0.55) 42%, rgba(6,11,20,0.35) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.hero-content { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.4vw, 4.8rem);
  line-height: 1.06;
  color: var(--off-white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin-bottom: 26px;
}
.hero-role .sep { color: var(--gold-dim); margin: 0 10px; }
.hero-desc {
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 540px;
  margin-bottom: 44px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 40px;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-meta svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 430px;
}
.portrait-frame {
  position: relative;
  border: 1px solid var(--border-hair-strong);
  padding: 14px;
  background: linear-gradient(160deg, rgba(198,161,91,0.06), transparent 60%);
  box-shadow: var(--shadow-deep);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(6%) contrast(1.06) saturate(1.03);
}
.portrait-frame::before,
.portrait-frame::after {
  content: '';
  position: absolute;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
}
.portrait-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.portrait-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-badge {
  position: absolute;
  left: -34px;
  bottom: -30px;
  background: var(--navy);
  border: 1px solid var(--gold-dim);
  padding: 22px 26px;
  min-width: 168px;
  box-shadow: var(--shadow-deep);
}
.hero-badge .badge-num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-badge .badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* ==========================================================================
   Life As It Is
   ========================================================================== */
.philosophy {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.philosophy-bg { position: absolute; inset: 0; z-index: 0; }
.philosophy-bg svg { width: 100%; height: 100%; }
.philosophy-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(6,11,20,0.35) 0%, rgba(6,11,20,0.88) 62%, rgba(6,11,20,0.98) 100%);
  z-index: 1;
}
.philosophy-inner {
  position: relative; z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 110px 32px;
}
.philosophy-inner .eyebrow { justify-content: center; }
.philosophy-inner .eyebrow::before { display: none; }
.philosophy-inner h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  color: var(--off-white);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.philosophy-inner p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.philosophy-rule {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 34px auto 0;
}

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--navy); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo .frame {
  border: 1px solid var(--border-hair-strong);
  padding: 12px;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(8%) contrast(1.05) saturate(1.03);
}
.about-photo .stat-chip {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--forest);
  border: 1px solid var(--gold-dim);
  padding: 16px 20px;
  text-align: center;
}
.about-photo .stat-chip .n {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}
.about-photo .stat-chip .l {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--off-white);
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 22px;
}
.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hair);
}

.about-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--off-white);
}
.about-points svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ==========================================================================
   Expertise cards
   ========================================================================== */
.expertise { background: var(--navy-deep); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.exp-card {
  background: linear-gradient(155deg, var(--forest) 0%, var(--navy) 100%);
  border: 1px solid var(--border-hair);
  padding: 42px 34px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.exp-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.exp-card .ico {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.exp-card:hover .ico { background: var(--gold); color: var(--navy-deep); }
.exp-card .ico svg { width: 22px; height: 22px; }
.exp-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--off-white);
  margin-bottom: 10px;
  font-weight: 600;
}
.exp-card p { color: var(--text-muted); font-size: 0.9rem; }
.exp-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

/* ==========================================================================
   Executive statement (pull-quote)
   ========================================================================== */
.statement {
  background: var(--forest);
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: '"';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 22rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.statement-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}
.statement blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.5;
  color: var(--off-white);
}
.statement cite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  font-style: normal;
}
.statement cite .rule { width: 30px; height: 1px; background: var(--gold); }
.statement cite .name { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; color: var(--gold-bright); }

/* ==========================================================================
   Journey timeline
   ========================================================================== */
.journey { background: var(--navy); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 34px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
}
.tl-item { position: relative; padding: 90px 36px 0 0; }
.tl-item:last-child { padding-right: 0; padding-left: 36px; }
.tl-node {
  position: absolute;
  top: 20px; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.tl-item:last-child .tl-node { left: auto; right: 0; }
.tl-node svg { width: 14px; height: 14px; color: var(--gold); }
.tl-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.tl-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--off-white);
  margin-bottom: 6px;
}
.tl-item .role { color: var(--gold-bright); font-size: 0.92rem; margin-bottom: 4px; }
.tl-item .meta { color: var(--text-faint); font-size: 0.84rem; }

/* ==========================================================================
   Highlights / stats bar
   ========================================================================== */
.highlights {
  background: linear-gradient(120deg, var(--plum) 0%, var(--navy-deep) 55%, var(--forest) 100%);
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
  padding: 64px 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box { text-align: center; padding: 0 12px; position: relative; }
.stat-box:not(:last-child)::after {
  content: '';
  position: absolute; top: 8px; right: 0; bottom: 8px;
  width: 1px; background: var(--border-hair);
}
.stat-box .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-box .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--navy-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--off-white);
  margin-bottom: 18px;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; max-width: 420px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list .ico {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list .label { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-list .value { color: var(--off-white); font-size: 0.98rem; }
.contact-list .value a { color: inherit; transition: color 0.3s var(--ease); }
.contact-list .value a:hover { color: var(--gold); }

.contact-form {
  background: var(--navy-light);
  border: 1px solid var(--border-hair);
  padding: 48px;
  box-shadow: var(--shadow-deep);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--border-hair);
  padding: 13px 15px;
  color: var(--off-white);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 14px;
}
.form-note.success { color: var(--gold-bright); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-hair);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-hair);
}
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand .brand-tag { display: block; margin: 6px 0 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-hair-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a.social-badge {
  border: none;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer-social a.social-badge svg { width: 38px; height: 38px; }
.footer-social a.social-badge:hover {
  border-color: transparent;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.4);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
}
.footer-bottom p { color: var(--text-faint); font-size: 0.82rem; }
.footer-bottom .footer-statement { color: var(--gold-dim); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; }

.footer-credit {
  text-align: center;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--border-hair);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.footer-credit a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* ==========================================================================
   Expertise detail pages
   ========================================================================== */
.detail-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-hair);
}
.detail-icon-lg {
  width: 84px; height: 84px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  background: linear-gradient(155deg, var(--forest), var(--navy));
}
.detail-icon-lg svg { width: 38px; height: 38px; }
.detail-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--off-white);
  font-weight: 600;
  margin-bottom: 8px;
}
.detail-intro .lede { color: var(--text-muted); font-size: 1.02rem; max-width: 640px; }

.detail-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-bottom: 70px;
}
.detail-body .copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; }
.detail-body .copy h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--off-white);
  margin: 30px 0 14px;
}
.detail-list { display: flex; flex-direction: column; gap: 14px; }
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--off-white);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hair);
}
.detail-list li:last-child { border-bottom: none; padding-bottom: 0; }
.detail-list svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.detail-side {
  background: var(--navy-light);
  border: 1px solid var(--border-hair);
  padding: 32px;
  height: fit-content;
}
.detail-side h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.detail-side .fact { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border-hair); font-size: 0.88rem; }
.detail-side .fact:last-of-type { border-bottom: none; }
.detail-side .fact .k { color: var(--text-muted); }
.detail-side .fact .v { color: var(--off-white); font-family: var(--font-mono); text-align: right; }
.detail-side .btn { width: 100%; justify-content: center; margin-top: 24px; }

.related-expertise {
  padding-top: 60px;
  border-top: 1px solid var(--border-hair);
}
.related-expertise h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--navy-light);
  border: 1px solid var(--border-hair);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.related-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.related-card .ico {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.related-card .ico svg { width: 18px; height: 18px; }
.related-card span { font-size: 0.9rem; color: var(--off-white); font-weight: 500; }

/* Clickable expertise cards on homepage */
.exp-card-link { display: block; }
.exp-card-link:hover .exp-card { transform: translateY(-6px); border-color: var(--gold-dim); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
.exp-card-link:hover .ico { background: var(--gold); color: var(--navy-deep); }
.exp-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.exp-card .more svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.exp-card-link:hover .more { color: var(--gold); gap: 10px; }
.exp-card-link:hover .more svg { transform: translateX(2px); }

/* ==========================================================================
   Inner page header (Education / Tools / Experience pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 84px) 0 90px;
  background: var(--navy-deep);
  overflow: hidden;
  border-bottom: 1px solid var(--border-hair);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.page-hero-bg svg { width: 100%; height: 100%; }
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,11,20,0.5), rgba(6,11,20,0.97));
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--off-white);
}

/* Education timeline */
.edu-timeline { max-width: 780px; margin: 0 auto; position: relative; }
.edu-timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 27px;
  width: 1px;
  background: linear-gradient(var(--gold-dim), var(--gold), var(--gold-dim));
}
.edu-item {
  position: relative;
  padding-left: 78px;
  padding-bottom: 52px;
}
.edu-item:last-child { padding-bottom: 0; }
.edu-node {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.edu-node svg { width: 24px; height: 24px; }
.edu-item .tl-tag { margin-bottom: 12px; }
.edu-item h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--off-white); margin-bottom: 6px; }
.edu-item .inst { color: var(--gold-bright); font-size: 0.94rem; margin-bottom: 4px; }
.edu-item .division { color: var(--text-muted); font-size: 0.86rem; }

/* Tools cards */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tool-card {
  background: linear-gradient(155deg, var(--navy-light), var(--navy));
  border: 1px solid var(--border-hair);
  padding: 38px;
}
.tool-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.tool-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.tool-icon svg { width: 26px; height: 26px; }
.tool-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--off-white); }
.tool-list { display: flex; flex-direction: column; gap: 12px; }
.tool-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.tool-list svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.tool-quote {
  margin-top: 40px;
  padding: 30px;
  border-left: 2px solid var(--gold);
  background: var(--navy-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--off-white);
}
.tool-quote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-style: normal; font-size: 0.75rem; color: var(--gold-dim); }

/* Career progression steps (used inside the ICB experience card) */
.career-steps { margin: 8px 0 36px; padding-bottom: 32px; border-bottom: 1px solid var(--border-hair); }
.career-step {
  position: relative;
  padding-left: 30px;
  padding-bottom: 24px;
  border-left: 1px solid var(--border-hair-strong);
}
.career-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.career-step::before {
  content: '';
  position: absolute;
  left: -5px; top: 3px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid var(--gold);
}
.career-step.is-current::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(198,161,91,0.15); }
.career-step .period {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 5px;
}
.career-step h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--off-white);
  font-weight: 600;
  margin-bottom: 3px;
}
.career-step .loc { font-size: 0.85rem; color: var(--text-muted); }

/* Experience page */
.exp-page-item {
  background: var(--navy-light);
  border: 1px solid var(--border-hair);
  padding: 42px;
  margin-bottom: 28px;
}
.exp-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-hair);
}
.exp-page-head h3 { font-family: var(--font-display); font-size: 1.55rem; color: var(--off-white); margin-bottom: 6px; }
.exp-page-head .role { color: var(--gold-bright); font-size: 0.98rem; }
.exp-page-head .meta { color: var(--text-faint); font-size: 0.84rem; margin-top: 4px; }
.exp-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  height: fit-content;
}
.resp-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.resp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.resp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--off-white); }
.resp-list svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Signature motif — trend line draw-on animation
   ========================================================================== */
.trend-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawTrend 2.6s var(--ease) 0.3s forwards;
}
.candle { opacity: 0; animation: candleIn 0.6s var(--ease) forwards; }
@keyframes drawTrend { to { stroke-dashoffset: 0; } }
@keyframes candleIn { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .trend-path { animation: none; stroke-dashoffset: 0; }
  .candle { animation: none; opacity: 1; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Back to top button
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px; height: 48px;
  background: var(--navy-light);
  border: 1px solid var(--border-hair-strong);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease), visibility 0.35s;
  box-shadow: var(--shadow-deep);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: center; max-width: 320px; margin-top: 40px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .tools-grid { grid-template-columns: 1fr; }
  .detail-body { grid-template-columns: 1fr; gap: 40px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 0; }

  .mobile-menu {
    position: fixed; inset: 0;
    background: var(--navy-deep);
    z-index: 105;
    display: flex; flex-direction: column;
    padding: calc(var(--nav-height) + 20px) 32px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s linear 0s;
  }
  .mobile-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--off-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-hair);
  }
  .mobile-menu a.active { color: var(--gold); }
  .mobile-menu .btn { margin-top: 30px; width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 48px 20px 76px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 14px; right: auto; width: 1px; height: auto; }
  .tl-item, .tl-item:last-child { padding: 0 0 60px 56px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-node, .tl-item:last-child .tl-node { left: 0; right: auto; top: 0; }
  .highlights-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat-box:nth-child(2)::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .resp-list { grid-template-columns: 1fr; }
  .edu-timeline::before { left: 21px; }
  .edu-item { padding-left: 62px; }
  .edu-node { width: 44px; height: 44px; }
  .edu-node svg { width: 20px; height: 20px; }
  .detail-intro { grid-template-columns: 1fr; text-align: center; }
  .detail-icon-lg { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.1rem; }
  .hero-badge { padding: 16px 20px; min-width: 140px; }
  .hero-badge .badge-num { font-size: 1.6rem; }
  .section-pad { padding: 64px 0; }
  .contact-form { padding: 26px; }
  .about-photo .stat-chip { right: 0; bottom: -18px; padding: 12px 16px; }
}
