/**
 * DR Codeworks Portfolio - Consolidated Stylesheet
 * All component styles organized into logical sections
 * Design System: Navy (#2c3e50) + Teal (#1abc9c)
 */

/* ============================================================================
   1. IMPORTS & DESIGN SYSTEM
   ============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Montserrat:wght@200;400;600;800&display=swap");

/* Color Variables (for reference) */
:root {
  --navy: #2c3e50;
  --navy-light: #1a252f;
  --teal: #1abc9c;
  --teal-dark: #16a085;
  --white: #ffffff;
  --text-dark: #1A1A1A;
  --charcoal: #0f1620;
}


/* ============================================================================
   2. GLOBAL STYLES
   ============================================================================ */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  background-color: #060e1a;
}

html {
  scroll-behavior: smooth;
}

div#main {
  display: flex;
  flex-direction: column;
}

section {
  position: relative;
  scroll-margin-top: 100px;
}

section.dark {
  min-height: 100vh;
  color: white;
  background: rgba(0, 0, 0, 0.25);
}

section.light {
  color: black;
  background: rgba(255, 255, 255, 0.35);
  padding: 8rem 0;
}

/* Background Images */
section img.background,
section img.background2,
section img.background-music {
  width: 100vmax;
  height: 100%;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  pointer-events: none;
  object-fit: cover;
  object-position: 0 15%;
  will-change: transform;
}

section img.background {
  animation: parallaxMove 0.3s ease-out;
}

section img.background2 {
  backdrop-filter: blur(50px);
}

section img.background-music {
  backdrop-filter: blur(5px);
}

/* ============================================================================
   3. TYPOGRAPHY
   ============================================================================ */

h1 {
  font-weight: 300;
  font-size: 7rem;
  margin: 0;
  background-image: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 1s ease-out;
}

h2 {
  font-weight: 400;
  font-size: 2.5rem;
  margin: 2rem 0 3rem 0;
  text-align: center;
  color: #2c3e50;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1abc9c, transparent);
  border-radius: 2px;
}

h3 {
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0;
}

p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 300;
}

p.large {
  font-size: 24px;
}

p.small {
  font-size: 15px;
}

li {
  line-height: 1.7;
}

li::marker {
  color: #4e567e;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #4e567e;
}

/* Responsive Typography */
@media screen and (max-width: 300px) {
  h1 {
    font-weight: 300;
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    margin: 0;
  }
}

@media screen and (min-width: 301px) and (max-width: 360px) {
  h1 {
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
    font-size: 4rem;
    margin: 0;
  }
}

@media screen and (min-width: 361px) and (max-width: 420px) {
  h1 {
    font-weight: 300;
    font-family: "Cormorant Garamond", serif;
    font-size: 5rem;
    margin: 0;
  }
}

/* ============================================================================
   4. LAYOUT (LEGACY)
   These classes predate the current section-based architecture. Kept for any
   older components that may still reference them.
   ============================================================================ */

.portfolio-container {
  display: flex;
  flex-direction: row;
  padding-top: 3rem;
}

@media screen and (max-width: 420px) {
  .portfolio-container {
    flex-direction: column;
  }
}

.portfolio-hero {
  max-width: 40%;
  align-self: center;
}

@media screen and (max-width: 420px) {
  .portfolio-hero {
    max-width: 100%;
    align-self: center;
  }
}

.container {
  margin: 20px auto;
  display: grid;
  grid-template-columns: 330px 300px;
  grid-gap: 20px;
}

@media screen and (max-width: 420px) {
  .container {
    margin: 20px auto;
    display: inline;
    grid-template-columns: 330px 300px;
    grid-gap: 20px;
  }
}

.container .box {
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  border: 1px solid rgb(204, 204, 204);
  text-align: center;
}

/* ============================================================================
   5. NAVIGATION & HEADER
   ============================================================================ */

.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 14, 36, 0.74);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(26, 188, 156, 0.2);
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Bauhaus bg1 — tiled strip, small enough to read as pattern not blob */
.navbar-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: 28% auto;
  background-repeat: repeat-x;
  background-position: left center;
  mix-blend-mode: screen;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* Bauhaus bg2 — tiled, right-offset so the two patterns interleave */
.navbar-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground2.png');
  background-size: 22% auto;
  background-repeat: repeat-x;
  background-position: right center;
  mix-blend-mode: screen;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* Scrolled: more glass, deeper blur, subtle inner highlight */
