:root {
  --sky:        #1AAED4;
  --sky-deep:   #0F8FAF;
  --ocean:      #0BBFBE;
  --green:      #3BAB6A;
  --sand:       #E8D5A0;
  --white:      #FFFFFF;
  --navy:       #0D2E42;
  --coral:      #E8927C;
  --coral-dark: #C97260;
  --mint:       #5EC9B8;
  --light-sky:  #EAF6FB;
  --light-sand: #FAF5EA;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 0.06em;
  color: var(--navy); text-decoration: none;
}
.nav-logo span { color: var(--sky); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sky); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--sky);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  padding-top: 64px;
}
.hero-content {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 52px 200px;
  position: relative; z-index: 3;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy); opacity: 0.75;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.15s both;
}
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12.5vw, 168px);
  line-height: 0.88; letter-spacing: 0.02em;
  color: var(--white);
  animation: fadeUp 0.7s ease 0.25s both;
}
.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14px, 2vw, 19px); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
  margin-top: 22px; margin-bottom: 40px;
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.55s both; }

.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 34px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: transform 0.12s, box-shadow 0.12s;
  border: 3px solid var(--navy);
}
.btn-primary {
  background: var(--navy); color: var(--white);
  box-shadow: 5px 5px 0 var(--white);
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--white); }
.btn-secondary {
  background: transparent; color: var(--white);
  border-color: var(--white);
  box-shadow: 5px 5px 0 var(--navy);
}
.btn-secondary:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--navy); }

/* ─── LANDSCAPE BANDS ────────────────────────────────────── */
.landscape {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 196px; z-index: 1;
}
.ls-ocean    { position: absolute; bottom: 116px; height: 52px;  left: 0; right: 0; background: var(--ocean); }
.ls-sand     { position: absolute; bottom: 82px;  height: 34px;  left: 0; right: 0; background: var(--sand); }
.ls-sidewalk { position: absolute; bottom: 54px;  height: 28px;  left: 0; right: 0; background: var(--coral); }
.ls-road     { position: absolute; bottom: 28px;  height: 26px;  left: 0; right: 0; background: var(--coral-dark); }
.ls-grass    { position: absolute; bottom: 0;     height: 28px;  left: 0; right: 0; background: var(--green); }

/* ─── PALM TREES & CAR ───────────────────────────────────── */
.palms {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100%; z-index: 2; pointer-events: none;
}
.palm { position: absolute; bottom: 22px; }

/* ─── SECTIONS ───────────────────────────────────────────── */
section { padding: 100px 52px; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: 0.02em; line-height: 0.95;
  color: var(--navy); margin-bottom: 40px;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { background: var(--white); border-bottom: 3px solid var(--navy); }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px;
  align-items: start; max-width: 1200px; margin: 0 auto;
}
.about-text p {
  font-size: 17px; line-height: 1.78; color: var(--navy);
  margin-bottom: 18px; font-weight: 400;
}
.about-text strong { font-weight: 700; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 18px;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--navy);
}

.edu-card {
  background: var(--sky);
  border: 3px solid var(--navy);
  box-shadow: 7px 7px 0 var(--navy);
  padding: 40px;
}
.edu-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; color: var(--white); letter-spacing: 0.02em;
  line-height: 1; margin-bottom: 8px;
}
.edu-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
}
.edu-divider { height: 3px; background: var(--white); margin: 24px 0; }
.edu-body { font-size: 15px; line-height: 1.68; color: var(--white); }

/* ─── SKILLS ─────────────────────────────────────────────── */
#skills { background: var(--light-sky); border-bottom: 3px solid var(--navy); }
.skills-inner { max-width: 1200px; margin: 0 auto; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 26px;
  border: 3px solid var(--navy);
  cursor: default;
  transition: transform 0.12s, box-shadow 0.12s;
}
.chip:hover { transform: translate(-2px,-2px); }

.chip-sky   { background: var(--sky);   color: var(--white); box-shadow: 4px 4px 0 var(--navy); }
.chip-sky:hover { box-shadow: 6px 6px 0 var(--navy); }
.chip-white { background: var(--white); color: var(--navy);  box-shadow: 4px 4px 0 var(--navy); }
.chip-white:hover { box-shadow: 6px 6px 0 var(--navy); }
.chip-mint  { background: var(--mint);  color: var(--navy);  box-shadow: 4px 4px 0 var(--navy); }
.chip-mint:hover { box-shadow: 6px 6px 0 var(--navy); }
.chip-coral { background: var(--coral); color: var(--white); box-shadow: 4px 4px 0 var(--navy); }
.chip-coral:hover { box-shadow: 6px 6px 0 var(--navy); }
.chip-sand  { background: var(--sand);  color: var(--navy);  box-shadow: 4px 4px 0 var(--navy); }
.chip-sand:hover { box-shadow: 6px 6px 0 var(--navy); }

