/* ==========================================================================
   ROHAN-K — CINEMATIC MINIMALIST PORTFOLIO DESIGN SYSTEM
   Inspired by: AMELI-A Bold Editorial Hero & Modern Linear/Apple Aesthetics
   3 Accent Colors:
     1. Electric Coral (#ff385c) - Signature Brand & Security Accents
     2. Electric Sky (#38bdf8)   - Network, Infrastructure & Connections
     3. Emerald Mint (#10b981)  - 24/7 Datacenter Operations & Telemetry
   ========================================================================== */

:root {
  /* Core Deep Black Canvas (Matches Seamless Portrait Background) */
  --bg: #05060a;
  --surface: #0a0c13;
  --surface-alt: #0f121d;
  --surface-card: #121624;
  --surface-card-hover: #181d30;

  /* 3-ACCENT COLOR SYSTEM */
  --accent-coral: #ff385c;
  --accent-coral-rgb: 255, 56, 92;

  --accent-sky: #38bdf8;
  --accent-sky-rgb: 56, 189, 248;

  --accent-emerald: #10b981;
  --accent-emerald-rgb: 16, 185, 129;

  /* Harmonic Triad Gradient */
  --gradient-triad: linear-gradient(135deg, #ff385c 0%, #38bdf8 52%, #10b981 100%);
  --gradient-lightbar: linear-gradient(90deg, #ff385c 0%, #38bdf8 50%, #10b981 100%);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.2);

  /* Domain Borders */
  --border-coral: rgba(var(--accent-coral-rgb), 0.3);
  --border-sky: rgba(var(--accent-sky-rgb), 0.3);
  --border-emerald: rgba(var(--accent-emerald-rgb), 0.3);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1220px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   DOT GRID & AMBIENT GLOWS (MATCHING AMELI-A BACKGROUND)
   ========================================================================== */
.hero-dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}

.glow-coral {
  top: -80px;
  left: 5%;
  background: radial-gradient(circle, var(--accent-coral) 0%, transparent 70%);
}

.glow-sky {
  top: 35%;
  right: -80px;
  background: radial-gradient(circle, var(--accent-sky) 0%, transparent 70%);
}

/* ==========================================================================
   NAVIGATION (MATCHING AMELI-A NAVBAR)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-accent {
  color: var(--accent-coral);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-coral);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #ffffff;
  color: #05060a;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-card);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
}

.btn-gradient-glow:hover {
  background: var(--gradient-triad);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(255, 56, 92, 0.3);
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.btn-block {
  width: 100%;
}

.arrow-icon {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ==========================================================================
   CINEMATIC HERO SECTION (AMELI-A BOLD EDITORIAL)
   ========================================================================== */
.hero-cinematic-section {
  padding: 4.5rem 0 5rem;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg);
}

.hero-cinematic-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-cinematic-content {
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(var(--accent-emerald-rgb), 0.08);
  border: 1px solid rgba(var(--accent-emerald-rgb), 0.25);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* Giant Headline (AMELI-A Style) */
.hero-giant-title {
  font-size: clamp(4.5rem, 9.5vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.hero-title-accent {
  color: var(--accent-coral);
}

/* Subtitle Tagline */
.hero-cinematic-tagline {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.hero-cinematic-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-cinematic-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.25rem;
}

/* Stats Ribbon */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stat-coral .stat-val { color: var(--accent-coral); }
.stat-sky .stat-val { color: var(--accent-sky); }
.stat-emerald .stat-val { color: var(--accent-emerald); }

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* ==========================================================================
   PORTRAIT WRAPPER (SEAMLESS 100% BACKGROUND BLEND)
   ========================================================================== */
.hero-cinematic-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.portrait-backdrop-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(var(--accent-coral-rgb), 0.12) 0%, transparent 70%);
  filter: blur(100px);
  top: 20%;
  right: 15%;
  pointer-events: none;
  z-index: 0;
}

.portrait-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.portrait-img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  /* Seamless fade: dissolves the bottom of torso and left side smoothly into #05060a */
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%),
                      linear-gradient(to right, transparent 0%, black 15%, black 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%),
              linear-gradient(to right, transparent 0%, black 15%, black 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: contrast(1.1) brightness(1.02);
  transition: var(--transition);
}

.portrait-img:hover {
  filter: contrast(1.15) brightness(1.05);
}

/* ==========================================================================
   GENERIC SECTIONS & SECTION TAGS
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-lead {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.tag-coral {
  background: rgba(var(--accent-coral-rgb), 0.1);
  color: var(--accent-coral);
  border: 1px solid var(--border-coral);
}

.tag-sky {
  background: rgba(var(--accent-sky-rgb), 0.1);
  color: var(--accent-sky);
  border: 1px solid var(--border-sky);
}

.tag-emerald {
  background: rgba(var(--accent-emerald-rgb), 0.1);
  color: var(--accent-emerald);
  border: 1px solid var(--border-emerald);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.25;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text-col strong {
  color: var(--text-main);
  font-weight: 600;
}

.about-strengths-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.strength-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.strength-item:hover {
  background: var(--surface-alt);
  transform: translateX(4px);
}

.border-sky:hover { border-color: var(--border-sky); }
.border-coral:hover { border-color: var(--border-coral); }
.border-emerald:hover { border-color: var(--border-emerald); }

.strength-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.num-sky { color: var(--accent-sky); }
.num-coral { color: var(--accent-coral); }
.num-emerald { color: var(--accent-emerald); }

.strength-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.strength-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   WORK EXPERIENCE
   ========================================================================== */
.experience-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
}

