/* ============================================
   DINO PONIN — style.css
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:        #F5F0E8;
  --warm-orange:  #E8621A;
  --terracotta:   #C4441C;
  --sand:         #D4B896;
  --dark:         #1A1410;
  --warm-yellow:  #F2B830;
  --olive:        #6B6B3A;
  --light-sand:   #EDE6D6;
  --gap:          14px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

/* ---------- GRAIN TEXTURE ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  width: 14px;
  height: 14px;
  background: #1A1410;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.3s ease, opacity 0.3s;
}

.cursor-follower {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(26,20,16,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, border-color 0.3s ease, opacity 0.3s;
}

/* ---------- PARALLAX BACKGROUND ---------- */
.parallax-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  transition: transform 0.1s linear;
}

.blob1 { width: 600px; height: 600px; background: var(--warm-orange); top: -200px; right: -100px; }
.blob2 { width: 400px; height: 400px; background: var(--warm-yellow); bottom: 100px; left: -150px; }
.blob3 { width: 300px; height: 300px; background: var(--terracotta); top: 50%; left: 40%; }

/* ---------- PAGE / SECTION WRAPPER ---------- */
.page {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION 1: HERO — BENTO GRID
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(10px, 2vw, 32px);
}

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(3, calc((100vh - clamp(10px,2vw,32px)*2 - 28px) / 3));
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  /* max-width keeps aspect ratio sane on ultra-wide: height * ~1.7 */
  max-width: min(calc(100vw - clamp(20px,4vw,64px)), calc((100vh - 60px) * 1.75));
  margin: 0 auto;
}

/* --- TILES --- */
.tile {
  border-radius: clamp(12px, 1.5vw, 24px);
  padding: clamp(20px, 2.5vw, 44px);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  opacity: 0;
  animation: tileIn 0.6s ease forwards;
  will-change: transform;
  min-height: 0;
}

.tile:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

@keyframes tileIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tile:nth-child(1) { animation-delay: 0.05s; }
.tile:nth-child(2) { animation-delay: 0.15s; }
.tile:nth-child(3) { animation-delay: 0.25s; }
.tile:nth-child(4) { animation-delay: 0.35s; }
.tile:nth-child(5) { animation-delay: 0.45s; }
.tile:nth-child(6) { animation-delay: 0.55s; }
.tile:nth-child(7) { animation-delay: 0.65s; }

/* TILE: NAME */
.tile-name {
  grid-column: 1 / 3;
  grid-row: 1;
  background: var(--dark);
  color: var(--cream);
}

.tile-name .label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
  display: block;
}

.tile-name h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 6vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
}

.tile-name h1 .name-accent {
  color: var(--warm-orange);
  display: inline;
}

.name-letter {
  display: inline-block;
  will-change: transform;
}

