/* ═══════════════════════════════════════════════════════
   Mizan IT Portfolio — Editorial Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --ink: #1c1917;
  --ink-light: #57534e;
  --ink-muted: #a8a29e;
  --paper: #fafaf9;
  --paper-warm: #f5f5f4;
  --paper-cool: #f0f0f0;
  --border: #d6d3d1;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: rgba(194, 65, 12, 0.08);
  --nav-bg: #1c1917;
  --nav-text: #d6d3d1;
  --hero-from: #1c1917;
  --hero-mid: #292524;
  --hero-to: #44403c;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --max-w: 1120px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Skip Link ── */
.skip-link {
  position: fixed; top: -100%; left: var(--space-lg);
  background: var(--accent); color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius); z-index: 10000;
  text-decoration: none; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-lg); }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-xl); }

/* ── Section Label ── */
.section-label {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: var(--space-xs);
}

/* ── Section Title ── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.15;
  color: var(--ink); margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

/* ── Section Subtitle ── */
.section-subtitle {
  font-size: 1.05rem; color: var(--ink-light);
  max-width: 560px; margin: 0 auto var(--space-3xl);
}


/* ════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--nav-bg);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 4.5rem;
  display: flex; align-items: center; gap: var(--space-lg);
}
.nav-brand { text-decoration: none; }
.brand-name {
  font-size: 1.125rem; font-weight: 900;
  color: #fff; letter-spacing: 0.1em;
  font-variant: uppercase;
  height: 60px;
  width: 150px;
}
.nav-menu {
  display: flex; align-items: center; gap: var(--space-sm);
  list-style: none; flex: 1; justify-content: center;
}
.nav-menu a {
  color: var(--nav-text); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover, .nav-menu a:focus { color: #fff; background: rgba(255,255,255,0.08); }
.nav-menu a.active { color: var(--accent); }
.nav-cta-btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  text-decoration: none; font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta-btn:hover, .nav-cta-btn:focus { background: var(--accent-hover); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: var(--space-sm);
  flex-direction: column; gap: 5px; z-index: 1001;
}
.nav-toggle-line {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.nav-overlay {
  position: fixed; inset: 0; top: 4.5rem;
  background: rgba(28, 25, 23, 0.95);
  z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.visible { opacity: 1; pointer-events: auto; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--hero-from) 0%, var(--hero-mid) 50%, var(--hero-to) 100%);
  color: #fff;
  display: flex; align-items: center;
  padding-top: 4.5rem;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--space-l) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: var(--space-lg);
}
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}
.hero-headline br { display: none; }
@media (min-width: 768px) { .hero-headline br { display: inline; } }
.hero-support {
  font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}
.hero-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.btn-hero {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--accent); color: #fff;
  border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-hero:hover, .btn-hero:focus { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; padding: 0.85rem 2rem;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius); text-decoration: none;
  font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover, .btn-outline:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Hero Side Column */
.hero-side { display: flex; flex-direction: column; gap: var(--space-xl); }
.hero-portrait {
  position: relative;
  width: 550px; height: 320px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
}

/* Inner accent frame on hover */
.hero-portrait::after {
  content: ''; position: absolute; inset: 10px; z-index: 4;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.hero-portrait:hover::after { opacity: 1; }

.portrait-placeholder {
  position: relative; width: 100%; height: 100%;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

/* Slides */
.portrait-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.4s ease, visibility 1.4s;
}
.portrait-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.portrait-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.portrait-slide.active img { animation: portraitKenBurns 7s ease-out forwards; }
@keyframes portraitKenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.16); }
}

/* Soft light overlay for legibility */
.portrait-placeholder::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 85% at 18% 12%, rgba(255,255,255,0.10), transparent 48%),
    linear-gradient(to top, rgba(28,25,23,0.38), transparent 38%);
}

/* Progress bar */
.portrait-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 3;
  background: rgba(255,255,255,0.12);
}
.portrait-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #ea580c, #f59e0b);
  border-radius: 0 3px 3px 0;
}

