/* ============================================================
   styles.css
   Portfolio Design System — Single Source of Truth
   Order: Tokens → Reset → Base → Layout → Components → Pages
   No duplicates. Every rule written exactly once.
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Colours */
  --bg:           #0a0a0b;
  --surface:      #111114;
  --surface2:     #18181c;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --text:         #f0ede8;
  --text-muted:   #8a8785;
  --text-dim:     #5a5856;

  --accent:       #c8a96e;
  --accent-pale:  rgba(200,169,110,0.12);
  --accent-glow:  rgba(200,169,110,0.25);

  --green:        #4ade80;
  --green-pale:   rgba(74,222,128,0.10);

  --blue:         #60a5fa;
  --blue-pale:    rgba(96,165,250,0.10);

  /* Typography */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'DM Mono', 'Fira Code', monospace;

  /* Spacing & Shape */
  --radius:    12px;
  --radius-sm:  6px;
  --max-w:   1120px;
  --section-pad: 120px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}


/* ============================================================
   3. GLOBAL OVERLAYS
   ============================================================ */

/* Noise texture — rendered once, GPU-composited */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  will-change: transform; /* own compositor layer */
}


/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

/* Inline label with leading rule */
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}


/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}


/* ============================================================
   6. SCROLL REVEAL  (JS adds .visible)
   ============================================================ */
.reveal,
.timeline-item,
.metric-card,
.project-card,
.blog-card,
.post-card,
.expertise-item,
.ach-card,
.feature-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible,
.timeline-item.visible,
.metric-card.visible,
.project-card.visible,
.blog-card.visible,
.post-card.visible,
.expertise-item.visible,
.ach-card.visible,
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline slides in from right */
.timeline-item       { transform: translateX(20px); }
.timeline-item.visible { transform: translateX(0); }

/* Expertise slides in from left */
.expertise-item        { transform: translateX(-16px); }
.expertise-item.visible { transform: translateX(0); }

/* Stagger helpers */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }


/* ============================================================
   7. ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0   rgba(74,222,128,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

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


/* ============================================================
   8. HEADER & NAV
   ============================================================ */
/* Modified Header - Visible by default */
header {
  
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border 0.3s, backdrop-filter 0.3s;
  
  /* Add these lines to make it show initially on desktop */
  background: rgba(10, 10, 11, 0.95); 
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* You can keep this to change opacity slightly or remove it if you want it constant */
header.scrolled {
  background: rgba(10, 10, 11, 0.98);
  border-bottom: 1px solid var(--border-hover);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo span {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--serif);
  font-style: italic;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* CTA pill inside nav */
.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 10001; 
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}


/* ============================================================
   9. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #d9ba7f;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: var(--border-hover);
}

.btn-gold {
  background: var(--accent);
  color: var(--bg);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-gold:hover { background: #d9ba7f; transform: translateY(-1px); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--surface2); }

/* Dark buttons (used on accent backgrounds) */
.btn-dark {
  background: var(--bg);
  color: var(--text);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-dark:hover { opacity: 0.85; }

.btn-outline-dark {
  border: 2px solid rgba(10,10,11,0.3);
  color: var(--bg);
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}
.btn-outline-dark:hover { background: rgba(10,10,11,0.1); }


/* ============================================================
   10. SHARED SECTION PATTERNS
   ============================================================ */

/* Page hero used on inner pages (blog, projects, about…) */
.page-hero {
  padding: 148px 0 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 40%, rgba(200,169,110,0.055), transparent 65%);
}

.page-hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }

.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.65;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a           { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover     { color: var(--accent); }
.breadcrumb > span      { color: var(--text-dim); }

/* Section title / divider heading */
.section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Horizontal rule divider */
.section-divider-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 52px;
}

/* Small section divider with heading */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.section-divider h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Update / last-modified badge */
.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-pale);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 6px;
  padding: 8px 14px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Filter tabs (blog & projects) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 28px 0 0;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover  { border-color: var(--border-hover); color: var(--text-muted); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }

/* Availability pill / dot */
.availability-dot,
.avail-dot,
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.availability-banner {
  background: var(--green-pale);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.availability-text       { font-size: 14px; color: var(--text-muted); }
.availability-text strong { color: var(--green); }

/* CTA strip (about page) */
.cta-strip {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
}
.cta-strip h2 { font-family: var(--serif); font-size: 36px; color: var(--bg); margin-bottom: 12px; }
.cta-strip p  { color: rgba(10,10,11,0.7); font-size: 16px; margin-bottom: 32px; }
.cta-strip-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   11. SIDEBAR — shared pattern
   ============================================================ */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Table of Contents */
.toc-list { display: flex; flex-direction: column; gap: 2px; }

.toc-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  padding: 7px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1.4;
}
.toc-item a:hover,
.toc-item a.active { background: var(--surface2); color: var(--accent); }

.toc-num { font-family: var(--mono); font-size: 10px; color: var(--text-dim); min-width: 18px; }