.card-glow-coral {
  border-color: rgba(var(--accent-coral-rgb), 0.25);
  box-shadow: 0 4px 25px -10px rgba(var(--accent-coral-rgb), 0.15);
}

.card-glow-coral:hover {
  border-color: rgba(var(--accent-coral-rgb), 0.45);
}

.card-glow-emerald:hover {
  border-color: rgba(var(--accent-emerald-rgb), 0.45);
}

.exp-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.badge-active {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(var(--accent-emerald-rgb), 0.1);
  color: #34d399;
  border: 1px solid rgba(var(--accent-emerald-rgb), 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
}

.badge-past {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.exp-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.exp-company {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dot-sep {
  color: var(--text-dim);
}

.exp-location {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.exp-bullets li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.exp-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  font-weight: 700;
}

.exp-bullets strong {
  color: var(--text-main);
  font-weight: 600;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

/* ==========================================================================
   SKILLS GRID (TRI-COLOR DOMAINS)
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1081px) {
  .skills-grid > .skill-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 0;
  transition: var(--transition);
}

.theme-sky:hover::before { background: var(--accent-sky); opacity: 1; }
.theme-coral:hover::before { background: var(--accent-coral); opacity: 1; }
.theme-emerald:hover::before { background: var(--accent-emerald); opacity: 1; }

.skill-card:hover {
  transform: translateY(-2px);
}

.theme-sky:hover { border-color: var(--border-sky); }
.theme-coral:hover { border-color: var(--border-coral); }
.theme-emerald:hover { border-color: var(--border-emerald); }

.skill-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.icon-sky {
  background: rgba(var(--accent-sky-rgb), 0.1);
  color: var(--accent-sky);
  border: 1px solid var(--border-sky);
}

.icon-coral {
  background: rgba(var(--accent-coral-rgb), 0.1);
  color: var(--accent-coral);
  border: 1px solid var(--border-coral);
}

.icon-emerald {
  background: rgba(var(--accent-emerald-rgb), 0.1);
  color: var(--accent-emerald);
  border: 1px solid var(--border-emerald);
}

.skill-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.skill-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.domain-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
}

.pill-sky { background: rgba(var(--accent-sky-rgb), 0.1); color: var(--accent-sky); }
.pill-coral { background: rgba(var(--accent-coral-rgb), 0.1); color: var(--accent-coral); }
.pill-emerald { background: rgba(var(--accent-emerald-rgb), 0.1); color: var(--accent-emerald); }

.skill-group-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-chips span {
  font-size: 0.78rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  line-height: 1.3;
  transition: var(--transition);
}

.skill-chips span:hover {
  color: #ffffff;
  border-color: var(--border-hover);
}

.chip-sky:hover { border-color: var(--border-sky) !important; color: var(--accent-sky) !important; }
.chip-coral:hover { border-color: var(--border-coral) !important; color: var(--accent-coral) !important; }
.chip-emerald:hover { border-color: var(--border-emerald) !important; color: var(--accent-emerald) !important; }

/* ==========================================================================
   EDUCATION
   ========================================================================== */
.education-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.edu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
}

.edu-glow-sky:hover { border-color: var(--border-sky); }
.edu-glow-coral:hover { border-color: var(--border-coral); }

.edu-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.year-sky {
  background: rgba(var(--accent-sky-rgb), 0.1);
  color: var(--accent-sky);
  border: 1px solid var(--border-sky);
}

.year-coral {
  background: rgba(var(--accent-coral-rgb), 0.1);
  color: var(--accent-coral);
  border: 1px solid var(--border-coral);
}

.edu-degree {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.edu-school {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.edu-school strong {
  color: var(--text-main);
}

.edu-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-lightbar);
}

.contact-info-side {
  padding: 3.25rem;
  border-right: 1px solid var(--border);
}

.contact-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0.5rem 0 1rem;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-entry {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.entry-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.entry-val-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.entry-link {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.entry-link:hover {
  color: var(--accent-sky);
}

.link-coral:hover {
  color: var(--accent-coral);
}

.location-icon {
  color: var(--accent-emerald);
  margin-right: 0.35rem;
}

.entry-static {
  font-size: 0.95rem;
  color: var(--text-main);
}

.copy-badge-btn {
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.copy-badge-btn:hover {
  color: var(--accent-coral);
  border-color: var(--border-coral);
}

/* Contact Form Side */
.contact-form-side {
  padding: 3.25rem;
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-coral);
  background: var(--bg);
}

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

.form-message {
  font-size: 0.84rem;
  display: none;
  margin-top: 0.5rem;
}

.form-message.success {
  display: block;
  color: #34d399;
  background: rgba(var(--accent-emerald-rgb), 0.1);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-emerald-rgb), 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
  z-index: 2;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy strong {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--accent-coral);
}

/* ==========================================================================
   MINIMALIST TOAST
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  color: #05060a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(var(--accent-coral-rgb), 0.2);
  transform: translateY(80px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-cinematic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-cinematic-portrait {
    order: -1;
  }

  .portrait-container {
    max-width: 420px;
  }

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

  .skills-grid > .skill-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(5, 6, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-giant-title {
    font-size: 3.8rem;
  }

  .hero-stats {
    gap: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-side, .contact-form-side {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-giant-title {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
