@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


/* =================================================
   ██████  ████████ ██    ██ ██      ███████ ███████
  ██          ██     ██  ██  ██      ██      ██
   █████      ██      ████   ██      █████   ███████
       ██     ██      ██     ██      ██           ██
  ██████      ██      ██     ███████ ███████ ███████
   GLOBAL STYLESHEET — all pages unified
================================================= */


/* =================================================
   FONT IMPORT
   @import rules above MUST be the very first lines —
   any comment before them causes browsers to ignore them.
   Hello Bonia Serif — local .otf at css/fonts/
   Inter + Bebas Neue — Google Fonts CDN
================================================= */
/* Hello Bonia Serif — local file first, CDNfonts @import above as fallback.
   The @import on line 3 loads the CDN version automatically if local fails. */
@font-face {
  font-family: 'Hello Bonia Serif';
  src: url('/css/fonts/HelloboniaserifRegular-OVB1d.otf') format('opentype'),
       url('fonts/HelloboniaserifRegular-OVB1d.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* =================================================
   GLOBAL VARIABLES (COLOR & LAYOUT SYSTEM)
================================================= */
:root {
  /* — Brand colors — */
  --primary:    #DB2D56;
  --secondary:  #1a1829;
  --bg-dark:    #0d0b14;
  --bg-mid:     #12101e;

  /* — Text — */
  --text-light: #F5E6C8;
  --text-muted: rgba(245, 230, 200, 0.55);

  /* — Accents — */
  --lavender:   #9B8EC4;
  --yellow:     #F6E27A;

  /* — Typography — */
  --font-title: 'Hello Bonia Serif', sans-serif;
  --font-body:  'Inter', sans-serif;

  /* — Layout heights — */
  --header-h:   135px;   /* total header height (includes marquee) */
  --marquee-h:  40px;    /* top marquee strip */
  --footer-h:   50px;    /* fixed footer bar */

  /* — Reusable shadows / glows — */
  --glow-primary:  0 0 18px rgba(219, 45, 86, 0.30);
  --glow-primary-lg: 0 0 28px rgba(219, 45, 86, 0.50);
  --glow-yellow:   0 0 10px rgba(246, 226, 122, 0.15);

  /* — Reusable borders — */
  --border-subtle:  1px solid rgba(155, 142, 196, 0.10);
  --border-primary: 1px solid rgba(219, 45, 86, 0.30);

}

/* =================================================
   CUSTOM CURSORS
   .ani files are Windows-only and don't work in browsers.
   Strategy: use the .cur fallback that browsers DO support,
   with a CSS SVG data-URI as the final always-works fallback.
   
   If you want animated cursors, convert .ani → .gif or .apng
   and use: url('cursor/magic-wand-normal.gif'), auto
   
   For now: SVG magic wand cursors work everywhere online.
================================================= */

/* — Default cursor: magic wand ✦ — */
* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctext y='20' font-size='20'%3E🪄%3C/text%3E%3C/svg%3E") 0 20, url('cursor/magic-wand.crs') 0 20, auto;
}

/* — Pointer cursor: wand with sparkle — */
a,
button,
label,
input[type="checkbox"],
input[type="radio"],
input[type="submit"],
.menu__btn,
.nav button,
.bookmarks button,
.cta,
.cta-pill,
.big-button,
.card,
.contact-link,
.featured-container .button button,
.footer-socials a,
.footer-left a,
.menu__item,
.menu__footer-socials a,
[role="button"],
[onclick] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ctext y='22' font-size='20'%3E🪄%3C/text%3E%3Ccircle cx='22' cy='6' r='3' fill='%23F6E27A' opacity='0.9'/%3E%3C/svg%3E") 0 22, url('cursor/magic-wand.crs') 0 20, pointer;
}

/* — Text cursor — */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 20 28'%3E%3Crect x='9' y='0' width='2' height='28' rx='1' fill='%23F5E6C8' opacity='0.9'/%3E%3Crect x='5' y='0' width='10' height='2' rx='1' fill='%23F5E6C8' opacity='0.9'/%3E%3Crect x='5' y='26' width='10' height='2' rx='1' fill='%23F5E6C8' opacity='0.9'/%3E%3C/svg%3E") 10 14, text;
}

/* — Wait/loading cursor — */
.loading {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctext y='20' font-size='20'%3E⏳%3C/text%3E%3C/svg%3E") 12 12, wait;
}


/* =================================================
   RESET & BASE
================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin:  0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background: var(--bg-dark);
  min-height: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hidden checkbox — used for hamburger toggle */
#menu__toggle {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}


/* =================================================
   SCROLL-TO-TOP BUTTON
================================================= */
#scroll-button {
  position: fixed;
  bottom: calc(var(--footer-h) + 20px);
  right: 30px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(219, 45, 86, 0.9),
    rgba(26, 24, 41, 0.95)
  );
  border: 1px solid rgba(219, 45, 86, 0.4);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: var(--glow-primary), inset 0 0 10px rgba(255,255,255,0.05);
  color: var(--text-light);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, box-shadow 0.3s ease;
}

#scroll-button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

#scroll-button::after {
  content: "↑";
  font-size: 18px;
  color: var(--text-light);
}

#scroll-button:hover {
  cursor: pointer;
  transform: translateY(-3px);
  box-shadow: var(--glow-primary-lg), var(--glow-yellow);
}

#scroll-button:active {
  transform: translateY(0) scale(0.95);
}

@keyframes scrollPulse {
  0%, 100% { box-shadow: var(--glow-primary), inset 0 0 10px rgba(255,255,255,0.05); }
  50%       { box-shadow: var(--glow-primary-lg), var(--glow-yellow); }
}


/* =================================================
   HEADER
================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding-top: var(--marquee-h);
  padding-left:  clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);

  background: var(--bg-dark);
  background-image: radial-gradient(
    ellipse 60% 140% at 50% -10%,
    rgba(219, 45, 86, 0.1) 0%,
    transparent 70%
  );

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000;
  transition: padding-top 0.35s ease, height 0.35s ease;
}

/* Glowing bottom border */
header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(219, 45, 86, 0.7) 30%,
    rgba(155, 142, 196, 0.5) 70%,
    transparent 100%
  );
}

/* Compact state — hides marquee */
header.compact {
  padding-top: 0;
  height: calc(var(--header-h) - var(--marquee-h));
}


/* — Marquee strip — */
.header-marquee {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--marquee-h);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.header-marquee.hide {
  transform: translateY(-100%);
  opacity: 0;
}

/* Edge fades */
.header-marquee::before,
.header-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.header-marquee::before { left:  0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.header-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg-dark), transparent); }

.header-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* — Scrolling track — */
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-word {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  padding: 10px 24px 10px 0;
  text-shadow: 0 0 8px rgba(219, 45, 86, 0.35);
}

.marquee-sep {
  color: var(--yellow);
  opacity: 0.6;
  padding-right: 24px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* =================================================
   LOGO
================================================= */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.logo img {
  height: 135px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(219, 45, 86, 0.25));
  transition: filter 0.3s ease;
}

.logo img:hover {
  filter: drop-shadow(0 0 14px rgba(219, 45, 86, 0.5));
}


/* =================================================
   DESKTOP NAV
================================================= */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease;
}

/* Animated underline */
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.header-nav a:hover {
  color: var(--text-light);
}

.header-nav a:hover::after {
  width: 60%;
}

/* Divider */
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(155, 142, 196, 0.25);
  margin: 0 6px;
  flex-shrink: 0;
}

/* CTA pill */
.header-nav a.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #a0203f 100%);
  color: var(--text-light);
  border-radius: 50px;
  padding: 9px 22px;
  margin-left: 6px;
  box-shadow: var(--glow-primary);
  transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
              box-shadow 0.25s ease, color 0.25s ease;
}

.header-nav a.nav-cta:hover {
  color: var(--text-light);
  transform: scale(1.08) translateY(-1px);
  box-shadow: var(--glow-primary-lg);
}

.header-nav a.nav-cta::after { display: none; }


/* =================================================
   HAMBURGER MENU
================================================= */
.menu-toggle {
  display: none; /* shown in mobile breakpoints */
}

/* Hamburger button */
.menu__btn {
  position: fixed;
  top: 50%;
  right: clamp(16px, 4vw, 32px);
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 2000;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2.5px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.menu__btn > span         { top: 50%; transform: translateY(-50%); }
.menu__btn > span::before { content: ''; top: -8px; }
.menu__btn > span::after  { content: ''; top:  8px; }

/* → X animation */
#menu__toggle:checked + .menu__btn > span          { transform: translateY(-50%) rotate(45deg); }
#menu__toggle:checked + .menu__btn > span::before  { top: 0; transform: rotate(0deg); opacity: 0; }
#menu__toggle:checked + .menu__btn > span::after   { top: 0; transform: rotate(90deg); }

/* Slide-in panel */
.menu__box {
  list-style: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;

  background: var(--bg-dark);
  background-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(219, 45, 86, 0.08) 0%,
    transparent 70%
  );
  border-left: var(--border-primary);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);

  transition: right 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  z-index: 1500;
}

#menu__toggle:checked ~ .menu__box {
  right: 0;
}

/* Menu items */
.menu__item {
  display: block;
  padding: 14px 20px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu__item:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.12);
}

/* Last item = CTA pill */
.menu__item:last-child {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary), #a0203f);
  color: var(--text-light);
  text-align: center;
  box-shadow: var(--glow-primary);
}

.menu__item:last-child:hover {
  background: linear-gradient(135deg, #e8365f, var(--primary));
}

/* Dark overlay behind panel */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#menu__toggle:checked ~ .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* =================================================
   DESKTOP NAV DROPDOWN
================================================= */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease;
  display: block;
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--text-light);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  width: 60%;
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  list-style: none;
  padding: 8px;
  margin: 0;

  background: rgba(13, 11, 20, 0.97);
  border: 1px solid rgba(219, 45, 86, 0.2);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-primary);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 2000;
}

/* Arrow pointer above panel */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(13, 11, 20, 0.97);
  border-left: 1px solid rgba(219, 45, 86, 0.2);
  border-top: 1px solid rgba(219, 45, 86, 0.2);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 7px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.12);
}

.nav-dropdown-menu li a.nav-nda {
  color: var(--lavender);
  opacity: 0.6;
  font-style: italic;
}

.nav-dropdown-menu li a.nav-nda:hover {
  color: var(--lavender);
  opacity: 1;
  background: rgba(155, 142, 196, 0.08);
}

/* Divider above NDA item */
.nav-dropdown-menu li:last-child {
  border-top: 1px solid rgba(155, 142, 196, 0.1);
  margin-top: 4px;
  padding-top: 4px;
}


/* =================================================
   MOBILE HAMBURGER — WORKS SUBMENU
================================================= */
.menu__item-parent {
  display: flex;
  flex-direction: column;
}

/* Row holding the Works link + toggle arrow */
.menu__item-works-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.menu__item-works-row .menu__item {
  flex: 1;
}

/* Arrow toggle button */
.menu__sub-toggle {
  background: rgba(219, 45, 86, 0.1);
  border: 1px solid rgba(219, 45, 86, 0.25);
  color: var(--text-muted);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.menu__sub-toggle.open {
  transform: rotate(180deg);
  background: rgba(219, 45, 86, 0.2);
  color: var(--text-light);
  border-color: rgba(219, 45, 86, 0.4);
}

/* Submenu — hidden by default, slides open via max-height */
.menu__sub {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 2px solid rgba(219, 45, 86, 0.2);
  margin-left: 20px;
}

.menu__sub.open {
  max-height: 300px;
  margin-top: 4px;
  margin-bottom: 4px;
  padding-bottom: 6px;
}

.menu__sub-item {
  display: block;
  padding: 8px 14px;
  color: rgba(245, 230, 200, 0.5);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu__sub-item:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.1);
}

.menu__sub-item--nda {
  color: rgba(155, 142, 196, 0.45) !important;
  font-style: italic;
}

.menu__sub-item--nda:hover {
  color: var(--lavender) !important;
  background: rgba(155, 142, 196, 0.08) !important;
}


/* =================================================
   PROJECT PAGE TEMPLATE
================================================= */
.project-page {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: calc(var(--footer-h) + 4rem);
  max-width: 1100px;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  color: var(--text-light);
}

