@font-face {
  font-family: "Ogg Medium";
  src: url("https://dcym8fthxf5uu.cloudfront.net/fonts/247a073c-29f5-4a89-aa3a-741020f346fc/OggText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --mx: 0; --my: 0;
  --back-opacity: 1; --back-x: 0px; --back-y: 0px; --back-scale: 0.76;
  --four-y: 10vh; --four-scale: 0.78;
  --bazaar-y: 20vh;
  --blur-px: 0px; --back-brightness: 1;
  --bazaar-blur-px: 0px; --bazaar-brightness: 1; --bazaar-saturation: 1;
  --shade-opacity: 1; --shade-z: 2;
  --shade-top-alpha: 0; --shade-mid-alpha: 0; --shade-bottom-alpha: 0;
  --blur-tint: 74, 181, 224;
  --title-y: 0px; --title-scale: 1; --title-opacity: 1;
  --bridge-x: -50%; --bridge-y: 0px; --bridge-bottom: 5vh;
  --bridge-width: 67.2vw; --bridge-scale: 1.02;
  --split-left-x: -50%;  --split-left-y: 0px;  --split-left-scale: 1;
  --split-right-x: -50%; --split-right-y: 0px; --split-right-scale: 1;
  --frame2-opacity: 0; --frame2-x: -50%; --frame2-y: -50%; --frame2-scale: 1.06;
  --intro-copy-y: 0px; --intro-copy-opacity: 1;
  --panel2-opacity: 0; --panel2-y: calc(-50% + 58px);
  --panel3-opacity: 0; --panel3-y: calc(-50% + 58px);
  --sights-opacity: 0; --sights-controls-opacity: 0; --sights-y: 0px;
  --sights-enter-x: 420vw; --sights-visibility: hidden;
  --sights-shift: 0px; --sights-scale: 1;
  --sights-top: clamp(112px, 19vh, 220px);
  --sights-screen-top: clamp(112px, 19vh, 220px);
  --ink: #111411; --paper: #fdf1e1; --shadow: rgba(0, 0, 0, 0.32);
  --accent-cyan: #00f2fe;
  --accent-purple: #b026ff;
  --bg-dark: #080d0c;
  --card-bg: rgba(21, 34, 32, 0.85);
  font-family: Inter, Satoshi, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--bg-dark);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-dark);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--bg-dark);
}

