/* ============================================================
   PORTFOLIO.CSS — Custom styles for Shwetanshu's personal site
   ============================================================ */

/* Visually hidden but readable by screen readers and search engines — used
   for a page's real H1 on layouts that don't have a visible page title
   (e.g. music, projects), so the document still has correct heading
   structure without forcing a hero banner into the design. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- PAGE LOADER (home page only) ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background: var(--gradient-hero);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* Pure-CSS safety net: even if JS never runs at all (blocked script,
     very slow parse on a low-end device, etc.), the loader still can't
     get stuck forever — it self-dismisses a few seconds in regardless. */
  animation: pageLoaderAutoHide 0.6s ease 3.5s forwards;
}
@keyframes pageLoaderAutoHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.page-loader-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 3.25rem;
  color: #fff;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  animation: pageLoaderMarkIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.page-loader-rule {
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  animation: pageLoaderRuleIn 0.8s ease 0.6s forwards;
}
@keyframes pageLoaderMarkIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes pageLoaderRuleIn {
  0%   { width: 0; }
  60%  { width: 64px; }
  100% { width: 40px; }
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.js body:has(.page-loader:not(.is-done)) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: opacity 0.2s linear; }
  .page-loader-mark, .page-loader-rule { animation: none; opacity: 1; width: 40px; transform: none; }
}

/* ---- WORK-IN-PROGRESS BADGE ---- */
.wip-badge {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.88);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wip-badge:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.wip-badge svg { color: var(--color-accent-light); flex-shrink: 0; }
@media (max-width: 640px) {
  .wip-badge span { display: none; }
  .wip-badge { padding: 0.625rem; }
}
.wip-toast {
  position: fixed;
  right: var(--space-6);
  bottom: calc(var(--space-6) + 3.25rem);
  z-index: 900;
  max-width: min(280px, calc(100vw - 2 * var(--space-6)));
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.92);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wip-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition-md), box-shadow var(--transition-md), backdrop-filter var(--transition-md);
  padding: 0;
}
.site-nav.scrolled {
  background: rgba(243,246,241,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 20px rgba(20,32,20,0.06);
}
.site-nav.scrolled .nav-inner { border-bottom: none; }
/* Permanent dark scrim behind the nav on hero pages — keeps white nav text
   legible even over bright patches of whatever photo is used as the hero. */
.site-nav.hero-nav:not(.scrolled)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(4,8,5,0.92) 0%, rgba(4,8,5,0.6) 100%);
  pointer-events: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 82px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color var(--transition);
  line-height: 1;
}
.nav-logo:hover { color: var(--color-accent); text-decoration: none; }
.site-nav.hero-nav:not(.scrolled) .nav-logo { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.8); }
.site-nav.hero-nav.scrolled .nav-logo { color: var(--color-text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.685rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
  background: none;
  border-radius: 0;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--color-text);
  background: none;
  text-decoration: none;
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.active:not(.nav-cta) {
  color: var(--color-accent);
}
.nav-links a.active:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* Hero nav — transparent over dark section */
.site-nav.hero-nav:not(.scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.8);
}
.site-nav.hero-nav:not(.scrolled) .nav-links a:not(.nav-cta)::after {
  background: rgba(255,255,255,0.55);
}
.site-nav.hero-nav:not(.scrolled) .nav-links a:not(.nav-cta):hover {
  color: rgba(255,255,255,0.95);
  background: none;
}
.site-nav.hero-nav:not(.scrolled) .nav-links a.active:not(.nav-cta) {
  color: rgba(255,255,255,0.9);
}
.nav-cta {
  background: transparent !important;
  color: var(--color-accent) !important;
  border: 1px solid var(--color-accent) !important;
  border-radius: 2px !important;
  font-weight: 400 !important;
  font-size: 0.685rem !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  padding: 0.45rem 1.35rem !important;
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
}
.nav-cta:hover {
  background: var(--color-accent) !important;
  color: #fff !important;
  filter: none !important;
  transform: none !important;
}
.nav-cta:active {
  filter: none !important;
  transform: none !important;
}
.site-nav.hero-nav:not(.scrolled) .nav-cta {
  background: transparent !important;
  color: rgba(255,255,255,0.8) !important;
  border-color: rgba(255,255,255,0.45) !important;
}
.site-nav.hero-nav:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-md);
}
.site-nav.hero-nav:not(.scrolled) .nav-toggle-label span { background: var(--color-bg); }
#nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    gap: 0.25rem;
    border-top: 1px solid var(--color-border);
  }
  #nav-toggle:checked ~ .nav-links,
  #nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }
  .nav-links a:not(.nav-cta) {
    color: var(--color-text-muted) !important;
    background: transparent !important;
  }
  /* .nav-cta keeps its own accent-bordered pill styling (defined above) —
     the blanket mobile-link override was stomping it via higher selector
     specificity, leaving Contact barely visible in the mobile menu. */
  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links {
    background: var(--color-bg);
  }
  /* .nav-cta's hero-nav variant is styled for a dark/transparent background
     (white-ish, low-opacity border) — once the dropdown itself is open on
     an opaque light background, that reads as almost invisible. Force it
     back to the normal accent-colored pill in that state. */
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links .nav-cta {
    background: transparent !important;
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
  }
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links .nav-cta:hover {
    background: var(--color-accent) !important;
    color: #fff !important;
  }
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links a:not(.nav-cta) {
    color: var(--color-text-muted) !important;
    /* The hero nav's dark text-shadow (for contrast over bright photos) reads
       as smudgy/blurry once the dropdown's own opaque background makes the
       shadow unnecessary — drop it here. */
    text-shadow: none !important;
  }
  /* Same story for the active-page underline: the hero-nav variant is a
     translucent white bar meant to sit on a dark photo. On the dropdown's
     light background that bar is nearly invisible — force it to the normal
     accent color so you can actually tell which page you're on. */
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links a:not(.nav-cta)::after {
    background: var(--color-accent) !important;
  }
  .site-nav.hero-nav:not(.scrolled) #nav-toggle:checked ~ .nav-links a.active:not(.nav-cta) {
    color: var(--color-accent) !important;
  }
}