.name-letter.anim-float   { animation: nl-float 0.8s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-wiggle  { animation: nl-wiggle 0.6s ease forwards; }
.name-letter.anim-pulse   { animation: nl-pulse 0.7s ease forwards; }
.name-letter.anim-flip    { animation: nl-flip 0.7s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-glitch  { animation: nl-glitch 0.5s steps(4) forwards; }
.name-letter.anim-bounce  { animation: nl-bounce 0.6s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-slide   { animation: nl-slide 0.7s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-spin    { animation: nl-spin 0.6s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-stretch { animation: nl-stretch 0.6s cubic-bezier(.34,1.56,.64,1) forwards; }
.name-letter.anim-glow    { animation: nl-glow 0.8s ease forwards; }

@keyframes nl-float {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}
@keyframes nl-wiggle {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-8deg); }
  40%  { transform: rotate(8deg); }
  60%  { transform: rotate(-4deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0); }
}
@keyframes nl-pulse {
  0%   { transform: scale(1); color: inherit; }
  40%  { transform: scale(1.3); color: var(--warm-yellow); text-shadow: 0 0 20px rgba(242,184,48,.5); }
  100% { transform: scale(1); color: inherit; text-shadow: none; }
}
@keyframes nl-flip {
  0%   { transform: rotateY(0); }
  50%  { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes nl-glitch {
  0%   { transform: translate(0,0); opacity: 1; }
  25%  { transform: translate(-3px,2px); opacity: .7; color: var(--warm-orange); }
  50%  { transform: translate(3px,-2px); opacity: .5; color: var(--warm-yellow); }
  75%  { transform: translate(-2px,-1px); opacity: .8; color: var(--terracotta); }
  100% { transform: translate(0,0); opacity: 1; color: inherit; }
}
@keyframes nl-bounce {
  0%   { transform: translateY(0) scaleY(1); }
  30%  { transform: translateY(-18px) scaleY(1.1); }
  50%  { transform: translateY(0) scaleY(.85); }
  70%  { transform: translateY(-6px) scaleY(1.05); }
  100% { transform: translateY(0) scaleY(1); }
}
@keyframes nl-slide {
  0%   { transform: translateX(0); opacity: 1; }
  30%  { transform: translateX(10px); opacity: .6; }
  60%  { transform: translateX(-6px); opacity: .8; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes nl-spin {
  0%   { transform: rotate(0) scale(1); }
  50%  { transform: rotate(180deg) scale(.85); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes nl-stretch {
  0%   { transform: scaleX(1) scaleY(1); }
  30%  { transform: scaleX(1.3) scaleY(.8); }
  60%  { transform: scaleX(.85) scaleY(1.15); }
  100% { transform: scaleX(1) scaleY(1); }
}
@keyframes nl-glow {
  0%   { text-shadow: none; color: inherit; }
  40%  { text-shadow: 0 0 18px rgba(232,98,26,.8), 0 0 40px rgba(232,98,26,.4); color: #fff; }
  100% { text-shadow: none; color: inherit; }
}

.tile-name .tagline {
  margin-top: 20px;
  font-size: 16px;
  color: var(--sand);
  font-weight: 300;
  font-style: italic;
}

/* TILE: DINO CHARACTER */
.tile-dino {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--warm-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dino-svg {
  width: clamp(120px, 10vw, 200px);
  height: clamp(120px, 10vw, 200px);
  animation: dinoFloat 3s ease-in-out infinite;
}

@keyframes dinoFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-14px) rotate(3deg); }
}

.tile-dino p {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  margin-top: 16px;
}

/* TILE: ROLE */
.tile-role {
  grid-column: 1;
  grid-row: 2;
  background: var(--warm-yellow);
  color: var(--dark);
}

.tile-role .role-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.tile-role .role-title em {
  font-style: normal;
  color: var(--terracotta);
}

.tile-role .role-desc {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(26, 20, 16, 0.7);
  max-width: 280px;
  line-height: 1.6;
}

/* TILE: SKILLS PILLS */
.tile-skills {
  grid-column: 2;
  grid-row: 2;
  background: var(--light-sand);
}

.tile-skills h3 {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

.skill-pill {
  display: inline-block;
  background: var(--dark);
  color: var(--cream);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 100px;
  margin: 4px 4px 0 0;
  transition: background 0.2s, transform 0.2s;
}

.skill-pill:hover {
  background: var(--warm-orange);
  transform: scale(1.06);
  cursor: default;
}

.skill-pill.light {
  background: var(--cream);
  color: var(--dark);
  border: 1px solid var(--sand);
}

.skill-pill.light:hover {
  background: var(--warm-yellow);
  border-color: var(--warm-yellow);
}

/* TILE: CONTACT */
.tile-contact {
  grid-column: 1;
  grid-row: 3;
  background: var(--terracotta);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile-contact h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* TILE: FUN FACT */
.tile-fun {
  grid-column: 2;
  grid-row: 3;
  background: var(--olive);
  color: var(--cream);
}

.tile-fun .big-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
}

.tile-fun p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.85);
}

.tile-fun strong {
  color: var(--warm-yellow);
}

/* TILE: STATUS */
.tile-status {
  grid-column: 3;
  grid-row: 3;
  background: var(--cream);
  border: 2px solid var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

.status-label {
  font-size: 12px;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.tile-status .big-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.tile-status .big-text em {
  color: var(--warm-orange);
  font-style: normal;
}

.links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.icon-link:hover {
  background: var(--warm-orange);
  transform: scale(1.12) rotate(10deg);
}

/* CTA BUTTON */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--terracotta);
  padding: 14px 26px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, transform 0.2s, gap 0.2s;
  margin-top: 24px;
}

.cta-btn:hover {
  background: var(--warm-yellow);
  gap: 18px;
  transform: scale(1.03);
}

.cta-btn.big {
  background: var(--warm-orange);
  color: var(--cream);
  font-size: 18px;
  padding: 18px 36px;
  margin-top: 0;
}

.cta-btn.big:hover {
  background: var(--terracotta);
}

.cta-btn.outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245, 240, 232, 0.4);
  margin-top: 0;
}

.cta-btn.outline:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: var(--cream);
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  opacity: 0.5;
}

.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--dark);
  animation: scrollPulse 1.5s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Hero fades out at bottom into the skills gradient */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #F5F0E8);
  pointer-events: none;
  z-index: 2;
}


.skills-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #F5F0E8 0%,
    #F0E0C8 3%,
    #D4844A 10%,
    #B5451E 20%,
    #8B2A0A 38%,
    #1A1410 100%
  );
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px) clamp(80px, 10vw, 140px);
  z-index: 1;
}