button {
  border: 0;
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

/* ==================== CINEMATIC SCROLL RIG ==================== */
.cinema-scroll {
  position: relative;
  height: calc(100vh + 3700px);
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #7fb4d4;
}

.world,
.back-stack,
.sky-img,
.shade,
.scene-img,
.site-header,
.sights-slider,
.sights-controls,
.hero-title,
.intro-copy,
.story-panel {
  position: absolute;
}

.world {
  inset: 0;
  overflow: hidden;
  background: #79b7dd;
}

.site-header {
  z-index: 10;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 1300px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
  background: rgba(11, 17, 16, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(253, 241, 225, 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.site-logo {
  font-family: "Ogg Medium", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  color: #fdf1e1;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
}

.site-nav a {
  color: rgba(253, 241, 225, 0.85);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(253, 241, 225, 0.12);
}

.language-switcher,
.header-hire-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: linear-gradient(135deg, #79b7dd 0%, #00f2fe 100%);
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #080d0c;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
  transition: all 0.25s ease;
}

.language-switcher:hover,
.header-hire-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.55);
}

.language-switcher span,
.header-hire-btn span {
  display: inline-flex;
  line-height: 1;
}

/* Hamburger Toggle (hidden on desktop) */
.hamburger-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(253, 241, 225, 0.25);
  border-radius: 10px;
  background: rgba(253, 241, 225, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 1001;
}

.hamburger-toggle:hover {
  background: rgba(253, 241, 225, 0.15);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.scene-img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.sky-img {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: blur(var(--blur-px)) brightness(var(--back-brightness));
}

.back-stack {
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -3vw;
  right: -3vw;
  opacity: var(--back-opacity);
  transform: translate3d(var(--back-x), var(--back-y), 0) scale(var(--back-scale));
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
}

.back-img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(var(--blur-px)) brightness(var(--back-brightness));
}

.back-bazaar,
.back-four {
  top: auto;
  bottom: 0;
  left: 48%;
  right: auto;
  width: 112%;
  height: auto;
  object-fit: contain;
}

.back-bazaar {
  z-index: 3;
  opacity: 1;
  filter: blur(var(--bazaar-blur-px)) brightness(var(--bazaar-brightness)) saturate(var(--bazaar-saturation));
  transform: translate3d(-50%, var(--bazaar-y), 0) scale(0.86);
}

.back-four {
  z-index: 1;
  opacity: 0.72;
  mix-blend-mode: screen;
  transform: translate3d(-50%, calc(var(--four-y) - 110px), 0) scale(var(--four-scale));
}

.sights-slider {
  z-index: 2;
  left: 0;
  right: 0;
  top: var(--sights-top);
  padding: 0;
  opacity: 1;
  visibility: var(--sights-visibility);
  transform: translate3d(var(--sights-enter-x), var(--sights-y), 0) scale(var(--sights-scale));
  transform-origin: 0 0;
  pointer-events: auto;
  will-change: transform;
}

.sights-track {
  display: flex;
  gap: clamp(16px, 1.15vw, 24px);
  align-items: stretch;
  transform: translate3d(calc(var(--sights-shift) - 18vw), 0, 0);
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sights-track.is-jumping {
  transition: none;
}

.sight-card {
  position: relative;
  flex: 0 0 clamp(360px, 19.4vw, 430px);
  height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: var(--paper);
  background: linear-gradient(145deg, rgba(18, 30, 28, 0.92), rgba(6, 14, 13, 0.98));
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), inset 0 1.5px 0 rgba(255, 255, 255, 0.4), inset 0 0 24px rgba(0, 242, 254, 0.05);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.sight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

.sight-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.7);
  box-shadow: 0 28px 75px rgba(0, 242, 254, 0.3), inset 0 1.5px 0 rgba(255, 255, 255, 0.5), inset 0 0 30px rgba(0, 242, 254, 0.15);
}

.sight-kicker,
.sight-card h3,
.sight-card p {
  position: relative;
  z-index: 1;
}

.sight-card:focus-visible,
.sight-card.is-active {
  outline: none;
}

.sight-kicker {
  display: block;
  margin-bottom: 56px;
  color: #00f2fe;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.45);
}

.sight-pin {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 67.2px;
  height: 67.2px;
  pointer-events: none;
  color: #00f2fe;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6));
}

.sight-card h3 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(24px + (16px * 1.16 * 2) + 12px);
  max-width: calc(100% - 76px);
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 0.95;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sight-card p {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 100%;
  margin: 12px 0 0;
  color: rgba(253, 241, 225, 0.85);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  display: -webkit-box;
  max-height: calc(2em * 1.25);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sights-controls {
  z-index: 5;
  left: 48px;
  right: auto;
  top: calc(var(--sights-screen-top) + 220px + 16px);
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  opacity: var(--sights-controls-opacity);
  transform: translate3d(0, var(--sights-y), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.sights-controls.is-ready {
  pointer-events: auto;
}

.sight-nav {
  width: 54px;
  height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  color: #111411;
  background: rgba(253, 241, 225, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.hero-title {
  z-index: 3;
  left: 50%;
  top: clamp(65px, 9.5vh, 110px);
  width: min(92vw, 1400px);
  margin: 0;
  font-family: "Ogg Medium", serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-align: center;
  text-transform: uppercase;
  cursor: grab;
  user-select: none;
  
  /* Ultra-Deep High-Contrast Black Glossy Finished Text */
  background: linear-gradient(
    180deg,
    #3d3d42 0%,
    #141416 26%,
    #020202 46%,
    #000000 60%,
    #0a0a0c 82%,
    #242428 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* High-contrast crisp white rim shine and deep shadow pop */
  filter: drop-shadow(0 2px 0px rgba(255, 255, 255, 0.95))
          drop-shadow(0 -1px 0px rgba(255, 255, 255, 0.6))
          drop-shadow(0 4px 14px rgba(0, 0, 0, 0.9))
          drop-shadow(0 12px 30px rgba(0, 0, 0, 0.75));
  
  transform: translate3d(calc(-50% + var(--mx) * 36px + var(--drag-x, 0px)), calc(var(--title-y) + var(--my) * 22px + var(--drag-y, 0px)), 0) scale(var(--title-scale));
  opacity: var(--title-opacity);
  will-change: transform, opacity;
  transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.hero-title:active {
  cursor: grabbing;
}

.bridge-img {





  z-index: 4;
  left: 50%;
  bottom: var(--bridge-bottom);
  width: min(var(--bridge-width), 2140px);
  height: auto;
  transform: translate3d(var(--bridge-x), var(--bridge-y), 0) scale(var(--bridge-scale));
  transform-origin: 50% 48%;
}

.splitframe-img {
  z-index: 6;
  left: 50%;
  bottom: -2vh;
  width: min(118vw, 2240px);
  height: auto;
  pointer-events: none;
}

.splitframe-left {
  transform: translate3d(var(--split-left-x), var(--split-left-y), 0) scale(var(--split-left-scale));
  transform-origin: 21% 52%;
}

.splitframe-right {
  transform: translate3d(var(--split-right-x), var(--split-right-y), 0) scale(var(--split-right-scale));
  transform-origin: 79% 52%;
}

.frame-two-img {
  z-index: 5;
  filter: none !important;
  backdrop-filter: none;
  left: 50%;
  top: 50%;
  width: min(122vw, 2160px);
  height: auto;
  opacity: var(--frame2-opacity);
  transform: translate3d(var(--frame2-x), var(--frame2-y), 0) scale(var(--frame2-scale));
  transform-origin: 50% 48%;
}

.shade {
  inset: 0;
  z-index: var(--shade-z);
  pointer-events: none;
  opacity: var(--shade-opacity);
  background: linear-gradient(180deg,
    rgba(var(--blur-tint), var(--shade-top-alpha)) 0%,
    rgba(var(--blur-tint), var(--shade-mid-alpha)) 48%,
    rgba(var(--blur-tint), var(--shade-bottom-alpha)) 100%);
}

.intro-copy {
  z-index: 9;
  left: 50%;
  bottom: clamp(36px, 16vh, 200px);
  width: min(620px, calc(100vw - 36px));
  text-align: center;
  background: rgba(8, 13, 12, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(253, 241, 225, 0.16);
  border-radius: 28px;
  padding: 22px 30px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  transform: translate3d(-50%, var(--intro-copy-y), 0);
  opacity: var(--intro-copy-opacity);
  will-change: transform, opacity;
}

.intro-copy p {
  margin: 0 auto;
  max-width: 560px;
  color: #fdf1e1;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-tags span {
  min-height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  color: #080d0c;
  border-radius: 999px;
  background: #fdf1e1;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.hero-tags span:hover {
  transform: translateY(-2px);
  background: #ffffff;
}


.story-panel {
  z-index: 10;
  left: 50%;
  top: 45%;
  width: min(760px, calc(100vw - 42px));
  text-align: center;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

.story-panel h2 {
  margin: 0;
  color: #fdf1e1;
  font-family: "Ogg Medium", serif;
  font-size: 4.75rem;
  font-weight: 500;
  line-height: 0.95;
  text-shadow: 0 16px 38px var(--shadow);
}

.story-panel p {
  width: min(520px, 100%);
  margin: 26px auto 0;
  color: #fdf1e1;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.18;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.story-panel-bridge {
  top: 60%;
  opacity: var(--panel2-opacity);
  transform: translate3d(-50%, var(--panel2-y), 0);
}

.story-panel-bazaar {
  top: 29%;
  opacity: var(--panel3-opacity);
  transform: translate3d(-50%, var(--panel3-y), 0);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 86px;
  width: min(470px, 100%);
  margin: 72px auto 0;
}

.facts dt {
  color: #fdf1e1;
  font-family: "Ogg Medium", serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 0.9;
  text-shadow: 0 14px 34px var(--shadow);
}

.facts dd {
  margin: 18px 0 0;
  color: #fdf1e1;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.14;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.note-button {
  min-height: 50px;
  margin-top: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-radius: 999px;
  color: var(--ink);
  background: #fdf1e1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.note-button:hover {
  transform: translateY(-2px);
}

.note-button span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}

/* ==================== PORTFOLIO CONTENT FLOW SECTIONS ==================== */
.portfolio-content-flow {
  position: relative;
  z-index: 20;
  background: #080d0c;
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(253, 241, 225, 0.1);
}

.portfolio-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(253, 241, 225, 0.06);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #79b7dd;
}

.section-title {
  font-family: "Ogg Medium", serif;
  font-size: 3.5rem;
  margin: 10px 0 16px;
  color: var(--paper);
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(253, 241, 225, 0.72);
}

/* 1. Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.metric-card {
  background: linear-gradient(145deg, rgba(26, 42, 39, 0.85), rgba(11, 20, 19, 0.94));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35), inset 0 1.5px 0 rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(0, 242, 254, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 24px 60px rgba(0, 242, 254, 0.25);
}

.metric-value {
  font-family: "Ogg Medium", serif;
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4));
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 13px;
  color: rgba(253, 241, 225, 0.65);
}

/* Ambient Background Overlay for Sections */
.section-with-ambient {
  position: relative;
  background-image: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.05), transparent 70%), linear-gradient(180deg, rgba(8, 14, 13, 0.94), rgba(8, 14, 13, 0.97)), url('./pavan/pavan-landscape.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* About Journey Card (Glossy Finish with Pavan's Featured Portrait) */
.about-journey-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
  background: linear-gradient(140deg, rgba(24, 40, 37, 0.88), rgba(10, 20, 18, 0.96));
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.45), inset 0 1.5px 0 rgba(255, 255, 255, 0.4), inset 0 0 24px rgba(0, 242, 254, 0.04);
}

.about-journey-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  pointer-events: none;
  border-radius: 28px 28px 0 0;
}

/* Pavan's Featured Portrait Column */
.journey-photo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: #0d1a18;
}

.journey-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-portrait-frame:hover .journey-portrait-img {
  transform: scale(1.06);
}

.journey-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 14, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  font-size: 11.5px;
  font-weight: 700;
  color: #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.journey-left h3 {
  font-family: "Ogg Medium", serif;
  font-size: 2.2rem;
  margin: 0 0 18px;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.journey-left p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 241, 225, 0.85);
  margin-bottom: 16px;
}

.journey-quote {
  font-style: italic;
  padding: 16px 20px;
  border-left: 4px solid #00f2fe;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.12), transparent);
  border-radius: 0 14px 14px 0;
  color: #e0f2fe;
  font-size: 15px;
  margin-top: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.journey-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journey-box {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.journey-box h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.journey-box ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(253, 241, 225, 0.85);
  font-size: 14px;
  line-height: 1.75;
}

.interests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interests-tags span {
  padding: 7px 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.interests-tags span:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
  border-color: #00f2fe;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
}

/* 2. Technical Skills Grid (Glossy Finish) */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.skill-category-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(26, 42, 39, 0.85), rgba(11, 22, 20, 0.94));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1.5px 0 rgba(255, 255, 255, 0.38), inset 0 0 20px rgba(0, 242, 254, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.skill-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.skill-category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 24px 60px rgba(0, 242, 254, 0.25);
}

.skill-category-card h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  padding: 8px 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-pill:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(79, 172, 254, 0.25));
  border-color: #00f2fe;
  color: #ffffff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 18px rgba(0, 242, 254, 0.4);
}