.navbar-wrapper.scrolled {
  background: rgba(6, 14, 26, 0.52);
  backdrop-filter: blur(48px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(48px) saturate(200%) brightness(1.05);
  border-bottom-color: rgba(26, 188, 156, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1px 0 rgba(26, 188, 156, 0.1),
    0 12px 48px rgba(0, 0, 0, 0.4);
}

.navbar-wrapper.scrolled::before { opacity: 0.07; }
.navbar-wrapper.scrolled::after  { opacity: 0.06; }

.navbar-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-section a {
  display: block;
  transition: opacity 0.2s ease;
}

.logo-section a:hover {
  opacity: 0.85;
}

.logo-section img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.navbar-wrapper.scrolled .logo-section img {
  height: 64px;
}

/* Nav items */
.nav-items {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-items li {
  position: relative;
}

.nav-link,
.nav-link--page,
.nav-link--archive {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  white-space: nowrap;
  color: rgba(238, 242, 247, 0.88) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* icons always teal — they're the accent; text provides the label */
.nav-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: rgba(26, 188, 156, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Active: pill bg + teal bar + glow */
.nav-items li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1abc9c, transparent);
  border-radius: 1px;
  transition: width 0.35s ease;
  box-shadow: 0 0 10px rgba(26, 188, 156, 0.9), 0 0 20px rgba(26, 188, 156, 0.4);
}

.nav-items li:has(.nav-link.active)::after {
  width: calc(100% - 0.5rem);
}

.nav-link.active {
  color: #1abc9c !important;
  text-shadow: 0 0 12px rgba(26, 188, 156, 0.5), 0 1px 6px rgba(0, 0, 0, 0.8);
  background: rgba(26, 188, 156, 0.1);
  border-radius: 4px;
  outline: 1px solid rgba(26, 188, 156, 0.25);
  outline-offset: -1px;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  color: #1abc9c;
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(26, 188, 156, 0.7));
}

.nav-link--page {
  color: rgba(238, 242, 247, 0.6) !important;
}

.nav-link--page:hover {
  color: rgba(238, 242, 247, 0.95) !important;
}

.nav-link--page:hover .nav-icon {
  color: #1abc9c;
  transform: scale(1.15);
}

.nav-link--page.active {
  color: #1abc9c !important;
  text-shadow: 0 0 12px rgba(26, 188, 156, 0.5), 0 1px 6px rgba(0, 0, 0, 0.8);
  background: rgba(26, 188, 156, 0.1);
  border-radius: 4px;
  outline: 1px solid rgba(26, 188, 156, 0.25);
  outline-offset: -1px;
}

.nav-link--page.active .nav-icon {
  color: #1abc9c;
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(26, 188, 156, 0.7));
}

.nav-items li:has(.nav-link--page.active)::after {
  width: calc(100% - 0.5rem);
}

.nav-link--archive {
  margin-left: 0.5rem;
  border-left: 1px solid rgba(26, 188, 156, 0.2);
  color: rgba(26, 188, 156, 0.55) !important;
}

.nav-link--archive:hover {
  color: #1abc9c !important;
}

.nav-link--archive .nav-icon {
  color: rgba(26, 188, 156, 0.55);
}

.nav-link--archive:hover .nav-icon {
  color: #1abc9c;
  transform: scale(1.15);
}

/* Services dropdown */
.nav-has-dropdown {
  position: relative;
}

.nav-caret {
  font-size: 0.6em;
  margin-left: 0.15em;
  display: inline-block;
  transition: transform 0.2s ease;
  line-height: 1;
}

.nav-has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 160px;
  flex-direction: column;
  background: rgba(6, 14, 26, 0.97);
  backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(26, 188, 156, 0.18);
  border-radius: 4px;
  padding: 0.4rem 0;
  z-index: 1001;
}

.nav-has-dropdown:hover .nav-dropdown {
  display: flex;
}

.nav-dropdown-item {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: rgba(238, 242, 247, 0.7) !important;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: #1abc9c !important;
  background: rgba(26, 188, 156, 0.07);
}

@media (max-width: 820px) {
  .nav-dropdown {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
    min-width: 0;
    border-radius: 0;
    z-index: auto;
  }

  .nav-has-dropdown:hover .nav-caret {
    transform: none;
  }

  .nav-caret {
    display: none;
  }

  .nav-dropdown-item {
    padding: 0.35rem 1.5rem 0.35rem 3rem;
    font-size: 0.82rem;
    color: rgba(238, 242, 247, 0.45) !important;
    border-left: 1px solid rgba(26, 188, 156, 0.15);
    margin-left: 2.5rem;
  }

  .nav-dropdown-item:hover {
    color: #1abc9c !important;
    background: none;
  }
}