/* CTA card inside sidebar (gold background) */
.contact-card {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  border: none;
}
.contact-card h3 { font-family: var(--serif); font-size: 20px; color: var(--bg); margin-bottom: 8px; }
.contact-card p  { font-size: 13px; color: rgba(10,10,11,0.7); margin-bottom: 18px; line-height: 1.6; }
.contact-card a  { display: block; background: var(--bg); color: var(--text); padding: 11px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; text-align: center; transition: opacity 0.2s; }
.contact-card a:hover { opacity: 0.85; }

/* Related / recent links */
.related-links { display: flex; flex-direction: column; gap: 6px; }
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.related-link:hover { border-color: var(--accent); color: var(--accent); }

/* Share buttons */
.share-btns { display: flex; flex-direction: column; gap: 8px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}
.share-btn:hover { border-color: var(--border-hover); color: var(--text); }


/* ============================================================
   12. FOOTER
   ============================================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo         { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.footer-logo strong  { color: var(--accent); }

.footer-links        { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a      { font-size: 13px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }

.footer-copy { font-size: 12px; color: var(--text-dim); font-family: var(--mono); }


/* ============================================================
   13. HOMEPAGE — HERO
   ============================================================ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(200,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(96,165,250,0.04)  0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.hero-left { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 36px;
}
.hero-badge span { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }

.hero-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Stat cards sidebar */
.hero-stats { display: flex; flex-direction: column; gap: 2px; }

.hero-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-width: 180px;
  transition: border-color 0.2s;
}
.hero-stat:hover { border-color: var(--border-hover); }

.hero-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); line-height: 1.4; font-weight: 300; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  animation: float 3s ease-in-out infinite;
}
.scroll-hint span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.scroll-arrow { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--text-muted), transparent); }


/* ============================================================
   14. HOMEPAGE — MARQUEE TICKER
   ============================================================ */
.ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: var(--surface);
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ticker-item::after { content: '·'; color: var(--accent); font-size: 18px; }


/* ============================================================
   15. HOMEPAGE — ABOUT
   ============================================================ */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-text strong { color: var(--text); font-weight: 500; }

/* Timeline */
.timeline { display: flex; flex-direction: column; position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  padding-left: 28px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -4px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
}

.timeline-period  { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 8px; }
.timeline-role    { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.timeline-company { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.timeline-desc    { font-size: 13px; color: var(--text-dim); line-height: 1.65; }


/* ============================================================
   16. HOMEPAGE — METRICS
   ============================================================ */
#metrics { background: var(--bg); }

.metrics-header { text-align: center; margin-bottom: 64px; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric-card {
  background: var(--surface);
  padding: 48px 32px;
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
.metric-card:hover { background: var(--surface2); }

.metric-icon {
  width: 44px; height: 44px;
  background: var(--accent-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 20px;
}

.metric-num    { font-family: var(--serif); font-size: 52px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.metric-suffix { font-size: 28px; color: var(--accent); opacity: 0.6; }
.metric-label  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }


/* ============================================================
   17. HOMEPAGE — SKILLS
   ============================================================ */
#skills {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.skills-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.skills-intro p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-top: 20px; font-weight: 300; }

.skills-groups { display: flex; flex-direction: column; gap: 40px; }

.skill-group-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.skill-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--mono);
  transition: all 0.2s;
  cursor: default;
}
.skill-tag:hover,
.skill-tag.highlight,
.skill-tag.core { border-color: rgba(200,169,110,0.3); color: var(--accent); background: var(--accent-pale); }


/* ============================================================
   18. HOMEPAGE — PROJECTS
   ============================================================ */
#projects {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card {
  background: var(--surface);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
.project-card:hover { background: var(--surface2); }

.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover::before { opacity: 1; }

/* Featured spans full width */
.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.project-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-pale);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--mono); font-size: 10px; color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.project-title { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.2; }

.project-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; font-weight: 300; }

.project-results {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 28px; padding: 20px;
  background: var(--bg);
  border-radius: 8px; border: 1px solid var(--border);
}

.project-result  { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.result-badge    { font-family: var(--mono); font-size: 11px; color: var(--green); font-weight: 600; min-width: 48px; }

.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--accent);
  margin-top: 20px;
  transition: gap 0.2s;
}
.project-link:hover { gap: 10px; }


/* ============================================================
   19. HOMEPAGE — EXPERTISE
   ============================================================ */
#expertise {
  background: var(--surface);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.expertise-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Code block */
.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.code-dot { width: 10px; height: 10px; border-radius: 50%; }

.code-body        { padding: 24px; overflow-x: auto; }
.code-body pre    { margin: 0; }