/* Orbs */
.skills-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.orb-a { width: 560px; height: 560px; background: #E8621A; opacity: 0.18; top: 10%; right: -80px; }
.orb-b { width: 400px; height: 400px; background: #F2B830; opacity: 0.12; bottom: 60px; left: -80px; }
.orb-c { width: 280px; height: 280px; background: #FF8C42; opacity: 0.09; top: 50%; left: 32%; }

/* Grid */
.skills-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  position: relative;
  z-index: 1;
  padding-top: clamp(60px, 8vw, 100px);
}

/* ---- LEFT COLUMN ---- */
.skills-left {
  position: sticky;
  top: clamp(60px, 10vh, 100px);
  /* Allow title to visually overflow without clipping */
  overflow: visible;
  max-width: 260px;
}

.skills-headline-wrap .section-tag {
  color: #F2B830;
  background: rgba(242,184,48,0.15);
  border: 1px solid rgba(242,184,48,0.25);
  margin-bottom: 20px;
}

/* Title — 32px guarantees Expertise fits in 260px */
.skills-title {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #FFFFFF;
}

.skills-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8C42 0%, #F2B830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-size: 32px;
  letter-spacing: -0.5px;
}

/* Each word animates in */
.word-reveal {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
  will-change: transform;
}
.word-reveal.visible { opacity: 1; transform: translateY(0); }
.word-reveal.delay-1 { transition-delay: 0.1s; }
.word-reveal.delay-2 { transition-delay: 0.2s; }

.magnetic-word {
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.6s ease;
}

/* Subtitle — bigger, more readable */
.skills-sub {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,240,220,0.75);
  max-width: 280px;
  font-weight: 300;
}
.skills-sub::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: linear-gradient(to right, #E8621A, #F2B830);
  margin-top: 20px; border-radius: 2px;
}

/* Orbit */
.tech-orbit { position: relative; width: 180px; height: 180px; margin-top: 36px; }
.orbit-ring { position: absolute; inset: 0; animation: orbitSpin 14s linear infinite; }
.orbit-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; z-index: 2; }
.orbit-dot {
  position: absolute;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  left: 50%; top: 50%; margin: -20px;
  transform-origin: 0 0;
  transform: rotate(calc(var(--i)*60deg)) translateY(-74px) rotate(calc(var(--i)*-60deg));
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
  cursor: default;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.orbit-dot:hover {
  background: #E8621A;
  border-color: #E8621A;
  transform: rotate(calc(var(--i)*60deg)) translateY(-74px) rotate(calc(var(--i)*-60deg)) scale(1.3);
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Stat badges — subtle glow pulse, no transform to avoid conflicts */
.skills-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.skills-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  animation: badgePulse 3.5s ease-in-out infinite;
  transition: background 0.25s, border-color 0.25s;
}
.skills-badge:nth-child(1) { animation-delay: 0s; }
.skills-badge:nth-child(2) { animation-delay: 1.1s; }
.skills-badge:nth-child(3) { animation-delay: 2.2s; }

@keyframes badgePulse {
  0%, 100% { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); }
  50%       { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.38); }
}

.skills-badge:hover {
  background: rgba(255,255,255,0.28) !important;
  border-color: rgba(232,98,26,0.5) !important;
  animation-play-state: paused;
}