/* Contact CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #1abc9c !important;
  text-decoration: none;
  border: 1px solid rgba(26, 188, 156, 0.35);
  padding: 0.45rem 1.1rem 0.45rem 1.25rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 188, 156, 0);
  transition: background 0.25s ease;
}

.nav-cta:hover {
  border-color: #1abc9c;
  color: #eef2f7 !important;
  box-shadow: 0 0 16px rgba(26, 188, 156, 0.2), inset 0 0 0 1px rgba(26, 188, 156, 0.08);
}

.nav-cta:hover::before {
  background: rgba(26, 188, 156, 0.07);
}

.nav-cta__text {
  position: relative;
  z-index: 1;
}

.nav-cta__arrow {
  position: relative;
  z-index: 1;
  font-size: 0.8em;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-cta:hover .nav-cta__arrow {
  transform: translate(2px, -2px);
}

/* Hamburger toggle — three spans */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(238, 242, 247, 0.85);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Responsive */
@media (max-width: 1200px) {
  .nav-link,
  .nav-link--page,
  .nav-link--archive {
    padding: 0.5rem 0.55rem;
    font-size: 0.88rem;
    gap: 0.35em;
  }
  .nav-icon {
    width: 12px;
    height: 12px;
  }
  .nav-cta {
    margin-left: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 820px) {
  .navbar-content {
    padding: 0 1.25rem;
  }

  .logo-section img {
    height: 60px;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(32px) saturate(160%);
    padding: 0.4rem 0 0.6rem;
    border-bottom: 1px solid rgba(26, 188, 156, 0.2);
    z-index: 999;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    width: 100%;
  }

  .nav-link,
  .nav-link--page,
  .nav-link--archive {
    padding: 0.45rem 1.5rem;
    font-size: 0.94rem;
    border-left: none;
    margin-left: 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ============================================================================
   6. COMPONENTS: Cards & Glassmorphism
   ============================================================================ */

.custom-card,
.custom-card2 {
  position: relative;
  min-height: 250px;
  height: 290px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 15px 45px;
  margin: 10px 10px;
  background: rgba(250, 250, 250, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.custom-card {
  width: 100%;
}

.custom-card2 {
  width: 70vw;
}

.custom-card:hover {
  background: rgba(250, 250, 250, 0.9);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26, 176, 156, 0.15);
  border-color: rgba(26, 176, 156, 0.3);
}

.custom-card3 {
  background-image: linear-gradient(120deg, rgba(250, 250, 250, 0.4), rgba(150, 150, 150, 0.9));
  width: 65%;
  padding: 4rem;
  margin: 3rem auto;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transition: box-shadow 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

.custom-card3:hover {
  box-shadow: rgba(0, 0, 0, 1, 0.35) 0px 54px 55px, rgba(0, 0, 10, 0.22) 0px -12px 30px, rgba(0, 0, 50, 0.22) 0px 4px 6px, rgba(0, 0, 10, 0.27) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  background-color: rgba(250, 250, 255, 0.2);
}

/* Badge Containers */
.language-badges,
.tech-badges {
  text-align: center;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: rgba(250, 250, 250, 0.3);
  backdrop-filter: blur(5px);
  width: 65%;
  padding: 20px;
}

/* Container Styles */
.home__container,
.technical-skills__container {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.home__container {
  margin-top: 20px;
}

.custom-portfolio__container,
.custom-experience__container {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   7. EXPERIENCE — split panel
   ============================================================================ */

.experience-section {
  background: #060e1a;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.experience-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 188, 156, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 188, 156, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.experience-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.experience-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 3.5rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.experience-heading::after {
  display: none !important;
}

.experience-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 520px;
  align-items: start;
}

/* --- Left: selector list --- */
.experience-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(26, 188, 156, 0.12);
}

.experience-list__item {
  display: grid;
  grid-template-columns: 28px 48px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1.4rem 1.25rem 1.4rem 0;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(26, 188, 156, 0.06);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.experience-list__item:last-child {
  border-bottom: none;
}

.experience-list__item:hover {
  background: rgba(26, 188, 156, 0.04);
}

.experience-list__item:hover .experience-list__title {
  color: rgba(238, 242, 247, 0.85);
}

.experience-list__item.active {
  border-left-color: #1abc9c;
  background: rgba(26, 188, 156, 0.06);
  padding-left: 0.85rem;
}

.experience-list__num {
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  color: rgba(26, 188, 156, 0.5);
  letter-spacing: 0.1em;
  line-height: 1;
  transition: color 0.2s ease;
}

.experience-list__item.active .experience-list__num {
  color: #1abc9c;
}

.experience-list__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.experience-list__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(70%) brightness(0.8);
  transition: filter 0.3s ease;
}

.experience-list__item.active .experience-list__logo,
.experience-list__item:hover .experience-list__logo {
  filter: grayscale(0%) brightness(1);
}

.experience-list__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(238, 242, 247, 0.38);
  transition: color 0.2s ease;
}

.experience-list__item.active .experience-list__title {
  color: rgba(238, 242, 247, 0.9);
  font-weight: 500;
}

/* --- Right: detail panel --- */
.experience-detail {
  padding: 0 0 0 4rem;
  position: relative;
  animation: expDetailIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.experience-detail__num-bg {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(8rem, 16vw, 14rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(26, 188, 156, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -8px;
}

.experience-detail__logo-wrap {
  margin-bottom: 1.75rem;
  height: 56px;
  display: flex;
  align-items: center;
}

.experience-detail__logo {
  max-height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(26, 188, 156, 0.12));
}

.experience-detail__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  color: #eef2f7;
  margin: 0 0 1.25rem 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.experience-detail__divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, #1abc9c, transparent);
  margin-bottom: 2rem;
  animation: expandWidth 0.6s ease-out 0.1s both;
}

.experience-detail__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.experience-detail__bullets li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.865rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(238, 242, 247, 0.55);
  animation: fadeInUp 0.4s ease-out both;
}

.experience-detail__bullets li:nth-child(1) { animation-delay: 0.05s; }
.experience-detail__bullets li:nth-child(2) { animation-delay: 0.1s;  }
.experience-detail__bullets li:nth-child(3) { animation-delay: 0.15s; }
.experience-detail__bullets li:nth-child(4) { animation-delay: 0.2s;  }
.experience-detail__bullets li:nth-child(5) { animation-delay: 0.25s; }

.experience-detail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.experience-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience-detail__link {
  font-family: 'Courier New', monospace;
  font-size: 0.76rem;
  color: rgba(26, 188, 156, 0.6) !important;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.experience-detail__link:hover {
  color: #1abc9c !important;
}

/* Responsive */
@media (max-width: 860px) {
  .experience-container {
    padding: 0 2rem;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .experience-list {
    border-right: none;
    border-bottom: 1px solid rgba(26, 188, 156, 0.1);
    margin-bottom: 2.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 2rem;
  }

  .experience-list__item {
    grid-template-columns: 24px 36px;
    border-left: none;
    border-bottom: none;
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 4px;
    padding: 0.75rem;
    width: auto;
    flex: 1 1 120px;
  }

  .experience-list__item.active {
    border-color: #1abc9c;
    background: rgba(26, 188, 156, 0.08);
    padding-left: 0.75rem;
  }

  .experience-list__title {
    display: none;
  }

  .experience-detail {
    padding: 0;
  }

  .experience-detail__num-bg {
    display: none;
  }
}

/* ============================================================================
   8. COMPONENTS: Todo List
   ============================================================================ */

.todo-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  animation: slideIn 0.5s ease-out;
}

.todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.todo-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.todo-item:nth-child(1) { animation-delay: 0.05s; }
.todo-item:nth-child(2) { animation-delay: 0.1s; }
.todo-item:nth-child(3) { animation-delay: 0.15s; }
.todo-item:nth-child(4) { animation-delay: 0.2s; }
.todo-item:nth-child(5) { animation-delay: 0.25s; }
.todo-item:nth-child(6) { animation-delay: 0.3s; }
.todo-item:nth-child(7) { animation-delay: 0.35s; }
.todo-item:nth-child(8) { animation-delay: 0.4s; }

.todo-item:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.todo-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  cursor: pointer;
  accent-color: #1abc9c;
}

.todo-label {
  flex: 1;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #2c3e50;
  user-select: none;
  transition: all 0.3s ease;
}

.todo-label.completed {
  text-decoration: line-through;
  opacity: 0.6;
  color: #999;
}

/* ============================================================================
   9. DECORATIVE & UTILITY
   ============================================================================ */

.background-overlay {
  background: linear-gradient(135deg, rgba(50, 0, 80, 0.3), rgba(0, 0, 50, 0.3));
  animation: moveGradient 30s ease-in-out infinite;
  mix-blend-mode: overlay;
  backdrop-filter: blur(2px);
}

img.social-icon {
  width: 30px;
  height: 30px;
}

/* Scroll-triggered reveal animations */
[data-scroll="in"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll="in"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glow effect on hover for interactive elements */
.nav-link:hover,
.custom-chip:hover,
.todo-item:hover,
.carousel-card:hover {
  filter: drop-shadow(0 0 12px rgba(26, 176, 156, 0.3));
}

/* ============================================================================
   10. ERROR UI & LOADING
   ============================================================================ */

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem auto;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

/* ============================================================================
   11. ANIMATIONS & KEYFRAMES
   ============================================================================ */

@keyframes parallaxMove {
  0% {
    transform: translate(-50%, -40px);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.5;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
}

@keyframes unBlur {
  0% {
    filter: blur(50px);
  }
  100% {
    filter: blur(0px);
  }
}

@keyframes codeFlow {
  0% {
    opacity: 0.3;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(10px);
  }
  100% {
    opacity: 0.3;
    transform: translateX(0);
  }
}

@keyframes steamUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-26px) scale(1.15);
    opacity: 0;
  }
}

@keyframes steam {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-22px) scale(1.2);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes codePulse {
  0%, 100% {
    opacity: 0.35;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(8px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes sway {
  0%, 100% {
    transform: rotate(-1deg) translateX(0);
  }
  50% {
    transform: rotate(1deg) translateX(4px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounceOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes backInDown {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes backOutDown {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rotateIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes rotateOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Animation classes for components */
.bounceIn {
  opacity: 0;
  animation-delay: 0.5s;
  animation-duration: 0.5s;
  animation-name: bounceIn;
  animation-fill-mode: forwards;
}

.bounceOut {
  animation-duration: 0.5s;
  animation-name: bounceOut;
  animation-fill-mode: forwards;
}

.backInDown {
  opacity: 0;
  animation-delay: 0.5s;
  animation-duration: 0.5s;
  animation-name: backInDown;
  animation-fill-mode: forwards;
}

.backOutDown {
  animation-duration: 0.5s;
  animation-name: backOutDown;
  animation-fill-mode: forwards;
}

.rotateIn {
  opacity: 0;
  animation-delay: 0.5s;
  animation-duration: 0.5s;
  animation-name: rotateIn;
  animation-fill-mode: forwards;
}

.rotateOut {
  animation-duration: 0.5s;
  animation-name: rotateOut;
  animation-fill-mode: forwards;
}

/* ============================================================================
   12. HERO SECTION
   ============================================================================ */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #071a38 0%, #0c2248 50%, #071830 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 188, 156, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  animation: fadeIn 2s ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 5rem;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-eyebrow {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.875rem;
  color: #1abc9c;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s ease-out both;
}

.hero-section h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(4.5rem, 8.5vw, 10rem);
  line-height: 0.9;
  margin: 0 0 1.75rem 0;
  letter-spacing: -4px;
  text-transform: capitalize;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #eef2f7;
  color: #eef2f7;
  text-shadow: none;
  animation: fadeInDown 0.8s ease-out 0.1s both;
}

.hero-divider {
  height: 2px;
  background: linear-gradient(90deg, #1abc9c, transparent);
  margin-bottom: 1.75rem;
  animation: expandWidth 0.9s ease-out 0.35s both;
  transform-origin: left;
}

@keyframes expandWidth {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
  max-width: 460px;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.55s both;
}

.hero-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero-btn--primary {
  background: #1abc9c;
  color: #0a1628 !important;
  border: 2px solid #1abc9c;
}

.hero-btn--primary:hover {
  background: #16a085;
  border-color: #16a085;
  color: #0a1628 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 188, 156, 0.35);
}

.hero-btn--ghost {
  background: transparent;
  color: rgba(238, 242, 247, 0.8) !important;
  border: 2px solid rgba(238, 242, 247, 0.25);
}

.hero-btn--ghost:hover {
  border-color: #1abc9c;
  color: #1abc9c !important;
  transform: translateY(-2px);
}

.hero-portrait {
  flex-shrink: 0;
  width: min(420px, 38vw);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-portrait__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 64px rgba(26, 188, 156, 0.12));
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease-out 0.9s both;
  z-index: 1;
  display: block;
}

.hero-scroll img {
  height: 2.5rem;
  width: 2.5rem;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  filter: invert(1);
  animation: heroBounce 2.5s ease-in-out 1.8s infinite;
}

.hero-scroll:hover img {
  opacity: 0.7;
}

@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@media (max-width: 960px) {
  .hero-content {
    flex-direction: column-reverse;
    padding: 7rem 2.5rem 2.5rem;
    text-align: center;
    justify-content: center;
    gap: 2rem;
  }

  .hero-portrait {
    width: min(260px, 55vw);
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-section h1 {
    font-size: clamp(3.5rem, 13vw, 6rem);
    letter-spacing: -2px;
  }
}

/* ============================================================================
   13. ABOUT SECTION (REDESIGN)
   ============================================================================ */

.about-section {
  background: linear-gradient(160deg, #0a1628 0%, #0d2035 50%, #0a1a2a 100%);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(26, 188, 156, 0.012) 3px,
    rgba(26, 188, 156, 0.012) 4px
  );
  pointer-events: none;
}

.about-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.8rem;
  color: #1abc9c;
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: 0.75rem;
}

.about-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 3.5rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.about-heading::after {
  display: none !important;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.about-bio {
  border-left: 2px solid #1abc9c;
  padding-left: 2.5rem;
}

.about-description {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.45rem !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  color: rgba(238, 242, 247, 0.82) !important;
  font-style: italic;
  margin: 0 !important;
}

.about-skills__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 242, 247, 0.35);
  margin: 0 0 1.25rem 0;
}

.about-skills__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-skill-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(238, 242, 247, 0.85);
  border: 1px solid rgba(26, 188, 156, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  background: rgba(26, 188, 156, 0.06);
  cursor: default;
}

.about-skill-chip::marker {
  content: '';
}

.about-skill-chip:hover {
  border-color: #1abc9c;
  background: rgba(26, 188, 156, 0.14);
  color: #1abc9c;
}

.about-quote {
  border: none;
  border-top: 1px solid rgba(26, 188, 156, 0.18);
  padding: 2rem 0 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(238, 242, 247, 0.5);
}

@media (max-width: 768px) {
  .about-container {
    padding: 0 2rem;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-heading {
    font-size: 2.25rem !important;
  }

  .about-description {
    font-size: 1.2rem !important;
  }
}

/* ============================================================================
   14. ARBORKIN CASE STUDY
   ============================================================================ */

.arborkin-section {
  background: linear-gradient(170deg, #071320 0%, #0a1a2e 50%, #0b1e30 100%);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
  color: white;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.arborkin-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Header */
.arborkin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.arborkin-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1.5px !important;
  margin: 0 0 1rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
  line-height: 1 !important;
}

.arborkin-title::after {
  display: none !important;
}

.arborkin-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.55);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 0 1.75rem 0;
}

.arborkin-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.arborkin-chip {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: #1abc9c;
  border: 1px solid rgba(26, 188, 156, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  background: rgba(26, 188, 156, 0.05);
  letter-spacing: 0.04em;
}

.arborkin-header__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-top: 2.5rem;
}

.arborkin-gh-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1628 !important;
  background: #1abc9c;
  border: 2px solid #1abc9c;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.arborkin-gh-link:hover {
  background: #16a085;
  border-color: #16a085;
  color: #0a1628 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 188, 156, 0.3);
}

.arborkin-live-badge {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: rgba(238, 242, 247, 0.35);
  letter-spacing: 0.08em;
}

/* Hero screenshot */
.arborkin-hero-shot {
  margin: 0 0 4rem 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(26, 188, 156, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.arborkin-hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.arborkin-hero-shot figcaption {
  background: rgba(10, 26, 46, 0.95);
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(238, 242, 247, 0.45);
  font-style: italic;
  border-top: 1px solid rgba(26, 188, 156, 0.1);
}

/* Problem cards */
.arborkin-problems-label {
  margin-bottom: 1.5rem;
}

.arborkin-problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.arborkin-problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(26, 188, 156, 0.12);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.arborkin-problem-card:hover {
  border-color: rgba(26, 188, 156, 0.3);
  background: rgba(26, 188, 156, 0.04);
}

.arborkin-problem-card__num {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: #1abc9c;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.75rem;
}

.arborkin-problem-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #eef2f7;
  margin: 0 0 0.75rem 0;
}

.arborkin-problem-card p {
  font-size: 0.88rem !important;
  color: rgba(238, 242, 247, 0.55);
  line-height: 1.75;
  margin: 0;
}

.arborkin-problem-card code {
  font-family: 'Courier New', monospace;
  font-size: 0.82em;
  color: #1abc9c;
  background: rgba(26, 188, 156, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

.arborkin-problem-card strong {
  color: rgba(238, 242, 247, 0.85);
  font-weight: 600;
}

/* Screenshot strip */
.arborkin-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.arborkin-shot {
  margin: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(26, 188, 156, 0.1);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.arborkin-shot:hover {
  border-color: rgba(26, 188, 156, 0.25);
  transform: translateY(-4px);
}

.arborkin-shot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.arborkin-shot figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  color: rgba(238, 242, 247, 0.4);
  font-style: italic;
  background: rgba(10, 26, 46, 0.8);
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

/* Stats row */
.arborkin-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(26, 188, 156, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.arborkin-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(26, 188, 156, 0.12);
  transition: background 0.3s ease;
}

.arborkin-stat:last-child {
  border-right: none;
}

.arborkin-stat:hover {
  background: rgba(26, 188, 156, 0.04);
}

.arborkin-stat__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #1abc9c;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.arborkin-stat__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 242, 247, 0.35);
  text-align: center;
}

/* ArborKin responsive */
@media (max-width: 900px) {
  .arborkin-container {
    padding: 0 2rem;
  }

  .arborkin-header {
    flex-direction: column;
  }

  .arborkin-header__links {
    align-items: flex-start;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
  }

  .arborkin-problems {
    grid-template-columns: 1fr;
  }

  .arborkin-shots {
    grid-template-columns: 1fr;
  }

  .arborkin-shot img {
    height: 220px;
  }

  .arborkin-stats {
    flex-wrap: wrap;
  }

  .arborkin-stat {
    flex: 1 1 calc(33% - 1px);
    border-bottom: 1px solid rgba(26, 188, 156, 0.12);
  }
}

/* ============================================================================
   15. SUBPAGES (CONSULTING / WEB DESIGN)
   ============================================================================ */

/* Shared subpage hero */
.subpage-hero {
  min-height: 80vh;
  background: linear-gradient(135deg, #060e1a 0%, #0a1a2e 60%, #05111f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.subpage-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 188, 156, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.subpage-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 4rem 3rem;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.subpage-hero__content--centered {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.subpage-hero__text {
  flex: 1;
  max-width: 580px;
}

.subpage-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 300 !important;
  font-size: clamp(3rem, 6vw, 6rem) !important;
  line-height: 0.95 !important;
  margin: 0.5rem 0 1.5rem 0 !important;
  letter-spacing: -2px !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #eef2f7 !important;
  color: #eef2f7 !important;
  text-shadow: none !important;
}

.subpage-hero__title--centered {
  font-size: clamp(3.5rem, 7vw, 7rem) !important;
}

.subpage-hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.55);
  line-height: 1.75;
  margin: 0 0 2.25rem 0;
  max-width: 480px;
}

.subpage-hero__sub--centered {
  max-width: 620px;
}

.subpage-hero__img {
  flex-shrink: 0;
  width: min(380px, 38vw);
}

.subpage-hero__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(26, 188, 156, 0.1));
}

/* Consulting services */
.consulting-services {
  background: linear-gradient(160deg, #0a1628 0%, #0d2035 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.consulting-services__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

.consulting-services__heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 3rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.consulting-services__heading::after {
  display: none !important;
}

.consulting-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.consulting-service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(26, 188, 156, 0.12);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.consulting-service-card:hover {
  border-color: rgba(26, 188, 156, 0.28);
  background: rgba(26, 188, 156, 0.04);
}

.consulting-service-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 1rem;
}

.consulting-service-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #eef2f7;
  margin: 0 0 0.75rem 0;
}

.consulting-service-card p {
  font-size: 0.9rem !important;
  color: rgba(238, 242, 247, 0.5);
  line-height: 1.75;
  margin: 0;
}

/* Consulting CTA bar */
.consulting-cta {
  background: rgba(26, 188, 156, 0.06);
  border-top: 1px solid rgba(26, 188, 156, 0.15);
  padding: 4rem 0;
}

.consulting-cta__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.consulting-cta__tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(238, 242, 247, 0.7);
  margin: 0;
}

/* Web Design tools section */
.webdesign-tools {
  background: #07111f;
  padding: 5rem 0;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
  position: relative;
  overflow: hidden;
}

.webdesign-tools__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

.webdesign-tools__heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 2rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.webdesign-tools__heading::after {
  display: none !important;
}

.webdesign-tools__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Web Design projects section */
.webdesign-projects {
  background: #060e1a;
  padding: 5rem 0 6rem;
  border-top: 1px solid rgba(26, 188, 156, 0.06);
  position: relative;
  overflow: hidden;
}

.webdesign-projects__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

.webdesign-projects__heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 1.5rem 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.webdesign-projects__heading::after {
  display: none !important;
}

.webdesign-projects__note {
  font-size: 0.875rem !important;
  color: rgba(238, 242, 247, 0.35);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 3.5rem !important;
  font-family: 'Montserrat', sans-serif;
}

/* Project cards */
.wd-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
}

.wd-project {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(26, 188, 156, 0.08);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wd-project:hover {
  background: rgba(26, 188, 156, 0.04);
  border-color: rgba(26, 188, 156, 0.18);
}

.wd-project__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wd-project__num {
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(26, 188, 156, 0.4);
}

.wd-project__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #eef2f7;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.wd-project__industry {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(26, 188, 156, 0.55);
  margin: 0;
  text-transform: uppercase;
}

.wd-project__bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.wd-project__bullets li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.825rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(238, 242, 247, 0.5);
  padding-left: 1rem;
  position: relative;
}

.wd-project__bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(26, 188, 156, 0.3);
  font-size: 0.7em;
  top: 0.25em;
}

.wd-project__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  align-items: center;
}

.wd-project__link {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(26, 188, 156, 0.55) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wd-project__link:hover {
  color: #1abc9c !important;
}

.wd-project__link--gh {
  color: rgba(238, 242, 247, 0.25) !important;
}

.wd-project__link--gh:hover {
  color: rgba(238, 242, 247, 0.7) !important;
}

.wd-project__wip {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 188, 156, 0.6);
  border: 1px solid rgba(26, 188, 156, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

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

@media (max-width: 1100px) {
  .wd-projects-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
  .wd-projects-grid--3 .wd-project:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 1px);
  }
}

@media (max-width: 820px) {
  .wd-projects-grid,
  .wd-projects-grid--3 {
    grid-template-columns: 1fr;
  }
  .wd-projects-grid--3 .wd-project:last-child {
    grid-column: auto;
    max-width: none;
  }
  .wd-project {
    padding: 2rem;
  }
}

.webdesign-link {
  color: #1abc9c !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26, 188, 156, 0.4);
}

.webdesign-link:hover {
  color: #16a085 !important;
}

/* Subpage responsive */
@media (max-width: 820px) {
  .subpage-hero__content {
    flex-direction: column;
    padding: 3rem 2rem 2.5rem;
  }

  .subpage-hero__img {
    width: min(240px, 60vw);
  }

  .consulting-services__grid {
    grid-template-columns: 1fr;
  }

  .consulting-services__container,
  .consulting-cta__container,
  .webdesign-tools__container,
  .webdesign-projects__container {
    padding: 0 2rem;
  }

  .consulting-cta__container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================================
   16. ARCHIVE PAGE (PREVIOUS PORTFOLIO)
   ============================================================================ */

.archive-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #2c3e50 0%, #1a2635 100%);
  padding: 40px 20px;
}

.archive-header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  animation: fadeInDown 0.6s ease-out;
}