/* Syntax colours */
.c-keyword   { color: #c792ea; }
.c-string    { color: #c3e88d; }
.c-comment   { color: var(--text-dim); font-style: italic; }
.c-property  { color: #82aaff; }
.c-value     { color: var(--accent); }
.c-number    { color: #f78c6c; }

/* Expertise list */
.expertise-list  { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }

.expertise-item  { display: flex; gap: 16px; align-items: flex-start; }

.expertise-icon {
  width: 40px; height: 40px;
  background: var(--accent-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}

.expertise-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.expertise-text p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }


/* ============================================================
   20. HOMEPAGE — BLOG PREVIEW
   ============================================================ */
#blog {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.blog-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.blog-thumb {
  height: 180px;
  background: var(--surface2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-thumb-pattern { position: absolute; inset: 0; opacity: 0.4; }
.blog-thumb-icon    { font-size: 40px; position: relative; z-index: 1; }

.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.blog-cat  { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.blog-date { font-size: 12px; color: var(--text-dim); }

.blog-title { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; color: var(--text); transition: color 0.2s; }
.blog-card:hover .blog-title { color: var(--accent); }

.blog-excerpt    { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; font-weight: 300; }

.blog-read-more  { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); margin-top: 20px; transition: gap 0.2s; }
.blog-read-more:hover { gap: 10px; }


/* ============================================================
   21. HOMEPAGE — CONTACT
   ============================================================ */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 { font-size: clamp(32px,3.5vw,48px); letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.1; }
.contact-left p  { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 36px; font-weight: 300; }

.contact-links { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.contact-link:hover { border-color: var(--accent); background: var(--accent-pale); }

.contact-link-icon {
  width: 36px; height: 36px;
  background: var(--surface);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-link-text   { flex: 1; }
.contact-link-label  { font-size: 11px; color: var(--text-dim); font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.contact-link-value  { font-size: 14px; color: var(--text); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group  { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--accent); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }

.form-select  { appearance: none; cursor: pointer; }
.form-select option { background: var(--surface); }

.form-textarea { resize: vertical; min-height: 130px; }

.form-submit {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.form-submit:hover { background: #d9ba7f; transform: translateY(-1px); }

.form-note,
.form-disclaimer { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 12px; line-height: 1.6; }

/* Form grid (contact page) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* ============================================================
   22. ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.value-card { background: var(--surface); padding: 40px 32px; }
.value-icon  { font-size: 28px; margin-bottom: 16px; }
.value-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

.philosophy-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.philosophy-text h2 { font-size: clamp(28px,3vw,40px); letter-spacing: -0.02em; margin-bottom: 24px; }
.philosophy-text p  { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; font-weight: 300; }
.philosophy-text p strong { color: var(--text); font-weight: 500; }

.philosophy-stats { display: flex; flex-direction: column; gap: 2px; }

.stat-row {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface);
  padding: 28px 32px;
  border-top: 1px solid var(--border);
}
.stat-row:first-child { border-radius: var(--radius) var(--radius) 0 0; border-top: none; }
.stat-row:last-child  { border-radius: 0 0 var(--radius) var(--radius); }

.stat-num  { font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; min-width: 80px; }
.stat-info h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.stat-info p  { font-size: 13px; color: var(--text-muted); font-weight: 300; }


/* ============================================================
   23. CONTACT PAGE
   ============================================================ */
.contact-section  { padding: 80px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-sidebar h2 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact-sidebar h2 em { font-style: italic; color: var(--accent); }
.contact-sidebar > p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; font-weight: 300; }

.contact-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }

.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.contact-method:hover { border-color: var(--accent); background: var(--accent-pale); }

.cm-icon  { width: 36px; height: 36px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cm-text  { flex: 1; }
.cm-label { font-size: 10px; color: var(--text-dim); font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.cm-value { font-size: 13px; color: var(--text); }
.cm-arrow { color: var(--text-dim); font-size: 14px; }

.avail-box {
  background: var(--green-pale);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.avail-text        { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.avail-text strong { color: var(--green); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.form-title    { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; font-weight: 300; }


/* ============================================================
   24. BLOG PAGE — post grid & sidebar
   ============================================================ */
.blog-section  { padding: 80px 0 100px; }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* Featured post */
.featured-post  { margin-bottom: 56px; }

.featured-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: border-color 0.2s;
}
.featured-inner:hover { border-color: var(--border-hover); }

.featured-thumb {
  min-height: 280px;
  background: var(--surface2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.thumb-pattern { position: absolute; inset: 0; }
.thumb-icon    { font-size: 52px; position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(200,169,110,0.3)); }

.featured-body {
  padding: 40px 36px;
  display: flex; flex-direction: column;
}
.featured-body h2 { font-size: clamp(20px,2.2vw,28px); letter-spacing: -0.01em; margin-bottom: 14px; line-height: 1.2; color: var(--text); transition: color 0.2s; }
.featured-inner:hover .featured-body h2 { color: var(--accent); }
.featured-body p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; font-weight: 300; margin-bottom: 24px; }

.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-pale);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 4px;
  padding: 5px 12px;
  font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.06em;
  margin-bottom: 20px; align-self: flex-start;
}

/* Post eyebrow row */
.post-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.post-cat  { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent-pale); border: 1px solid rgba(200,169,110,0.25); border-radius: 4px; padding: 3px 10px; }
.post-date { font-size: 12px; color: var(--text-dim); }
.post-read { font-family: var(--mono); font-size: 11px; color: var(--text-dim); }

.read-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); font-weight: 500; transition: gap 0.2s; }
.read-link:hover { gap: 10px; }

/* Post cards grid */
.posts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.post-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.card-thumb {
  height: 150px;
  background: var(--surface2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; flex-shrink: 0;
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body .post-eyebrow { margin-bottom: 12px; }

.card-title { font-size: 16px; font-family: var(--sans); font-weight: 600; line-height: 1.4; margin-bottom: 10px; color: var(--text); transition: color 0.2s; }
.post-card:hover .card-title { color: var(--accent); }

.card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; font-weight: 300; }

.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.card-author        { display: flex; align-items: center; gap: 8px; }
.author-avatar      { width: 24px; height: 24px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--bg); font-family: var(--serif); font-style: italic; }

/* Blog sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 32px; position: static; top: 100px; }

.topic-list { display: flex; flex-direction: column; gap: 2px; }
.topic-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius-sm); transition: background 0.2s; cursor: pointer; }
.topic-item:hover { background: var(--surface2); }
.topic-name  { font-size: 13px; color: var(--text-muted); }
.topic-count { font-family: var(--mono); font-size: 11px; color: var(--text-dim); background: var(--bg); border-radius: 4px; padding: 2px 8px; }

.cta-card { background: var(--accent); border-radius: var(--radius); padding: 28px; border: none; }
.cta-card h3 { font-family: var(--serif); font-size: 22px; color: var(--bg); margin-bottom: 10px; }
.cta-card p  { font-size: 13px; color: rgba(10,10,11,0.7); margin-bottom: 20px; line-height: 1.6; }
.cta-btn     { display: block; background: var(--bg); color: var(--text); padding: 11px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; text-align: center; transition: opacity 0.2s; }
.cta-btn:hover { opacity: 0.85; }

.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item a { font-size: 13px; color: var(--text-muted); line-height: 1.5; transition: color 0.2s; display: block; }
.recent-item a:hover { color: var(--accent); }
.recent-meta { font-family: var(--mono); font-size: 10px; color: var(--text-dim); margin-top: 4px; }


/* ============================================================
   25. ARTICLE / BLOG POST PAGE
   ============================================================ */
.article-hero { padding: 148px 0 0; background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 30%, rgba(200,169,110,0.055), transparent 65%); }

.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.meta-tag  { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent-pale); border: 1px solid rgba(200,169,110,0.25); border-radius: 4px; padding: 4px 12px; }
.meta-info { font-size: 13px; color: var(--text-dim); }

.article-lead  { font-size: 18px; color: var(--text-muted); max-width: 660px; font-weight: 300; line-height: 1.7; padding-bottom: 52px; }

.hero-cover { height: 320px; background: var(--surface2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--border); }
.hero-cover-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(200,169,110,0.12), transparent 55%), radial-gradient(circle at 80% 30%, rgba(96,165,250,0.08), transparent 50%); }
.hero-cover-icon { font-size: 80px; position: relative; z-index: 1; filter: drop-shadow(0 0 30px rgba(200,169,110,0.25)); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 72px 0 100px;
  align-items: start;
}

/* Article body prose */
.article-body .section-heading { font-size: clamp(22px,2.5vw,30px); letter-spacing: -0.01em; margin: 48px 0 18px; color: var(--text); scroll-margin-top: 110px; }
.article-body .section-heading:first-of-type { margin-top: 0; }
.article-body p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.article-body p strong { color: var(--text); font-weight: 500; }
.article-body p a { color: var(--accent); border-bottom: 1px solid rgba(200,169,110,0.3); transition: border-color 0.2s; }
.article-body p a:hover { border-color: var(--accent); }

/* Role cards */
.role-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 28px 0 36px; }
.role-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color 0.2s; }
.role-card:hover { border-color: var(--border-hover); }
.role-icon  { font-size: 24px; margin-bottom: 12px; }
.role-title { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.role-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }
.role-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; color: var(--accent); background: var(--accent-pale); border-radius: 4px; padding: 3px 8px; margin-top: 10px; letter-spacing: 0.04em; }

/* Benefit list */
.benefit-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 36px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.2s; }
.benefit-item:hover { border-color: var(--border-hover); }
.benefit-icon { width: 36px; height: 36px; background: var(--accent-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.benefit-text h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.benefit-text p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; font-weight: 300; }

/* Callout box */
.callout { background: var(--accent-pale); border: 1px solid rgba(200,169,110,0.25); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 24px; margin: 28px 0; }
.callout p { font-size: 15px; color: var(--text); margin: 0; line-height: 1.65; }
.callout p strong { color: var(--accent); }

/* Article CTA block */
.article-cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 48px; }
.article-cta h3 { font-size: 26px; margin-bottom: 12px; }
.article-cta p  { font-size: 14px; color: var(--text-muted); max-width: 400px; margin: 0 auto 28px; font-weight: 300; line-height: 1.65; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Author box */
.author-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; }
.author-avatar-lg { width: 60px; height: 60px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-family: var(--serif); font-style: italic; color: var(--bg); font-weight: 700; flex-shrink: 0; }
.author-info h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.author-info .author-title { font-size: 12px; color: var(--accent); font-family: var(--mono); letter-spacing: 0.04em; margin-bottom: 10px; }
.author-info p { font-size: 13px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* Article sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 96px; }