.project-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(219, 45, 86, 0.2);
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.project-back:hover { color: var(--primary); }

.project-back::before {
  content: "←";
  font-size: 1rem;
}

.project-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

.project-title span { color: var(--primary); }

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  background: rgba(155, 142, 196, 0.1);
  border: 1px solid rgba(155, 142, 196, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  margin-right: 6px;
}

.project-description {
  margin-top: 1rem;
  max-width: 600px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Gallery grid */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.project-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--secondary);
  border: var(--border-subtle);
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.04);
}

/* Wide item — spans 2 columns */
.project-gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* Section label inside project */
.project-section-label {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-light);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(219, 45, 86, 0.15);
}

/* NDA placeholder */
.project-nda-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  gap: 1rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed rgba(155, 142, 196, 0.2);
  border-radius: 20px;
  padding: 4rem 2rem;
  margin-top: 2rem;
}

.project-nda-placeholder h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--lavender);
}

.project-nda-placeholder p {
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .project-gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .project-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}


/* =================================================
   FOOTER
================================================= */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.footer-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: var(--footer-h);
  padding: 0 clamp(20px, 4vw, 48px);

  background: rgba(13, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(219, 45, 86, 0.18);
  box-shadow:
    0 -1px 0 rgba(155, 142, 196, 0.06),
    0 -8px 32px rgba(0, 0, 0, 0.35);
}

/* Left cluster: logo + divider + nav */
.footer-left-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(219, 45, 86, 0.2));
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.footer-logo img:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(219, 45, 86, 0.45));
}

/* Thin divider between logo and nav */
.footer-logo-divider {
  width: 1px;
  height: 18px;
  background: rgba(155, 142, 196, 0.2);
  flex-shrink: 0;
}

/* Nav links */
.footer-left {
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-left a {
  color: rgba(245, 230, 200, 0.45);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-left a:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.1);
}

/* Center: copyright */
.footer-copy {
  color: rgba(245, 230, 200, 0.3);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  justify-self: center;
  white-space: nowrap;
}

/* Right: socials */
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-socials a {
  color: rgba(245, 230, 200, 0.4);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.1);
  border-color: rgba(219, 45, 86, 0.25);
}


/* =================================================
   SHARED UTILITIES (used across multiple pages)
================================================= */

/* — Gradient accent line at top of cards / sections — */
.accent-top {
  position: relative;
  overflow: hidden;
}

.accent-top::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accent-top:hover::after {
  opacity: 1;
}

/* — Standard hover card lift — */
.card-hover {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 45, 86, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* — Standard CTA pill — */
.cta-pill {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), #a0203f);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--glow-primary);
  transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.25s ease;
}

.cta-pill:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: var(--glow-primary-lg);
}

/* — Status dots — */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.open   { background: #52e07a; box-shadow: 0 0 8px rgba(82, 224, 122, 0.6); }
.status-dot.closed { background: #e05252; box-shadow: 0 0 8px rgba(224, 82, 82, 0.6); }

/* — Status badge pill text — */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-subtle);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-badge strong { color: var(--text-light); }

.status-slots {
  padding-left: 10px;
  border-left: 1px solid rgba(155, 142, 196, 0.2);
  color: var(--lavender);
}

/* — Support / social pills — */
.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-subtle);
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.support-pill img {
  width: 16px; height: 16px;
  object-fit: contain;
}

.support-pill:hover {
  background: rgba(219, 45, 86, 0.12);
  border-color: rgba(219, 45, 86, 0.4);
  color: var(--text-light);
  transform: translateY(-2px);
}


/* =================================================
   PAGE: FLIPBOOK (homepage — body default)
================================================= */
body:not(.about-page):not(.commissions-page):not(.works-page):not(.contact-page) {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
  overflow: hidden;
}

/* Scene */
.scene {
  perspective: 2500px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: calc(100vh - var(--header-h) - var(--footer-h));
  padding-top: 20px;
  overflow: hidden;
}

/* Book wrapper */
.book-wrapper {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 660;
  transform-origin: top center;
  display: flex;
  justify-content: center;
  position: relative;
  transform: scale(
    min(1, (100vw - 40px) / 560, (100vh - var(--header-h) - var(--footer-h) - 120px) / 660)
  );
}

/* Book container */
.book-container {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

/* Page */
.page {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  background: transparent;
  backface-visibility: visible;
  overflow: visible;
}

.page::after { display: none; }

/* Front / back faces */
.page .front,
.page .back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page .front { transform: rotateY(0deg);    z-index: 1; }
.page .back  { transform: rotateY(180deg);  z-index: 1; }

/* Flip */
.page.flipped {
  transform: rotateY(-180deg);
  pointer-events: none;
}

/* — Shadow & curl effects — */
.page .front::after,
.page .back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.page .front::after {
  background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}

.page.flipped .front::after { opacity: 0; }

.page .back::after {
  background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%);
}

.page.flipped .back::after { opacity: 1; }

/* Curl highlight on right edge */
.page .front::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 0 12px 12px 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.page.flipped .front::before { opacity: 0; }

/* — Page imagery & content — */
.page-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  z-index: 0;
}

.page-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 30px 24px;
  background: linear-gradient(to top, rgba(24,22,20,0.92) 0%, rgba(24,22,20,0.5) 50%, transparent 100%);
  color: #fff;
  z-index: 1;
  border-radius: 0 0 12px 12px;
}

.page-content h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.page-content h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.page-content p {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cover overlay */
.cover-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 36px;
  background: linear-gradient(
    to top,
    rgba(219, 45, 86, 0.88) 0%,
    rgba(219, 45, 86, 0.2) 45%,
    transparent 70%
  );
  border-radius: inherit;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.cover-content h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  margin: 0 0 6px;
}