/* ---- HOME HERO — full-screen image #}---- */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
/* Hero collage — a single-row film strip, not a grid. Each photo is a flex
   item that fills the full hero height; its flex-grow is set (inline, per
   image) to roughly match its own aspect ratio, so a portrait shot gets a
   narrower strip and a landscape shot gets a wider one — reads as a natural
   strip of moments rather than a mosaic. Also sidesteps the row-collapse
   bug class a 2-row grid kept hitting on odd viewports: there's only one
   row, so there's no row to starve. Backgrounds (not <img> tags) so
   intrinsic photo size never affects flex sizing either. */
.home-hero-collage {
  display: flex;
  height: 100%;
  gap: 3px;
}
.home-hero-collage-img {
  flex-grow: 0;
  flex-shrink: 1;
  min-width: 60px;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
  /* Animate flex-basis (a plain length), not flex-grow — flex-grow forces a
     full flex-layout recalc every frame in most browsers and visibly
     stutters. A percentage flex-basis interpolates smoothly like any other
     length. Slower, gentler easing (no fast initial burst) for a calm feel. */
  transition: flex-basis 0.85s cubic-bezier(0.4, 0, 0.2, 1), filter 0.85s ease;
}
@media (max-width: 720px) {
  .home-hero-collage-img { min-width: 40px; }
}
/* Hover one photo, it gently takes more space — mouse-driven devices only,
   and only once the cursor actually moves (html.mouse-moved, set in JS).
   Without that gate, :hover can apply the instant the page loads if the
   cursor happens to already be resting over a photo — no real movement needed. */
@media (hover: hover) and (pointer: fine) {
  html.mouse-moved .home-hero-collage:hover .home-hero-collage-img { filter: saturate(1.05) brightness(0.82); }
  html.mouse-moved .home-hero-collage-img:hover {
    flex-basis: 40% !important;
    filter: saturate(1.12) brightness(1) !important;
  }
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,20,12,0.88) 0%, rgba(10,20,12,0.35) 50%, rgba(10,20,12,0.15) 100%),
    linear-gradient(to right, rgba(10,20,12,0.4) 0%, transparent 60%);
}
/* Rain droplet texture over hero image */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 10px 16px at 8% 22%, rgba(255,255,255,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 14px 20px at 35% 10%, rgba(255,255,255,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 8px 13px at 62% 18%, rgba(255,255,255,0.04) 0%, transparent 100%),
    radial-gradient(ellipse 16px 24px at 82% 8%, rgba(255,255,255,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 2px 38px at 22% 55%, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 70%, transparent 100%),
    radial-gradient(ellipse 2px 28px at 55% 62%, rgba(255,255,255,0.02) 0%, transparent 100%),
    radial-gradient(ellipse 2px 44px at 77% 50%, rgba(255,255,255,0.022) 0%, transparent 100%);
}
.home-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad) 7rem;
}
.home-hero-eyebrow {
  font-size: 0.685rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  display: block;
}
.home-hero-name {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 2.5rem;
}
.home-hero-name em {
  font-style: italic;
  color: var(--color-accent);
}
.home-hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- HOME ABOUT ---- */
.home-about {
  padding: var(--space-24) 0 var(--space-32);
  background: var(--color-bg);
}
.home-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) {
  .home-about-inner { grid-template-columns: 1fr; gap: 3rem; }
}
.home-about-photo { position: relative; }
.home-about-photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-surface-2);
}
.home-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 12%;
  display: block;
}
.home-about-photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 300;
  color: var(--color-text-light);
}
.home-about-photo-frame.photo-missing .home-about-photo-fallback { display: flex; }
.home-about-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.home-about-heading em {
  font-style: italic;
  color: var(--color-accent);
}
.home-about-body {
  margin: 0;
  padding: 0;
}
.home-about-body p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.home-about-body li {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.6;
  padding: 0.875rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.home-about-body li:first-child { padding-top: 0; }
.home-about-body li:first-child::before { top: 0.475rem; }
.home-about-body li:last-child { border-bottom: none; padding-bottom: 0.5rem; }
.home-about-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}
.home-about-links {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 82px;
}
/* Atmospheric forest depth — light filtering through canopy from above */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(60,100,50,0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 30%, rgba(30,60,25,0.18) 0%, transparent 42%),
    radial-gradient(ellipse at 15% 70%, rgba(10,25,12,0.45) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 90%, rgba(12,22,10,0.35) 0%, transparent 38%),
    radial-gradient(ellipse at 40% 110%, rgba(150,110,20,0.07) 0%, transparent 40%);
  pointer-events: none;
}
/* Rain on glass — water droplets and streaks */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    /* Teardrop droplets at upper hero */
    radial-gradient(ellipse 11px 17px at 7% 16%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 55%, transparent 100%),
    radial-gradient(ellipse 7px 12px at 22% 44%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 55%, transparent 100%),
    radial-gradient(ellipse 15px 22px at 40% 11%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 55%, transparent 100%),
    radial-gradient(ellipse 9px 14px at 65% 26%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 55%, transparent 100%),
    radial-gradient(ellipse 17px 25px at 85% 13%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 55%, transparent 100%),
    radial-gradient(ellipse 8px 13px at 92% 50%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 55%, transparent 100%),
    radial-gradient(ellipse 12px 18px at 54% 70%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 55%, transparent 100%),
    radial-gradient(ellipse 6px 9px at 14% 80%, rgba(255,255,255,0.04) 0%, transparent 100%),
    radial-gradient(ellipse 14px 21px at 73% 62%, rgba(255,255,255,0.05) 0%, transparent 100%),
    /* Rain streaks — droplets running down glass */
    radial-gradient(ellipse 2px 40px at 17% 52%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 65%, transparent 100%),
    radial-gradient(ellipse 2px 30px at 34% 66%, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 65%, transparent 100%),
    radial-gradient(ellipse 2px 48px at 58% 48%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 65%, transparent 100%),
    radial-gradient(ellipse 2px 34px at 79% 72%, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 65%, transparent 100%),
    /* Caustic light — light refracted through raindrops */
    radial-gradient(ellipse 120px 80px at 25% 18%, rgba(90,150,70,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 90px 60px at 70% 38%, rgba(60,110,45,0.05) 0%, transparent 100%);
}
/* Grain/mist texture */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--container-pad);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 3rem var(--container-pad); }
  .hero-image-col { order: -1; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--color-accent);
}
.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.hero-name em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 300;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}
.hero-tagline strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  background: var(--gradient-amber);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  box-shadow: 0 4px 20px rgba(192,123,42,0.35);
  letter-spacing: 0.01em;
}
.btn-hero-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(192,123,42,0.4);
  text-decoration: none;
  color: #fff;
}
.btn-hero-primary:active {
  filter: brightness(1.18);
  transform: translateY(1px);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
  font-style: italic;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color var(--transition-md), color var(--transition-md), background var(--transition-md);
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}
/* Same pill/serif/italic shape as .btn-hero-secondary, recolored for use
   on light section backgrounds (the hero version's white-on-transparent
   only reads over a dark photo). */
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
  font-style: italic;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color var(--transition-md), color var(--transition-md), background var(--transition-md);
}
.btn-pill-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
  text-decoration: none;
}