.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item a { font-size: 13px; color: var(--text-muted); line-height: 1.5; transition: color 0.2s; display: block; }
.related-item a:hover { color: var(--accent); }
.related-meta { font-size: 11px; color: var(--text-dim); margin-top: 3px; font-family: var(--mono); }


/* ============================================================
   26. PROJECTS PAGE
   ============================================================ */
.projects-section { padding: 80px 0 100px; }

/* Featured project */
.featured-project { margin-bottom: 48px; }

.fp-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  position: relative;
}
.fp-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); pointer-events: none; }
.fp-inner:hover { border-color: var(--border-hover); }

.fp-visual { background: var(--surface2); min-height: 320px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.fp-pattern { position: absolute; inset: 0; }
.fp-icon    { font-size: 72px; position: relative; z-index: 1; filter: drop-shadow(0 0 28px rgba(200,169,110,0.28)); }

.fp-body { padding: 48px 44px; display: flex; flex-direction: column; }
.fp-body h2 { font-size: clamp(20px,2vw,28px); letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.2; color: var(--text); }
.fp-body p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 300; margin-bottom: 24px; flex: 1; }

.project-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.project-cat { font-family: var(--mono); font-size: 10px; color: var(--accent); background: var(--accent-pale); border: 1px solid rgba(200,169,110,0.25); border-radius: 4px; padding: 3px 10px; letter-spacing: 0.07em; text-transform: uppercase; }
.featured-tag { font-family: var(--mono); font-size: 10px; color: var(--green); background: var(--green-pale); border: 1px solid rgba(74,222,128,0.2); border-radius: 4px; padding: 3px 10px; letter-spacing: 0.07em; }