.cover-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* — Placeholder face colors — */
.face-blank   { background: #e6dfd2; }
.face-cover   { background: linear-gradient(150deg, var(--primary) 0%, #7a1f3a 100%); }
.face-about-f { background: linear-gradient(150deg, #2c2c3a 0%, #37374b 100%); }
.face-about-b { background: linear-gradient(150deg, #37374b 0%, #2c2c3a 100%); }
.face-port-f  { background: linear-gradient(150deg, #1a2a3a 0%, #1e5f8a 100%); }
.face-port-b  { background: linear-gradient(150deg, #1e5f8a 0%, #1a2a3a 100%); }
.face-comm-f  { background: linear-gradient(150deg, #1a2a1a 0%, #1e6b3a 100%); }
.face-comm-b  { background: linear-gradient(150deg, #1e6b3a 0%, #1a2a1a 100%); }
.face-cont-f  { background: linear-gradient(150deg, #2a1a2a 0%, #6b2d8e 100%); }
.face-cont-b  { background: linear-gradient(150deg, #6b2d8e 0%, #2a1a2a 100%); }

/* — Bookmarks — */
.bookmarks {
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 0;
}

.bookmarks button {
  background: var(--yellow);
  color: #000;
  border: none;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-body);
  transition: 0.25s;
}

.bookmarks button:hover {
  transform: translateX(10px) scale(1.05);
  background: var(--primary);
  color: white;
}

/* — Nav buttons — */
.nav {
  position: fixed;
  bottom: calc(var(--footer-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 500;
}

.nav button {
  background: var(--secondary);
  color: var(--text-light);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav button:hover {
  background: var(--primary);
  transform: scale(1.1);
}


/* =================================================
   PAGE: ABOUT  (v8 — precise adjustments)
================================================= */

.about-page {
  padding-top: var(--header-h);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.about-page footer {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 20;
}

/* ── Floating sparkle stars (hero) ── */
.ab-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.ab-sp {
  position: absolute;
  color: var(--yellow);
  font-size: 1rem;
  opacity: 0;
  animation: ab-sp-float 6s ease-in-out infinite;
}

.ab-sp--1 { top: 18%; left: 38%; font-size: 1.4rem; animation-delay: 0s;    animation-duration: 5s; }
.ab-sp--2 { top: 55%; left: 55%; font-size: 0.7rem;  animation-delay: 1.5s; animation-duration: 7s; color: var(--lavender); }
.ab-sp--3 { top: 30%; left: 72%; font-size: 1rem;    animation-delay: 3s;   animation-duration: 6s; }
.ab-sp--4 { top: 70%; left: 42%; font-size: 0.8rem;  animation-delay: 0.8s; animation-duration: 8s; color: rgba(245,230,200,0.6); }

@keyframes ab-sp-float {
  0%   { opacity: 0;   transform: translate(0,0)    scale(0.8) rotate(0deg); }
  25%  { opacity: 0.9; transform: translate(4px,-8px) scale(1.2) rotate(22deg); }
  50%  { opacity: 0.5; transform: translate(-4px,-14px) scale(1) rotate(45deg); }
  75%  { opacity: 0.8; transform: translate(6px,-6px) scale(1.1) rotate(67deg); }
  100% { opacity: 0;   transform: translate(0,-20px) scale(0.8) rotate(90deg); }
}

/* ── Section glow line divider ── */
.ab-section-glow-line {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(219,45,86,0.6) 20%,
    rgba(246,226,122,0.6) 50%,
    rgba(155,142,196,0.6) 80%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(219,45,86,0.4), 0 0 24px rgba(246,226,122,0.2);
  position: relative;
  z-index: 3;
}

/* ── §4 decorative floating stars ── */
.ab-bottom-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ab-bstar {
  position: absolute;
  font-family: var(--font-title);
  animation: ab-bstar-drift 7s ease-in-out infinite;
  opacity: 0.35;
}

/* scattered positions, sizes, colors */
.ab-bstar--a { top: 12%; left: 8%;   font-size: 1.4rem; color: var(--yellow);  animation-delay: 0s;    animation-duration: 6s; }
.ab-bstar--b { top: 20%; right: 5%;  font-size: 0.8rem; color: var(--lavender); animation-delay: 1.5s;  animation-duration: 8s; }
.ab-bstar--c { top: 60%; left: 3%;   font-size: 1rem;   color: var(--primary); animation-delay: 3s;    animation-duration: 7s; }
.ab-bstar--d { top: 40%; right: 10%; font-size: 1.6rem; color: var(--yellow);  animation-delay: 2.2s;  animation-duration: 9s; }
.ab-bstar--e { top: 75%; left: 45%;  font-size: 0.7rem; color: var(--lavender); animation-delay: 0.5s; animation-duration: 5s; }

@keyframes ab-bstar-drift {
  0%,100% { transform: translate(0,0)     rotate(0deg)  scale(1); opacity: 0.25; }
  33%      { transform: translate(6px,-10px) rotate(30deg) scale(1.2); opacity: 0.5; }
  66%      { transform: translate(-4px,-6px) rotate(60deg) scale(0.9); opacity: 0.35; }
}

/* ── §4 bottom section inner — relative for stars ── */
.ab-bottom-section__inner {
  width: 100%;
  position: relative;
}

/* ═══════════════════════════════════════════════
   §1 HERO  — full viewport
   Photo col left (34%)
   Right col: "PORTFOLIO" big, then PORTFOLIO×3
   repeated in outline — cut off by the photo edge
   (simulating the reference's truncated repeats).
   Socials float in a small card overlapping the big word.
   Caption spans full photo width at bottom.
   Black bar + yellow pill.
═══════════════════════════════════════════════ */
.ab-hero {
  background: var(--secondary);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.ab-hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 34% 1fr;
  min-height: 0;
  position: relative;
}

/* ── photo col ── */
.ab-hero__img-col {
  position: relative;
  overflow: hidden;
  z-index: 2; /* sits ON TOP of text so it clips the "PORTFOLIO" repeats */
}

.ab-hero__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ab-hero__img-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(219,45,86,0.13);
  pointer-events: none;
  z-index: 1;
}

/* caption — full width across the photo bottom, longer text */
.ab-hero__caption {
  position: absolute;
  bottom: 0.5px;
  left: 0;
  right: 0;
  padding: 10px 14px;
  z-index: 3;
  color: rgba(245,230,200,0.82);
  font-size: 0.7rem;
  line-height: 1.85;
  /* semi-transparent dark gradient so text is readable */
  background: linear-gradient(to top, rgba(26,24,41,0.7) 0%, transparent 100%);
}

/* star accents — pushed down so they don't overlap caption text */
.ab-star {
  position: absolute;
  color: var(--yellow);
  z-index: 4;
  pointer-events: none;
  animation: ab-spin 6s linear infinite;
  line-height: 1;
}
/* top-left star: top of photo, not too high */
.ab-star--tl { font-size: 2.2rem; top: 12%; left: 6px; }
/* bottom star: above the caption block */
.ab-star--bl { font-size: 1.4rem; bottom: 28%; left: 14px; animation-direction: reverse; }

@keyframes ab-spin {
  from { transform: rotate(0deg)   scale(1);   }
  50%  { transform: rotate(180deg) scale(1.35); }
  to   { transform: rotate(360deg) scale(1);   }
}

/* ── right col: title stack + socials card ── */
.ab-hero__content-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px,3vh,40px) 0 0 clamp(16px,2.5vw,32px);
  overflow: hidden;
  z-index: 1;
}

/* "PORTFOLIO" — the full word, solid, sits top */
.ab-hero__title {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 10.5vw, 10rem);
  line-height: 0.88;
  color: var(--text-light);
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
}

/* "PORTFOLIO" repeated 3× in outline — same font/size as above
   They are full-width copies of the word that get CLIPPED by the photo col
   sitting on top (z-index:2 on img-col).
   This is what creates the "TFOLIO / TFC / TFOLIO" truncation in the reference. */
.ab-hero__repeats {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  z-index: 1;
  position: relative;
}

.ab-hero__repeat {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 10.5vw, 10rem);
  line-height: 0.97;
  color: transparent;
  -webkit-text-stroke: 2px rgba(246,226,122,0.48);
  white-space: nowrap;
  letter-spacing: 0.01em;
  user-select: none;
  pointer-events: none;
}

/* socials card — floats over the big PORTFOLIO word, right side */
.ab-hero__socials-card {
  position: absolute;
  top: clamp(16px,2.5vh,36px);
  right: clamp(20px,2.5vw,40px);
  z-index: 5;
  background: rgba(26,24,41,0.82);
  border: var(--border-primary);
  border-radius: 10px;
  padding: 12px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--glow-primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-hero__socials-card a {
  font-size: 0.74rem;
  color: rgba(245,230,200,0.78);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.ab-hero__socials-card a:hover { color: var(--yellow); }

/* ── black bar + yellow pill ── */
.ab-hero__bar {
  height: 62px;
  background: #000;
  flex-shrink: 0;
  position: relative;
}

.ab-hero__pill {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--bg-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   §2  HELLO
   bg-mid · 2-col
   LEFT: heading, bio, pill, stats
   RIGHT: overlapping composite:
     - dark green block top-left (absolute)
     - photo shifted right, overlapping block
     - yellow pill floating left of photo
     - lavender pill floating right of photo
     - dark contact card overlapping photo bottom
═══════════════════════════════════════════════ */
/* ── Demo reel thumbnail — overlays photo bottom-right ── */
.ab-reel-thumb {
  position: absolute;
  /* centered horizontally and vertically in the photo col */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 55%, 280px);
  aspect-ratio: 16 / 9;
  border: none;
  background: none;
  padding: 0;
  z-index: 5;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 0 2px rgba(219,45,86,0.5), var(--glow-primary);
  transition: box-shadow 0.25s ease;
}

.ab-reel-thumb:hover {
  box-shadow: 0 16px 56px rgba(0,0,0,0.8), 0 0 0 3px var(--primary), var(--glow-primary-lg);
}

.ab-reel-thumb:hover .ab-reel-thumb__play {
  transform: scale(1.15);
}

.ab-reel-thumb__screen {
  position: relative;
  width: 100%;
  height: 100%;
}

.ab-reel-thumb__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ab-reel-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,11,20,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s ease;
}

.ab-reel-thumb:hover .ab-reel-thumb__overlay {
  background: rgba(219,45,86,0.35);
}

.ab-reel-thumb__play {
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.8));
  transition: transform 0.2s ease;
}

.ab-reel-thumb__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ── Lightbox ── */
.ab-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ab-lightbox--open {
  opacity: 1;
}

.ab-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,5,14,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ab-lightbox__content {
  position: relative;
  z-index: 2;
  width: min(90vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(219,45,86,0.3), var(--glow-primary-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.ab-lightbox--open .ab-lightbox__content {
  transform: scale(1);
}

.ab-lightbox__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.ab-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(13,11,20,0.8);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.ab-lightbox__close:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* ── Hello section — more breathing room on sides ── */
.ab-hello {
  background: var(--bg-mid);
  padding: clamp(52px,7vw,88px) clamp(80px,9vw,160px) clamp(48px,6vw,80px);
  /* overflow:visible so contact card can bleed past bottom */
  overflow: visible;
  position: relative;
}

.ab-hello__inner {
  width: 100%;
  /* more balanced — equal-ish cols, content feels centered */
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(48px,6vw,80px);
  align-items: center;
  overflow: visible;
}

/* LEFT col */
.ab-hello__heading {
  font-family: var(--font-title);
  font-size: clamp(3.8rem,7vw,6.5rem);
  line-height: 1.04;
  margin: 0 0 1.1rem;
  color: var(--text-light);
}

.ab-hello__name {
  color: var(--primary);
  text-shadow: var(--glow-primary);
}

.ab-hello__bio {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.ab-hello__pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 1.6rem;
  box-shadow: var(--glow-primary);
  transition: background 0.2s, transform 0.2s;
}
.ab-hello__pill-link:hover { background: #b5183d; transform: translateY(-2px); }

.ab-hello__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ab-stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.8rem;
  color: var(--primary);
  line-height: 1;
}

.ab-stat-lbl {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ab-stat-dot { color: var(--yellow); opacity: 0.6; }

/* RIGHT col — the whole composite lives in here */
.ab-photo-composite {
  position: relative;
  padding-bottom: 70px;
  overflow: visible;
}

/* The photo frame: green block + photo layered */
.ab-photo-frame {
  position: relative;
  overflow: visible;
}

/* Dark green accent block — absolutely placed top-left */
.ab-photo-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 74%;
  height: 85%;
  background: var(--primary);
  border-radius: 2px;
  z-index: 1;
}

/* Photo — shifted right and sits above the green block */
.ab-photo-img {
  position: relative;
  z-index: 2;
  width: 90%;
  display: block;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

/* Floating pills — absolute over the composite */
.ab-float-pill {
  position: absolute;
  z-index: 5;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 20px 30px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

/* Yellow pill — left side, vertically mid-photo */
.ab-float-pill--date {
  background: var(--yellow);
  color: var(--bg-dark);
  top: 38%;
  left: -50px;
}

/* Lavender pill — right side */
.ab-float-pill--nation {
  background: var(--yellow);
  color: var(--bg-dark);
  font-weight: 700;
  bottom: 30%;
  right: -30px;
}

/* Contact card — overlaps the bottom of the photo
   Uses negative top to pull it UP over the photo */
.ab-contact-card {
  position: absolute;
  bottom: 0;           /* sits at bottom of .ab-photo-composite padding area */
  left: 0;
  width: 90%;
  z-index: 6;
  background: var(--bg-dark);
  border: 1px solid rgba(219,45,86,0.4);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), var(--glow-primary);
}

.ab-contact-card__heading {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.ab-contact-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 3px 0;
}

.ab-contact-card__icon { color: var(--primary); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   §3  RESUME
   bg-dark
   TOP 2-col:
     LEFT: Education heading + timeline
           + Experience card (primary, overlaps RIGHT col)
     RIGHT: Ghost RESUME outlines (absolute behind)
            + Technical Skills heading + 2-col grid + pills
   BOTTOM 2-col:
     LEFT: Activities
     RIGHT: Language + Hobbies
═══════════════════════════════════════════════ */
.ab-resume-section {
  background: #1e1a2e;   /* dark grey-purple §3 */
  padding: clamp(52px,7vw,88px) clamp(60px,7vw,120px);
  /* bottom padding = exp card bleed amount so §4 shows behind it */
  padding-bottom: 0;
  position: relative;
  overflow: visible;
  border-top: 2px solid rgba(219,45,86,0.3);
  /* ensure §3 sits above §4 in stacking */
  z-index: 2;
}

.ab-resume-section__inner {
  width: 100%;
  position: relative;
  padding-bottom: clamp(52px,7vw,88px);
}

/* §4 — bg-dark, Activities + Language + Hobbies
   Extra padding-top absorbs the exp card overlap from §3 */
.ab-bottom-section {
  background: var(--bg-dark);
  /* top pad absorbs exp card overlap — sized to match card height */
  padding-top: clamp(200px,22vw,260px);
  padding-left: clamp(60px,7vw,120px);
  padding-right: clamp(60px,7vw,120px);
  padding-bottom: calc(clamp(52px,6vw,80px) + var(--footer-h));
  position: relative;
  z-index: 1;
  border-top: 2px solid rgba(155,142,196,0.12);
}

/* Decorative star cluster — top-right of §4 */
.ab-bottom-section__inner::before {
  content: "✦";
  position: absolute;
  top: -clamp(130px,15vw,170px);
  right: 0;
  font-size: 0.8rem;
  color: rgba(246,226,122,0.3);
  pointer-events: none;
}

/* TOP 2-col */
.ab-resume-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* bigger gap between edu+exp LEFT and skills RIGHT */
  gap: clamp(48px,6vw,88px);
  align-items: start;
  margin-bottom: 0;
  overflow: visible;
}

/* LEFT col wrapper needs overflow:visible */
.ab-resume-left {
  overflow: visible;
  position: relative;
}

/* Education */
.ab-edu-heading {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--primary);
  text-shadow: var(--glow-primary);
  margin: 0 0 1.4rem;
}

/* Shared timeline */
.ab-tl {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2rem;
}

.ab-tl-item {
  display: grid;
  grid-template-columns: 14px 88px 1fr;
  gap: 0 8px;
  align-items: start;
}

.ab-tl-item::before {
  content: "✦";
  color: var(--primary);
  font-size: 0.55rem;
  margin-top: 5px;
}

.ab-tl-year {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding-top: 2px;
}

.ab-tl-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}

.ab-tl-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Experience card — primary bg, bleeds into right col AND down into §4 */
.ab-exp-card {
  background: linear-gradient(140deg, #e8325e 0%, #c01f45 55%, #a01538 100%);
  border-radius: 14px;
  padding: 32px 32px 28px;
  position: relative;
  z-index: 5;
  width: calc(100% + 40px);
  margin-bottom: calc(-1 * clamp(180px,20vw,240px));
  box-shadow: 0 20px 60px rgba(219,45,86,0.35), 0 4px 20px rgba(0,0,0,0.5);
  overflow: hidden;
  /* top accent stripe */
  border-top: 3px solid rgba(246,226,122,0.5);
}

/* decorative circle glow top-right */
.ab-exp-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* subtle grid pattern overlay */
.ab-exp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ab-exp-heading {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--text-light);
  margin: 0 0 1.4rem;
  position: relative;
  z-index: 2;
  /* year label accent */
  display: flex;
  align-items: center;
  gap: 12px;
}

.ab-exp-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.25), transparent);
}

.ab-exp-tl { gap: 22px; position: relative; z-index: 2; }
.ab-exp-tl .ab-tl-item::before { color: rgba(255,255,255,0.5); animation: none; }
.ab-exp-tl .ab-tl-year          { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.ab-exp-tl .ab-tl-item strong   { color: var(--text-light); font-size: 1.15rem; }
.ab-exp-tl .ab-tl-item span     { color: rgba(245,230,200,0.65); font-size: 0.9rem; margin-top: 4px; }

.ab-exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.ab-exp-tags span {
  background: rgba(0,0,0,0.22);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* RIGHT col */
.ab-resume-right {
  position: relative;
  /* z-index lower than exp card so exp card overlaps on top */
  z-index: 1;
  overflow: visible;
}

/* Ghost RESUME — large outlines absolutely right-anchored */
.ab-ghost-resume {
  position: absolute;
  right: -24px;
  top: -8px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
  /* behind everything — skills content sits on top */
  z-index: 0;
}

.ab-ghost-resume span {
  font-family: var(--font-title);
  font-size: clamp(4.5rem,8.5vw,8rem);
  line-height: 0.98;
  color: transparent;
  /* much more transparent so skills text is readable */
  -webkit-text-stroke: 1px rgba(246,226,122,0.1);
  letter-spacing: 0.06em;
}

.ab-skills-heading {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--primary);
  text-shadow: var(--glow-primary);
  margin: 0 0 1.2rem;
  position: relative;
  z-index: 2;
}

/* Skills content wrapper — solid bg card so ghost text doesn't bleed through */
.ab-skills-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(26,22,44,0.97) 0%, rgba(20,17,36,0.97) 100%);
  border-radius: 14px;
  padding: 24px 22px;
  /* gradient border: pink top → lavender bottom */
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(246,226,122,0.15);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

/* top glow bar */
.ab-skills-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender), var(--yellow));
  pointer-events: none;
}

/* subtle dot-grid background */
.ab-skills-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(155,142,196,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.ab-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.ab-skills-col-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.ab-sw-icons { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }

.ab-sw-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, rgba(219,45,86,0.15) 0%, rgba(13,11,20,0.8) 100%);
  color: var(--text-light);
  border: 1px solid rgba(219,45,86,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ab-sw-icon:hover {
  border-color: rgba(219,45,86,0.6);
  box-shadow: var(--glow-primary);
}

.ab-code-note { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 7px; }

.ab-code-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  font-size: 0.92rem;
  color: var(--text-light);
  font-weight: 500;
}

.ab-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ab-spec-pills span {
  background: linear-gradient(90deg, rgba(219,45,86,0.12), rgba(155,142,196,0.1));
  color: var(--text-light);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(155,142,196,0.2);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ab-spec-pills span:hover {
  box-shadow: inset 0 0 0 1px rgba(219,45,86,0.5), var(--glow-primary);
  transform: translateY(-2px);
}

/* BOTTOM row */
.ab-resume-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px,5vw,80px);
  width: 100%;
}

.ab-bottom-heading {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--text-light);
  margin: 0 0 1.3rem;
}

.ab-lang-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 2.2rem;
}

.ab-lang-item {
  background: rgba(155,142,196,0.06);
  border: 1px solid rgba(155,142,196,0.14);
  border-radius: 10px;
  padding: 14px 16px;
  transition: background 0.2s, border-color 0.2s;
}
.ab-lang-item:hover {
  background: rgba(155,142,196,0.12);
  border-color: rgba(155,142,196,0.25);
}
.ab-lang-item strong { display: block; font-size: 1.35rem; font-weight: 700; color: var(--text-light); margin-bottom: 4px; }
.ab-lang-item span   { font-size: 0.92rem; color: var(--text-muted); }

.ab-hobbies-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.ab-hobby {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.ab-hobby__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, #221e38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 18px rgba(219,45,86,0.25), 0 0 0 1px rgba(219,45,86,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ab-hobby:hover .ab-hobby__icon {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 0 32px rgba(219,45,86,0.5), 0 0 0 2px rgba(246,226,122,0.3);
}

.ab-hobby__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 88px;
  letter-spacing: 0.02em;
}

.ab-act-item {
  display: grid;
  grid-template-columns: 14px 56px 1fr;
  gap: 0 10px;
  align-items: start;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: rgba(219,45,86,0.05);
  border: 1px solid rgba(219,45,86,0.12);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ab-act-item:hover {
  background: rgba(219,45,86,0.1);
  border-color: rgba(219,45,86,0.25);
}
.ab-act-item::before { content:"✦"; color:var(--yellow); font-size:0.6rem; margin-top:5px; text-shadow: 0 0 8px rgba(246,226,122,0.8); }
.ab-act-year { font-size:1rem; font-weight:700; color:var(--primary); padding-top:2px; min-width: 40px; }
.ab-act-item strong { display:block; font-size:1.15rem; font-weight:700; color:var(--text-light); }
.ab-act-item span   { display:block; font-size:0.9rem; color:var(--text-muted); margin-top:5px; }


/* ═══════════════════════════════════════════════
   BRAND ART — Glows · Gradients · Stars · Sparkle
   Injects carnival personality across all sections
═══════════════════════════════════════════════ */

/* ── Gradient text for main heading in §1 hero ── */
.ab-hero__title {
  background: linear-gradient(135deg, #F5E6C8 0%, #F6E27A 40%, #DB2D56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(219,45,86,0.5));
}

/* ── Hero section: radial glow behind title area ── */
.ab-hero__content-col::before {
  content: "";
  position: absolute;
  top: 10%; right: 10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse at center,
    rgba(219,45,86,0.12) 0%,
    rgba(155,142,196,0.06) 50%,
    transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ── §2 Hello — gradient name, glowing heading ── */
.ab-hello__name {
  background: linear-gradient(90deg, #DB2D56 0%, #F6A0B5 50%, #DB2D56 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ab-name-shimmer 4s linear infinite;
  filter: drop-shadow(0 0 12px rgba(219,45,86,0.6));
}

@keyframes ab-name-shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ── §2 Hello bg — subtle radial pink glow left side ── */
.ab-hello {
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%,
      rgba(219,45,86,0.08) 0%,
      transparent 70%),
    var(--bg-mid);
}

/* ── Photo composite — glow behind photo frame ── */
.ab-photo-frame::after {
  content: "";
  position: absolute;
  inset: -12px;
  background: radial-gradient(ellipse at 70% 40%,
    rgba(219,45,86,0.2) 0%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 8px;
}

/* ── Floating pills — glow ── */
.ab-float-pill--date {
  box-shadow: 0 4px 20px rgba(246,226,122,0.4), 0 0 0 2px rgba(246,226,122,0.2);
}

.ab-float-pill--nation {
  box-shadow: 0 4px 20px rgba(155,142,196,0.4), 0 0 0 2px rgba(155,142,196,0.2);
}

/* ── Contact card — gradient top border ── */
.ab-contact-card {
  border-top: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-dark), var(--bg-dark)),
    linear-gradient(90deg, #DB2D56, #9B8EC4);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ── §3 Resume section bg — layered radial glows ── */
.ab-resume-section {
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%,
      rgba(219,45,86,0.09) 0%,
      transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%,
      rgba(155,142,196,0.07) 0%,
      transparent 70%),
    #1e1a2e;
}

/* ── Education heading — gradient ── */
.ab-edu-heading {
  background: linear-gradient(90deg, #DB2D56, #F6A0B5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(219,45,86,0.5));
}

/* ── Timeline star bullet — glowing ── */
.ab-tl-item::before {
  text-shadow: 0 0 8px rgba(219,45,86,0.8), 0 0 16px rgba(219,45,86,0.4);
  animation: ab-star-pulse 3s ease-in-out infinite;
}

@keyframes ab-star-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.3); }
}

/* ── Experience card — gradient overlay + sparkle border ── */
.ab-exp-card {
  background: linear-gradient(135deg, #DB2D56 0%, #c01f45 60%, #a8163a 100%);
  border: 1px solid rgba(246,226,122,0.25);
  position: relative;
  overflow: hidden;
}

/* Glossy sheen top-left corner */
.ab-exp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 40%;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.12) 0%,
    transparent 60%);
  pointer-events: none;
}

/* Bottom-right glow spot */
.ab-exp-card::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle,
    rgba(246,226,122,0.15) 0%,
    transparent 65%);
  pointer-events: none;
}

/* ── Experience heading — gradient ── */
.ab-exp-heading {
  background: linear-gradient(90deg, #F5E6C8 0%, #F6E27A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Skills heading — gradient ── */
.ab-skills-heading {
  background: linear-gradient(90deg, #DB2D56, #F6A0B5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(219,45,86,0.5));
}

/* ── Skills content card — gradient border ── */
.ab-skills-content {
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(30,26,46,0.95), rgba(30,26,46,0.95)),
    linear-gradient(135deg, rgba(219,45,86,0.5), rgba(155,142,196,0.4));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Spec pills — gradient border */
.ab-spec-pills span {
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(90deg, rgba(219,45,86,0.4), rgba(155,142,196,0.4));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-spec-pills span:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

/* ── §4 bottom section — subtle starfield + glow ── */
.ab-bottom-section {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%,
      rgba(219,45,86,0.07) 0%,
      transparent 60%),
    var(--bg-dark);
}

/* ── Activities/bottom headings — gradient ── */
.ab-bottom-heading {
  background: linear-gradient(90deg, #F5E6C8 0%, #F6E27A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hobby icons — glow on hover, gradient border ── */
.ab-hobby__icon {
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(135deg, rgba(219,45,86,0.5), rgba(155,142,196,0.5));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ab-hobby:hover .ab-hobby__icon {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 20px rgba(219,45,86,0.5), 0 0 40px rgba(155,142,196,0.2);
}

/* ── Decorative sparkle stars — scattered across sections ── */
/* These are CSS-only ✦ stars placed via pseudo-elements on sections */
.ab-hello::before {
  content: "✦";
  position: absolute;
  top: 8%; right: 6%;
  font-size: 1rem;
  color: rgba(246,226,122,0.35);
  animation: ab-sparkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.ab-hello::after {
  content: "✦";
  position: absolute;
  bottom: 12%; left: 4%;
  font-size: 0.6rem;
  color: rgba(155,142,196,0.4);
  animation: ab-sparkle 5s ease-in-out infinite 1.5s;
  pointer-events: none;
  z-index: 0;
}

.ab-resume-section::after {
  content: "✦";
  position: absolute;
  top: 6%; left: 5%;
  font-size: 0.8rem;
  color: rgba(246,226,122,0.25);
  animation: ab-sparkle 6s ease-in-out infinite 0.8s;
  pointer-events: none;
  z-index: 1;
}

.ab-bottom-section::after {
  content: "✦";
  position: absolute;
  top: 10%; right: 8%;
  font-size: 1.1rem;
  color: rgba(219,45,86,0.3);
  animation: ab-sparkle 5s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 0;
}

@keyframes ab-sparkle {
  0%,100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.4) rotate(45deg); }
}

/* ── Scroll pill — gradient ── */
.ab-hero__pill {
  background: linear-gradient(135deg, #F6E27A 0%, #f0d060 100%);
  box-shadow: 0 4px 20px rgba(246,226,122,0.4), 0 0 0 2px rgba(246,226,122,0.2);
}

/* ── Section border-top glow lines ── */
.ab-hello { border-top: 1px solid transparent; }
.ab-hello {
  border-image: linear-gradient(90deg,
    transparent 0%,
    rgba(219,45,86,0.5) 30%,
    rgba(155,142,196,0.5) 70%,
    transparent 100%) 1;
}

/* ── Activity/act bullets ── */
.ab-act-item::before {
  text-shadow: 0 0 8px rgba(219,45,86,0.8);
  animation: ab-star-pulse 3s ease-in-out infinite 0.5s;
}

/* ── Stat numbers — glow ── */
.ab-stat-num {
  text-shadow: 0 0 16px rgba(219,45,86,0.5);
}

/* ── Lang items ── */
.ab-lang-item strong {
  background: linear-gradient(90deg, #F5E6C8, #F6E27A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════
   RESPONSIVE — ABOUT PAGE
════════════════════════════════════════════════ */

/* ── Tablet landscape (1020–1199) ── */
@media (min-width: 1020px) and (max-width: 1199px) {
  .ab-hero__grid { grid-template-columns: 30% 1fr; }
  .ab-hero__title  { font-size: clamp(3.8rem,9vw,7rem); }
  .ab-hero__repeat { font-size: clamp(3.8rem,9vw,7rem); }
  .ab-hello__inner { grid-template-columns: 1fr 320px; gap: 40px; }
  .ab-resume-top   { gap: clamp(36px,5vw,60px); }
  .ab-exp-card     { width: calc(100% + 20px); }
  .ab-ghost-resume span { font-size: clamp(3.2rem,5.5vw,5rem); }
  .ab-resume-bottom { gap: 40px; }
}

/* ── Tablet portrait (768–1019) ── */
@media (min-width: 768px) and (max-width: 1019px) {
  /* Hero */
  .ab-hero__grid   { grid-template-columns: 40% 1fr; }
  .ab-hero__title  { font-size: clamp(2.8rem,6.5vw,5rem); }
  .ab-hero__repeat { font-size: clamp(2.8rem,6.5vw,5rem); }
  .ab-hero__socials-card { top: 10px; right: 10px; padding: 10px 13px; }
  .ab-hero__socials-card a { font-size: 0.68rem; }
  /* reel thumb smaller on tablet */
  .ab-reel-thumb { width: clamp(140px,42%,200px); }

  /* Hello */
  .ab-hello { padding: 48px 40px; }
  .ab-hello__inner { grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
  .ab-hello__heading { font-size: clamp(2.6rem,5vw,3.8rem); }
  .ab-photo-composite { padding-bottom: 80px; }

  /* §3 */
  .ab-resume-section { padding: 48px 32px 0; }
  .ab-resume-section__inner { padding-bottom: 48px; }
  .ab-resume-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ab-exp-card { width: calc(100% + 16px); margin-bottom: calc(-1 * clamp(140px,16vw,180px)); }
  .ab-ghost-resume span { font-size: clamp(2.8rem,5vw,4rem); }
  .ab-skills-content { padding: 18px; }

  /* §4 */
  .ab-bottom-section { padding: clamp(160px,18vw,200px) 32px clamp(44px,5vw,64px); }
  .ab-resume-bottom { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ab-hobbies-row { grid-template-columns: repeat(4,1fr); gap: 12px; }
  .ab-hobby__icon { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* ── Mobile (≤767) ── */
@media (max-width: 767px) {
  /* ─ Hero ─ */
  .ab-hero { min-height: auto; }
  .ab-hero__grid { grid-template-columns: 1fr; }

  /* Photo col: good height, reel thumb centered on it */
  .ab-hero__img-col {
    height: 70vw;
    max-height: 380px;
    min-height: 240px;
  }
  .ab-hero__img-col img { height: 100%; width: 100%; object-fit: cover; }

  /* Reel thumb: smaller but properly centered */
  .ab-reel-thumb {
    width: clamp(140px, 52%, 220px);
    /* keep centered via transform from base styles */
  }
  .ab-reel-thumb__play { font-size: 1.8rem; }

  /* Caption: sits below reel, smaller */
  .ab-hero__caption {
    font-size: 0.6rem;
    bottom: 8px;
    padding: 8px 12px 8px;
    line-height: 1.7;
  }

  /* Stars don't overlap reel on mobile */
  .ab-star--tl { top: 4%; left: 4px; font-size: 1.4rem; }
  .ab-star--bl { display: none; }

  /* Title + ghost stacks */
  .ab-hero__content-col { padding: 18px 16px 0; overflow: hidden; }
  .ab-hero__title  { font-size: clamp(2.2rem,11.5vw,3.4rem); }
  .ab-hero__repeat { font-size: clamp(2.2rem,11.5vw,3.4rem); }

  /* Socials: inline row below title */
  .ab-hero__socials-card {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(26,24,41,0.75);
    width: auto;
    backdrop-filter: none;
  }
  .ab-hero__socials-card a { font-size: 0.7rem; }
  .ab-hero__bar { height: 48px; }
  .ab-hero__pill { font-size: 0.7rem; padding: 7px 18px; top: -18px; }

  /* ─ Hello ─ */
  .ab-hello { padding: 40px 20px 32px; }
  .ab-hello__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .ab-hello__heading { font-size: clamp(2.2rem,10vw,3rem); }
  .ab-hello__bio { font-size: 0.95rem; }
  .ab-hello__pill-link { font-size: 0.82rem; padding: 9px 18px; }
  .ab-hello__stats { gap: 14px; }
  .ab-stat-num { font-size: 2.2rem; }

  /* Photo composite stacked below text */
  .ab-photo-composite { padding-bottom: 80px; }
  .ab-photo-img { width: 65%; }
  .ab-photo-frame::before { width: 68%; height: 75%; }
  /* Pills stay but smaller */
  .ab-float-pill { font-size: 0.68rem; padding: 6px 12px; }
  .ab-float-pill--date   { left: 0; top: 36%; }
  .ab-float-pill--nation { right: 0; bottom: 28%; }
  /* Contact card full width */
  .ab-contact-card { width: 95%; padding: 14px 16px; }
  .ab-contact-card__heading { font-size: 1.15rem; }
  .ab-contact-card__row { font-size: 0.72rem; }

  /* ─ §3 Resume ─ */
  .ab-resume-section { padding: 36px 16px 0; }
  .ab-resume-section__inner { padding-bottom: 36px; }
  .ab-edu-heading { font-size: 2rem; }
  .ab-resume-top { grid-template-columns: 1fr; gap: 28px; }

  /* Exp card: full width, smaller bleed so §4 gap isn't huge */
  .ab-exp-card {
    width: 100%;
    margin-bottom: calc(-1 * clamp(120px,30vw,160px));
    padding: 22px 20px 20px;
    border-radius: 12px;
  }
  .ab-exp-heading { font-size: 1.9rem; }
  .ab-exp-tl .ab-tl-item strong { font-size: 1rem; }
  .ab-exp-tags span { font-size: 0.74rem; padding: 5px 12px; }

  /* Skills */
  .ab-resume-right { padding-left: 0; }
  .ab-ghost-resume { display: none; }
  .ab-skills-content { padding: 16px; }
  .ab-skills-heading { font-size: 1.8rem; }
  .ab-skills-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ab-sw-icon { width: 36px; height: 36px; font-size: 0.68rem; }
  .ab-spec-pills span { font-size: 0.78rem; padding: 8px 14px; }

  /* ─ §4 bottom ─ */
  .ab-bottom-section {
    padding-top: clamp(140px,32vw,180px);
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(44px + var(--footer-h));
  }
  .ab-resume-bottom { grid-template-columns: 1fr; gap: 32px; }
  .ab-bottom-heading { font-size: 1.8rem; }

  /* Activities */
  .ab-act-item { padding: 12px 14px; }
  .ab-act-item strong { font-size: 0.98rem; }
  .ab-act-item span   { font-size: 0.8rem; }

  /* Language */
  .ab-lang-cols { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ab-lang-item { padding: 12px 14px; }
  .ab-lang-item strong { font-size: 1.1rem; }

  /* Hobbies: 2×2 grid on mobile — readable */
  .ab-hobbies-row { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .ab-hobby__icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .ab-hobby__label { font-size: 0.72rem; }

  /* Hide extra decorative stars */
  .ab-bstar--c, .ab-bstar--e { display: none; }
  .ab-sparkles { display: none; }
}

/* ── Small mobile (≤480) ── */
@media (max-width: 480px) {
  .ab-hero__img-col { height: 60vw; }
  .ab-hero__title  { font-size: 2rem; }
  .ab-hero__repeat { font-size: 2rem; }
  .ab-reel-thumb { width: 50%; }

  .ab-hello__heading { font-size: 2rem; }
  .ab-hello__stats { gap: 10px; }
  .ab-stat-num { font-size: 2rem; }
  .ab-stat-lbl { font-size: 0.62rem; }

  .ab-skills-grid { grid-template-columns: 1fr; gap: 18px; }
  .ab-skills-col-label { font-size: 0.82rem; }

  .ab-bottom-section { padding-top: clamp(130px,34vw,170px); }
  .ab-bottom-heading { font-size: 1.6rem; }
  .ab-hobbies-row { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .ab-hobby__icon { width: 52px; height: 52px; font-size: 1.35rem; }
}



/* =================================================
   PAGE: WORKS
================================================= */
.works-page {
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.featured-works {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: calc(var(--footer-h) + 40px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.featured-works h1 {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Container */
.featured-container {
  position: relative;
  width: 1000px;
  height: 600px;
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Slide */
.featured-container .slide {
  position: relative;
  width: 100%; height: 100%;
}

/* Cards */
.featured-container .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 50px rgba(0,0,0,0.6);
  transition: 0.5s;
}

/* Active items (fill entire container) */
.featured-container .slide .item:nth-child(1),
.featured-container .slide .item:nth-child(2) {
  top: 0; left: 0;
  transform: none;
  width: 100%; height: 100%;
  border-radius: 0;
}

/* Stacking offsets */
.featured-container .slide .item:nth-child(3)    { left: 50%; }
.featured-container .slide .item:nth-child(4)    { left: calc(50% + 220px); }
.featured-container .slide .item:nth-child(5)    { left: calc(50% + 440px); }
.featured-container .slide .item:nth-child(n+6)  { left: calc(50% + 660px); opacity: 0; }

/* Content overlay */
.featured-container .item .content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  width: 300px;
  color: #fff;
  display: none;
}

.featured-container .slide .item:nth-child(2) .content {
  display: block;
}

/* Text animation */
.featured-container .content .name {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.featured-container .content .des {
  margin: 10px 0 20px;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}

.featured-container .content button {
  padding: 10px 20px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  opacity: 0;
  animation: fadeUp 1s 0.6s ease forwards;
  transition: background 0.25s ease;
}

.featured-container .content button:hover { background: #b61f44; }

/* Nav buttons inside slider */
.featured-container .button {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.featured-container .button button {
  width: 40px; height: 35px;
  margin: 0 5px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.featured-container .button button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(80px); filter: blur(20px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* =================================================
   MOBILE CAROUSEL
================================================= */

/* Desktop carousel — visible by default */
.desktop-carousel {
  display: block;
}

/* Mobile carousel — hidden by default */
.mobile-carousel {
  display: none;
}

@media (max-width: 767px) {

  /* Hide desktop carousel */
  .desktop-carousel {
    display: none !important;
  }

  /* Show mobile carousel */
  .mobile-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  /* Track */
  .mobile-carousel-track {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--secondary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  /* Each slide */
  .mobile-carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .mobile-carousel-item.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Gradient overlay */
  .mobile-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px 22px;
    background: linear-gradient(
      to top,
      rgba(13, 11, 20, 0.96) 0%,
      rgba(13, 11, 20, 0.5) 55%,
      transparent 100%
    );
    border-radius: 0 0 14px 14px;
  }

  .mobile-carousel-name {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .mobile-carousel-des {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }

  .mobile-carousel-content button {
    padding: 9px 22px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), #a0203f);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-carousel-content button:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-primary-lg);
  }

  /* Buttons row */
  .mobile-carousel-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .mobile-prev,
  .mobile-next {
    width: 38px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(219, 45, 86, 0.3);
    color: var(--text-light);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .mobile-prev:hover,
  .mobile-next:hover {
    background: rgba(219, 45, 86, 0.15);
    border-color: var(--primary);
  }

  .mobile-carousel-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    min-width: 40px;
    text-align: center;
  }
}


/* =================================================
   PAGE: COMMISSIONS
================================================= */
body.commissions-page {
  display: block;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
  overflow-y: auto;
  background: var(--bg-dark);
  color: var(--text-light);
}

body.commissions-page header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* — Layout — */
.page-layout {
  display: flex;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
}

.content-sections {
  margin-left: 220px;
  padding: 3rem 3rem 6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1000px;
}

/* — TOC sidebar — */
.toc {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 220px;
  height: calc(100vh - var(--header-h));
  background: linear-gradient(
    180deg,
    rgba(13, 11, 20, 0.98) 0%,
    rgba(18, 16, 30, 0.95) 100%
  );
  border-right: 1px solid rgba(219, 45, 86, 0.15);
  padding: 2rem 1.4rem;
  overflow-y: auto;
  z-index: 100;
}

.toc h3 {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(219, 45, 86, 0.2);
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 3rem;
}

.toc li {
  margin-bottom: 0.2rem;
}

.toc a {
  text-decoration: none;
  color: rgba(245, 230, 200, 0.45);
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.08);
  border-left-color: rgba(219, 45, 86, 0.4);
  transform: translateX(3px);
}

.toc li.visible > a {
  color: var(--text-light);
  background: rgba(219, 45, 86, 0.1);
  border-left-color: var(--primary);
}

.toc-marker {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

.toc-marker path {
  stroke: rgba(219, 45, 86, 0.3);
  stroke-width: 2;
  fill: transparent;
  transition: all 0.3s ease;
}

/* — Section base — */
.content-sections section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* Left accent line */
.content-sections section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--lavender) 100%);
  border-radius: 3px 0 0 3px;
  opacity: 0.6;
}

/* Section headings */
.content-sections section h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-light);
  margin: 0 0 0.25rem;
  padding-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}

.content-sections section h2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--lavender), transparent);
}

.content-sections section h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--lavender);
  margin: 1.2rem 0 0.6rem;
  letter-spacing: 0.03em;
}

/* Intro section overrides */
.section-intro {
  min-height: 70vh;
  justify-content: center;
  align-items: flex-start;
  border: none !important;
  background: transparent !important;
}

.section-intro::before { display: none; }

.intro-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.intro-box h1 {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0 0 1.2rem;
  color: var(--text-light);
}

.h1-accent { color: var(--primary); display: block; }

.intro-box .description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.intro-box .description strong { color: var(--text-light); }

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* — Cards — */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 1.2rem;
  flex: 1 1 200px;
  max-width: 260px;
  min-width: 160px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 45, 86, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card:hover::after { opacity: 1; }

.card-title {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 0.8rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: rgba(255,255,255,0.03);
}

/* Price list */
.prices {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prices li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.prices li:last-child { border-bottom: none; }

.prices li span:last-child {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.85rem;
}

/* — Price table (additional) — */
.price-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  transition: background 0.2s ease;
}

.price-row:hover { background: rgba(219, 45, 86, 0.06); }
.price-label { font-size: 0.88rem; color: var(--text-muted); }
.price-value { font-size: 0.88rem; font-weight: 600; color: var(--yellow); }

.price-note {
  font-size: 0.8rem;
  color: var(--lavender);
  margin-top: 0.8rem;
  font-style: italic;
  opacity: 0.8;
}

/* — Additional big buttons — */
.additional-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.big-button {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2rem;
  background: rgba(219, 45, 86, 0.08);
  border: var(--border-primary);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.big-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), #a0203f);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.big-button:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(219, 45, 86, 0.3);
}

.big-button:hover::before { opacity: 0.15; }

.big-button-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.big-button-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

.big-button-status.closed {
  background: rgba(224, 82, 82, 0.15);
  border: 1px solid rgba(224, 82, 82, 0.3);
  color: #e05252;
}

.big-button-status.open {
  background: rgba(82, 224, 122, 0.15);
  border: 1px solid rgba(82, 224, 122, 0.3);
  color: #52e07a;
}

/* — Do's & Don'ts — */
.dos-donts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dos-container,
.donts-container,
.exceptions-container {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  border-radius: 14px;
  padding: 1.4rem;
  color: var(--text-muted);
}

.dos-container   { border-top: 2px solid rgba(82, 224, 122, 0.3); }
.donts-container { border-top: 2px solid rgba(224, 82, 82, 0.3); }
.exceptions-container {
  grid-column: span 2;
  border-top: 2px solid rgba(155, 142, 196, 0.3);
  font-size: 0.88rem;
}

.dos-container h3,
.donts-container h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin: 0 0 0.8rem;
  color: var(--text-light);
}

.exceptions-container h4 {
  font-size: 0.88rem;
  color: var(--lavender);
  margin: 0 0 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.check { color: #52e07a; font-size: 1rem; }
.cross  { color: #e05252; font-size: 1rem; }

.dos-container ul,
.donts-container ul,
.exceptions-container ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dos-container li,
.donts-container li,
.exceptions-container li {
  font-size: 0.85rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.dos-container li:last-child,
.donts-container li:last-child,
.exceptions-container li:last-child { border-bottom: none; }

/* — Process steps — */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  background: rgba(219, 45, 86, 0.06);
  border-color: rgba(219, 45, 86, 0.2);
}

.step-num {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--primary);
  opacity: 0.5;
  min-width: 36px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.step:hover .step-num { opacity: 1; }

.step-text { display: flex; flex-direction: column; gap: 2px; }
.step-text strong { font-size: 0.92rem; color: var(--text-light); font-weight: 600; }
.step-text span   { font-size: 0.8rem;  color: var(--text-muted); }

/* — Terms list — */
.terms-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terms-list li {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid rgba(219, 45, 86, 0.3);
  line-height: 1.6;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.terms-list li:hover {
  background: rgba(219, 45, 86, 0.05);
  border-left-color: var(--primary);
  color: var(--text-light);
}

/* — FAQ — */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  background: rgba(219, 45, 86, 0.05);
  border-color: rgba(219, 45, 86, 0.2);
}

.faq-item dt {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* — Order section — */
.section-order p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.order-links {
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-links li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  transition: background 0.2s ease;
}

.order-links li:hover { background: rgba(219, 45, 86, 0.06); }

.order-platform {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
  min-width: 80px;
  flex-shrink: 0;
}

.order-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.order-links a:hover { color: var(--yellow); }

.order-template h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--lavender);
  margin-bottom: 0.8rem;
}

.order-template pre {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(155, 142, 196, 0.12);
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  overflow-x: auto;
  font-family: monospace;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 2;
}


/* =================================================
   PAGE: CONTACT
================================================= */
.contact-page {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: calc(var(--footer-h) + 4rem);
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  color: var(--text-light);
}

.contact-avatar {
  width: 105px; height: 105px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--secondary);
  display: block;
  box-shadow: var(--glow-primary);
}

.contact-name {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.contact-handle {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.contact-handle:hover { color: var(--yellow); }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: block;
  padding: 1rem;
  border: 1px solid var(--secondary);
  text-decoration: none;
  color: var(--text-light);
  background: rgba(255,255,255,0.02);
  font-family: var(--font-body);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.contact-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(219, 45, 86, 0.05);
}

/* Bottom glow sweep */
.contact-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.contact-link:hover::after { width: 100%; }

.contact-mail { margin-top: 1rem; }

.contact-email {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email:hover { color: var(--yellow); }


/* =================================================
   RESPONSIVE — GLOBAL BREAKPOINTS (MERGED CLEAN)
================================================= */


/* ================================================
   NAV — GLOBAL
================================================ */
.nav {
  position: fixed;
  bottom: calc(var(--footer-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 500;
}

.nav button {
  background: var(--secondary);
  color: var(--text-light);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
}

.nav button:hover {
  background: var(--primary);
  transform: scale(1.1);
}


/* ================================================
   ≥ 1200px (Large Desktop)
================================================ */
@media (min-width: 1200px) {

  .scene {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
  }

  .book-wrapper {
    margin: 0 auto;
    transform: translateY(-30px);
    transform-origin: center top;
  }

  .book-container {
    width: 560px;
    height: 660px;
  }

  .menu__footer { display: none !important; }
}


/* ================================================
   1020px – 1199px (Tablet Landscape)
================================================ */
@media (min-width: 1020px) and (max-width: 1199px) {

  .scene {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 140px 140px;
  }

  .book-wrapper {
    transform: translateY(180px);
    transform-origin: center top;
  }

  .book-container {
    width: 420px;
    height: 520px;
  }

  .menu__footer { display: none !important; }
}


/* ================================================
   768px – 1019px (Tablet Portrait)
================================================ */
@media (min-width: 768px) and (max-width: 1019px) {

  .scene {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 140px 140px;
  }

  .book-wrapper {
    transform: translateY(-70px);
    transform-origin: center top;
  }

  .book-container {
    width: 520px;
    height: 620px;
  }

  /* Header */
  .menu-toggle { display: block; }
  .header-nav  { display: none; }

  .menu__btn {
    position: fixed;
    top: 30px;
    right: 35px;
  }

  /* Footer */
  footer { display: block; }

  .footer-bar {
    grid-template-columns: auto 1fr auto;
    height: var(--footer-h);
  }

  .menu__footer { display: none !important; }

  /* About */
  .intro-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .intro-video {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 750px;
    padding-left: 0;
  }

  .intro-video iframe {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .intro-image { width: 260px; }

  .intro-info {
    transform: none;
    align-items: center;
    max-width: 500px;
  }

  .intro-info h2 { font-size: 2.6rem; }

  .about-page .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-left h1   { font-size: 2.6rem; }
  .image-card img { width: 240px; }

  .content-grid {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-bottom { padding: 40px 20px; }

  /* Works */
  .featured-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }

  .featured-container .slide .item {
    width: 160px;
    height: 240px;
  }

  .featured-container .item .content {
    width: 220px;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }

  .featured-container .content .name {
    font-size: 28px;
    text-align: center;
  }

  /* Commissions */
  .content-sections {
    margin-left: 200px;
    padding: 2rem;
  }

  .cards,
  .additional-buttons {
    justify-content: center;
  }

  .big-button { max-width: 45%; }

  .dos-donts-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-name { font-size: 1.8rem; }
  .contact-link { padding: 0.95rem; }
}


/* ================================================
   ≤ 767px (Mobile)
================================================ */
@media (max-width: 767px) {

  :root {
    --header-h: 56px;
    --footer-h: 0px;
  }

  /* Header */
  .menu-toggle    { display: block; }
  .header-nav     { display: none; }
  .logo           { display: none; }
  .header-marquee { display: flex; }

  header {
    height: 56px;
    padding: 0;
    padding-top: var(--marquee-h);
  }

  .menu__btn {
    position: fixed;
    top: calc(var(--marquee-h) + 8px);
    right: 20px;
  }

  /* Footer */
  footer { display: none; }

  /* Menu panel */
  .menu__box {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 0;
    overflow-y: auto;
  }

  .menu__box li:nth-last-child(2) {
    margin-bottom: auto;
  }

  /* Menu footer strip */
  .menu__footer {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 16px 16px 24px;
    margin: 0;
    background: rgba(13, 11, 20, 0.6);
    border-top: 1px solid rgba(219, 45, 86, 0.28);
    list-style: none;
  }

  .menu__footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(219, 45, 86, 0.35));
  }

  .menu__footer-socials {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
  }

  .menu__footer-socials a {
    color: rgba(245, 230, 200, 0.8);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(219, 45, 86, 0.28);
    background: rgba(219, 45, 86, 0.08);
    transition: 0.2s ease;
  }

  .menu__footer-socials a:hover {
    color: var(--text-light);
    background: rgba(219, 45, 86, 0.2);
    border-color: rgba(219, 45, 86, 0.5);
  }

  .menu__footer-copy {
    color: rgba(245, 230, 200, 0.4);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    margin: 0;
  }

  /* About */
  .intro-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .intro-video {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
  }

  .intro-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .intro-image   { width: 220px; }
  .intro-info    { transform: none; align-items: center; max-width: 100%; }
  .intro-info h2 { font-size: 2.3rem; }

  .bg-text { font-size: 5.5rem; }

  .about-page .hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 24px 40px;
    gap: 30px;
  }

  .hero-left h1   { font-size: 2.3rem; }
  .image-card img { width: 220px; }

  .content { padding: 40px 24px; }

  .content-grid {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .about-bottom { padding: 40px 24px; min-height: auto; }

/* Works — mobile layout */
  body.works-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .featured-works {
    flex: 1;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .featured-works h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-align: center;
    width: 100%;
  }

  /* Hide desktop carousel entirely on mobile */
  .desktop-carousel {
    display: none !important;
  }

  /* Show mobile carousel on mobile */
  .mobile-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  /* Track — the visible slide area */
  .mobile-carousel-track {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--secondary);
    border: var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  /* Each slide */
  .mobile-carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .mobile-carousel-item.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Gradient overlay */
  .mobile-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 22px 24px;
    background: linear-gradient(
      to top,
      rgba(13, 11, 20, 0.97) 0%,
      rgba(13, 11, 20, 0.6) 50%,
      transparent 100%
    );
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .mobile-carousel-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
  }

  .mobile-carousel-des {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
  }

  .mobile-carousel-content button {
    margin-top: 10px;
    padding: 9px 22px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), #a0203f);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-carousel-content button:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-primary-lg);
  }

  /* Controls row */
  .mobile-carousel-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 4px 0;
  }

  .mobile-prev,
  .mobile-next {
    width: 40px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(219, 45, 86, 0.3);
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .mobile-prev:hover,
  .mobile-next:hover {
    background: rgba(219, 45, 86, 0.15);
    border-color: var(--primary);
  }

  .mobile-carousel-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  /* Remove old desktop carousel overrides — no longer needed */
  .featured-container,
  .featured-container .slide,
  .featured-container .slide .item,
  .featured-container .slide .item .content,
  .featured-container .content .name,
  .featured-container .content .des,
  .featured-container .content button,
  .featured-container .button {
    all: unset;
    display: none !important;
  }

  /* Commissions */
  .toc { display: none; }

  .content-sections {
    margin-left: 0;
    padding: 1.5rem;
  }

  .content-sections section { padding: 1.5rem; }

  .dos-donts-grid       { grid-template-columns: 1fr; }
  .exceptions-container { grid-column: span 1; }

  .cards {
    flex-direction: column;
    align-items: stretch;
  }

  .card { max-width: 100%; }

  .additional-buttons {
    flex-direction: column;
    align-items: center;
  }

  .big-button {
    width: 90%;
    max-width: 100%;
  }

  /* Contact */
  .contact-name { font-size: 1.6rem; }
  .contact-link { padding: 0.9rem; }
}


/* ================================================
   ≤ 450.98px (Flipbook Mobile Mode)
================================================ */
@media (max-width: 450.98px) {

  body { overflow: hidden; }

  .scene {
    perspective: 1800px;
    width: 100%;
    height: calc(100vh - 80px - 50px);
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }

  .book-wrapper {
    flex-shrink: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;

    transform: scale(
      min(
        1,
        (100vw - 40px) / 560,
        (100vh - 80px - 50px - 120px) / 660
      )
    );

    transform-origin: center top;
  }

  .book-container {
    width: 373px;
    height: 440px;
    transition: transform 0.6s ease;
  }

  .bookmarks {
    position: absolute;
    top: 50%;
    transform: translateY(-142%) translateX(-190%) rotate(270deg);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    bottom: 60px;
  }

  .menu__btn {
    position: fixed;
    top: calc(var(--marquee-h) + 8px);
    right: 35px;
    width: 28px;
    height: 28px;
  }
}


/* ================================================
   ≤ 480px (Small Mobile Tweaks)
================================================ */
@media (max-width: 480px) {

  /* About */
  .intro-image    { width: 180px; }
  .intro-info h2  { font-size: 2rem; }
  .hero-left h1   { font-size: 2rem; }
  .image-card img { width: 180px; }

  /* Commissions */
  .intro-box h1           { font-size: 2.2rem; }
  .intro-box .description { font-size: 0.95rem; }

  .big-button { width: 95%; padding: 1.5rem; }

  /* Works — do NOT override carousel here, handled in ≤767px */
  .featured-container .slide .item {
    width: 100% !important;
    height: 100% !important;
  }

  /* Contact */
  .contact-avatar { width: 90px; height: 90px; }
  .contact-name   { font-size: 1.4rem; }
  .contact-link   { font-size: 0.9rem; }
}

/* =================================================
   CUSTOM SCROLLBAR
   Pink thumb · lavender hover · dark track
================================================= */

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-left: 1px solid rgba(155, 142, 196, 0.06);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary)   0%,
    #a0203f          50%,
    var(--lavender)  100%
  );
  border-radius: 999px;
  border: 2px solid var(--bg-dark);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #e8365f          0%,
    var(--primary)   40%,
    #b8aadc          100%
  );
}

::-webkit-scrollbar-corner {
  background: var(--bg-dark);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-dark);
}


/* =================================================
   SCROLL REVEAL SYSTEM
   Add class="reveal" to any element.
   JS IntersectionObserver adds .visible when in view.
   Variants: reveal--left  reveal--right  reveal--scale
================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay helpers */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* Variant: slide from left */
.reveal--left {
  transform: translateX(-32px) translateY(0);
}
.reveal--left.visible {
  transform: translateX(0);
}

/* Variant: slide from right */
.reveal--right {
  transform: translateX(32px) translateY(0);
}
.reveal--right.visible {
  transform: translateX(0);
}

/* Variant: scale up */
.reveal--scale {
  transform: scale(0.92) translateY(20px);
}
.reveal--scale.visible {
  transform: scale(1) translateY(0);
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =================================================
   AMBIENT STAR FIELD
   .page-stars wrapper — purely decorative ✦ layer.
   Add <div class="page-stars" aria-hidden="true"></div>
   right after <body> open on any scrollable page.
   Stars are injected by JS (see scripts.js).
================================================= */
.page-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-star {
  position: absolute;
  color: var(--yellow);
  font-size: 0.7rem;
  opacity: 0;
  animation: pstar-drift linear infinite;
  user-select: none;
  will-change: transform, opacity;
}

@keyframes pstar-drift {
  0%   { opacity: 0;    transform: translate(0, 0)      rotate(0deg)   scale(0.7); }
  15%  { opacity: var(--star-peak, 0.35); }
  85%  { opacity: var(--star-peak, 0.35); }
  100% { opacity: 0;    transform: translate(var(--dx, 0px), var(--dy, -60px)) rotate(var(--dr, 45deg)) scale(1.2); }
}


/* =================================================
   ABOUT PAGE — EXTRA DECORATIVE STARS
   Hand-placed ✦ in hero, §2 hello, §3 resume bg
================================================= */

/* ── §1 Hero extra stars ── */
.ab-hero-star {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  animation: ab-hstar-pulse linear infinite;
  opacity: 0;
}

.ab-hero-star--1 { top: 8%;  left: 52%; font-size: 0.9rem; color: var(--yellow);   animation-duration: 5.5s; animation-delay: -1s; }
.ab-hero-star--2 { top: 22%; left: 68%; font-size: 0.55rem;color: var(--lavender); animation-duration: 7s;   animation-delay: -3s; }
.ab-hero-star--3 { top: 45%; left: 80%; font-size: 1.1rem; color: var(--yellow);   animation-duration: 6s;   animation-delay: -0.5s; }
.ab-hero-star--4 { top: 70%; left: 60%; font-size: 0.65rem;color: rgba(245,230,200,0.55); animation-duration: 8s; animation-delay: -2s; }
.ab-hero-star--5 { top: 15%; left: 90%; font-size: 0.75rem;color: var(--primary);  animation-duration: 4.5s; animation-delay: -4s; }
.ab-hero-star--6 { top: 55%; left: 74%; font-size: 0.5rem; color: var(--lavender); animation-duration: 9s;   animation-delay: -1.5s; }

@keyframes ab-hstar-pulse {
  0%,100% { opacity: 0;    transform: scale(0.7) rotate(0deg);   }
  20%      { opacity: 0.7;  transform: scale(1.2) rotate(22deg);  }
  50%      { opacity: 0.4;  transform: scale(1)   rotate(45deg);  }
  80%      { opacity: 0.65; transform: scale(1.15) rotate(70deg); }
}

/* ── §2 Hello extra stars ── */
.ab-hello-star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: ab-hstar-pulse linear infinite;
  opacity: 0;
}

.ab-hello-star--1 { top: 6%;  left: 2%;  font-size: 1rem;  color: var(--yellow);   animation-duration: 6s;   animation-delay: -0.5s; }
.ab-hello-star--2 { top: 30%; left: 95%; font-size: 0.6rem; color: var(--lavender); animation-duration: 8.5s; animation-delay: -2s; }
.ab-hello-star--3 { top: 55%; left: 7%;  font-size: 0.75rem;color: var(--primary);  animation-duration: 5s;   animation-delay: -3.5s; }
.ab-hello-star--4 { top: 80%; left: 90%; font-size: 0.55rem;color: var(--yellow);   animation-duration: 7.5s; animation-delay: -1s; }
.ab-hello-star--5 { top: 14%; left: 50%; font-size: 0.5rem; color: rgba(245,230,200,0.45); animation-duration: 9s; animation-delay: -4s; }

/* ── §3 Resume extra stars ── */
.ab-resume-star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: ab-hstar-pulse linear infinite;
  opacity: 0;
}

.ab-resume-star--1 { top: 4%;  right: 4%;  font-size: 0.9rem;  color: var(--yellow);   animation-duration: 5s;  animation-delay: -1s; }
.ab-resume-star--2 { top: 18%; left: 48%;  font-size: 0.55rem; color: var(--lavender); animation-duration: 7s;  animation-delay: -2s; }
.ab-resume-star--3 { top: 40%; right: 12%; font-size: 0.7rem;  color: var(--primary);  animation-duration: 6s;  animation-delay: -0.5s; }
.ab-resume-star--4 { top: 62%; left: 55%;  font-size: 0.5rem;  color: var(--yellow);   animation-duration: 9s;  animation-delay: -3s; }
.ab-resume-star--5 { top: 78%; right: 40%; font-size: 0.8rem;  color: rgba(245,230,200,0.4); animation-duration: 5.5s; animation-delay: -4s; }
.ab-resume-star--6 { top: 10%; left: 28%;  font-size: 0.45rem; color: var(--lavender); animation-duration: 8s;  animation-delay: -1.5s; }

/* ── Extra §4 bstars (f–h) ── */
.ab-bstar--f { top: 30%; right: 3%;  font-size: 0.6rem;  color: var(--primary);  animation-delay: 1s;   animation-duration: 6s; }
.ab-bstar--g { top: 55%; left: 55%;  font-size: 1rem;    color: var(--yellow);   animation-delay: 3.5s; animation-duration: 7s; }
.ab-bstar--h { top: 85%; left: 18%;  font-size: 0.5rem;  color: var(--lavender); animation-delay: 0.3s; animation-duration: 5s; }


/* =================================================
   NDA GATE — PASSWORD PROTECTION
   Styles for works/project-nda.html
================================================= */

/* Hide content until unlocked */
.nda-content { display: none; }

/* Full-screen gate overlay */
.nda-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.nda-gate.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }

.nda-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(219, 45, 86, 0.12) 0%, rgba(155, 142, 196, 0.06) 50%, transparent 75%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(246, 226, 122, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating star background */
.nda-gate__stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.nda-gate__star {
  position: absolute;
  color: var(--yellow);
  opacity: 0;
  animation: nda-star-float linear infinite;
  font-size: 0.65rem;
  user-select: none;
}

@keyframes nda-star-float {
  0%   { opacity: 0;   transform: translate(0, 0) rotate(0deg) scale(0.7); }
  15%  { opacity: 0.4; }
  85%  { opacity: 0.4; }
  100% { opacity: 0;   transform: translate(var(--sdx, 0px), var(--sdy, -60px)) rotate(var(--sdr, 45deg)) scale(1.15); }
}

/* Gate card */
.nda-gate__card {
  position: relative;
  z-index: 2;
  width: min(460px, 90vw);
  padding: 52px 48px 44px;
  background: rgba(18, 16, 30, 0.92);
  border: 1px solid rgba(219, 45, 86, 0.25);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(155, 142, 196, 0.06), 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(219, 45, 86, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  animation: nda-card-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes nda-card-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.nda-gate__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender), var(--yellow));
  border-radius: 24px 24px 0 0;
}

.nda-gate__card::after {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(219, 45, 86, 0.18) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}

/* Lock icon */
.nda-gate__lock {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(219, 45, 86, 0.2), rgba(155, 142, 196, 0.1));
  border: 1px solid rgba(219, 45, 86, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 20px rgba(219, 45, 86, 0.2);
  animation: nda-lock-pulse 3s ease-in-out infinite;
}

@keyframes nda-lock-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(219, 45, 86, 0.2); }
  50%       { box-shadow: 0 0 36px rgba(219, 45, 86, 0.45), 0 0 60px rgba(219, 45, 86, 0.1); }
}

.nda-gate__title {
  font-family: var(--font-title);
  font-size: 2.6rem;
  line-height: 1.05;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--yellow) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(219, 45, 86, 0.3));
}

.nda-gate__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 32px;
  line-height: 1.6;
}

/* Input row */
.nda-gate__input-row { display: flex; gap: 10px; margin-bottom: 16px; }

.nda-gate__input {
  flex: 1;
  background: rgba(13, 11, 20, 0.8);
  border: 1px solid rgba(155, 142, 196, 0.2);
  border-radius: 10px;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nda-gate__input::placeholder { color: rgba(245, 230, 200, 0.25); letter-spacing: 0.06em; }
.nda-gate__input:focus { border-color: rgba(219, 45, 86, 0.5); box-shadow: 0 0 0 3px rgba(219, 45, 86, 0.1), 0 0 16px rgba(219, 45, 86, 0.15); }

.nda-gate__input.shake {
  animation: nda-shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  border-color: rgba(219, 45, 86, 0.7) !important;
}

@keyframes nda-shake {
  0%, 100% { transform: translateX(0); }
  15%  { transform: translateX(-7px); }
  30%  { transform: translateX(6px); }
  45%  { transform: translateX(-5px); }
  60%  { transform: translateX(4px); }
  75%  { transform: translateX(-3px); }
  90%  { transform: translateX(2px); }
}

.nda-gate__btn {
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--primary), #a0203f);
  border: none;
  border-radius: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: var(--glow-primary);
  transition: transform 0.22s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.22s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nda-gate__btn:hover { transform: scale(1.07) translateY(-1px); box-shadow: var(--glow-primary-lg); }
.nda-gate__btn:active { transform: scale(0.97); }

.nda-gate__error {
  font-size: 0.78rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  min-height: 1.2em;
  transition: opacity 0.25s ease;
  opacity: 0;
  margin-bottom: 20px;
}

.nda-gate__error.visible { opacity: 1; }

.nda-gate__back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s ease; margin-top: 4px; }
.nda-gate__back::before { content: "←"; }
.nda-gate__back:hover { color: var(--lavender); }

/* Corner deco stars */
.nda-gate__deco { position: absolute; color: var(--yellow); pointer-events: none; animation: nda-deco-spin 8s linear infinite; opacity: 0.5; }
.nda-gate__deco--tl { top: 18px; left: 20px; font-size: 1rem; }
.nda-gate__deco--br { bottom: 18px; right: 20px; font-size: 0.7rem; animation-direction: reverse; color: var(--lavender); }
.nda-gate__deco--tr { top: 20px; right: 22px; font-size: 0.55rem; animation-duration: 5s; color: rgba(245,230,200,0.4); }

@keyframes nda-deco-spin {
  from { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.4); opacity: 0.8; }
  to   { transform: rotate(360deg) scale(1); }
}

/* NDA content (revealed after unlock) */
.nda-content {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: calc(var(--footer-h) + 4rem);
  max-width: 900px;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  color: var(--text-light);
  animation: nda-content-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes nda-content-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nda-content__back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 2.5rem; transition: color 0.2s ease; }
.nda-content__back::before { content: "←"; font-size: 1rem; }
.nda-content__back:hover { color: var(--primary); }

.nda-content__header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(219, 45, 86, 0.2); }

.nda-content__eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lavender); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.nda-content__eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(155, 142, 196, 0.3), transparent); max-width: 120px; }

.nda-content__title { font-family: var(--font-title); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 1rem; }
.nda-content__title span { color: var(--primary); }

.nda-content__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.2rem; }
.nda-content__tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavender); background: rgba(155, 142, 196, 0.1); border: 1px solid rgba(155, 142, 196, 0.2); padding: 4px 12px; border-radius: 50px; }

