/* 
  ================================================
  NATHANIEL NEO PORTFOLIO - PREMIUM BENTO SYSTEM
  INSPIRATION: FOLKLOR ULTRA-PREMIUM GRID DESIGN
  ================================================
*/

:root {
  /* Arctic reflection palette */
  --bg-color: #F4FCFB;
  --bg-card: rgba(255, 255, 255, 0.84);
  --bg-card-hover: rgba(172, 188, 191, 0.34);

  /* Accent and surface tones */
  --color-orange: #5289AD;
  --color-orange-rgb: 82, 137, 173;
  --color-orange-hover: #698696;
  --color-sunset-red: #243C4C;
  --color-green: #698696;
  
  /* Text Highlights */
  --text-primary: #243C4C;
  --text-secondary: rgba(36, 60, 76, 0.68);
  --text-muted: rgba(36, 60, 76, 0.42);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #243C4C 0%, #5289AD 55%, #ACBCBF 100%);
  --gradient-primary: linear-gradient(135deg, #5289AD 0%, #243C4C 100%);
  --gradient-cyan: linear-gradient(135deg, #F4FCFB 0%, #ACBCBF 100%);
  --gradient-warm-dark: linear-gradient(180deg, #243C4C 0%, #182A36 100%);
  
  /* Borders & Shadows */
  --border-color: rgba(36, 60, 76, 0.12);
  --border-hover: rgba(82, 137, 173, 0.34);
  --shadow-premium: 0 22px 60px rgba(36, 60, 76, 0.16);
  
  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* Background Aurora Blobs */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-1 {
  top: -5%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 80%);
}

.blob-2 {
  top: 30%;
  left: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--color-sunset-red) 0%, transparent 80%);
  animation-duration: 25s;
  animation-delay: 2s;
}

.blob-3 {
  bottom: 5%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 80%);
  animation-duration: 22s;
  animation-delay: 4s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}

/* Global Typography Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  z-index: 100;
  background: rgba(244, 252, 251, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 16px 60px;
  background: rgba(244, 252, 251, 0.94);
  box-shadow: 0 16px 42px rgba(36, 60, 76, 0.12);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-transform: lowercase;
}

.logo span {
  color: var(--color-orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--gradient-primary);
  color: #F4FCFB;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(82, 137, 173, 0.2);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 137, 173, 0.4);
}

/* ====================================
   BENTO GRID SYSTEM (FOLKLOR INSPIRATION)
   ==================================== */

.main-content {
  padding-top: 120px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px;
}

.text-center {
  text-align: center;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 18px 48px rgba(36, 60, 76, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(36, 60, 76, 0.14);
}

/* Spans definitions */
.span-12 { grid-column: span 12; }
.span-8  { grid-column: span 8; }
.span-6  { grid-column: span 6; }
.span-4  { grid-column: span 4; }

/* Bento Sections Headings */
.bento-section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.bento-tag {
  color: var(--color-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bento-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.bento-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
}

/* Block 1: Hero Block Styling */
.hero-bento-card {
  background: radial-gradient(circle at 10% 20%, rgba(82, 137, 173, 0.05) 0%, transparent 60%), var(--bg-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-large-title {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-paragraph {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 440px;
}

/* Metric Pills in Hero */
.metrics-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.metric-pill-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.metric-pill-item:hover {
  border-color: var(--border-hover);
  background: rgba(82, 137, 173, 0.02);
}

.metric-pill-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-pill-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero Portrait wrapper */
.hero-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--gradient-warm-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-smooth);
  filter: contrast(104%);
}

/* About Me portrait - show full image, no cropping */
.about-bento-split .hero-portrait-frame {
  aspect-ratio: auto;
  max-height: none;
}

.about-bento-split .hero-portrait-frame img {
  object-fit: contain;
  height: auto;
}

.hero-portrait-frame:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero-portrait-frame:hover img {
  transform: scale(1.02);
}

/* Floating Inline Footer Nav in Hero */
.hero-footer-nav {
  grid-column: span 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 12px;
}

.hero-pill-nav-item {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.hero-pill-nav-item:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(82, 137, 173, 0.04);
}

/* Block 2: Quick Index Block */
.quick-index-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.quick-index-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.quick-index-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.quick-index-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.quick-index-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-index-chevron {
  width: 16px;
  height: 16px;
  color: var(--color-orange);
  transition: transform 0.3s ease;
}

.quick-index-item:hover .quick-index-chevron {
  transform: translateX(4px);
}

/* Block 3: About Me Card with Visual */
.about-bento-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Block 4: Education Pricing Layout */
.education-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  width: 100%;
}

.education-tier-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 20px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.education-tier-card:hover {
  border-color: var(--border-hover);
  background: rgba(82, 137, 173, 0.02);
  transform: translateY(-2px);
}

/* Emphasize SUTD Tier just like Popular in Pricing */
.education-tier-card.highlighted-tier {
  background: rgba(82, 137, 173, 0.03);
  border-color: rgba(82, 137, 173, 0.3);
}

.education-tier-header {
  margin-bottom: 20px;
}

.tier-school {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-orange);
  text-transform: uppercase;
}

.tier-degree {
  font-size: 20px;
  font-weight: 800;
  margin-top: 8px;
}

.tier-gpa {
  font-size: 32px;
  font-weight: 900;
  margin: 16px 0;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.tier-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.tier-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.tier-check {
  color: var(--color-orange);
  font-weight: bold;
  flex-shrink: 0;
}

/* Block 5: Behind the Designs Showcase (Middle Left) */
.showcase-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 40px;
}

.showcase-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.showcase-tall-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.showcase-tall-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.tall-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border-color);
}