/* Dots */
.portrait-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.portrait-dot {
  width: 22px; height: 3px; padding: 0; border: none;
  border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s ease, width 0.3s ease;
}
.portrait-dot:hover { background: rgba(255,255,255,0.6); }
.portrait-dot.active { width: 34px; background: var(--accent); }

/* Arrows */
.portrait-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(28,25,23,0.55);
  color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer; opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s;
}
.portrait-arrow.prev { left: 10px; }
.portrait-arrow.next { right: 10px; }
.hero-portrait:hover .portrait-arrow,
.portrait-arrow:focus-visible { opacity: 1; }
.portrait-arrow:hover { background: var(--accent); border-color: var(--accent); }
.portrait-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.portrait-arrow.next:hover { transform: translateY(-50%) translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .portrait-slide { transition-duration: 0.3s; }
  .portrait-slide.active img { animation: none; }
}
.hero-focus {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 10px 30px;
}
.focus-label {
  font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: var(--space-md);
}
.focus-list {
  list-style: none; display: flex; flex-direction: column; gap: var(--space-sm);
}
.focus-list li {
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: var(--space-sm);
}
.focus-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute; bottom: var(--space-2xl);
  left: 48%; transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: var(--space-sm);
  color: rgba(255,255,255,0.4); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════ */
.about { background: var(--paper); padding: var(--space-4xl) 0; }
.about-layout {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: var(--space-4xl); align-items: start;
}
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; } }
.about-main { max-width: 640px; }
.about-prose p {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--ink-light); margin-bottom: var(--space-lg);
}
.about-lead { font-size: 1.125rem; color: var(--ink); font-weight: 500; }
.pull-quote {
  margin: var(--space-xl) 0; padding: var(--space-xl) var(--space-xl);
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-size: 1.1rem; font-style: italic;
  color: var(--ink); line-height: 1.7; margin-bottom: var(--space-sm);
}
.pull-quote cite {
  display: block; font-size: 0.85rem;
  color: var(--ink-muted); font-style: normal; font-weight: 600;
}
.about-current {
  font-size: 1rem; color: var(--accent); font-weight: 600;
  padding-top: var(--space-sm); border-top: 1px solid var(--border);
}

/* About Side Cards */
.about-side { display: flex; flex-direction: column; gap: var(--space-lg); }
.about-card {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.about-card-title {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: var(--space-md);
}
.about-meta { display: grid; gap: var(--space-md); }
.meta-item { display: flex; flex-direction: column; }
.meta-item dt { font-size: 0.75rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.meta-item dd { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.role-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.role-list li {
  font-size: 0.9rem; color: var(--ink-light);
  padding-left: var(--space-md);
  position: relative;
}
.role-list li::before {
  content: ''; position: absolute; left: 0;
  top: 0.55em; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}

/* ════════════════════════════════════════════════════
   SKILLS — Capability Matrix
   ════════════════════════════════════════════════════ */
.skills { background: var(--paper); padding: var(--space-4xl) 0; }
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}
.skill-matrix-placeholder {
  grid-column: 1 / -1;
  text-align: center; padding: var(--space-3xl);
  background: var(--paper-warm);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}
/* Individual skill category card (ready for client data) */
.skill-category-card {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: box-shadow 0.3s, transform 0.3s;
}
.skill-category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.skill-category-card h3 {
  font-size: 0.9rem; font-weight: 700;
  color: var(--accent); margin-bottom: var(--space-md);
  display: flex; align-items: center; gap: var(--space-sm);
}
.skill-category-card ul { list-style: none; }
.skill-category-card li {
  font-size: 0.875rem; color: var(--ink-light);
  padding: var(--space-xs) 0;
  display: flex; align-items: center; gap: var(--space-sm);
}
.skill-category-card li::before {
  content: '—'; color: var(--accent); font-weight: 700;
}

/* ════════════════════════════════════════════════════
   PROJECTS — Case Study Blocks
   ════════════════════════════════════════════════════ */
.projects { background: var(--paper-warm); padding: var(--space-4xl) 0; }
.projects-list {
  display: flex; flex-direction: column; gap: var(--space-xl);
  max-width: 800px; margin: 0 auto;
}
.project-placeholder {
  text-align: center; padding: var(--space-3xl);
  background: white; border: 2px dashed var(--border);
  border-radius: var(--radius-lg); color: var(--ink-muted);
}
/* Individual project block */
.project-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.3s;
}
.project-block:hover { box-shadow: var(--shadow-md); }
.project-block .project-meta {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: var(--space-sm);
}
.project-block h3 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin-bottom: var(--space-sm);
}
.project-block p {
  font-size: 0.95rem; color: var(--ink-light);
  line-height: 1.7; margin-bottom: var(--space-sm);
}
.project-block .project-tags {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-md);
}
.project-block .project-tag {
  font-size: 0.75rem; padding: 2px 10px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 20px; font-weight: 600;
}