.results-strip { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; padding: 18px 20px; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); }
.result-item   { display: flex; flex-direction: column; gap: 2px; }
.result-val    { font-family: var(--serif); font-size: 22px; color: var(--accent); line-height: 1; }
.result-lbl    { font-size: 11px; color: var(--text-dim); line-height: 1.3; }

.tech-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.view-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); font-weight: 500; transition: gap 0.2s; align-self: flex-start; }
.view-link:hover { gap: 10px; }

/* Project card grid */
.card-visual { height: 160px; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; overflow: hidden; flex-shrink: 0; }
.card-pattern { position: absolute; inset: 0; }
.card-body  { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-eyebrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-title   { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text); transition: color 0.2s; line-height: 1.4; }
.project-card:hover .card-title { color: var(--accent); }
.card-desc    { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; font-weight: 300; margin-bottom: 16px; }

.card-metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.metric-pill  { font-family: var(--mono); font-size: 11px; color: var(--green); background: var(--green-pale); border: 1px solid rgba(74,222,128,0.2); border-radius: 4px; padding: 4px 10px; }

.card-tech span { background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 3px 8px; font-family: var(--mono); font-size: 10px; color: var(--text-dim); }
.card-tech { display: flex; flex-wrap: wrap; gap: 5px; }

/* Stats strip */
.stats-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.stats-row   { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--border); }
.stat-box    { background: var(--surface); padding: 36px 28px; text-align: center; }
.stat-box .stat-num   { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-box .stat-label { font-size: 13px; color: var(--text-muted); }


/* ============================================================
   27. CASE STUDY PAGE
   ============================================================ */
.case-hero { padding: 148px 0 0; background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.case-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 30%, rgba(74,222,128,0.055), transparent 65%), radial-gradient(ellipse 40% 50% at 15% 80%, rgba(200,169,110,0.04), transparent 60%); }

.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-tag  { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; border: 1px solid var(--border); color: var(--text-dim); }

.case-hero h1 { font-size: clamp(34px,4.5vw,58px); letter-spacing: -0.02em; max-width: 700px; margin-bottom: 20px; line-height: 1.08; }
.case-hero h1 em { font-style: italic; color: var(--accent); }
.case-hero-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; font-weight: 300; line-height: 1.65; padding-bottom: 52px; }

.cover-pattern { position: absolute; inset: 0; }
.cover-icon    { font-size: 90px; position: relative; z-index: 1; filter: drop-shadow(0 0 40px rgba(74,222,128,0.2)); }

/* Quick stats bar */
.quick-stats { background: var(--bg); border-bottom: 1px solid var(--border); }
.quick-stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--border); }
.qs-item  { background: var(--bg); padding: 32px 24px; text-align: center; }
.qs-num   { font-family: var(--serif); font-size: 36px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.qs-label { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

.case-body   { padding: 80px 0 100px; }
.case-layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }


/* Insight cards */

/*.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}*/
.insights-grid{display:grid;grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;}
.insight-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px 20px 20px 20px;border-left:3px solid var(--accent)}
.insight-card.green{border-left-color:var(--green)}
.insight-card.blue{border-left-color:var(--blue)}
.insight-card.purple{border-left-color:var(--purple)}
.insight-number{font-family:var(--serif);font-size:11px;color:var(--text-dim);letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.insight-title{font-family:var(--sans);font-size:14px;font-weight:600;margin-bottom:6px;color:var(--text)}
.insight-desc{font-size:13px;color:var(--text-muted);line-height:1.6}


/* Service Architecture cards */
.arch-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0 36px}
.pillar-card{background:var(--surface);padding:28px 20px;text-align:center}
.pillar-icon{font-size:28px;margin-bottom:12px}
.pillar-name{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin-bottom:8px}
.pillar-val{font-family:var(--serif);font-size:28px;line-height:1;margin-bottom:4px}
.pillar-val.green{color:var(--green)}
.pillar-val.blue{color:var(--blue)}
.pillar-val.purple{color:var(--purple)}
.pillar-val.accent{color:var(--accent)}
.pillar-delta{font-family:var(--mono);font-size:11px;color:var(--text-dim);margin-top:4px}