.nda-content__desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.85; max-width: 560px; }

.nda-placeholder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }

.nda-placeholder-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nda-placeholder-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(219, 45, 86, 0.04), rgba(155, 142, 196, 0.04)); }
.nda-placeholder-item:hover { border-color: rgba(219, 45, 86, 0.2); background: rgba(219, 45, 86, 0.03); }
.nda-placeholder-item span { font-size: 2rem; opacity: 0.25; }

.nda-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(155, 142, 196, 0.06);
  border: 1px solid rgba(155, 142, 196, 0.18);
  border-left: 3px solid var(--lavender);
  border-radius: 12px;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.nda-notice__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; color: var(--lavender); }
.nda-notice strong { color: var(--text-light); }

@media (max-width: 767px) {
  .nda-gate__card { padding: 36px 24px 32px; }
  .nda-gate__title { font-size: 2rem; }
  .nda-gate__input-row { flex-direction: column; }
  .nda-gate__btn { width: 100%; }
  .nda-placeholder-grid { grid-template-columns: 1fr 1fr; }
}



/* =================================================
   ABOUT PAGE — DEMO REEL
   Native video player, bigger, centered in photo col.
   Floating pills float off left/right edges.
================================================= */

/* — Wrap: relative parent for pills — */
.ab-reel-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 75%, 340px);
  z-index: 5;
  overflow: visible;
}