/* ════════════════════════════════════════════════════
   EXPERIENCE — Elegant Timeline
   ════════════════════════════════════════════════════ */
.experience { background: var(--paper); padding: var(--space-4xl) 0; }
.timeline {
  max-width: 700px; margin: 0 auto;
  position: relative;
  padding-left: var(--space-xl);
}
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-placeholder {
  text-align: center; padding: var(--space-3xl);
  background: var(--paper-warm); border: 2px dashed var(--border);
  border-radius: var(--radius-lg); color: var(--ink-muted);
}
.timeline-item {
  position: relative; margin-bottom: var(--space-2xl);
  padding-left: var(--space-lg);
}
.timeline-item::before {
  content: ''; position: absolute; left: -25px; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent); border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-role {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 2px;
}
.timeline-company {
  font-size: 0.9rem; color: var(--accent);
  font-weight: 600; margin-bottom: var(--space-xs);
}
.timeline-period {
  font-size: 0.8rem; color: var(--ink-muted);
  font-weight: 500; margin-bottom: var(--space-sm);
}
.timeline-desc {
  font-size: 0.9rem; color: var(--ink-light);
  line-height: 1.7;
}
.timeline-accomplishments {
  margin-top: var(--space-sm);
  padding-left: var(--space-lg);
}
.timeline-accomplishments li {
  font-size: 0.85rem; color: var(--ink-light);
  margin-bottom: 2px; list-style: disc;
}

/* ════════════════════════════════════════════════════
   RESUME — Document Preview
   ════════════════════════════════════════════════════ */
.resume { background: var(--paper); padding: var(--space-4xl) 0; }
.resume-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px; margin: 0 auto;
}
.resume-header {
  background: var(--ink); color: #fff;
  padding: var(--space-xl) var(--space-2xl);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: var(--space-md);
}
.resume-name {
  font-size: 1.5rem; font-weight: 800; margin-bottom: var(--space-xs);
}
.resume-title {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.btn-download {
  background: var(--accent); color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius); text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s; white-space: nowrap;
}
.btn-download:hover, .btn-download:focus { background: var(--accent-hover); }
.resume-body { padding: var(--space-2xl); }
.resume-section-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}
.resume-section-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.resume-section-block h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: var(--space-sm);
}
.resume-section-block p {
  font-size: 0.95rem; color: var(--ink-light); line-height: 1.7;
}
.resume-metadata {
  max-width: 800px; margin: var(--space-xl) auto 0;
  text-align: center; color: var(--ink-muted);
  font-size: 0.85rem;
}
.resume-metadata p { margin-bottom: var(--space-xs); }