/* Case study prose */
.case-content h2 { font-size: clamp(22px,2.5vw,30px); letter-spacing: -0.01em; margin: 52px 0 16px; color: var(--text); scroll-margin-top: 110px; }
.case-content h2:first-child { margin-top: 0; }
.case-content p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; font-weight: 300; }
.case-content p strong { color: var(--text); font-weight: 500; }
.case-content ul { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.case-content li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.case-content li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-size: 12px; margin-top: 3px; }

/* PSR cards */
.psr-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin: 28px 0 44px; }
.psr-card { background: var(--surface); padding: 32px 24px; }
.psr-num   { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.psr-title { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.psr-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 20px 0 36px; }
.feature-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; transition: border-color 0.2s; }
.feature-card:hover { border-color: var(--border-hover); }
.feature-icon  { font-size: 22px; margin-bottom: 10px; }
.feature-title { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }


/* Modules grid (3-col) */
.modules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0}
.module-card{background:var(--surface);padding:20px}
.module-icon{font-size:20px;margin-bottom:8px}
.module-name{font-family:var(--sans);font-size:13px;font-weight:600;color:var(--text);margin-bottom:4px}
.module-desc{font-size:12px;color:var(--text-dim);line-height:1.5}

/* Languages grid */
.lang-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:20px 0 32px}
.lang-card{background:var(--surface);padding:20px;text-align:center}
.lang-flag{font-size:28px;margin-bottom:8px}
.lang-name{font-size:13px;font-weight:600;color:var(--text);margin-bottom:4px}
.lang-note{font-size:11px;color:var(--text-dim);font-family:var(--mono)}

/* Tour destination pills */
.dest-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 32px}
.dest-pill{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:7px 16px;font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:7px;transition:border-color .2s}
.dest-pill:hover{border-color:var(--border-hover);color:var(--text)}
.dest-dot{width:5px;height:5px;border-radius:50%;background:var(--amber);flex-shrink:0}


/* Course category grid */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:20px 0 32px}
.cat-card{background:var(--surface);padding:24px 20px;text-align:center}
.cat-icon{font-size:28px;margin-bottom:10px}
.cat-name{font-size:14px;font-weight:600;color:var(--text);margin-bottom:4px}
.cat-note{font-size:11px;color:var(--text-dim);font-family:var(--mono)}

/* Course pills */
.course-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 32px}
.course-pill{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:7px 16px;font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:7px;transition:border-color .2s}
.course-pill:hover{border-color:var(--border-hover);color:var(--text)}
.course-dot{width:5px;height:5px;border-radius:50%;background:var(--red);flex-shrink:0}