/* 3. River Flow Career & Education Timeline */
.timeline-river-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 0;
}

/* River Origin Head Station */
.river-origin-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  position: relative;
  z-index: 4;
}

.river-origin-avatar-frame {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #00f2fe;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.55), inset 0 2px 6px rgba(255, 255, 255, 0.5);
  background: #0d1a18;
}

.river-origin-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.river-origin-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 254, 0.5);
  animation: riverRippleWave 2.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

.river-origin-label {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(8, 14, 13, 0.9);
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.river-origin-label span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

/* Animated Flowing River Stream Spine */
.river-stream-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  background: rgba(0, 242, 254, 0.15);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  overflow: hidden;
  z-index: 1;
}

.river-water-flow {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 300%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 242, 254, 0.8) 30%, rgba(56, 189, 248, 0.9) 60%, rgba(168, 85, 247, 0.8) 85%, transparent 100%);
  animation: riverCurrentAnim 4s linear infinite;
  filter: blur(0.5px);
}

@keyframes riverCurrentAnim {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(50%);
  }
}

.river-milestone-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 52px;
  z-index: 2;
}

.river-milestone-item:last-child {
  margin-bottom: 0;
}

/* Alternating Left and Right Alignment */
.river-item-left {
  flex-direction: row;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.river-item-right {
  flex-direction: row;
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

/* Glowing River Node Beacon */
.river-node-beacon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.river-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--node-color);
  box-shadow: 0 0 20px var(--glow-color);
  animation: riverRippleWave 2.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes riverRippleWave {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.river-node-badge {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--node-color);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #060e10;
  box-shadow: 0 0 22px var(--glow-color), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease;
}

.river-milestone-item:hover .river-node-badge {
  transform: scale(1.15) rotate(5deg);
}

/* Liquid Glossy Milestone Card */
.river-milestone-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(24, 40, 37, 0.88), rgba(11, 22, 20, 0.96));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), inset 0 1.5px 0 rgba(255, 255, 255, 0.38), inset 0 0 24px rgba(0, 242, 254, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.river-milestone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.river-milestone-item:hover .river-milestone-card {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 24px 60px rgba(0, 242, 254, 0.25);
}

.river-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.river-date-badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #00f2fe;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.river-type-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(253, 241, 225, 0.6);
}