.archive-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.archive-subtitle {
  font-size: 1.1rem;
  color: #b0c4de;
  margin-bottom: 20px;
}

.btn-back {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(26, 188, 156, 0.1);
  border: 1px solid #1abc9c;
  color: #1abc9c;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: rgba(26, 188, 156, 0.2);
  transform: translateX(-5px);
}

.archive-frame {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.archive-frame iframe {
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .archive-container {
    padding: 20px 10px;
  }

  .archive-header h1 {
    font-size: 1.8rem;
  }

  .archive-frame iframe {
    min-height: 400px;
  }
}

/* ============================================================================
   17. TECHNICAL SKILLS
   ============================================================================ */

.skills-section {
  background: #07111f;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.skills-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(26, 188, 156, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.skills-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.skills-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 3.5rem 0 !important;
  text-align: left !important;
}

.skills-heading::after { display: none !important; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-bottom: 4rem;
}

.skills-category {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skills-category__label {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 188, 156, 0.6);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(26, 188, 156, 0.1);
}

.skills-category__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-github {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.skills-github__frames {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

.skills-github__card {
  background: rgba(6, 14, 26, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(26, 188, 156, 0.12);
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.skills-github__card:hover {
  border-color: rgba(26, 188, 156, 0.32);
  box-shadow: 0 0 20px rgba(26, 188, 156, 0.06);
}

.skills-github__card iframe {
  display: block;
  border-radius: 2px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .skills-container { padding: 0 2rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-github__frames { flex-direction: column; align-items: stretch; }
  .skills-github__card { padding: 0.75rem; }
  .skills-github__card iframe { width: 100% !important; height: auto !important; min-height: 150px; }
}

/* ============================================================================
   18. CASUAL
   ============================================================================ */

.casual-section {
  background: #0a1628;
  padding: 7rem 0;
  position: relative;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.casual-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.casual-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 2.5rem 0 !important;
  text-align: left !important;
}

.casual-heading::after { display: none !important; }

.casual-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.casual-description {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(238, 242, 247, 0.65);
  line-height: 1.7;
  margin: 0;
  border-left: 2px solid rgba(26, 188, 156, 0.4);
  padding-left: 1.5rem;
}

.casual-hobbies {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.casual-hobby {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.4rem 0.65rem;
  border: 1px solid rgba(26, 188, 156, 0.15);
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: default;
  min-width: 11rem;
}

.casual-hobby:hover {
  border-color: rgba(26, 188, 156, 0.5);
  background: rgba(26, 188, 156, 0.05);
}

.casual-hobby__name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(238, 242, 247, 0.8);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.casual-hobby:hover .casual-hobby__name {
  color: #eef2f7;
}

.casual-hobby__detail {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: rgba(26, 188, 156, 0.55);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  transition: color 0.2s ease;
}

.casual-hobby:hover .casual-hobby__detail {
  color: rgba(26, 188, 156, 0.85);
}

.casual-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(238, 242, 247, 0.4);
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(26, 188, 156, 0.2);
}

@media (max-width: 768px) {
  .casual-container { padding: 0 2rem; }
}

/* ============================================================================
   19. MUSIC
   ============================================================================ */

.music-section {
  background: #060e1a;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.music-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 188, 156, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.music-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.music-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -1px !important;
  margin: 0 0 3.5rem 0 !important;
  text-align: left !important;
}

.music-heading::after { display: none !important; }

.music-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}

.music-text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.music-paragraph {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(238, 242, 247, 0.55);
  margin: 0;
}

.music-paragraph--lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(238, 242, 247, 0.8);
  line-height: 1.65;
  border-left: 2px solid rgba(26, 188, 156, 0.45);
  padding-left: 1.5rem;
}

.music-photo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  position: sticky;
  top: 7rem;
}

.music-photo__img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(20%);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(26, 188, 156, 0.1);
  transition: filter 0.4s ease;
}

.music-photo__img:hover {
  filter: grayscale(0%);
}

.music-photo__caption {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(26, 188, 156, 0.45);
  text-transform: uppercase;
}

.music-section-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: rgba(26, 188, 156, 0.5);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  display: block;
  margin-bottom: 0.85rem;
}

/* Press quote */
.music-press {
  margin: 0;
  border-left: 2px solid rgba(26, 188, 156, 0.35);
  padding-left: 1.5rem;
}

.music-press__quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(238, 242, 247, 0.75);
  line-height: 1.5;
  margin: 0 0 0.4rem;
}