/* Tech stack */
.tech-stack { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin: 28px 0; }
.ts-label   { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }
.ts-row     { display: flex; flex-direction: column; gap: 14px; }
.ts-group   { display: flex; align-items: flex-start; gap: 16px; }
.ts-cat     { font-family: var(--mono); font-size: 11px; color: var(--accent); min-width: 80px; padding-top: 5px; }
.ts-tags    { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-tag     { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 5px 12px; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

/* Next project */
.next-project { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 52px; transition: border-color 0.2s; }
.next-project:hover { border-color: var(--border-hover); }
.np-label { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.np-title { font-family: var(--serif); font-size: 22px; color: var(--text); }
.np-arrow { font-size: 28px; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; }
.next-project:hover .np-arrow { transform: translateX(6px); }

/* Case sidebar */
.case-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }

.meta-rows { display: flex; flex-direction: column; gap: 14px; }
.meta-row  { display: flex; flex-direction: column; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.meta-label { font-size: 11px; color: var(--text-dim); font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.meta-value { font-size: 14px; color: var(--text); }


/* ============================================================
   28. RESUME PAGE
   ============================================================ */
.resume-hero { padding: 148px 0 72px; background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.resume-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 80% 40%, rgba(200,169,110,0.055), transparent 65%); }

.resume-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.resume-hero h1    { font-size: clamp(36px,4.5vw,58px); letter-spacing: -0.02em; margin-bottom: 18px; max-width: 600px; }
.resume-hero h1 em { font-style: italic; color: var(--accent); }
.resume-hero-sub   { font-size: 17px; color: var(--text-muted); max-width: 520px; font-weight: 300; line-height: 1.65; margin-bottom: 28px; }

.avail-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--green-pale); border: 1px solid rgba(74,222,128,0.2); border-radius: 100px; padding: 8px 18px; }
.avail-text        { font-size: 13px; color: var(--text-muted); }
.avail-text strong { color: var(--green); }

.download-block { text-align: right; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* Key metrics bar */
.key-metrics  { background: var(--bg); border-bottom: 1px solid var(--border); }
.metrics-row  { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; background: var(--border); }
.metric-box   { background: var(--bg); padding: 28px 20px; text-align: center; }
.metric-box .metric-num   { font-family: var(--serif); font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.metric-box .metric-label { font-size: 11px; color: var(--text-dim); line-height: 1.4; }

/* Metrics row */
.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0}
.metric-card{background:var(--surface);padding:28px 20px;text-align:center}
.metric-val{font-family:var(--serif);font-size:32px;color:var(--green);line-height:1;margin-bottom:6px}
.metric-val.blue{color:var(--blue)}
.metric-val.purple{color:var(--purple)}
.metric-val.accent{color:var(--accent)}
.metric-label{font-size:12px;color:var(--text-dim);line-height:1.4}
.metric-sub{font-size:11px;color:var(--text-dim);font-family:var(--mono);margin-top:4px}

/* Office map strip */
.office-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0}
.office-card{background:var(--surface);padding:20px}
.office-city{font-family:var(--sans);font-size:13px;font-weight:600;color:var(--text);margin-bottom:4px;display:flex;align-items:center;gap:8px}
.office-flag{font-size:16px}
.office-addr{font-size:12px;color:var(--text-dim);line-height:1.5}



/* Page type performance table */
.page-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:13px}
.page-table th{font-family:var(--mono);font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--text-dim);padding:10px 14px;text-align:left;background:var(--surface2);border:1px solid var(--border)}
.page-table td{padding:12px 14px;border:1px solid var(--border);color:var(--text-muted);vertical-align:middle;line-height:1.5}
.page-table tr:nth-child(even) td{background:var(--surface)}
.page-table .page-name{color:var(--text);font-weight:500}
.page-table .badge{display:inline-block;font-family:var(--mono);font-size:10px;padding:3px 8px;border-radius:4px;letter-spacing:.05em}
.badge-green{background:var(--green-pale);color:var(--green);border:1px solid rgba(74,222,128,.2)}
.badge-blue{background:var(--blue-pale);color:var(--blue);border:1px solid rgba(96,165,250,.2)}
.badge-accent{background:var(--accent-pale);color:var(--accent);border:1px solid rgba(200,169,110,.2)}
.badge-purple{background:var(--purple-pale);color:var(--purple);border:1px solid rgba(167,139,250,.2)}

.resume-section { padding: 80px 0 100px; }
.resume-layout  { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }

/* Profile card */
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; margin-bottom: 40px; }
.profile-top  { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.profile-avatar { width: 72px; height: 72px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-family: var(--serif); font-style: italic; color: var(--bg); font-weight: 700; flex-shrink: 0; }
.profile-info h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.profile-info .profile-title    { font-size: 14px; color: var(--accent); font-family: var(--mono); letter-spacing: 0.02em; }
.profile-info .profile-location { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.profile-bio        { font-size: 15px; color: var(--text-muted); line-height: 1.75; font-weight: 300; }
.profile-bio strong { color: var(--text); font-weight: 500; }

/* Section heading row */
.rs-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.rs-heading h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.rs-heading::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Experience */
.experience-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 52px; }

.exp-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.exp-item:hover { border-color: var(--border-hover); }

.exp-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 28px 0; cursor: pointer; }
.exp-header-left h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.exp-company  { font-size: 13px; color: var(--accent); }
.exp-location { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.exp-period { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.05em; white-space: nowrap; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; flex-shrink: 0; }
.exp-current { background: var(--green-pale); border-color: rgba(74,222,128,0.3); color: var(--green); }

.exp-body { padding: 20px 28px 28px; }
.exp-list { display: flex; flex-direction: column; gap: 8px; }
.exp-item-li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }
.exp-item-li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-size: 11px; margin-top: 4px; }
.exp-item-li strong { color: var(--text); font-weight: 500; }

.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.exp-tag  { background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 3px 10px; font-family: var(--mono); font-size: 11px; color: var(--text-dim); }