/* — Video — */
.ab-reel-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.7),
    0 0 0 2px rgba(219,45,86,0.45),
    0 0 24px rgba(219,45,86,0.25);
  background: #000;
  object-fit: cover;
}

/* — Floating pills — relative to .ab-hero__img-col — */
.ab-reel-pill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--yellow);
  color: var(--bg-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(246,226,122,0.45), 0 0 0 2px rgba(246,226,122,0.2);
  animation: ab-pill-float 3s ease-in-out infinite;
  z-index: 10;
}

.ab-reel-pill--left {
  left: 12px; /* inside left edge of img-col */
  animation-delay: 0s;
}

.ab-reel-pill--right {
  right: 12px; /* inside right edge of img-col */
  background: var(--lavender);
  color: var(--bg-dark);
  box-shadow: 0 4px 16px rgba(155,142,196,0.45), 0 0 0 2px rgba(155,142,196,0.2);
  animation-delay: 1.5s;
}

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

/* Responsive */
@media (min-width: 768px) and (max-width: 1019px) {
  .ab-reel-wrap { width: clamp(180px, 60%, 260px); }
  .ab-reel-pill { font-size: 0.65rem; padding: 8px 12px; }
}
@media (max-width: 767px) {
  .ab-reel-wrap { width: clamp(160px, 60%, 240px); }
  .ab-reel-pill { display: none; } /* pills hidden on mobile — too tight */
}