/* HERO IMAGE SIDE */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-photo-frame {
  position: relative;
  width: 380px;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
}
.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,22,12,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 12%;
  display: block;
}
.hero-photo-frame.photo-missing .hero-photo-placeholder { display: flex; }
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1C3220 0%, #162C1A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-photo-placeholder .initials {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 600;
  color: rgba(192,123,42,0.6);
  line-height: 1;
}
.hero-photo-placeholder .name-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-badge {
  position: absolute;
  bottom: 1.75rem;
  right: -10px;
  background: rgba(20,40,22,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 3;
  text-align: center;
  min-width: 110px;
}
.hero-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  display: block;
  color: var(--color-accent);
}
.hero-badge .badge-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-top: 0.25rem;
  display: block;
}
.hero-piano-keys {
  position: absolute;
  left: -20px;
  bottom: 40px;
  display: flex;
  gap: 3px;
  z-index: 2;
  transform: rotate(-8deg);
  opacity: 0.4;
}
.piano-key {
  width: 14px;
  border-radius: 0 0 3px 3px;
  background: rgba(255,255,255,0.9);
}
.piano-key.white { height: 54px; }
.piano-key.black {
  width: 9px;
  height: 34px;
  background: #1a1a1a;
  margin-left: -5px;
  margin-right: -5px;
  z-index: 1;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}
.scroll-indicator:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255,255,255,0.3);
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(4px); opacity: 0.8; }
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--color-primary);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(60,100,50,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .stat-item:not(:last-child)::after { display: none; }
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* ---- SECTION STYLES ---- */
.section {
  padding: var(--space-24) 0;
}
.section--alt {
  background: var(--color-surface);
}
.section--dark {
  background: var(--color-primary);
  color: #fff;
}
.section-header {
  margin-bottom: var(--space-16);
}
.section-header--center {
  text-align: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--color-accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--color-accent); }
.section--dark .section-title { color: #fff; }
.section--dark .section-eyebrow { color: var(--color-accent); }
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin: 0 auto;
}
.section--dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* ---- ABOUT SPLIT ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
/* ---- ACHIEVEMENTS SPLIT (music page) ---- */
.achievements-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.achievements-photo img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}
@media (max-width: 900px) {
  .achievements-split { grid-template-columns: 1fr; gap: 2rem; }
}

/* Editorial list, not icon-cards — a numeral, a rule, and type doing the
   work instead of a circular badge + bordered/shadowed card. The latter
   reads as a generic template pattern; this reads as a resume. */
.achievement-list {
  display: flex;
  flex-direction: column;
}
.achievement-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--color-border);
}
.achievement-row:first-child { padding-top: 0; }
.achievement-row:last-child { border-bottom: none; padding-bottom: 0; }
.achievement-index {
  flex-shrink: 0;
  width: 2.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-accent);
  line-height: 1;
}
.achievement-row-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
  margin: 0;
}
.achievement-row-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.3rem 0 0;
  line-height: 1.5;
}
.about-photo {
  position: relative;
}
.about-photo-inner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-surface-2);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.about-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--color-surface-2) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-text-light);
}
.about-accent-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}
.about-accent-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.about-accent-card .value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}
.about-text { }
.about-text p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-text p strong { color: var(--color-text); font-weight: 600; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.highlight-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.highlight-item .hi-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.highlight-item .hi-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.highlight-item .hi-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition-md);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-md);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
}