.sb-num {
  font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800;
  background: linear-gradient(135deg, #FF8C42, #F2B830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -1px; min-width: 52px; line-height: 1;
}
.sb-label {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1px;
}

/* ---- RIGHT COLUMN ---- */
.skills-right {
  display: flex;
  flex-direction: column;
  gap: 14px; /* tighter gap between cards */
}

.skill-row {
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  transform-origin: left center;
}

/* Active row pops forward — translateX so it pushes toward the right */
.skill-row.hl-active {
  transform: translateX(10px) scale(1.018);
  z-index: 2;
  position: relative;
}

/* Active card gets orange border glow */
.skill-row.hl-active .skill-pill-big.visible {
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}

.skill-row.hl-active .skill-pill-big.visible::after {
  box-shadow: inset 0 0 0 2px rgba(232,98,26,0.65);
}

/* Non-active rows: no opacity change, just slightly smaller */
.skill-row.hl-dim {
  transform: translateX(0) scale(0.992);
}

/* Cards */
.skill-pill-big {
  background: rgba(255,252,248,0.97);
  border-radius: 22px;
  padding: 28px 32px 24px;
  border: 1px solid rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.skill-pill-big.visible {
  opacity: 1;
  transform: translateX(0);
}
.skill-pill-big.visible:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
  transform: translateX(0) translateY(-3px);
}

/* Shine sweep */
.skill-pill-big::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transition: left 0.5s ease;
  pointer-events: none;
}
.skill-pill-big::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 0px #E8621A;
  transition: box-shadow 0.35s ease;
  pointer-events: none;
}
.skill-pill-big.visible:hover::before { left: 160%; }
.skill-pill-big.visible:hover::after  { box-shadow: inset 0 0 0 2px #E8621A; }

/* Header */
.spb-header { display: flex; align-items: flex-start; gap: 14px; }
.spb-icon { font-size: 26px; flex-shrink: 0; line-height: 1; padding-top: 2px; }

/* Bigger, bolder title */
.spb-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0px; /* no compression */
  line-height: 1.3;
  margin-bottom: 8px;
  color: #0D0604;
}
/* Body text — readable, normal weight */
.spb-content p {
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(13,6,4,0.68);
  margin: 0;
  font-weight: 400;
}
/* Bold keywords inside text */
.spb-content p strong {
  color: #0D0604;
  font-weight: 700;
}