/* =================================================
   ABOUT PAGE — DOWNLOAD BUTTONS + PASSWORD MODAL
   Resume and Certificates PDF downloads.
   Password protected via a mini NDA-style modal.
================================================= */

/* =================================================
   ABOUT PAGE — DOWNLOAD PILLS + PASSWORD MODAL
   Compact pill buttons above Activities in §4.
   Password protected via a mini NDA-style modal.
================================================= */

/* — Pill row — */
.ab-dl-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* — Individual pill — */
.ab-dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(219,45,86,0.1);
  border: 1px solid rgba(219,45,86,0.35);
  border-radius: 999px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-dl-pill:hover {
  background: rgba(219,45,86,0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.ab-dl-pill--lavender {
  background: rgba(155,142,196,0.1);
  border-color: rgba(155,142,196,0.35);
}

.ab-dl-pill--lavender:hover {
  background: rgba(155,142,196,0.2);
  border-color: var(--lavender);
  box-shadow: 0 0 18px rgba(155,142,196,0.3);
}

/* — Modal overlay — */
.ab-dl-modal {
  position: fixed;
  inset: 0;
  z-index: 99999; /* must be above all section stacking contexts */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ab-dl-modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop */
.ab-dl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,5,14,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Card */
.ab-dl-modal__card {
  position: relative;
  z-index: 2;
  width: min(380px, 90vw);
  padding: 40px 36px 32px;
  background: rgba(18,16,30,0.96);
  border: 1px solid rgba(219,45,86,0.25);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(219,45,86,0.08);
  backdrop-filter: blur(16px);
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}

.ab-dl-modal.open .ab-dl-modal__card {
  transform: translateY(0) scale(1);
}

/* Top gradient bar */
.ab-dl-modal__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lavender), var(--yellow));
  border-radius: 20px 20px 0 0;
}