/* ---- RESUME LINK ---- */
.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--color-accent);
}
.resume-link:hover { color: var(--color-accent); text-decoration: none; }
/* Dark-background contexts (e.g. the old page-hero gradient) still need the
   light variant — opt in explicitly rather than defaulting to it, since the
   default is now used directly on the page's normal light background. */
.resume-link--on-dark { color: rgba(255,255,255,0.85); }
.resume-link--on-dark:hover { color: var(--color-accent); }

/* ---- PROJECTS LIST ---- */
.project-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
}
/* ---- PROJECT DETAIL GALLERY ---- */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-16);
}
.project-gallery-item { margin: 0; }
.project-gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}
.project-gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.project-gallery-item > a { display: block; transition: transform var(--transition-md); }
.project-gallery-item > a:hover { transform: translateY(-3px); }
.project-gallery-item > a:hover img { box-shadow: var(--shadow-lg); }
.project-gallery-link-hint { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.project-gallery-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.project-gallery-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.project-gallery-chip:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  text-decoration: none;
}
@media (max-width: 600px) {
  .project-gallery { grid-template-columns: 1fr; }
}

.projects-list-header {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* ---- PROJECTS LIST — PLAIN TEXT VARIANT (no thumbnails) ---- */
.project-list--plain {
  max-width: 720px;
  gap: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.project-list-row { display: block; }
.project-list-row-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 0.375rem;
  transition: color var(--transition);
}
.project-list-row:hover .project-list-row-title,
.project-list-row:hover { text-decoration: none; }
.project-list-row:hover .project-list-row-title { color: var(--color-accent); }
.project-list-row-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}
.project-list-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), padding-left var(--transition-md);
}
.project-list-item:hover {
  background: var(--color-surface);
  padding-left: 0.875rem;
  text-decoration: none;
}
.project-list-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(40,70,35,0.5) 0%, transparent 55%),
    linear-gradient(145deg, #1C3220 0%, #162C1A 100%);
  color: rgba(176,120,32,0.6);
}
.project-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-list-body { flex: 1; min-width: 0; }
.project-list-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-bottom: 0.25rem;
}
.project-list-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.project-list-year {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-family: var(--font-mono);
}
.project-list-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.project-list-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-list-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}
.project-list-arrow {
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform var(--transition), color var(--transition);
}
.project-list-item:hover .project-list-arrow {
  transform: translateX(4px);
  color: var(--color-accent);
}
@media (max-width: 640px) {
  .project-list-thumb { width: 48px; height: 48px; }
  .project-list-arrow { display: none; }
}