.music-press__attribution {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: rgba(26, 188, 156, 0.5);
  letter-spacing: 0.1em;
}

/* Discography */
.music-discography {
  display: flex;
  flex-direction: column;
}

.music-albums {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.music-album {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(238, 242, 247, 0.05);
  transition: background 0.15s ease;
}

.music-album:last-child {
  border-bottom: none;
}

.music-album__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(238, 242, 247, 0.8);
  text-decoration: none;
}

a.music-album__title--link {
  transition: color 0.2s ease;
}

a.music-album__title--link:hover {
  color: #1abc9c;
}

.music-album__artist {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.38);
}

.music-album__role {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  color: rgba(26, 188, 156, 0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Collaborators */
.music-collaborators {
  display: flex;
  flex-direction: column;
}

.music-collab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.music-collab-chip {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: rgba(238, 242, 247, 0.5);
  border: 1px solid rgba(238, 242, 247, 0.1);
  border-radius: 2px;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.music-collab-chip:hover {
  color: rgba(238, 242, 247, 0.8);
  border-color: rgba(26, 188, 156, 0.3);
}

@media (max-width: 860px) {
  .music-container { padding: 0 2rem; }
  .music-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .music-photo {
    position: static;
    align-items: center;
  }
  .music-photo__img { max-width: 340px; }
  .music-album {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .music-album__artist {
    grid-column: 1;
    grid-row: 2;
  }
  .music-album__role {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}

/* ============================================================================
   20. ART DECO — screen blend overlays
   mix-blend-mode: screen makes black transparent; the lighter blue shapes
   in the images float as additive light over the dark backgrounds.
   bg1 = Mondrian/circle grid   bg2 = arch columns
   ============================================================================ */

/* ---- MAIN PAGE ---- */

/* Hero — arches right-side, very light (dot-grid already present) */
/* bg1 (Mondrian grid) across the full hero */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* bg2 (arches) layered on top, right-weighted for depth */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 65%; height: 100%;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 110%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* About — Mondrian left-anchored; ::before is the scanline grid */
.about-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background-image: url('/images/artDecoBackground1.png');
  background-size: auto 110%;
  background-position: left center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.about-container {
  position: relative;
  z-index: 1;
}

/* Experience — arches right, sits behind the detail panel */
.experience-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 105%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.experience-container {
  position: relative;
  z-index: 1;
}

/* ArborKin — Mondrian full-bleed, subtle */
.arborkin-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.arborkin-container {
  position: relative;
  z-index: 1;
}

/* Shared mixin pattern — sections that need overflow: hidden added */
.casual-section,
.music-section,
.skills-section {
  overflow: hidden;
}

/* Casual — arch columns (bg2), right-anchored so arches frame the content */
.casual-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 110%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.casual-container {
  position: relative;
  z-index: 1;
}

/* Music — Mondrian grid (bg1), left-anchored, behind the text column */
.music-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: auto 115%;
  background-position: left center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.music-container {
  position: relative;
  z-index: 1;
}

/* Skills — Mondrian grid (bg1), full-bleed at lower opacity — busier section
   so we back off slightly to avoid competing with the chip grid */
.skills-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
/* skills-container already has z-index: 1 from section 17 */

/* ============================================================================
   21. WEB DESIGN PAGE — VISUAL IDENTITY
   ============================================================================ */

/* Arch columns on the right side of the tools strip */
.webdesign-tools::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 130%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.16;
  pointer-events: none;
}
.webdesign-tools__container {
  position: relative;
  z-index: 1;
}

/* Mondrian grid across the projects section, slightly stronger */
.webdesign-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.13;
  pointer-events: none;
}
.webdesign-projects__container {
  position: relative;
  z-index: 1;
}

/* ---- CONSULTING PAGE ---- */

/* Consulting hero — arches on the right, behind the portrait image */
#consulting-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 110%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* Consulting services — Mondrian full-bleed */
.consulting-services {
  position: relative;
  overflow: hidden;
}
.consulting-services::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground1.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.consulting-services__container {
  position: relative;
  z-index: 1;
}

/* Consulting CTA — arches, anchored right */
.consulting-cta {
  position: relative;
  overflow: hidden;
}
.consulting-cta::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 140%;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.consulting-cta__container {
  position: relative;
  z-index: 1;
}

/* Teal radial accent in the web design hero */
#webdesign-hero .subpage-hero__grid-bg {
  background-image:
    radial-gradient(ellipse at 75% 35%, rgba(26, 188, 156, 0.1) 0%, transparent 55%),
    radial-gradient(circle, rgba(26, 188, 156, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px;
}

/* ==========================================================================
   22. CONTACT CTA
   ========================================================================== */

.contact-section {
  background: linear-gradient(160deg, #07111f 0%, #0a1a2e 50%, #060e1a 100%);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 120%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.contact-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(3rem, 7vw, 6rem) !important;
  font-weight: 300 !important;
  color: #eef2f7 !important;
  letter-spacing: -2px !important;
  margin: 0.5rem 0 0 0 !important;
  padding-bottom: 0 !important;
  text-align: center !important;
  line-height: 1 !important;
}

.contact-heading::after {
  display: none !important;
}

.contact-glass {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(26, 188, 156, 0.18);
  border-radius: 8px;
  padding: 3rem;
}

.contact-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem !important;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.55);
  line-height: 1.85;
  max-width: 440px;
  margin: 0 auto 2.5rem !important;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-socials {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(26, 188, 156, 0.12);
}

.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(0.85);
}

.contact-social:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-container { padding: 0 1.5rem; }
  .contact-glass { padding: 2rem 1.5rem; }
  .contact-heading { letter-spacing: -1px !important; }
}

/* ==========================================================================
   23. FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  background: rgba(6, 14, 26, 0.78);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-top: 1px solid rgba(26, 188, 156, 0.2);
  box-shadow: 0 -4px 32px rgba(26, 188, 156, 0.06), 0 -1px 0 rgba(26, 188, 156, 0.08);
}

/* Art deco arch overlay — same treatment as navbar */
.site-footer__deco {
  position: absolute;
  inset: 0;
  background-image: url('/images/artDecoBackground2.png');
  background-size: auto 260%;
  background-position: right bottom;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 2rem 2.25rem;
}

/* Left column */
.site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__name {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1abc9c;
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(26, 188, 156, 0.4);
}

.site-footer__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(238, 242, 247, 0.55);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  max-width: 32ch;
  line-height: 1.5;
}

.site-footer__copy {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  color: rgba(238, 242, 247, 0.3);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* Right column */
.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

/* Social icons */
.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.site-footer__social:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-footer__social:hover img {
  filter: sepia(1) saturate(4) hue-rotate(132deg) brightness(1.1)
          drop-shadow(0 0 5px rgba(26, 188, 156, 0.8));
}

/* Actions row — CTA + back-to-top */
.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* "get in touch ↗" — mirrors navbar CTA */
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1abc9c;
  border: 1px solid rgba(26, 188, 156, 0.45);
  border-radius: 3px;
  padding: 0.38rem 0.85rem;
  background: rgba(26, 188, 156, 0.06);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.site-footer__cta:hover {
  background: rgba(26, 188, 156, 0.14);
  border-color: rgba(26, 188, 156, 0.7);
  box-shadow: 0 0 12px rgba(26, 188, 156, 0.2);
  color: #2fffda;
}

.site-footer__cta-arrow {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.site-footer__cta:hover .site-footer__cta-arrow {
  transform: translate(2px, -2px);
}

/* Back-to-top button */
.site-footer__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(26, 188, 156, 0.3);
  border-radius: 3px;
  background: rgba(26, 188, 156, 0.05);
  color: rgba(238, 242, 247, 0.5);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.site-footer__top svg {
  width: 0.75rem;
  height: 0.75rem;
}

.site-footer__top:hover {
  background: rgba(26, 188, 156, 0.12);
  border-color: rgba(26, 188, 156, 0.6);
  color: #1abc9c;
  transform: translateY(-2px);
}

/* Responsive — stack to single column on mobile */
@media (max-width: 600px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1.25rem 1.75rem;
  }

  .site-footer__right {
    align-items: flex-start;
    width: 100%;
  }

  .site-footer__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