/* Corner deco stars */
.ab-dl-modal__deco {
  position: absolute;
  color: var(--yellow);
  pointer-events: none;
  animation: nda-deco-spin 8s linear infinite;
  opacity: 0.45;
  font-size: 0.8rem;
}
.ab-dl-modal__deco--tl { top: 14px; left: 16px; }
.ab-dl-modal__deco--br { bottom: 14px; right: 16px; color: var(--lavender); animation-direction: reverse; font-size: 0.6rem; }

/* Lock icon */
.ab-dl-modal__lock {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

/* Title */
.ab-dl-modal__title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-light);
  margin: 0 0 4px;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub label (shows which file) */
.ab-dl-modal__sub {
  font-size: 0.75rem;
  color: var(--lavender);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

/* Input row */
.ab-dl-modal__input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.ab-dl-modal__input {
  flex: 1;
  background: rgba(13,11,20,0.8);
  border: 1px solid rgba(155,142,196,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ab-dl-modal__input:focus {
  border-color: rgba(219,45,86,0.5);
  box-shadow: 0 0 0 3px rgba(219,45,86,0.1);
}

.ab-dl-modal__input.shake {
  animation: nda-shake 0.45s cubic-bezier(0.36,0.07,0.19,0.97);
  border-color: rgba(219,45,86,0.7) !important;
}

.ab-dl-modal__btn {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), #a0203f);
  border: none;
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--glow-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.ab-dl-modal__btn:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-primary-lg);
}

/* Error */
.ab-dl-modal__error {
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  min-height: 1.1em;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-bottom: 16px;
}

.ab-dl-modal__error.visible { opacity: 1; }

/* Cancel link */
.ab-dl-modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
}