.river-milestone-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cert-title-link {
  transition: all 0.25s ease;
}

.cert-title-link:hover {
  color: #00f2fe !important;
  text-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
  transform: translateX(2px);
}

.river-milestone-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 10px;
  opacity: 0.9;
}

.river-milestone-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(253, 241, 225, 0.78);
}

/* Certificate Open Pill Button */
.cert-open-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  margin-top: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.16), rgba(79, 172, 254, 0.22));
  border: 1.5px solid #00f2fe;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cert-open-pill-btn:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #041014;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
}

/* In-Page Certificate PDF Viewer Modal */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 9, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cert-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1100px);
  height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(20, 36, 33, 0.96), rgba(8, 16, 14, 0.98));
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  border-radius: 24px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 242, 254, 0.2), inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal.is-open .cert-modal-dialog {
  transform: scale(1);
}

.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
}

.cert-modal-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00f2fe;
}

.cert-modal-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
}

.cert-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-action-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cert-action-btn:hover {
  background: #00f2fe;
  color: #041014;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

.cert-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--paper);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cert-close-btn:hover {
  background: #ff4757;
  border-color: #ff4757;
  color: #ffffff;
  transform: rotate(90deg);
}

.cert-modal-body {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #060e0d;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cert-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal-full-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 242, 254, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
}