/* Print Styles */
@media print {
  .navbar, .hero-scroll, .footer-nav, .contact-form, .footer-note { display: none !important; }
  .hero { background: #fff !important; color: #000 !important; min-height: auto; padding: var(--space-xl) 0; }
  .hero-eyebrow, .hero-support, .hero-ctas, .hero-focus, .hero-side { display: none !important; }
  .hero-headline { color: #000; font-size: 2rem; }
  .about, .skills, .projects, .experience, .resume { background: #fff !important; padding: var(--space-lg) 0; }
  .section-title, .section-label, .section-subtitle { color: #000 !important; }
  .pull-quote { background: #f5f5f4 !important; border-left-color: #000 !important; }
  .resume-preview { box-shadow: none !important; border: 1px solid #000 !important; }
  .resume-header { background: #f5f5f4 !important; color: #000 !important; }
  .resume-name, .resume-title { color: #000 !important; }
  .btn-download { display: none !important; }
  body { color: #000; }
  .timeline::before { background: #000; }
  .timeline-item::before { background: #000; box-shadow: 0 0 0 2px #000; }
}

/* ════════════════════════════════════════════════════
   CONTACT — High-Trust Form
   ════════════════════════════════════════════════════ */
.contact { background: var(--paper-warm); padding: var(--space-4xl) 0; }
.contact-layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl); max-width: 900px; margin: 0 auto;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form {
  background: #fff; padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--ink); margin-bottom: var(--space-sm);
}
.required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  background: #fff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}
.form-group input.error, .form-group textarea.error, .form-group select.error {
  border-color: var(--accent);
}
.error-message {
  display: block; font-size: 0.78rem;
  color: var(--accent); margin-top: var(--space-xs);
  min-height: 1.2em;
}
.captcha-notice {
  background: var(--accent-soft);
  border: 1px solid rgba(194, 65, 12, 0.2);
  border-radius: var(--radius);
  padding: var(--space-md); margin-bottom: var(--space-sm);
}
.captcha-notice p { font-size: 0.82rem; color: var(--accent-hover); }
.btn-submit {
  width: 100%; padding: 0.85rem;
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover, .btn-submit:focus { background: var(--accent); transform: translateY(-1px); }
.form-status {
  margin-top: var(--space-md); padding: var(--space-md);
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 600;
  display: none;
}
.form-status.success { display: block; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-status.error { display: block; display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Contact Info Side */
.contact-info { display: flex; flex-direction: column; gap: var(--space-lg); }
.contact-notice-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-xl);
}
.contact-notice-box h4 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink); margin-bottom: var(--space-md);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.contact-notice-box p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.7; }
.contact-direct h4 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink); margin-bottom: var(--space-md);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.contact-direct-link {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-md); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  transition: border-color 0.2s;
}
.contact-direct-link:hover, .contact-direct-link:focus { border-color: var(--accent); }
.contact-icon {
  width: 32px; height: 32px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer-copy { font-size: 0.85rem; }
.footer-nav { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-nav a:focus { color: #fff; }
.footer-note { font-size: 0.78rem; text-align: center; }

/* ════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--nav-bg); flex-direction: column;
    padding: calc(4.5rem + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right 0.3s; gap: var(--space-xs);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { padding: var(--space-md); font-size: 1rem; }
  .nav-cta-btn {
    margin-left: 0; margin-top: var(--space-lg);
    text-align: center; display: block;
  }
  .nav-toggle { display: flex; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center; padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-2xl);
  }
  .hero-support { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-side { align-items: center; }
  .hero-portrait { width: 200px; height: 200px; }
  .hero-focus { width: 100%; }
  .focus-list { align-items: center; }
  .hero-scroll { display: none; }
  .skills-matrix { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .hero-headline { font-size: 1.85rem; }
  .section-title { font-size: 1.4rem; }
  .resume-header { flex-direction: column; align-items: flex-start; }
  .about-card { padding: var(--space-lg); }
  .contact-form { padding: var(--space-lg); }
  .container { padding: 0 var(--space-md); }
}

/* ════════════════════════════════════════════════════
   ACCESSIBILITY — Focus
   ════════════════════════════════════════════════════ */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Active nav link */
.nav-menu a.active { color: var(--accent); }

/* ── Utility ── */
.text-center { text-align: center; }
@media (max-width: 768px) {
  .text-center { text-align: left; }
}