/* Skills block */
.skills-block  { margin-bottom: 52px; }
.skill-category { margin-bottom: 28px; }
.sc-title       { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.sc-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Achievements */
.achievements-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 52px; }
.ach-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s; }
.ach-card:hover { border-color: var(--accent); }
.ach-num   { font-family: var(--serif); font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.ach-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Education */
.edu-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 40px; }
.edu-icon   { width: 44px; height: 44px; background: var(--accent-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.edu-degree { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.edu-school { font-size: 13px; color: var(--accent); }
.edu-period { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* Resume sidebar */
.resume-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }

.contact-items { display: flex; flex-direction: column; gap: 10px; }
.contact-item  { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 13px; color: var(--text-muted); transition: all 0.2s; }
.contact-item:hover { border-color: var(--accent); color: var(--text); }
.contact-item-icon { width: 28px; height: 28px; background: var(--bg); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

.lang-list { display: flex; flex-direction: column; gap: 10px; }
.lang-item  { display: flex; align-items: center; justify-content: space-between; }
.lang-name  { font-size: 13px; color: var(--text-muted); }
.lang-level { font-family: var(--mono); font-size: 11px; color: var(--text-dim); background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; }
.print-hint { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 4px; font-style: italic; }


/* ============================================================
   29. LEGAL / PRIVACY / TERMS PAGES
   ============================================================ */
.legal-section { padding: 80px 0 100px; }

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: start;
}

/* At-a-glance strip */
.glance-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.glance-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--border); }
.glance-item  { background: var(--surface); padding: 28px 24px; display: flex; align-items: flex-start; gap: 14px; }
.glance-icon  { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.glance-text h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.glance-text p  { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* Section block */
.section-block { margin-bottom: 52px; }
.section-block:last-child { margin-bottom: 0; }
.section-num   { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }

/* Legal prose */
.legal-content h2 { font-size: clamp(20px,2.2vw,26px); letter-spacing: -0.01em; margin-bottom: 16px; color: var(--text); scroll-margin-top: 110px; }
.legal-content h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin: 20px 0 8px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.legal-content p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.legal-content p strong { color: var(--text); font-weight: 500; }
.legal-content p a { color: var(--accent); border-bottom: 1px solid rgba(200,169,110,0.3); transition: border-color 0.2s; }
.legal-content p a:hover { border-color: var(--accent); }
.legal-content ul { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 20px; }
.legal-content li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }
.legal-content li::before { content: '·'; color: var(--accent); font-size: 20px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.legal-content li strong { color: var(--text); font-weight: 500; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.data-table th { background: var(--surface2); padding: 12px 16px; text-align: left; font-size: 11px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--border); font-weight: 500; }
.data-table td { padding: 12px 16px; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55; font-weight: 300; background: var(--surface); }
.data-table tr:last-child td { border-bottom: none; }

/* Rights grid */
.rights-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 20px 0 28px; }
.right-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; transition: border-color 0.2s; }
.right-card:hover { border-color: var(--border-hover); }
.right-icon  { font-size: 20px; margin-bottom: 10px; }
.right-title { font-family: var(--sans); font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.right-desc  { font-size: 12px; color: var(--text-dim); line-height: 1.55; }

/* Info boxes */
.disclaimer-box { background: var(--accent-pale); border: 1px solid rgba(200,169,110,0.25); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 40px; }
.disclaimer-box p { font-size: 14px; color: var(--text); margin: 0; line-height: 1.7; }
.disclaimer-box p strong { color: var(--accent); }

.info-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; margin: 20px 0; }
.info-box p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.info-box p strong { color: var(--text); font-weight: 500; }

.green-box { background: var(--green-pale); border: 1px solid rgba(74,222,128,0.2); border-left: 3px solid var(--green); border-radius: var(--radius-sm); padding: 18px 24px; margin: 20px 0; }
.green-box p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.green-box p strong { color: var(--green); }

/* Legal sidebar */
.legal-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }

/* 1. Reset Container */
.pagination-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0 20px;
    flex-wrap: wrap;
    list-style: none; /* Force remove bullets */
    padding: 0;
}

/* 2. Remove the unwanted bullet point specifically */
.pagination-area::before,
.pagination-area li::before {
    display: none !important;
    content: "" !important;
}

/* 3. Target EVERYTHING inside the area (links and spans) */
.pagination-area a, 
.pagination-area span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px; /* Uniform width */
    height: 46px;    /* Uniform height */
    padding: 0 12px;
    border-radius: 12px; /* Smooth rounded corners from your image */
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    /*border: 1px solid rgba(255, 255, 255, 0.08);*/
    background: #1a1a1a; /* Dark button color */
    color: #a0a0a0;      /* Grey text */
    cursor: pointer;
    line-height: 1;
}

/* 4. Current / Active Page (The Gold Button) */
.pagination-area span.current,
.pagination-area .current {
    background: #d4b47a !important; /* Gold color from your image */
    color: #000 !important;        /* Dark text for contrast */
    border-color: #d4b47a !important;
}

/* 5. Hover state for clickable buttons */
.pagination-area a:hover {
    background: #222;
    color: #fff;
    border-color: #d4b47a;
    transform: translateY(-2px);
}

/* 6. Fix for the symbols (« and ») 
   Targeting the specific span class from your controller config */
.pagination-area .page-numbers0 {
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Films filmography strip */
.film-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0}
.film-card{background:var(--surface);padding:20px 16px}
.film-title{font-family:var(--serif);font-size:14px;color:var(--text);margin-bottom:6px;line-height:1.3}
.film-type{font-family:var(--mono);font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
.film-year{font-family:var(--mono);font-size:10px;color:var(--text-dim);margin-top:4px}

/* Products / Module strip */
.product-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border-radius:var(--radius);overflow:hidden;margin:28px 0}
.product-card{background:var(--surface);padding:20px 16px}
.product-title{font-family:var(--serif);font-size:14px;color:var(--text);margin-bottom:6px;line-height:1.3}
.product-type{font-family:var(--mono);font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
.product-note{font-family:var(--mono);font-size:10px;color:var(--text-dim);margin-top:4px}