#cert-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}



/* 4. Projects Filter Tabs & Detailed Grid */
.projects-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 44px;
  max-width: 900px;
}

.project-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(253, 241, 225, 0.06);
  border: 1px solid rgba(253, 241, 225, 0.14);
  color: rgba(253, 241, 225, 0.85);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tab-btn:hover {
  background: rgba(253, 241, 225, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.project-tab-btn.is-active {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  border-color: transparent;
  color: #04121b;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.tab-icon {
  font-size: 14px;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(253, 241, 225, 0.12);
  color: inherit;
  transition: background 0.25s ease;
}

.project-tab-btn.is-active .tab-count {
  background: rgba(4, 18, 27, 0.25);
  color: #04121b;
}

.projects-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-detailed-card {
  position: relative;
  background: rgba(18, 30, 28, 0.85);
  border: 1px solid rgba(253, 241, 225, 0.14);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-detailed-card.is-hidden {
  display: none !important;
}

.project-detailed-card.is-animating {
  animation: projectCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes projectCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.project-detailed-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 24px 60px rgba(0, 242, 254, 0.2);
}

.project-detailed-card.featured-highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(18, 30, 28, 0.95), rgba(10, 48, 58, 0.9));
  border-color: rgba(0, 242, 254, 0.4);
}

.project-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080e10;
}