/* Tags */
.spb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.spb-tags span {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: rgba(26,8,4,0.06); color: rgba(26,8,4,0.55);
  border: 1px solid rgba(26,8,4,0.09);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.skill-pill-big.visible:hover .spb-tags span { background: rgba(232,98,26,0.1); color: rgba(26,8,4,0.8); border-color: rgba(232,98,26,0.2); }
.spb-tags span:hover { transform: scale(1.08); }

/* Bar */
.spb-bar { height: 3px; background: rgba(26,8,4,0.07); border-radius: 100px; overflow: hidden; margin-top: 2px; }
.spb-fill { height: 100%; width: 0%; background: linear-gradient(to right, #E8621A, #F2B830); border-radius: 100px; transition: width 1.4s cubic-bezier(0.22,1,0.36,1); }

/* Yellow variant */
.skill-pill-big.accent-yellow { background: #F2B830; border-color: rgba(242,184,48,0.5); box-shadow: 0 4px 32px rgba(196,68,28,0.2); }
.skill-pill-big.accent-yellow::before { background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%); }
.skill-pill-big.accent-yellow.visible:hover::after { box-shadow: inset 0 0 0 2px #C4441C; }
.skill-pill-big.accent-yellow .spb-content h4 { color: #1A0804; }
.skill-pill-big.accent-yellow .spb-content p  { color: rgba(26,8,4,0.65); }
.skill-pill-big.accent-yellow .spb-tags span  { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.1); color: rgba(26,8,4,0.65); }
.skill-pill-big.accent-yellow .spb-bar { background: rgba(0,0,0,0.1); }
.skill-pill-big.accent-yellow .spb-fill { background: #C4441C; }

/* Dark red variant */
.skill-pill-big.accent-dark { background: rgba(40,10,4,0.9); border-color: rgba(232,98,26,0.25); box-shadow: 0 4px 32px rgba(0,0,0,0.35); backdrop-filter: blur(10px); }
.skill-pill-big.accent-dark::before { background: linear-gradient(105deg, transparent 30%, rgba(232,98,26,0.1) 50%, transparent 70%); }
.skill-pill-big.accent-dark.visible:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.5); }
.skill-pill-big.accent-dark.visible:hover::after { box-shadow: inset 0 0 0 2px #F2B830; }
.skill-pill-big.accent-dark .spb-content h4 { color: #FFF8F0; }
.skill-pill-big.accent-dark .spb-content p  { color: rgba(255,240,225,0.55); }
.skill-pill-big.accent-dark .spb-tags span  { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); color: rgba(255,240,225,0.6); }
.skill-pill-big.accent-dark.visible:hover .spb-tags span { background: rgba(232,98,26,0.2); border-color: rgba(232,98,26,0.35); color: #FFF8F0; }
.skill-pill-big.accent-dark .spb-bar  { background: rgba(255,255,255,0.1); }
.skill-pill-big.accent-dark .spb-fill { background: linear-gradient(to right, #E8621A, #F2B830); }

/* Responsive */
@media (max-width: 900px) { .skills-inner { grid-template-columns: 260px 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .skills-inner { grid-template-columns: 1fr; }
  .skills-left { position: static; max-width: 100%; }
  .tech-orbit { display: none; }
  .skills-title { font-size: clamp(48px, 12vw, 64px); white-space: normal; }
  .skills-badges { flex-direction: row; flex-wrap: wrap; }
  .skills-badge { flex: 1; min-width: 130px; }
}

   WAVE TRANSITION
   ============================================ */
.section-wave {
  /* Background matches the START of stations (dark) so only wave shape shows */
  background: #1A1410;
  margin-bottom: -2px;
  margin-top: -2px;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.section-wave svg {
  width: 100%;
  height: clamp(60px, 8vw, 120px);
  display: block;
}

/* ============================================
   SECTION 3: STATIONEN — HORIZONTAL SCROLL
   ============================================ */
/* Tall outer wrapper gives scroll room for 6 stations */
.stations-outer {
  /* Each station ~900px wide × 6 = scroll room */
  height: 600vh;
  position: relative;
}

.stations-section {
  background: var(--dark);
  color: var(--cream);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 5;
}

/* Wave shape cut into the top of stations */
.stations-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0; right: 0;
  height: 82px;
  background: var(--dark);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
  pointer-events: none;
}

/* ---- INTRO CARD — inside the scroll track ---- */
.station-intro-card {
  width: clamp(280px, 28vw, 400px);
  min-height: clamp(400px, 60vh, 640px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sic-inner {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.sic-inner .section-tag.light {
  color: var(--warm-yellow);
  background: rgba(242,184,48,0.12);
  margin-bottom: 20px;
  display: inline-block;
}

.stations-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 28px;
}

.stations-title em { color: var(--warm-orange); font-style: normal; }

.sic-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  margin-bottom: 32px;
}

.sic-arrow {
  display: inline-block;
  animation: nudge 1.4s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}

.sic-count {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

/* Counter */
.station-counter {
  position: fixed;
  bottom: clamp(20px, 3vh, 40px);
  right: clamp(20px, 3vw, 48px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.station-counter.visible { opacity: 1; }
#stationCurrent {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-orange);
}
.station-progress-bar {
  width: 80px; height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.station-progress-fill {
  height: 100%;
  background: var(--warm-orange);
  border-radius: 100px;
  width: 20%;
  transition: width 0.4s ease;
}
.station-total {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: rgba(245,240,232,0.3);
}

/* Track */
.stations-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}
.stations-track-wrap::-webkit-scrollbar { display: none; }
.stations-track-wrap.grabbing { cursor: grabbing; }

.stations-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding: 0 clamp(24px, 5vw, 80px);
  width: max-content;
  align-items: stretch;
}

/* Individual station card */
.station {
  width: clamp(520px, 72vw, 860px);
  min-height: clamp(400px, 60vh, 640px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}

.station:hover { border-color: rgba(232,98,26,0.3); transform: translateY(-4px); }
.station.station-featured { border-color: rgba(232,98,26,0.4); background: rgba(232,98,26,0.06); }

.station.station-end {
  width: clamp(300px, 36vw, 480px);
  grid-template-columns: 1fr;
  background: var(--warm-orange);
  border-color: var(--warm-orange);
  align-items: center;
  justify-items: center;
}

/* Media */
.station-media { position: relative; overflow: hidden; background: rgba(0,0,0,0.3); }

.media-slot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.media-slot img, .media-slot video {
  width: 100%; height: 100%; object-fit: contain;
  background: rgba(0,0,0,0.3);
  transition: transform 0.6s ease;
}
.station:hover .media-slot img,
.station:hover .media-slot video { transform: scale(1.04); }

.media-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 24px;
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: 14px; margin: 16px;
  position: absolute; inset: 0;
  transition: border-color 0.3s;
}
.media-placeholder:hover { border-color: rgba(232,98,26,0.5); }
.media-placeholder.dark { background: rgba(0,0,0,0.2); }
.media-icon { font-size: 36px; }
.media-placeholder p { font-size: 12px; color: rgba(245,240,232,0.35); line-height: 1.4; margin: 0; }
.media-placeholder code {
  font-size: 10px; color: var(--warm-orange);
  background: rgba(232,98,26,0.1);
  padding: 3px 8px; border-radius: 6px; font-family: monospace;
}

.media-split { flex-direction: column; gap: 0; }
.media-split-item { flex: 1; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.08); }
.media-split-item:last-child { border-bottom: none; }
.media-placeholder.small { margin: 8px; }
.media-placeholder.small .media-icon { font-size: 22px; }
.media-placeholder.small p { font-size: 10px; }

.media-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  z-index: 2;
}
.media-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,240,232,0.55); }

/* Content */
.station-content {
  padding: clamp(22px, 2.8vw, 40px);
  display: flex; flex-direction: column;
  justify-content: center; gap: 12px;
  overflow-y: auto; scrollbar-width: none;
}
.station-content::-webkit-scrollbar { display: none; }

.st-tag {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--warm-orange);
  display: block; margin-bottom: 4px;
}
.st-tag.orange { color: var(--warm-yellow); }

.station-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.1;
  color: var(--cream);
}

.station-desc {
  font-size: clamp(12px, 1.1vw, 13.5px);
  line-height: 1.7; color: rgba(245,240,232,0.62); margin: 0;
}
.station-desc strong { color: var(--cream); }

.station-tech { display: flex; flex-wrap: wrap; gap: 5px; }
.station-tech span {
  font-size: 11px; padding: 3px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.07);
  color: rgba(245,240,232,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.station-highlight {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(242,184,48,0.08); border: 1px solid rgba(242,184,48,0.2);
  border-radius: 10px; padding: 10px 12px;
  font-size: 12px; color: var(--warm-yellow); line-height: 1.5;
}
.station-highlight.orange {
  background: rgba(232,98,26,0.12); border-color: rgba(232,98,26,0.3); color: var(--warm-orange);
}
.sh-icon { font-size: 16px; flex-shrink: 0; }

.station-clients { margin-top: 2px; }
.sc-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,240,232,0.3); display: block; margin-bottom: 6px; }
.sc-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-logo {
  font-size: 11px; padding: 5px 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; color: rgba(245,240,232,0.65); cursor: default;
  transition: background 0.2s, color 0.2s;
}
.sc-logo:hover { background: var(--warm-orange); color: var(--cream); border-color: var(--warm-orange); }

.station-links { display: flex; flex-direction: column; gap: 8px; }
.st-link {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--warm-orange); text-decoration: none;
  transition: letter-spacing 0.2s; display: inline-block;
}
.st-link:hover { letter-spacing: 2px; }

.tl-stars { font-size: 13px; color: var(--warm-yellow); }
.tl-stars span { color: rgba(245,240,232,0.5); font-size: 11px; margin-left: 4px; }

/* End station */
.station-end-inner { text-align: center; padding: clamp(28px, 4vw, 56px); }
.end-dino { font-size: 56px; animation: dinoFloat 3s ease-in-out infinite; display: block; margin-bottom: 18px; }
.station-end-inner h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -1px;
  line-height: 1.1; color: var(--cream); margin-bottom: 12px;
}
.station-end-inner h3 em { font-style: normal; color: var(--dark); }
.station-end-inner p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.end-cta { background: var(--dark); color: var(--cream); margin-top: 0; }
.end-cta:hover { background: var(--cream); color: var(--dark); }

/* Nav buttons */
.station-nav { display: flex; gap: 12px; justify-content: center; padding: 16px 0 36px; background: var(--dark); }
.snav-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent; color: var(--cream); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.snav-btn:hover { background: var(--warm-orange); border-color: var(--warm-orange); transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
  .station { grid-template-columns: 1fr; width: 85vw; min-height: auto; }
  .station-media { height: 200px; }
  .skills-inner { grid-template-columns: 1fr; }
  .skills-left { position: static; }
  .tech-orbit { display: none; }
}
@media (max-width: 480px) {
  .station { width: 90vw; }
}

.contact-section {
  min-height: 85vh;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* Force dark cursor always in this section */
  cursor: none;
}

/* Animated mesh background */
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(232,98,26,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(242,184,48,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(196,68,28,0.08) 0%, transparent 60%);
  animation: meshShift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshShift {
  0%   { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1;   transform: scale(1.06) rotate(1deg); }
}

/* Floating background — replaced by JS canvas animation */
.contact-section::after {
  display: none; /* removed — canvas handles it */
}

@keyframes helloFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50%       { transform: translate(-50%, -52%) rotate(2deg); }
}

/* Canvas background for Hello World animation */
#contactCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.contact-inner {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.contact-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin: 16px 0 20px;
}