.ab-dl-modal__close:hover { color: var(--lavender); }


/* =================================================
   ABOUT PAGE — VINYL RECORD PLAYER
================================================= */
.ab-vinyl-player {
  position: relative;
  margin-top: 40px;
  margin-bottom: calc(-1 * clamp(160px, 18vw, 210px));
  margin-left: 10%;
  margin-right: -200px;
  overflow: visible;
  z-index: 15;
  pointer-events: auto;
  cursor: pointer;
}
.ab-vinyl-label { margin-bottom: 6px; }
.ab-vinyl-label__title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(219,45,86,0.5);
}
.ab-vinyl-label__sub {
  display: block;
  font-size: 0.52rem;
  color: var(--yellow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.ab-vinyl-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  overflow: visible;
}
.ab-vinyl-cover {
  position: relative;
  display: block;
  width: 260px !important;
  max-width: none !important;
  height: 260px !important;
  object-fit: cover;
  border-radius: 4px;
  z-index: 999;
  background: linear-gradient(135deg, #1a1829 0%, #0d0b14 100%);
  border: 1px solid rgba(219,45,86,0.3);
  box-shadow: 0 8px 28px rgba(0,0,0,0.9);
}
.ab-vinyl-disc {
  position: absolute;
  width: auto !important;
  max-width: none !important;
  height: 240px !important;
  left: -120px;
  top: 10px;
  z-index: 800;
  filter: drop-shadow(-3px 1px 6px rgba(0,0,0,1));
  -webkit-animation: spin 4s linear infinite;
     -moz-animation: spin 4s linear infinite;
          animation: spin 4s linear infinite;
}
@-moz-keyframes spin {
  100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.ab-vinyl-disc:hover {
  -webkit-animation: none;
          animation: none;
}
.ab-vinyl-cover__gloss {
  position: absolute;
  top: 0; left: 0;
  width: 260px !important;
  height: 260px !important;
  z-index: 1000;
  border-radius: 4px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.03) 40%,
    transparent 60%,
    rgba(255,255,255,0.04) 100%
  );
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.16),
    inset -1px -1px 0 rgba(0,0,0,0.1);
}
@media (prefers-reduced-motion: reduce) {
  .ab-vinyl-disc { -webkit-animation: none; animation: none; }
}
@media (min-width: 768px) and (max-width: 1019px) {
  .ab-vinyl-player { margin-left: 10%; margin-right: -160px; }
}
@media (max-width: 767px) {
  .ab-vinyl-player { display: none; }
}
/* Vinyl link wrapper */
.ab-vinyl-link {
  display: block;
  text-decoration: none;
  overflow: visible;
}

/* Hover: disc spins faster, cover lifts slightly */
.ab-vinyl-link:hover .ab-vinyl-disc {
  -webkit-animation: spin 1.2s linear infinite;
          animation: spin 1.2s linear infinite;
  filter: drop-shadow(-3px 1px 12px rgba(219,45,86,0.7));
}

.ab-vinyl-link:hover .ab-vinyl-cover {
  box-shadow:
    0 12px 36px rgba(0,0,0,0.95),
    0 0 0 2px rgba(219,45,86,0.6),
    0 0 28px rgba(219,45,86,0.4);
  transform: translateY(-4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-vinyl-link:hover .ab-vinyl-label__sub {
  color: var(--primary);
  opacity: 1;
}