
/* *** OCEAN GLOW: GAMIFIED PROFESSIONAL PORTFOLIO *** */

:root {
  --ice: #DDF4FA;
  --aqua: #55D6D2;
  --lilac: #B9A7E8;
  --ivory: #F5F0E8;
  --sage: #9BB7A5;
  --navy: #22283D;
  --muted: #687184;
  --white: #FFFFFF;
  --line: rgba(34, 40, 61, 0.12);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 18px 50px rgba(34, 40, 61, 0.09);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(ellipse at 5% 5%, #DDF4FA 0, transparent 32%),
    radial-gradient(ellipse at 95% 25%, #EAE3FA 0, transparent 30%),
    var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

p {
  color: var(--muted);
}

::selection {
  color: var(--navy);
  background: var(--aqua);
}

/* *** NAVIGATION *** */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 240, 232, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navigation {
  max-width: 1280px;
  min-height: 82px;
  margin: auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #168F91;
}

/* *** HERO / DEVELOPER INTRO *** */
.hero {
  max-width: 1440px;
  min-height: 660px;
  margin: auto;
  padding: 90px 7%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #168F91;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #42B99E;
  box-shadow: 0 0 0 4px rgba(66, 185, 158, 0.15);
}

.hero-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 5.1rem);
  letter-spacing: -0.065em;
}

.gradient-text {
  color: #168F91;
  background: linear-gradient(100deg, #168F91, #7764B7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 610px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.button {
  min-height: 49px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(34, 40, 61, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(34, 40, 61, 0.19);
}

.text-link {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-color: var(--aqua);
  text-underline-offset: 5px;
}

.hero-tags,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 34px;
}

.hero-tags span,
.project-tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #50596C;
  font-size: 0.76rem;
  font-weight: 600;
}

/* *** GAME-INSPIRED DEVELOPER PANEL *** */
.developer-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(85, 214, 210, 0.19), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(221, 244, 250, 0.8));
  box-shadow: var(--shadow);
}