.tall-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.showcase-tall-card:hover .tall-card-image img {
  transform: scale(1.03);
}

.tall-card-info {
  padding: 32px 28px;
}

/* Block 6: Selected Work Hero Banner */
.selected-work-hero-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  border-radius: 20px;
  overflow: hidden;
  padding: 60px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
}

.selected-work-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.selected-work-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: left;
}

.banner-badge {
  background: rgba(82, 137, 173, 0.15);
  border: 1px solid rgba(82, 137, 173, 0.3);
  color: var(--color-orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 20px;
}

.banner-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Block 7: Featured Projects Grid */
.bento-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.bento-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-project-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.bento-project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 200px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border-color);
}

.bento-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.bento-project-card:hover .bento-project-image img {
  transform: scale(1.02);
}

.bento-project-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Block 8: Philosophy Card */
.philosophy-bento-card {
  background: radial-gradient(circle at 90% 10%, rgba(218, 27, 96, 0.08) 0%, transparent 60%), var(--bg-card);
}

/* Block 9: Awards list & Visor block */
.awards-split-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.awards-visor-side {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 3 / 4;
  background: #000;
  max-width: 280px;
  margin: 0 auto;
}

.awards-visor-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(103%);
}

.awards-list-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.award-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.award-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.award-item-org {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.award-item-year {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-orange);
}

/* Block 10: Media Spotlights & Publications */
.spotlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.spotlight-bento-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.spotlight-visual-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16/10;
  background: #000;
  width: 100%;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-visual-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.spotlight-bento-card:hover .spotlight-visual-wrapper img {
  transform: scale(1.02);
}

/* Block 11: Global Exposure Bento Card with Map inside */
.bento-map-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

.map-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(82, 137, 173, 0.15);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(82, 137, 173, 0.06), 0 0 80px rgba(82, 137, 173, 0.03);
  max-width: 420px;
}

.map-wrapper-fullwidth {
  max-width: 100%;
}

.world-map {
  width: 100%;
  height: auto;
}

.continents path {
  transition: fill 0.4s ease, filter 0.4s ease;
}

.continents path:hover {
  fill: rgba(82, 137, 173, 0.12) !important;
  filter: drop-shadow(0 0 15px rgba(82, 137, 173, 0.25));
}

.map-marker {
  cursor: pointer;
}

.map-marker:hover .marker-dot {
  filter: drop-shadow(0 0 12px var(--color-orange));
}

/* Static Orange Map Markers (no animation) */
.marker-dot {
  fill: var(--color-orange) !important;
  stroke: #ffffff !important;
  stroke-width: 1.5 !important;
  filter: drop-shadow(0 0 6px var(--color-orange)) !important;
  cursor: pointer;
}

.marker-ping {
  fill: var(--color-orange) !important;
  opacity: 0.2 !important;
}

.map-marker.active .marker-dot {
  r: 8;
  filter: drop-shadow(0 0 16px var(--color-orange)) drop-shadow(0 0 24px var(--color-orange)) !important;
}

.map-tooltip {
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 24px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  backdrop-filter: blur(10px);
  margin-top: 16px;
  transition: all 0.3s ease;
}

.exposure-cards-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.exposure-cards-reveal.visible {
  max-height: 800px;
  opacity: 1;
  margin-top: 24px;
}