/* ─── PROJECTS ───────────────────────────────────────────── */
#projects { background: var(--white); border-bottom: 3px solid var(--navy); }
.projects-inner { max-width: 1200px; margin: 0 auto; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.project-card { border: 3px solid var(--navy); box-shadow: 7px 7px 0 var(--navy); }
.project-header {
  padding: 30px 36px;
  border-bottom: 3px solid var(--navy);
}
.project-card:nth-child(1) .project-header { background: var(--sky); }
.project-card:nth-child(2) .project-header { background: var(--coral); }
.project-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); opacity: 0.8; margin-bottom: 8px;
}
.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px; color: var(--white); letter-spacing: 0.02em;
}
.project-body { padding: 30px 36px; background: var(--white); }
.project-desc { font-size: 15px; line-height: 1.72; color: var(--navy); margin-bottom: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px;
  background: var(--light-sky); color: var(--navy);
  border: 2px solid var(--navy);
}

/* ─── RPG GAME CARD ──────────────────────────────────────── */
.project-card--full { grid-column: 1 / -1; }
.project-card:nth-child(3) .project-header { background: var(--mint); }

.project-body--game { padding: 0; }

.game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.game-info-square {
  padding: 36px;
  border-right: 3px solid var(--navy);
  background: var(--light-sand);
}

.game-info-square .project-desc { margin-bottom: 18px; }

.game-carousel-wrap {
  padding: 36px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── CAROUSEL ───────────────────────────────────────────── */
.carousel { position: relative; width: 100%; }

.carousel-track {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--sky);
  height: 260px;
  background: #000;
}

.carousel-slide {
  display: none;
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
  align-items: center; justify-content: center;
}
.carousel-slide.active { display: flex; }

.carousel-slide img,
.carousel-slide video {
  width: 100%; height: 100%;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--sky);
  font-size: 16px; font-weight: 700;
  font-family: 'Barlow', sans-serif;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.12s, color 0.12s;
}
.carousel-btn:hover { background: var(--sky); }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.carousel-counter {
  text-align: center;
  margin-top: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand);
}

/* ─── EXPERIENCE ─────────────────────────────────────────── */
#experience { background: var(--navy); }
#experience .section-label { color: var(--mint); }
#experience .section-title { color: var(--white); }
.exp-inner { max-width: 1200px; margin: 0 auto; }
.exp-card {
  border: 3px solid var(--sky);
  box-shadow: 7px 7px 0 var(--sky);
}
.exp-header {
  background: var(--sky);
  padding: 32px 44px;
  border-bottom: 3px solid var(--navy);
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 16px;
}
.exp-company {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: var(--white);
  letter-spacing: 0.02em; line-height: 1;
}
.exp-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-top: 8px;
}
.exp-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 9px 18px; align-self: flex-start;
  border: 2px solid var(--white);
}
.exp-body { background: #0A2535; padding: 44px; }
.exp-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px;
}
.exp-list li {
  font-size: 15px; line-height: 1.65;
  color: var(--sand);
  padding-left: 22px; position: relative;
}
.exp-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--mint); font-weight: 700;
}
.highlight {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  background: var(--mint); color: var(--navy);
  padding: 2px 10px; margin-right: 4px;
  display: inline-block; line-height: 1.4;
}

/* ─── CONTACT ────────────────────────────────────────────── */
#contact { background: var(--sky); border-top: 3px solid var(--navy); }
#contact .section-label { color: var(--navy); opacity: 0.7; }
#contact .section-title { color: var(--white); }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-item {
  background: var(--white);
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  padding: 28px 32px; text-decoration: none; display: block;
  transition: transform 0.12s, box-shadow 0.12s;
}
.contact-item:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--navy); }
.contact-icon {
  display: block;
  width: 40px; height: 40px;
  object-fit: contain;
  margin-bottom: 16px;
  color: var(--navy);
}
.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 10px;
}
.contact-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--navy); word-break: break-all;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 28px 52px;
  border-top: 3px solid var(--sky);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; color: var(--white); letter-spacing: 0.06em;
}
.footer-logo span { color: var(--sky); }
.footer-copy {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); opacity: 0.6;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 28px; }
  section { padding: 72px 28px; }
  .hero-content { padding: 48px 28px 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .game-layout { grid-template-columns: 1fr; }
  .game-info-square { border-right: none; border-bottom: 3px solid var(--navy); }
  .carousel-track { height: 220px; }
  .exp-list { grid-template-columns: 1fr; }
  .exp-header { padding: 28px; }
  .exp-body { padding: 28px; }
  footer { padding: 24px 28px; flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-name { font-size: 60px; }
}