.panel-top,
.profile-row,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-top {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.panel-indicator {
  color: #168F91;
  font-size: 0.65rem;
}

.avatar-placeholder {
  position: relative;
  width: 136px;
  height: 136px;
  margin: 38px auto 25px;
  display: grid;
  place-items: center;
  border-radius: 38px;
  background: linear-gradient(145deg, var(--navy), #444A68);
  box-shadow: 0 15px 40px rgba(34, 40, 61, 0.18);
}

.avatar-placeholder > span {
  z-index: 2;
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(85, 214, 210, 0.48);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.orbit-one {
  width: 170px;
  height: 70px;
}

.orbit-two {
  width: 70px;
  height: 170px;
}

.developer-panel h2 {
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.55rem;
}

.developer-panel > p {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
}

.panel-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.profile-row {
  margin: 15px 0;
  font-size: 0.78rem;
}

.profile-row span {
  color: var(--muted);
}

.profile-row strong {
  text-align: right;
  font-size: 0.78rem;
}

.panel-footer {
  justify-content: flex-start;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.tiny-sparkle {
  color: #168F91;
  font-size: 1.2rem;
}

/* *** PORTFOLIO HIGHLIGHTS *** */
.intro-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 6%;
  background: var(--navy);
}

.intro-strip > div {
  min-width: 190px;
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.intro-strip > div:last-child {
  border-right: 0;
}

.intro-strip strong {
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
}

.intro-strip span {
  color: var(--ice);
  font-size: 0.77rem;
}

/* *** GENERAL SECTIONS *** */
.section {
  max-width: 1440px;
  margin: auto;
  padding: 110px 7%;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

.accent {
  color: #168F91;
}

/* *** ABOUT *** */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.5;
}

.about-details p:first-child {
  margin-top: 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.principle-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.card-symbol {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ice);
  color: #168F91;
  font-size: 1.3rem;
}

.principle-card h3 {
  margin-bottom: 8px;
}

.principle-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* *** QUEST LOG / PROJECT CARDS *** */
.projects-section {
  max-width: none;
  background: rgba(221, 244, 250, 0.42);
}

.projects-section > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(34, 40, 61, 0.1);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 12px 35px rgba(34, 40, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-water {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(85, 214, 210, 0.7), transparent 36%),
    linear-gradient(140deg, #DDF4FA, #91C9D9);
}

.visual-finance {
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(140deg, #EAE3FA, #B9A7E8);
}

.visual-forest {
  background:
    radial-gradient(circle at 65% 25%, rgba(85, 214, 210, 0.25), transparent 30%),
    linear-gradient(140deg, #344C4A, #22283D);
}

.visual-icon {
  position: relative;
  z-index: 1;
  color: rgba(34, 40, 61, 0.78);
  font-family: "Space Grotesk", sans-serif;
  font-size: 6rem;
  line-height: 1;
}

.visual-forest .visual-icon {
  color: var(--aqua);
}

.visual-index,
.visual-caption {
  position: absolute;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.visual-index {
  top: 18px;
  left: 20px;
  color: rgba(34, 40, 61, 0.75);
}

.visual-forest .visual-index {
  color: var(--ice);
}

.visual-caption {
  right: 20px;
  bottom: 18px;
  color: rgba(34, 40, 61, 0.75);
}

.visual-forest .visual-caption {
  color: var(--ice);
}

.project-content {
  padding: 25px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.project-type {
  color: #168F91;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.status-active {
  background: #DDF4EA;
  color: #226B55;
}

.status-planned {
  background: #EEE8FC;
  color: #65509B;
}

.project-content h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.project-content > p {
  font-size: 0.88rem;
}

.project-tags {
  margin: 20px 0;
  gap: 7px;
}

.project-tags span {
  padding: 5px 9px;
  font-size: 0.67rem;
}

.project-note {
  min-height: 55px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem !important;
}

.project-note strong {
  color: var(--navy);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #168F91;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* *** ABILITY TREE / SKILLS *** */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--aqua);
}

.skill-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.skill-card p {
  min-height: 54px;
  font-size: 0.82rem;
}

.skill-status {
  display: inline-block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #168F91;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* *** CONTACT *** */
.contact-section {
  padding: 100px 7%;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(85, 214, 210, 0.18), transparent 35%),
    radial-gradient(ellipse at 80% 80%, rgba(185, 167, 232, 0.2), transparent 35%),
    var(--navy);
}

.contact-section h2 {
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--white);
}

.contact-section > p:not(.eyebrow) {
  max-width: 620px;
  margin: auto;
  color: var(--ice);
}

.contact-section .eyebrow {
  color: var(--aqua);
}

.contact-section .hero-actions {
  justify-content: center;
}

.button-secondary {
  border-color: rgba(221, 244, 250, 0.35);
  background: transparent;
  color: var(--ice);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* *** FOOTER *** */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 7%;
  background: #191E30;
}

.footer-brand {
  color: var(--white);
}

.footer-brand small {
  color: var(--ice);
}

footer p {
  margin: 0;
  font-size: 0.82rem;
}

footer > a:last-child {
  color: var(--aqua);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

/* *** ACCESSIBILITY AND RESPONSIVE LAYOUT *** */
a:focus-visible {
  outline: 3px solid #168F91;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-content {
    max-width: 800px;
  }

  .developer-panel {
    width: 100%;
    max-width: 550px;
  }

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

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

@media (max-width: 650px) {
  .navigation {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 6%;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .section {
    padding: 75px 6%;
  }

  .about-layout,
  .principle-grid,
  .project-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 20px;
  }

  .intro-strip > div {
    min-width: 33.33%;
    padding: 12px 8px;
    border-right: 0;
  }

  .intro-strip span {
    text-align: center;
    font-size: 0.68rem;
  }

  .project-visual {
    min-height: 190px;
  }

  .contact-section {
    padding: 75px 6%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