/* ---- PROJECTS GRID (legacy, kept for reference styling) ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }

.project-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.project-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-border) 100%);
  overflow: hidden;
}
.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-lg);
}
.project-card:hover .project-card-thumb img {
  transform: scale(1.04);
}
.project-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(40,70,35,0.5) 0%, transparent 55%),
    linear-gradient(145deg, #1C3220 0%, #162C1A 100%);
  color: rgba(176,120,32,0.5);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18,38,22,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity var(--transition-md);
}
.project-card:hover .project-overlay { opacity: 1; }
.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
}
.overlay-btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.overlay-btn--secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.overlay-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.overlay-btn--primary:hover { color: #fff; }
.overlay-btn--secondary:hover { color: #fff; background: rgba(255,255,255,0.18); }

.project-card-body { padding: 1.5rem; }
.project-category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.project-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.project-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tech-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.tech-tag--dark {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
}

/* ---- FILTER TABS ---- */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-pad);
}
.filter-tab {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.filter-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}
.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ---- BEFORE/AFTER SLIDER ---- */
.before-after-section {
  padding: var(--space-24) 0;
  background: var(--color-surface);
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* Mac-style window title bar */
.ba-card-header {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface-2);
  position: relative;
}
.ba-mac-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ba-mac-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.1s;
}
/* Hover icons — SVG bg-image, revealed on group hover */
.ba-mac-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.1s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}
.ba-mac-dots:hover .ba-mac-dot::after { opacity: 1; }
/* Red: × */
.ba-mac-dot--red::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cline x1='2.5' y1='2.5' x2='7.5' y2='7.5' stroke='black' stroke-opacity='.65' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='7.5' y1='2.5' x2='2.5' y2='7.5' stroke='black' stroke-opacity='.65' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* Yellow: − */
.ba-mac-dot--yellow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cline x1='2' y1='5' x2='8' y2='5' stroke='black' stroke-opacity='.65' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* Green expand: two corner L-shapes pointing outward */
.ba-mac-dot--green::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M6 2L8 2L8 4M4 8L2 8L2 6' stroke='black' stroke-opacity='.65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.ba-mac-dot--red    { background: #ff5f57; }
.ba-mac-dot--yellow { background: #febc2e; }
.ba-mac-dot--green  { background: #28c840; }
/* Normal: red+yellow inert, green is the only interactive dot */
.ba-mac-dot--red,
.ba-mac-dot--yellow { opacity: 0.35; cursor: default; }
.ba-mac-dot--green  { cursor: pointer; }
/* Fullscreen: red+yellow become interactive; green stays fully visible (macOS-accurate) */
.ba-card:fullscreen .ba-mac-dot--red,
.ba-card:fullscreen .ba-mac-dot--yellow,
.ba-card:-webkit-full-screen .ba-mac-dot--red,
.ba-card:-webkit-full-screen .ba-mac-dot--yellow {
  opacity: 1;
  cursor: pointer;
}
.ba-card:fullscreen .ba-mac-dot--green,
.ba-card:-webkit-full-screen .ba-mac-dot--green { cursor: default; }
/* Green compress icon in fullscreen: L-shapes pointing inward */
.ba-card:fullscreen .ba-mac-dot--green::after,
.ba-card:-webkit-full-screen .ba-mac-dot--green::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M8 4L6 4L6 2M2 6L4 6L4 8' stroke='black' stroke-opacity='.65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
/* Center the title — absolute so dots don't shift it */
.ba-card-header-text {
  flex: 1;
  text-align: center;
  pointer-events: none;
  min-width: 0;
}
.ba-card:fullscreen .ba-card-header-text,
.ba-card:-webkit-full-screen .ba-card-header-text {
  transform: translateY(-38%);
}
/* Fullscreen state — flex chain must propagate height all the way to ba-slider-wrap */
.ba-card:fullscreen,
.ba-card:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 0;
}
.ba-card:fullscreen .ba-iframe-wrap,
.ba-card:-webkit-full-screen .ba-iframe-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ba-card:fullscreen .ba-slider-wrap,
.ba-card:-webkit-full-screen .ba-slider-wrap {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
}
.ba-card:fullscreen .ba-card-header,
.ba-card:-webkit-full-screen .ba-card-header {
  background: #1a1a1a;
  border-bottom-color: #333;
}
.ba-card:fullscreen .ba-card-title,
.ba-card:-webkit-full-screen .ba-card-title { color: rgba(255,255,255,0.9); }
.ba-card:fullscreen .ba-card-client,
.ba-card:-webkit-full-screen .ba-card-client { color: rgba(255,255,255,0.45); }
.ba-card:fullscreen .ba-labels-row,
.ba-card:-webkit-full-screen .ba-labels-row {
  background: #111;
  border-top-color: #333;
}
.ba-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}
.ba-card-client { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }
.ba-slider-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-2);
  user-select: none;
}
.ba-before, .ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-before { z-index: 1; }
.ba-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}
.ba-before img, .ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ba-placeholder.before-placeholder { background: linear-gradient(145deg, #f0ebe2 0%, #e0d8cc 100%); }
.ba-placeholder.after-placeholder { background: linear-gradient(145deg, #1C3220 0%, #162C1A 100%); }
.ba-placeholder.after-placeholder .ba-label { color: rgba(255,255,255,0.4); }
.ba-placeholder.after-placeholder .ba-placeholder-text { color: rgba(255,255,255,0.25); }
.ba-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}
.ba-placeholder-text { font-size: 0.75rem; color: var(--color-text-light); }
.ba-divider {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--color-bg);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  cursor: col-resize;
}
.ba-handle-icon {
  display: flex;
  gap: 3px;
  align-items: center;
  color: var(--color-text-muted);
}
.ba-labels-row {
  display: flex;
  overflow: hidden;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.ba-label-panel {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}
.ba-label-panel--before {
  width: 50%;
  justify-content: flex-start;
}
.ba-label-panel--after {
  flex: 1;
  justify-content: flex-end;
}
.ba-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.ba-tag--before { background: #fee2e2; color: #991b1b; }
.ba-tag--after { background: #d1fae5; color: #065f46; }

/* Demo sites section */
.demo-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
}
.demo-preview-item { text-align: center; }
.demo-preview-item img, .demo-preview-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--color-border);
}
.demo-preview-placeholder {
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.demo-preview-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.375rem;
  font-weight: 500;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: var(--space-24) 0;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) { .testimonials-track { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .testimonials-track { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition-md);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 0.7;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface-2);
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0.125rem;
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.star-row {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.star-icon { color: var(--color-accent); font-size: 0.875rem; }
.star-icon.empty { color: var(--color-border); }

/* ---- PIANO SECTION ---- */
.piano-section {
  padding: var(--space-24) 0;
  background: var(--gradient-forest);
  position: relative;
  overflow: hidden;
}
.piano-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(192,123,42,0.11) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 15%, rgba(90,145,70,0.10) 0%, transparent 45%);
  pointer-events: none;
}
.piano-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .piano-content { grid-template-columns: 1fr; gap: 2.5rem; }
}
.piano-text { color: #fff; }
.piano-text .section-eyebrow { color: var(--color-accent); }
.piano-text .section-title { color: #fff; }
.piano-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.piano-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.piano-stat {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.piano-stat .ps-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.piano-stat .ps-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}
.piano-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.piano-keys-visual {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  position: relative;
}
.pk-white {
  width: 42px;
  height: 160px;
  background: linear-gradient(180deg, #f8f8f6 0%, #e8e8e4 100%);
  border-radius: 0 0 6px 6px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 -2px 4px rgba(0,0,0,0.05);
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.pk-black {
  width: 26px;
  height: 100px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  position: absolute;
  z-index: 2;
  top: 2rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  cursor: default;
}
.pk-white:hover { transform: translateY(2px); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.pk-black:hover { transform: translateY(2px); }
.piano-keys-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  padding: var(--space-24) 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.contact-info h2 em { font-style: italic; color: var(--color-accent); }
.contact-info p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-method:hover { color: var(--color-accent); text-decoration: none; }
.contact-method-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.contact-method:hover .contact-method-icon {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
}
.contact-next-card {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.contact-next-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(191,138,58,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.contact-next-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1.1rem;
}
.contact-next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  position: relative;
}
.contact-next-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.contact-next-num {
  background: var(--color-primary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  line-height: 1.5;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) { .form-grid-2 { grid-template-columns: 1fr; } }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-md), transform var(--transition-md);
  margin-top: 0.5rem;
}
.btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-submit:active {
  filter: brightness(1.18);
  transform: translateY(1px);
}
.honeypot-field { display: none !important; }

/* ---- CTA STRIP ---- */
.cta-strip {
  padding: 5rem 0;
  background: var(--gradient-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(184,124,42,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(20,40,22,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.cta-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-strip p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  position: relative;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform var(--transition-md), filter var(--transition-md);
  position: relative;
}
.btn-cta-white:hover { transform: translateY(-1px); }
.btn-cta-white:hover {
  filter: brightness(1.12);
  text-decoration: none;
  color: #fff;
}
.btn-cta-white:active {
  filter: brightness(1.18);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---- PAGE HEADER ---- */
.page-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 50% -20%, rgba(60,100,50,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(10,22,12,0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 80%, rgba(10,22,12,0.3) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  font-weight: 600;
  position: relative;
  margin-bottom: 0.75rem;
}
.page-hero h1 em { font-style: italic; color: var(--color-accent); }
.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

/* ---- SUCCESS PAGE ---- */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-pad);
}
.success-icon {
  width: 80px;
  height: 80px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.success-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.success-page p { color: var(--color-text-muted); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ---- ABOUT PAGE ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.375rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.skill-chip {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.skill-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.skill-chip .sc-icon { font-size: 1.5rem; margin-bottom: 0.375rem; }
.skill-chip .sc-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Container utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Misc */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Messages */
.messages-wrap { padding: 1rem 0; }
.message {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  border-left: 3px solid;
}
.message--error { background: #fee2e2; color: #991b1b; border-color: var(--color-error); }
.message--success { background: #d1fae5; color: #065f46; border-color: var(--color-success); }
.message--info { background: #dbeafe; color: #1e40af; border-color: #3b82f6; }

/* ---- GLASS UTILITY (frosted glass over dark/botanical backgrounds) ---- */
.glass {
  background: rgba(12,22,14,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
}
.glass--light {
  background: rgba(243,246,241,0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(26,46,28,0.12);
}

/* ---- TWO PATHS (home page) ---- */
.two-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--color-primary);
}
@media (max-width: 900px) {
  .two-paths { grid-template-columns: 1fr; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .two-paths { grid-template-columns: 1fr 1fr; }
}
.path-card {
  display: flex;
  flex-direction: column;
  padding: 3.5rem 2.75rem 3rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition-md);
  position: relative;
  overflow: hidden;
}
.path-card:last-child { border-right: none; }
.path-card:hover {
  background: rgba(60,100,50,0.1);
  text-decoration: none;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-md);
}
.path-card:hover::before { transform: scaleX(1); }
.path-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  margin-bottom: 2.25rem;
}
.path-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(192,123,42,0.1);
  border: 1px solid rgba(192,123,42,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.path-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.path-title em {
  font-style: italic;
  color: var(--color-accent);
}
.path-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 2rem;
}
.path-link {
  font-size: 0.695rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---- REPERTOIRE GRID ---- */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
@media (max-width: 900px) { .repertoire-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .repertoire-grid { grid-template-columns: 1fr; } }
.repertoire-card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}
.repertoire-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.rep-composer {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.rep-piece {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.rep-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- MUSIC PAGE LIGHT-BG OVERRIDES ---- */
.music-intro-text .piano-stats { margin-top: 2rem; }
.music-intro-text .piano-stat {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.music-intro-text .piano-stat .ps-num { color: var(--color-accent); }
.music-intro-text .piano-stat .ps-label { color: var(--color-text-muted); }

/* ---- WHY CARDS ---- */
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) { .why-cards { grid-template-columns: 1fr; } }
.why-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---- HERO EXTRAS ---- */
.hero-location {
  font-size: 0.685rem;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.16em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-credline {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}
.hero-credline .dot {
  color: rgba(255,255,255,0.2);
}

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--color-primary);
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.intro-strip-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* ---- SVG ICON WRAPPERS ---- */
.service-icon-svg {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.hi-icon-svg {
  width: 38px;
  height: 38px;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.625rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---- CONCERT PHOTO ---- */
.concert-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.concert-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concert-photo-wrap.no-photo .concert-photo { display: none; }
.concert-photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.concert-photo-wrap.no-photo .concert-photo-fallback {
  display: flex;
}

/* ============================================================
   WEB DEV PAGE — .wd-* components
   ============================================================ */

/* ---- WD HERO OVERRIDES ---- */

/* Text positioned in lower third — forest fills the sky above */
.wd-hero { align-items: flex-end; }

/* Photo layer — falls back to a flat brand color when no photo is set,
   rather than a generic stock image standing in for real material. */
.wd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-primary-dark);
}
.wd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  filter: saturate(0.85) brightness(0.88);
}

/* Single-column — no right panel, background IS the composition */
.wd-hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--container-pad);
  width: 100%;
}
@media (max-width: 900px) {
  .wd-hero-content { padding: 3rem var(--container-pad); }
}

/* Split hero — text left, real photo right, merged into the hero itself
   rather than floating the photo lower on the page. */
.wd-hero--split { align-items: center; }
.wd-hero-content--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
}
.wd-hero-photo-card {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}
.wd-hero-photo-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.wd-hero-photo-card p {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}
@media (max-width: 900px) {
  .wd-hero-content--split { grid-template-columns: 1fr; }
  .wd-hero-photo-card { max-width: 240px; }
}

.wd-hero-text {
  max-width: 680px;
}

.wd-hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.wd-hero-name em {
  font-style: italic;
  color: var(--color-accent);
}
.wd-hero-tagline {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  margin-bottom: 2.75rem;
  max-width: 520px;
  font-weight: 300;
}

/* Overlay: fully opaque at bottom and exact colour-match to OOS (#070f09),
   fading to nearly clear at the top so the forest photo reads through. */
.wd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(7,15,9,1.0)   0%,
      rgba(7,15,9,1.0)   6%,
      rgba(7,15,9,0.80)  22%,
      rgba(6,12,8,0.42)  55%,
      rgba(6,12,8,0.14)  82%,
      rgba(6,12,8,0.05) 100%
    );
}

/* Suppress the generic hero pseudo-element "rain" — canvas handles it */
.wd-hero.hero-section::before { display: none; }
/* Suppress the generic canopy pattern — actual photo handles depth */
.wd-hero .hero-bg-pattern     { display: none; }

/* z-index stack — canvas is position:fixed at root z-index 2, handled globally */
.wd-hero .wd-hero-content  { z-index: 4; }
.wd-hero .scroll-indicator { z-index: 4; }

/* ---- SHOWCASE SECTIONS ---- */
.wd-showcase { padding: var(--space-24) 0; }
.wd-showcase--01 { background: var(--color-bg); }
.wd-showcase--02 { background: var(--color-primary); }
.wd-showcase--03 { background: #0a0f0a; }

.wd-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.wd-showcase-inner--reverse { direction: rtl; }
.wd-showcase-inner--reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .wd-showcase-inner { grid-template-columns: 1fr; gap: 3rem; }
  .wd-showcase-inner--reverse { direction: ltr; }
}

.wd-showcase-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(26,46,28,0.08);
  margin-bottom: -0.5rem;
}
.wd-showcase-num--light { color: rgba(255,255,255,0.07); }

.wd-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.wd-showcase-title--light { color: #fff; }

.wd-showcase-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.wd-showcase-desc--light { color: rgba(255,255,255,0.52); }

.wd-showcase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.wd-showcase-chips span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.875rem;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.wd-showcase-chips--light span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.wd-showcase-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
}
.wd-showcase-live--light { color: var(--color-accent); }

/* ---- BROWSER MOCKUP CHROME ---- */
.wd-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.wd-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.875rem;
  background: rgba(0,0,0,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.wd-mock-chrome--light {
  background: #f0f0ee;
  border-bottom: 1px solid #e0e0dc;
}
.wd-mock-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wd-mock-dot--r { background: #ff5f57; }
.wd-mock-dot--y { background: #ffbd2e; }
.wd-mock-dot--g { background: #28ca41; }
.wd-mock-url {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.28);
  font-family: 'Courier New', monospace;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wd-mock-url--dark { color: #888; }

/* ---- PIANO MOCKUP ---- */
.wd-mockup--piano { background: #f5f0e8; }

.wd-mock-piano-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.875rem;
  background: #1a1a18;
}
.wd-mock-piano-logo {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.wd-mock-piano-navlinks {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.wd-mock-piano-filters {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.875rem;
  background: #f0ebe0;
  border-bottom: 1px solid #e0d8c8;
  flex-wrap: wrap;
}
.wd-mock-filter {
  font-size: 0.58rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  border: 1px solid #d0c8b8;
  background: #fff;
  color: #666;
  cursor: default;
}
.wd-mock-filter--active {
  background: #1a1a18;
  border-color: #1a1a18;
  color: #fff;
}
.wd-mock-piano-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f5f0e8;
}
.wd-mock-piano-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e0d0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wd-showcase-mockup.visible .wd-mock-piano-card:nth-child(1) { opacity:1; transform:none; transition-delay:0.15s; }
.wd-showcase-mockup.visible .wd-mock-piano-card:nth-child(2) { opacity:1; transform:none; transition-delay:0.3s; }
.wd-showcase-mockup.visible .wd-mock-piano-card:nth-child(3) { opacity:1; transform:none; transition-delay:0.45s; }

.wd-mock-piano-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #120d08 0%, #201610 50%, #120d08 100%);
}
.wd-mock-piano-thumb--yamaha { background: linear-gradient(135deg, #1e1508 0%, #2c2010 50%, #1e1508 100%); }
.wd-mock-piano-thumb--kawai  { background: linear-gradient(135deg, #2a1e10 0%, #382a18 50%, #2a1e10 100%); }
.wd-mock-piano-info  { padding: 0.4rem 0.5rem 0.55rem; }
.wd-mock-piano-brand { font-size: 0.52rem; font-weight:700; color:#999; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:0.1rem; }
.wd-mock-piano-model { font-size: 0.6rem;  color:#333; font-weight:500; margin-bottom:0.2rem; line-height:1.3; }
.wd-mock-piano-price { font-size: 0.65rem; font-weight:700; color:#1a1a18; }

/* ---- SCHOOL MOCKUP ---- */
.wd-mockup--school { background: #fff; }

.wd-mock-school-header {
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #1a4a2a 0%, #0e2f1a 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.wd-mock-school-name    { font-size: 0.72rem; font-weight:700; letter-spacing:0.03em; }
.wd-mock-school-tagline { font-size: 0.55rem; color:rgba(255,255,255,0.48); letter-spacing:0.1em; text-transform:uppercase; }

.wd-mock-school-events  { padding: 0.625rem 0.875rem; }
.wd-mock-event-label    { font-size: 0.55rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#999; margin-bottom:0.5rem; }

.wd-mock-event-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0ee;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wd-showcase-mockup.visible .wd-mock-event-row:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s; }
.wd-showcase-mockup.visible .wd-mock-event-row:nth-child(3) { opacity:1; transform:none; transition-delay:0.26s; }
.wd-showcase-mockup.visible .wd-mock-event-row:nth-child(4) { opacity:1; transform:none; transition-delay:0.42s; }

.wd-mock-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 26px;
  flex-shrink: 0;
}
.wd-mock-event-date strong { font-size:0.48rem; font-weight:700; text-transform:uppercase; color:#1a4a2a; letter-spacing:0.05em; }
.wd-mock-event-date span   { font-size:0.9rem;  font-weight:700; color:#1a1a18; line-height:1; }

.wd-mock-event-info   { flex: 1; }
.wd-mock-event-name   { font-size:0.62rem; font-weight:600; color:#222; margin-bottom:0.1rem; }
.wd-mock-event-sub    { font-size:0.52rem; color:#999; }

.wd-mock-event-btn {
  font-size: 0.52rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: #1a4a2a;
  color: #fff;
  border-radius: 3px;
  flex-shrink: 0;
}
.wd-mock-event-btn--free { background:#d1fae5; color:#065f46; }

.wd-mock-contact-bar {
  display: flex;
  gap: 0.375rem;
  padding: 0.6rem 0.875rem;
  background: #f8f8f6;
  border-top: 1px solid #eaeae6;
}
.wd-mock-input-fake {
  flex: 1;
  font-size: 0.6rem;
  padding: 0.3rem 0.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #bbb;
}
.wd-mock-submit-btn {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: #1a4a2a;
  color: #fff;
  border-radius: 3px;
  white-space: nowrap;
}

/* ---- PORTFOLIO MOCKUP ---- */
.wd-mockup--portfolio { background: var(--color-primary); }

.wd-mock-port-hero { background: var(--gradient-hero); }
.wd-mock-port-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wd-mock-port-logo { font-family:var(--font-heading); font-size:0.72rem; font-weight:400; font-style:italic; color:#fff; }
.wd-mock-port-nav-links { display:flex; gap:0.5rem; font-size:0.5rem; color:rgba(255,255,255,0.38); letter-spacing:0.1em; text-transform:uppercase; }

.wd-mock-port-content { padding: 1.5rem 0.875rem 2rem; }
.wd-mock-port-eyebrow { font-size:0.5rem; letter-spacing:0.14em; text-transform:uppercase; color:rgba(255,255,255,0.3); margin-bottom:0.5rem; }
.wd-mock-port-name    { font-family:var(--font-heading); font-size:2rem; font-weight:300; color:#fff; line-height:1; margin-bottom:0.875rem; letter-spacing:-0.02em; }
.wd-mock-port-name em { color:var(--color-accent); font-style:italic; }
.wd-mock-port-btns    { display:flex; gap:0.4rem; }
.wd-mock-port-btn-primary { font-size:0.52rem; font-weight:600; padding:0.3rem 0.75rem; background:var(--gradient-amber); color:#fff; border-radius:4px; }
.wd-mock-port-btn-ghost   { font-size:0.52rem; font-weight:500; padding:0.3rem 0.75rem; border:1px solid rgba(255,255,255,0.25); color:rgba(255,255,255,0.7); border-radius:4px; }

.wd-mock-port-about { display:flex; gap:0.875rem; padding:0.875rem; background:#f5f2eb; align-items:flex-start; }
.wd-mock-port-photo { width:52px; height:66px; border-radius:6px; flex-shrink:0; background:linear-gradient(145deg,#c8d4c0 0%,#b0c0a0 100%); }
.wd-mock-port-about-text { flex:1; padding-top:0.2rem; }
.wd-mock-port-heading { font-family:var(--font-heading); font-size:0.8rem; font-weight:400; color:var(--color-text); line-height:1.25; margin-bottom:0.625rem; }
.wd-mock-port-heading em { color:var(--color-accent); font-style:italic; }
.wd-mock-line { height:4px; background:var(--color-surface-2); border-radius:2px; margin-bottom:0.375rem; }
.wd-mock-line--short { width:60%; }

/* ---- IFRAME DRAG SLIDER ---- */
.ba-iframe-wrap {
  background: var(--color-surface);
}
.ba-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.ba-browser-dots {
  display: flex;
  gap: 4px;
}
.ba-browser-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
}
.ba-browser-url {
  font-size: 0.65rem;
  font-family: 'Courier New', monospace;
  color: var(--color-text-muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Iframes inside the drag slider — size/scale set by JS */
.ba-slider-wrap .ba-before iframe,
.ba-slider-wrap .ba-after iframe {
  display: block;
  border: none;
}
.ba-side-label { display: none; }
/* Scrollable screenshot pane — used when a site can't be iframed (X-Frame-Options)
   but we still want the "scroll to see more" feel of the live iframe panes. */
.ba-scroll-pane {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: var(--color-surface);
}
.ba-scroll-pane img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
}
/* Fallback overlay when the after iframe is blocked (X-Frame-Options) */
.ba-blocked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(145deg, #1C3220, #162C1A);
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  text-align: center;
  padding: 1rem;
}
.ba-blocked-overlay a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}
.ba-visit-badge {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  z-index: 5;
  background: rgba(20,30,20,0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition), transform var(--transition);
}
.ba-visit-badge:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