.project-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-detailed-card:hover .project-preview-img {
  transform: scale(1.06);
}

.project-featured-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #04121b;
  font-weight: 800;
  font-size: 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.4);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(10, 18, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dbeafe;
  font-weight: 700;
  font-size: 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.project-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-card-body h3 {
  font-family: "Ogg Medium", serif;
  font-size: 1.65rem;
  margin: 0 0 10px;
  color: var(--paper);
  line-height: 1.25;
}

.project-card-body p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(253, 241, 225, 0.8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech-tags span {
  padding: 4px 12px;
  background: rgba(253, 241, 225, 0.08);
  border: 1px solid rgba(253, 241, 225, 0.12);
  border-radius: 999px;
  font-size: 12px;
  color: var(--paper);
  font-weight: 500;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-btn-live {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #04121b;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
}

.project-btn-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.55);
}

.project-btn-github {
  background: rgba(253, 241, 225, 0.1);
  color: var(--paper);
  border: 1px solid rgba(253, 241, 225, 0.25);
}

.project-btn-github:hover {
  background: rgba(253, 241, 225, 0.22);
  border-color: rgba(253, 241, 225, 0.45);
  transform: translateY(-2px);
}


/* 5. Contact Section Grid */
.contact-section-grid {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  background: linear-gradient(135deg, rgba(22, 36, 34, 0.82), rgba(12, 22, 21, 0.92));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 44px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 24px rgba(0, 242, 254, 0.04);
}

.contact-section-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  pointer-events: none;
  border-radius: 28px 28px 0 0;
}

.contact-info-panel h3 {
  font-family: "Ogg Medium", serif;
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--paper);
}

.contact-info-panel p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(253, 241, 225, 0.75);
  margin-bottom: 24px;
}

.info-item {
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(253, 241, 225, 0.9);
}

.info-item a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: 600;
}