.exposure-cards-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bento-exposure-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.bento-exposure-card:hover, .bento-exposure-card.active {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.bento-exposure-card.active {
  box-shadow: 0 10px 20px rgba(82, 137, 173, 0.04);
}

.bento-exposure-card.highlighted {
  border-color: var(--color-orange) !important;
  box-shadow: 0 8px 30px rgba(82, 137, 173, 0.2) !important;
  background: rgba(82, 137, 173, 0.04) !important;
  transform: scale(1.02);
}

.bento-exposure-card-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  background: #000;
  width: 100%;
  margin-top: 16px;
  min-height: 120px;
}

.bento-exposure-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Block 12: Core Expertise Services stacked */
.services-stack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.service-stack-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: var(--transition-smooth);
}

.service-stack-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* Block 13: Minimal Contact Form styling */
.contact-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.contact-left-tagline {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.bento-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contact-minimal-input {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-bottom: 2px solid var(--border-color);
  padding: 16px 8px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  width: 100%;
}

.contact-minimal-input:focus {
  outline: none;
  border-bottom-color: var(--color-orange);
}

.contact-minimal-input::placeholder {
  color: var(--text-muted);
}

.tag-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tag-pill:hover, .tag-pill.active {
  color: #000000;
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.btn-submit-bento {
  background: var(--gradient-primary);
  color: #000;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: fit-content;
  margin-top: 12px;
}

.btn-submit-bento:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(82, 137, 173, 0.25);
}

/* Block 14: Passions & Hobbies Grid */
.hobbies-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.hobby-bento-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.hobby-bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.hobby-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  background: #000;
  width: 100%;
  margin-bottom: 20px;
}

.hobby-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hobby-bento-card:hover .hobby-visual img {
  transform: scale(1.02);
}

/* ==============================
   LIGHTBOX MODALS & GLOBAL LAYOUTS
   ============================== */