.contact-inner h2 em {
  color: var(--warm-orange);
  font-style: normal;
}

.contact-inner p {
  font-size: 16px;
  color: rgba(26, 20, 16, 0.55);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 48px;
}

/* Contact Cards grid — 2 cards centered */
.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(26,20,16,0.1);
  color: var(--dark);
  min-width: 260px;
  flex: 1;
  max-width: 340px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transition: left 0.4s ease;
}

.contact-card:hover::before { left: 160%; }

.contact-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
}

.email-card:hover {
  background: var(--warm-orange);
  color: white;
  border-color: var(--warm-orange);
}

.linkedin-card:hover {
  background: #0A66C2;
  color: white;
  border-color: #0A66C2;
}

.github-card:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

/* Icon box */
.cc-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--light-sand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
  font-size: 0; /* hide emoji fallback */
}

.cc-icon svg { display: block; }

/* Color the icon bg on hover */
.email-card:hover    .cc-icon { background: rgba(255,255,255,0.25); }
.linkedin-card:hover .cc-icon { background: rgba(255,255,255,0.2); }
.github-card:hover   .cc-icon { background: rgba(255,255,255,0.15); }

/* Email icon — custom */
.email-card .cc-icon::after {
  content: '✉';
  font-size: 18px;
  color: var(--warm-orange);
  transition: color 0.3s;
}
.email-card:hover .cc-icon::after { color: white; }

.cc-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.cc-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 4px;
}

.cc-value {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-arrow {
  font-size: 16px;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.contact-card:hover .cc-arrow {
  opacity: 1;
  transform: translateX(4px);
}

footer {
  margin-top: 72px;
  font-size: 13px;
  color: rgba(26, 20, 16, 0.35);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    max-width: 100%;
  }
  .tile-name    { grid-column: 1 / 3; grid-row: 1; min-height: 180px; }
  .tile-dino    { grid-column: 1 / 3; grid-row: 2; min-height: 200px; }
  .tile-role    { grid-column: 1 / 3; grid-row: 3; }
  .tile-skills  { grid-column: 1; grid-row: 4; }
  .tile-fun     { grid-column: 2; grid-row: 4; }
  .tile-contact { grid-column: 1 / 3; grid-row: 5; }
  .tile-status  { grid-column: 1 / 3; grid-row: 6; }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .tile-name, .tile-dino, .tile-role,
  .tile-skills, .tile-contact, .tile-fun, .tile-status {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Very tall screens / portrait: let grid scroll naturally */
@media (max-aspect-ratio: 4/5) {
  .bento {
    grid-template-rows: auto;
    max-width: 100%;
  }
}