.info-item a:hover {
  text-decoration: underline;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-badge {
  padding: 8px 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-badge:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
  border-color: rgba(0, 242, 254, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 18px rgba(0, 242, 254, 0.35);
}

/* Footer */
.site-footer {
  padding: 40px 0 20px;
  border-top: 1px solid rgba(253, 241, 225, 0.1);
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col h3 {
  margin: 0;
  font-size: 15px;
  color: rgba(253, 241, 225, 0.85);
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  color: rgba(253, 241, 225, 0.6);
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  color: #79b7dd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-socials a:hover {
  text-decoration: underline;
}

/* ==================== CONTACT MODAL (ULTRA GLOSSY FINISH) ==================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-modal-content {
  position: relative;
  width: min(840px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.4) rgba(0, 0, 0, 0.2);
  background: linear-gradient(140deg, rgba(26, 42, 39, 0.85), rgba(12, 22, 20, 0.94));
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 38px 42px;
  color: var(--paper);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.75), inset 0 1.5px 0 rgba(255, 255, 255, 0.4), inset 0 0 30px rgba(0, 242, 254, 0.06);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-content::-webkit-scrollbar {
  width: 6px;
}

.contact-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.contact-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.35);
  border-radius: 999px;
}

.contact-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.65);
}


.contact-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 60%, transparent 100%);
  pointer-events: none;
  border-radius: 28px 28px 0 0;
}

.contact-modal.is-open .contact-modal-content {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-close:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), rgba(79, 172, 254, 0.3));
  border-color: rgba(0, 242, 254, 0.6);
  color: #fff;
  transform: scale(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 18px rgba(0, 242, 254, 0.4);
}

.contact-modal-header {
  margin-bottom: 28px;
}

.contact-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00f2fe;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.contact-modal-header h2 {
  margin: 6px 0 10px;
  font-family: "Ogg Medium", serif;
  font-size: 2.3rem;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-modal-header p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(253, 241, 225, 0.8);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
}

.contact-info-card {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.contact-info-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.contact-info-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(253, 241, 225, 0.75);
  margin-bottom: 18px;
}

.contact-links a {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #00f2fe;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.contact-links a:hover {
  color: #4facfe;
  transform: translateX(3px);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(253, 241, 225, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--paper);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.14), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00f2fe;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.45));
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.22), 0 6px 18px rgba(0, 242, 254, 0.25);
}

.form-group select option {
  background: #111d1c;
  color: var(--paper);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #02121e;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 242, 254, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  opacity: 0.98;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  display: none;
  backdrop-filter: blur(10px);
}

.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


/* ==================== MEDIA QUERIES (FULL RESPONSIVE & MOBILE SUITE) ==================== */
@media (max-width: 1500px) {
  .hero-title { font-size: clamp(2rem, 4.6vw, 4.2rem); top: clamp(70px, 10vh, 110px); }
  .story-panel h2 { font-size: 4.1rem; }
  .section-title { font-size: 3rem; }
}

@media (max-width: 1100px) {
  .hero-title { top: clamp(65px, 9.5vh, 100px); font-size: clamp(1.7rem, 4vw, 3.4rem); }
  .bridge-img { width: 138vw; }
  .frame-two-img { width: 132vw; }
  .story-panel h2 { font-size: 3.2rem; }
  .facts { gap: 34px; margin-top: 44px; }
  .facts dt { font-size: 3.2rem; }
  .sight-card { flex-basis: clamp(320px, 40vw, 390px); min-height: 178px; }
  .about-journey-card { grid-template-columns: 1fr; }
  .contact-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    transform: none;
    padding: 10px 16px;
    border-radius: 18px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 13, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 18px;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 12px;
    text-align: center;
    color: rgba(253, 241, 225, 0.9);
  }

  .site-nav a:hover {
    background: rgba(0, 242, 254, 0.12);
    color: #00f2fe;
  }

  .hamburger-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-hire-btn,
  .language-switcher {
    padding: 8px 16px;
    font-size: 12px;
  }

  .site-logo {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .stage { min-height: 640px; }
  .hero-title { top: clamp(96px, 14vh, 140px); font-size: clamp(1.85rem, 6.8vw, 3.2rem); letter-spacing: 0.14em; }
  .bridge-img { width: 190vw; }
  .frame-two-img { width: 176vw; }
  .splitframe-img { width: min(190vw, 2240px); }
  .intro-copy { bottom: 28px; padding: 16px 18px; max-width: calc(100% - 32px); }
  .intro-copy p, .story-panel p { font-size: 0.95rem; }
  .hero-tags { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .hero-tags span { min-height: 36px; padding: 0 14px; font-size: 0.82rem; }
  .story-panel { top: 40%; padding: 0 18px; }
  .story-panel-bazaar { top: 24%; }
  .story-panel h2 { font-size: 2.3rem; }
  .facts { gap: 16px; margin-top: 28px; flex-wrap: wrap; }
  .facts dt { font-size: 2.2rem; }

  /* 3D Sights Slider on Mobile */
  .sights-slider { padding: 0; }
  .sights-track { gap: 12px; }
  .sight-card {
    flex: 0 0 min(84vw, 340px);
    height: 210px;
    padding: 20px;
    border-radius: 20px;
  }
  .sight-kicker { margin-bottom: 44px; font-size: 11px; }
  .sight-pin { top: 18px; right: 18px; width: 50px; height: 50px; }
  .sight-card h3 { font-size: 20px; max-width: calc(100% - 60px); bottom: calc(20px + (14px * 1.2 * 2) + 8px); }
  .sight-card p { font-size: 13.5px; bottom: 20px; }
  .sights-controls { top: calc(var(--sights-screen-top) + 224px); left: 18px; }

  /* Section Headings */
  .portfolio-section { padding: 60px 16px; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { font-size: 14px; max-width: 100%; padding: 0 8px; }
  .section-kicker { font-size: 12px; }

  /* Impact Dashboard on Mobile */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .metric-card {
    padding: 22px 14px;
    border-radius: 18px;
  }
  .metric-value {
    font-size: 2.4rem;
    margin-bottom: 6px;
  }
  .metric-label {
    font-size: 13px;
  }
  .metric-sub {
    font-size: 11.5px;
  }
  .about-journey-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
    border-radius: 20px;
  }
  .journey-left h3 {
    font-size: 1.75rem;
  }
  .journey-left p {
    font-size: 14px;
  }
  .journey-box {
    padding: 18px;
    border-radius: 16px;
  }
  /* Journey Photo Column on Mobile */
  .journey-photo-col {
    display: flex;
    justify-content: center;
  }
  .journey-portrait-frame {
    width: min(240px, 60vw);
    height: auto;
    aspect-ratio: 3/4;
  }

  /* Technical Skills on Mobile */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .skill-category-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .skill-pill {
    padding: 6px 13px;
    font-size: 12px;
  }

  /* River Flow Timeline on Mobile */
  .timeline-river-wrap {
    padding: 20px 0;
  }
  .river-stream-line {
    left: 24px;
    width: 4px;
  }
  .river-milestone-item,
  .river-item-left,
  .river-item-right {
    padding-left: 62px;
    padding-right: 0;
    justify-content: flex-start;
    margin-bottom: 34px;
  }
  .river-node-beacon {
    left: 24px;
    width: 50px;
    height: 50px;
  }
  .river-node-badge {
    width: 40px;
    height: 40px;
    font-size: 12.5px;
  }
  .river-milestone-card {
    max-width: 100%;
    padding: 18px 18px;
    border-radius: 18px;
  }
  .river-milestone-card h3 {
    font-size: 1.18rem;
  }
  .river-milestone-card h4 {
    font-size: 12.5px;
  }
  .river-milestone-card p {
    font-size: 12.5px;
  }
  .cert-open-pill-btn {
    padding: 10px 14px;
    font-size: 12.5px;
    border-radius: 12px;
  }
  /* River Origin Station on Mobile */
  .river-origin-station {
    flex-direction: column;
    padding: 24px 18px;
  }
  .river-origin-avatar {
    width: 80px;
    height: 80px;
  }
  .river-origin-text h3 {
    font-size: 1.35rem;
  }
  .river-origin-text p {
    font-size: 13px;
  }

  /* Certificate Modal on Mobile */
  .cert-modal-dialog {
    width: 96vw;
    height: 92vh;
    border-radius: 16px;
  }
  .cert-modal-header {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cert-modal-title {
    font-size: 14px;
  }
  .cert-modal-body {
    padding: 12px;
  }
  .cert-action-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .cert-close-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Projects Filter Tabs on Mobile */
  .projects-tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .projects-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .project-tab-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
  }

  /* Projects Grid on Mobile */
  .projects-detailed-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-detailed-card {
    border-radius: 20px;
  }
  .project-preview-wrap {
    height: 190px;
  }
  .project-info-wrap {
    padding: 20px 18px;
  }
  .project-card-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .project-btn-live,
  .project-btn-github {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Contact Section & Modal on Mobile */
  .contact-section-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    border-radius: 22px;
  }
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-modal-content {
    width: 95vw;
    max-height: 94vh;
    padding: 24px 16px;
    border-radius: 22px;
  }
  .submit-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer on Mobile */
  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 13px; }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .sight-card {
    flex: 0 0 88vw;
  }
  .about-journey-card {
    padding: 18px 14px;
  }
  .journey-portrait-frame {
    width: min(200px, 55vw);
  }
  .cert-modal-dialog {
    width: 98vw;
    height: 94vh;
    border-radius: 12px;
  }
  .cert-modal-header {
    padding: 12px;
  }
  .cert-modal-title {
    font-size: 13px;
  }
  .river-origin-station {
    padding: 18px 14px;
  }
  .skills-grid {
    gap: 14px;
  }
  .portfolio-section {
    padding: 48px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-img, .back-stack, .hero-title, .intro-copy,
  .story-panel, .sights-track, .sights-slider { transition: none; }
}