.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-container {
  position: relative;
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  animation: modal-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

@keyframes modal-enter {
  0% { transform: scale(0.95) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: rgba(82, 137, 173, 0.1);
  border-color: var(--color-orange);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

.lightbox-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.lightbox-media-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lightbox-main-img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  background: #000;
}

.lightbox-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.lightbox-thumb {
  width: 72px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  background: #000;
}

.lightbox-thumb.active, .lightbox-thumb:hover {
  border-color: var(--color-orange);
  opacity: 1;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.lightbox-badge {
  background: rgba(82, 137, 173, 0.15);
  border: 1px solid rgba(82, 137, 173, 0.3);
  color: var(--color-orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.lightbox-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.lightbox-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Dr Low Testimonial block styled cleanly */
.testimonial-block-centered {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.testimonial-block-centered blockquote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Stats Counter strip */
.bento-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.stat-item-bento {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item-bento:hover {
  border-color: var(--border-hover);
}

.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-orange);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Infinite Marquee ribbon */
.marquee-wrapper {
  background: #0d0d0f;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  overflow: hidden;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 40px;
}

.marquee-content span {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
}

.marquee-content .dot {
  color: var(--color-orange);
}

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

/* Social Strip style */
.socials-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-color);
}

.social-strip-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-strip-link:hover {
  color: var(--color-orange);
}

.social-strip-email a {
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* Layout adjustments for smaller screens */
@media (max-width: 1100px) {
  .hero-bento-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-portrait-frame {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-footer-nav {
    grid-column: span 1;
  }
  
  .about-bento-split, .contact-bento-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bento-map-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-wrapper {
    max-width: 100%;
  }

  .map-wrapper-fullwidth {
    max-width: 100%;
  }
  
  .exposure-cards-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .education-pricing-grid, .showcase-cards-container, .spotlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bento-projects-grid, .hobbies-bento-grid, .bento-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px 30px;
  }
  
  .nav {
    display: none;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .bento-projects-grid, .hobbies-bento-grid, .bento-stats-strip, .exposure-cards-mini-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-large-title {
    font-size: 44px;
  }
  
  .bento-card {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .lightbox-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .lightbox-container {
    padding: 24px;
    border-radius: 16px;
  }
}

.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==============================
   PROFESSIONAL EDITORIAL REFRESH
   ============================== */
:root {
  --bg-color: #F4FCFB;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(172, 188, 191, 0.92);
  --color-orange: #5289AD;
  --color-orange-rgb: 82, 137, 173;
  --color-orange-hover: #698696;
  --color-sunset-red: #243C4C;
  --color-green: #698696;
  --text-primary: #243C4C;
  --text-secondary: rgba(36, 60, 76, 0.68);
  --text-muted: rgba(36, 60, 76, 0.42);
  --gradient-accent: linear-gradient(135deg, #243C4C 0%, #5289AD 54%, #F4FCFB 100%);
  --gradient-primary: linear-gradient(135deg, #5289AD 0%, #243C4C 100%);
  --border-color: rgba(36, 60, 76, 0.12);
  --border-hover: rgba(82, 137, 173, 0.42);
  --shadow-premium: 0 30px 80px rgba(36, 60, 76, 0.18);
}

html {
  background:
    linear-gradient(180deg, rgba(36, 60, 76, 0.035), transparent 520px),
    radial-gradient(circle at 50% -20%, rgba(82, 137, 173, 0.08), transparent 34rem),
    var(--bg-color);
}

body {
  background:
    linear-gradient(90deg, rgba(36, 60, 76, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 60, 76, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
}

.aurora-bg,
.blob {
  display: none;
}

.main-content {
  padding-top: 0;
}

.bento-container {
  max-width: 1480px;
  padding: 0 28px 54px;
  gap: 22px;
}

.header {
  padding: 18px 42px;
  background: rgba(244, 252, 251, 0.84);
  border-bottom-color: rgba(36, 60, 76, 0.12);
  box-shadow: 0 14px 40px rgba(36, 60, 76, 0.08);
}

.header.scrolled {
  padding: 12px 42px;
  background: rgba(244, 252, 251, 0.94);
}

.logo {
  letter-spacing: 0;
}

.nav {
  gap: 22px;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0;
}

.nav-btn,
.primary-link,
.secondary-link,
.btn-submit-bento {
  border-radius: 999px;
}

.bento-card {
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 252, 251, 0.7));
  box-shadow: 0 18px 54px rgba(36, 60, 76, 0.08);
}

.bento-card:hover {
  transform: translateY(-1px);
}

.bento-tag,
.banner-badge,
.lightbox-badge {
  letter-spacing: 0.12em;
}

.portfolio-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 112px 0 54px;
  overflow: hidden;
}

.portfolio-hero::before {
  content: '';
  position: absolute;
  inset: 0 -28px;
  background:
    linear-gradient(110deg, rgba(244, 252, 251, 0.98) 0%, rgba(244, 252, 251, 0.84) 44%, rgba(172, 188, 191, 0.42) 100%),
    var(--hero-image, url('/keeper_expo.jpg')) center / cover;
  filter: saturate(0.82) contrast(1.03);
  transform: scale(1.04);
  transition: background-image 0.6s ease;
  z-index: -2;
}

.portfolio-hero::after {
  content: '';
  position: absolute;
  inset: auto -28px 0;
  height: 35%;
  background: linear-gradient(0deg, var(--bg-color), transparent);
  z-index: -1;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(560px, 1.38fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 620px;
  padding-left: clamp(8px, 2vw, 28px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 560px;
  font-size: clamp(52px, 6.2vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 520px;
  margin-top: 26px;
  color: rgba(36, 60, 76, 0.76);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.primary-link {
  background: var(--gradient-primary);
  color: #F4FCFB;
}

.secondary-link {
  color: var(--text-primary);
  border: 1px solid rgba(36, 60, 76, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.primary-link:visited {
  color: #F4FCFB;
}

.secondary-link:visited,
.nav-link:visited,
.social-strip-link:visited,
.footer-links a:visited {
  color: inherit;
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.project-viewer {
  position: relative;
  width: min(100%, 860px);
  justify-self: end;
  perspective: 1200px;
}

.viewer-topline,
.viewer-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(36, 60, 76, 0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.viewer-topline {
  margin-bottom: 12px;
}

.device-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(36, 60, 76, 0.2);
  box-shadow: 0 42px 110px rgba(36, 60, 76, 0.28);
  transform: rotateX(2deg) rotateY(-4deg);
  transform-origin: center;
}

.device-shell::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 4;
  pointer-events: none;
}

.project-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  z-index: 1;
  transition: opacity 0.6s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 60, 76, 0.24);
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(244, 252, 251, 0.74);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.carousel-control svg {
  width: 20px;
  height: 20px;
}

.carousel-control:hover {
  background: var(--text-primary);
  color: #F4FCFB;
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

.viewer-caption {
  gap: 24px;
  margin-top: 18px;
}

.viewer-caption h2 {
  font-size: clamp(22px, 2.8vw, 44px);
  letter-spacing: 0;
  text-transform: none;
}

.viewer-progress {
  flex: 1;
  min-width: 120px;
  height: 2px;
  background: rgba(36, 60, 76, 0.16);
  overflow: hidden;
}

.viewer-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--color-orange);
  transition: width 0.45s ease;
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.project-thumb {
  height: clamp(58px, 7vw, 86px);
  border: 1px solid rgba(36, 60, 76, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: var(--transition-smooth);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumb.active,
.project-thumb:hover {
  opacity: 1;
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

.about-story-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
}

.about-story-copy {
  min-width: 0;
}

.about-story-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.78;
}

.about-connect-link {
  width: fit-content;
  display: inline-flex;
  margin-top: 30px;
}

.about-photo-carousel {
  position: relative;
  min-width: 0;
}

.about-carousel-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  color: rgba(36, 60, 76, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-carousel-stage {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  perspective: 1300px;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
}

.about-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(66%, 520px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 60, 76, 0.16);
  border-radius: 10px;
  background: #243C4C;
  box-shadow: 0 34px 78px rgba(36, 60, 76, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    z-index 0.65s ease;
  will-change: transform, opacity, filter;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.about-photo.active {
  z-index: 5;
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) translateZ(140px) scale(1);
}

.about-photo.prev,
.about-photo.next {
  z-index: 4;
  opacity: 0.68;
  filter: blur(2px) saturate(0.78);
}

.about-photo.prev {
  transform: translate(-92%, -50%) rotateY(22deg) translateZ(-120px) scale(0.68);
}

.about-photo.next {
  transform: translate(-8%, -50%) rotateY(-22deg) translateZ(-120px) scale(0.68);
}

.about-photo.far-prev,
.about-photo.far-next {
  z-index: 2;
  opacity: 0.24;
  filter: blur(5px) saturate(0.55);
}

.about-photo.far-prev {
  transform: translate(-122%, -50%) rotateY(34deg) translateZ(-260px) scale(0.5);
}

.about-photo.far-next {
  transform: translate(22%, -50%) rotateY(-34deg) translateZ(-260px) scale(0.5);
}

.about-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 60, 76, 0.24);
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(244, 252, 251, 0.74);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.about-carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.about-carousel-arrow:hover {
  color: #F4FCFB;
  background: var(--text-primary);
}

.about-prev {
  left: 16px;
}

.about-next {
  right: 16px;
}

.about-carousel-hint {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: rgba(36, 60, 76, 0.66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid rgba(36, 60, 76, 0.12);
  padding-top: 24px;
}

.scroll-cue {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(36, 60, 76, 0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue span {
  width: 44px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: scroll-line 1.9s ease-in-out infinite;
}

@keyframes scroll-line {
  50% { transform: scaleX(0.36); opacity: 0.55; }
}

.showcase-header-row,
.awards-split-block,
.contact-bento-grid {
  align-items: center;
}

.showcase-tall-card,
.bento-project-card,
.spotlight-bento-card,
.hobby-bento-card,
.education-tier-card,
.quick-index-item,
.service-stack-item,
.stat-item-bento {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: none;
}

.tall-card-image,
.bento-project-image,
.spotlight-visual-wrapper,
.hobby-visual,
.awards-visor-side,
.lightbox-main-img-wrapper,
.bento-exposure-card-img {
  border-radius: 8px;
}

.showcase-tall-card,
.bento-project-card {
  animation: float-in both;
  animation-timeline: view();
  animation-range: entry 12% cover 32%;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .portfolio-hero {
    padding-top: 96px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

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

  .project-viewer {
    justify-self: stretch;
    width: 100%;
  }

  .device-shell {
    transform: none;
  }
}

@media (max-width: 768px) {
  .bento-container {
    padding: 0 16px 42px;
  }

  .portfolio-hero {
    min-height: auto;
    padding: 92px 0 42px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .project-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .viewer-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .viewer-progress {
    width: 100%;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
  }

  .about-story-card {
    padding: 30px 20px;
  }

  .about-carousel-stage {
    min-height: 430px;
  }

  .about-photo {
    width: min(76%, 320px);
  }

  .about-photo.prev {
    transform: translate(-86%, -50%) rotateY(18deg) translateZ(-120px) scale(0.62);
  }

  .about-photo.next {
    transform: translate(-14%, -50%) rotateY(-18deg) translateZ(-120px) scale(0.62);
  }

  .scroll-cue {
    position: static;
    margin-top: 26px;
  }
}

/* ==============================
   DARK ARCTIC THEME FIX
   ============================== */
:root {
  --bg-color: #07131B;
  --bg-card: rgba(17, 38, 50, 0.78);
  --bg-card-hover: rgba(26, 55, 70, 0.92);
  --color-orange: #5289AD;
  --color-orange-rgb: 82, 137, 173;
  --color-orange-hover: #ACBCBF;
  --color-sunset-red: #ACBCBF;
  --color-green: #698696;
  --text-primary: #F4FCFB;
  --text-secondary: rgba(244, 252, 251, 0.72);
  --text-muted: rgba(244, 252, 251, 0.46);
  --gradient-accent: linear-gradient(135deg, #F4FCFB 0%, #ACBCBF 38%, #5289AD 100%);
  --gradient-primary: linear-gradient(135deg, #5289AD 0%, #243C4C 100%);
  --gradient-cyan: linear-gradient(135deg, #ACBCBF 0%, #5289AD 100%);
  --gradient-warm-dark: linear-gradient(180deg, #0D202B 0%, #07131B 100%);
  --border-color: rgba(172, 188, 191, 0.16);
  --border-hover: rgba(82, 137, 173, 0.44);
  --shadow-premium: 0 30px 80px rgba(0, 0, 0, 0.38);
}

html {
  background:
    radial-gradient(circle at 50% -18%, rgba(82, 137, 173, 0.18), transparent 34rem),
    linear-gradient(180deg, #0B1B25 0%, #07131B 44rem, #07131B 100%);
}

body {
  background:
    linear-gradient(90deg, rgba(172, 188, 191, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(172, 188, 191, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
}

.header {
  background: rgba(7, 19, 27, 0.82);
  border-bottom-color: var(--border-color);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.header.scrolled {
  background: rgba(7, 19, 27, 0.94);
}

.bento-card,
.showcase-tall-card,
.bento-project-card,
.spotlight-bento-card,
.hobby-bento-card,
.education-tier-card,
.quick-index-item,
.service-stack-item,
.stat-item-bento {
  background:
    linear-gradient(145deg, rgba(244, 252, 251, 0.075), rgba(82, 137, 173, 0.04)),
    rgba(17, 38, 50, 0.78);
  border-color: var(--border-color);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.bento-card:hover,
.showcase-tall-card:hover,
.bento-project-card:hover,
.spotlight-bento-card:hover,
.hobby-bento-card:hover,
.education-tier-card:hover,
.quick-index-item:hover,
.service-stack-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-premium);
}

.portfolio-hero::before {
  background:
    linear-gradient(110deg, rgba(7, 19, 27, 0.96) 0%, rgba(7, 19, 27, 0.62) 46%, rgba(7, 19, 27, 0.88) 100%),
    var(--hero-image, url('/keeper_expo.jpg')) center / cover;
  filter: saturate(0.88) contrast(1.08);
}

.portfolio-hero::after {
  background: linear-gradient(0deg, var(--bg-color), transparent);
}

.hero-copy p,
.viewer-topline,
.viewer-caption,
.about-carousel-header,
.hero-meta,
.scroll-cue {
  color: var(--text-secondary);
}

a.primary-link,
a.primary-link:link,
a.primary-link:visited {
  background: var(--gradient-primary);
  color: #F4FCFB;
}

a.secondary-link,
a.secondary-link:link,
a.secondary-link:visited {
  color: var(--text-primary);
  border-color: var(--border-color);
  background: rgba(244, 252, 251, 0.055);
}

.secondary-link:hover {
  border-color: var(--border-hover);
  background: rgba(82, 137, 173, 0.16);
}

.device-shell,
.about-photo {
  background: #050B10;
  border-color: rgba(172, 188, 191, 0.18);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.42);
}

.carousel-control,
.about-carousel-arrow {
  color: var(--text-primary);
  background: rgba(7, 19, 27, 0.72);
  border-color: rgba(172, 188, 191, 0.22);
}

.carousel-control:hover,
.about-carousel-arrow:hover {
  color: #F4FCFB;
  background: rgba(82, 137, 173, 0.92);
  border-color: rgba(172, 188, 191, 0.42);
}

.viewer-progress,
.hero-meta {
  border-color: var(--border-color);
}

.viewer-progress {
  background: rgba(172, 188, 191, 0.16);
}

.project-thumb {
  border-color: rgba(172, 188, 191, 0.16);
  background: rgba(244, 252, 251, 0.045);
}
