/* ================================================
   Cici Model Portfolio — Design System v2
   Direction: Minimal Editorial / Sage & Charcoal
   Palette: #222222 charcoal | #C2D8C4 sage | #F8FAF8 bg
   Typography: DM Serif Display (headings) + Inter (body)
   ================================================ */

/* ── Self-hosted Fonts ────────────────────────── */
@font-face {
  font-family: 'DM Serif Display';
  src: url('../assets/fonts/DMSerifDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../assets/fonts/DMSerifDisplay-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* ── CSS Custom Properties ──────────────────── */
:root {
  /* Palette — Dark Charcoal + Sage */
  --color-bg:           #222222;
  --color-surface:      #2d2d2d;
  --color-text:         #F5F7F5;
  --color-text-muted:   rgba(245, 247, 245, 0.6);
  --color-text-dim:     rgba(245, 247, 245, 0.35);
  --color-complement:   #C2D8C4;   /* sage on dark — main accent */
  --color-gold:         #C2D8C4;
  --color-white:        #FFFFFF;
  --color-error:        #ff7070;
  --color-placeholder:  #2f2f2f;
  --color-placeholder-text: rgba(245, 247, 245, 0.25);
  --color-border:       rgba(245, 247, 245, 0.08);
  --color-border-gold:  rgba(194, 216, 196, 0.2);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 60px;

  /* Transitions */
  --transition-fast:       150ms ease;
  --transition-medium:     300ms ease;
  --transition-slow:       600ms ease;
  --transition-crossfade:  800ms ease-in-out;

  /* Type scale */
  --font-size-hero:       clamp(56px, 7vw, 110px);
  --font-size-page-title: clamp(40px, 5vw, 72px);
  --font-size-h2:         clamp(28px, 3.5vw, 48px);
  --font-size-h3:         clamp(20px, 2.5vw, 28px);
  --font-size-body:       16px;
  --font-size-body-sm:    14px;
  --font-size-caption:    12px;
  --font-size-xs:         10px;
  --font-size-label:      11px;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  cursor: auto;
}

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

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

button {
  cursor: pointer;
}

.lang-loading [data-i18n] { opacity: 0; }


/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
}

/* ── Layout Utilities ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

@media (max-width: 767px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Scroll Reveal ───────────────────────────── */
/* Gated on html.js (set by inline head script before paint) so that
   disabled JS or a JS error degrades to fully visible content. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Section Dividers ────────────────────────── */
.section-divider {
  width: 100%;
  max-width: var(--max-width);
  margin: var(--space-2xl) auto;
  border: none;
  border-top: 1px solid var(--color-border-gold);
}

/* ── Navigation ──────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition-medium),
              border-color var(--transition-medium),
              box-shadow var(--transition-medium);
}

.site-nav.scrolled {
  background: rgba(34, 34, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(194, 216, 196, 0.15);
  box-shadow: 0 1px 12px rgba(194, 216, 196, 0.15);
}

/* hidden class is no longer used — nav stays visible */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-brand:hover {
  color: var(--color-gold);
}

.brand-monogram {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-gold);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav-links a {
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-complement);
  transition: width var(--transition-medium);
}

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

.nav-links a.active {
  color: var(--color-complement);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* Nav brand — first letter in complement */
.nav-brand .brand-z {
  display: inline;
  color: var(--color-complement);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  margin-right: 0;
}

/* Prevent any gap between brand-z and rest of name */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 1px;
  background: var(--color-text);
  transform-origin: left center;
  transition: transform var(--transition-medium),
              opacity var(--transition-medium),
              background var(--transition-fast);
}

.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 10px; }

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

@media (max-width: 767px) {
  .nav-links { display: none; }
  .mobile-menu .nav-links { display: flex; }
  .hamburger { display: flex; }
}

@media (min-width: 768px) {
  .mobile-menu, .menu-overlay { display: none !important; }
}

/* ── Language Selector ───────────────────────── */
.lang-selector { position: relative; }

.lang-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
}

.lang-pill:hover { color: var(--color-complement); }
.lang-selector.open .lang-pill { color: var(--color-complement); }

.lang-chevron {
  font-size: 7px;
  transition: transform var(--transition-fast);
  opacity: 0.5;
}
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -10px;
  min-width: 80px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  list-style: none;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  will-change: transform, opacity;
}

.lang-selector.open .lang-dropdown {
  transform: scaleY(1);
  opacity: 1;
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-dropdown button:hover { background: var(--color-surface); color: var(--color-text); }
.lang-dropdown button.active { color: var(--color-complement); }

/* ── Mobile Menu ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 240px;
  height: auto;
  min-height: auto;
  background: var(--color-bg);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-medium);
  will-change: transform;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 0 0 12px;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.mobile-menu .nav-links a {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: var(--space-xs) 0;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.menu-overlay.open { opacity: 1; }



/* ── Hero Section ────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 10% var(--space-4xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 5%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(34, 34, 34, 0.15) 0%,
    rgba(34, 34, 34, 0.5) 55%,
    rgba(34, 34, 34, 0.88) 100%
  );
}

/* No decorative watermark */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-complement);
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  font-size: var(--font-size-hero);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--color-text);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-complement);
}

.hero-gold-rule {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-lg) 0;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* JS-driven hero animation — class added by main.js on DOMContentLoaded */
.hero-animate .hero-eyebrow  { animation: heroSlideUp 0.8s ease 0.15s both; }
.hero-animate .hero-content h1 { animation: heroSlideUp 0.9s ease 0.3s both; }
.hero-animate .hero-gold-rule  { animation: heroRuleExpand 0.7s ease 0.55s both; }
.hero-animate .hero-subtitle   { animation: heroSlideUp 0.8s ease 0.7s both; }
.hero-animate .scroll-indicator { animation: heroSlideUp 0.8s ease 1.0s both; }

@keyframes heroSlideUp {
  from { transform: translateY(16px); }
  to   { transform: translateY(0); }
}

@keyframes heroRuleExpand {
  from { transform: scaleX(0.3); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-complement));
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
  font-size: var(--font-size-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 767px) {
  .hero {
    align-items: flex-end;
    justify-content: center;
    padding: 0 var(--space-md) var(--space-3xl);
  }
  .hero-bg { object-position: 60% 0%; }
  .hero-content { text-align: center; max-width: none; }
  .hero-gold-rule { margin: var(--space-md) auto; }
  .scroll-indicator { right: var(--space-lg); }
}

/* Marquee strip removed — logo carousel used instead */

/* ── Section Heading ─────────────────────────── */
.section-heading {
  margin-bottom: var(--space-2xl);
}

.section-heading h3 {
  font-size: var(--font-size-h3);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

.section-heading .eyebrow {
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-complement);
  margin-bottom: var(--space-sm);
}

.section-heading.centered {
  text-align: center;
}

/* ── Masonry Grid ────────────────────────────── */
.masonry-grid {
  columns: 3;
  column-gap: 6px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  transition: opacity 0.2s ease;
}

.masonry-grid.filtering {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .masonry-grid { columns: 2; padding: 0 var(--space-lg); }
}

@media (max-width: 600px) {
  .masonry-grid { columns: 2; padding: 0 var(--space-sm); column-gap: 4px; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .masonry-item { margin-bottom: 4px; }
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.5s ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.masonry-item img.loaded {
  opacity: 1;
}

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

/* Hover overlay */
.masonry-item .item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.masonry-item:hover .item-overlay {
  opacity: 1;
}

.item-overlay-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 247, 245, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  transition: transform 0.4s ease;
}

.masonry-item:hover .item-overlay-icon {
  transform: scale(1);
}

.item-overlay-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text);
  fill: none;
  stroke-width: 1.5;
}

/* Watermark */
.masonry-item::after {
  content: '© ZENG ZIYU';
  position: absolute;
  bottom: 5px;
  right: 6px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 2;
  letter-spacing: 0.08em;
}

/* ── Placeholder Image ───────────────────────── */
.placeholder-img {
  background: var(--color-placeholder);
  border: 1px solid rgba(194, 216, 196, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(245,247,245,0.018) 20px,
    rgba(245,247,245,0.018) 21px
  );
}

.placeholder-img .placeholder-label {
  font-family: var(--font-body);
  font-size: var(--font-size-caption);
  font-weight: 300;
  color: var(--color-placeholder-text);
  text-align: center;
  padding: var(--space-md);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.placeholder-img .placeholder-dims {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  color: var(--color-placeholder-text);
  letter-spacing: 0.06em;
}

.placeholder-hero {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto;
}

.placeholder-wide {
  aspect-ratio: 16/9;
  width: 100%;
}

/* ── Logo Carousel ───────────────────────────── */
.carousel-section {
  padding: var(--space-2xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-gold);
}

/* Original color logos on dark background */
.carousel-section .brand-logo-img {
  filter: drop-shadow(0 2px 6px rgba(194, 216, 196, 0.08));
  opacity: 0.85;
}
.carousel-section .brand-logo-img:hover {
  opacity: 1;
  filter: drop-shadow(0 3px 10px rgba(194, 216, 196, 0.15));
}
.carousel-section .brand-logo-img.brand-logo-lg {
  height: 120px;
}
.carousel-track .brand-logo-img.brand-logo-lg {
  height: 105px;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track-wrapper::before,
.carousel-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.carousel-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.carousel-track {
  display: flex;
  gap: var(--space-2xl);
  width: max-content;
  align-items: center;
  will-change: transform;
}

.carousel-track .brand-logo-img {
  width: auto;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity var(--transition-medium), filter var(--transition-medium);
}

/* ── Bio Snippet ─────────────────────────────── */
.bio-snippet {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  text-align: center;
}

.bio-snippet p {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.bio-snippet p.placeholder-text {
  color: var(--color-placeholder-text);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--color-complement);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: gap var(--transition-fast);
}

.read-more:hover {
  gap: var(--space-md);
}

.read-more::after {
  content: '→';
}

/* ── Music Video Highlight ───────────────────── */
.mv-highlight {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.mv-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.mv-caption {
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-body-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ── View More Link ──────────────────────────── */
.view-full-link {
  display: block;
  text-align: right;
  max-width: var(--max-width);
  margin: var(--space-lg) auto 0;
  padding: 0 var(--space-xl);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: opacity var(--transition-fast);
}

.view-full-link:hover { opacity: 0.7; }

/* ── Page Title ──────────────────────────────── */
.page-title {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-2xl);
}

.page-title h1 {
  font-size: var(--font-size-page-title);
  color: var(--color-text);
  line-height: 1;
}

.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-md) auto;
}

/* ── Filter Bar ──────────────────────────────── */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .filter-bar {
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-md);
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
}

.filter-btn {
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover { color: var(--color-text); }

@keyframes filterBtnActivate {
  from { opacity: 0.3; transform: translateY(3px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.filter-btn.active {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-complement);
  animation: filterBtnActivate 0.22s ease forwards;
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 1px;
  background: var(--color-complement);
}

/* ── Gallery Item Lightbox Trigger ───────────── */
.gallery-item {
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-complement);
  outline-offset: 3px;
}

/* Image load fade-in */
.gallery-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-img.loaded {
  opacity: 1;
}

.mv-link .item-overlay-icon,
.mv-link .item-overlay-icon * {
  pointer-events: none;
}

.gallery-item.hidden {
  display: none;
}

/* ── Gallery Empty ───────────────────────────── */
.gallery-empty {
  display: none;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.gallery-empty.visible { display: block; }

.gallery-empty p {
  font-weight: 300;
  font-size: var(--font-size-body);
  color: var(--color-text-muted);
}

/* ── Lightbox ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(34, 34, 34, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  transform: scale(0.94);
  transition: transform 0.45s ease, opacity 0.45s ease;
  will-change: transform, opacity;
  user-select: none;
  -webkit-touch-callout: none;
}

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

.lightbox-img-prev {
  position: absolute;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.lightbox-close {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  border-color: var(--color-complement);
  color: var(--color-complement);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  font-size: 18px;
}

.lightbox-nav:hover {
  border-color: var(--color-complement);
  color: var(--color-complement);
}

.lightbox-prev { left: var(--space-xl); }
.lightbox-next { right: var(--space-xl); }

.lightbox-video {
  display: none;
  max-width: 90vw;
}

.lightbox-video iframe {
  display: block;
}

.lightbox-counter {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-label);
  letter-spacing: 0.18em;
  color: var(--color-text-dim);
}

/* ── About: Image Rotator ────────────────────── */
.rotator-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.rotator-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-crossfade);
  will-change: opacity;
}

.rotator-img.active { opacity: 1; }

/* ── About: Split Layout ─────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: 0 var(--space-md);
  }
}

/* ── Core Profile ────────────────────────────── */
.core-profile {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.core-profile .profile-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--color-text);
}

.core-profile .profile-role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

/* ── Stats Grid ──────────────────────────────── */
.stats-section {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-pair {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.stat-pair:nth-child(odd) { padding-right: var(--space-xl); }
.stat-pair:nth-child(even) { padding-left: var(--space-xl); }

@media (max-width: 600px) {
  .stat-pair:nth-child(odd),
  .stat-pair:nth-child(even) { padding: var(--space-md) 0; }
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-dim);
}

.stat-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-body-sm);
  color: var(--color-text);
}

.stat-value.placeholder { color: var(--color-placeholder-text); }

/* ── Contact Layout ──────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: var(--space-xl) var(--space-md);
  }
}

.contact-info h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-2xl);
}

.contact-method {
  margin-bottom: var(--space-xl);
}

.contact-method .method-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-complement);
  margin-bottom: var(--space-xs);
}

.contact-method .method-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-body);
  color: var(--color-text);
}

.contact-method .method-value.placeholder { color: var(--color-placeholder-text); }

.contact-method a.method-value {
  transition: color var(--transition-fast);
}

.contact-method a.method-value:hover { color: var(--color-gold); }

.contact-gold-rule {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xl) 0;
}

/* ── Contact Form ────────────────────────────── */
.contact-form-section h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-2xl);
}

.contact-form .form-group {
  margin-bottom: var(--space-xl);
}

.contact-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-dim);
  margin-bottom: var(--space-sm);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-body);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0 0 var(--space-sm);
  transition: border-color var(--transition-fast);
  outline: none;
  border-radius: 0;
  caret-color: var(--color-complement);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-complement);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  display: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-caption);
  color: var(--color-error);
  margin-top: var(--space-xs);
  letter-spacing: 0.04em;
}

.form-group.error .form-error { display: block; }
.form-group.error input,
.form-group.error textarea { border-bottom-color: var(--color-error); }

/* Submit Button */
.submit-btn {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: 14px 52px;
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-bg);
  background: var(--color-complement);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.submit-btn:hover::after { transform: translateX(0); }
.submit-btn:active { background: #9AC09D; }
.submit-btn:disabled { opacity: 0.4; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.form-success.visible { display: block; }

.form-success p {
  font-weight: 300;
  font-size: var(--font-size-body);
  color: var(--color-text-muted);
}

/* ── Trusted Brands (static) ─────────────────── */
.brands-static {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  padding: var(--space-2xl) var(--space-xl);
}

.brands-static img {
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 6px rgba(194, 216, 196, 0.08));
  opacity: 0.85;
  transition: opacity var(--transition-medium), filter var(--transition-medium);
}

.brands-static img:hover {
  opacity: 1;
  filter: drop-shadow(0 3px 10px rgba(194, 216, 196, 0.15));
}

.brands-static img.brand-logo-lg {
  height: 120px;
}

@media (max-width: 767px) {
  .brands-static { grid-template-columns: repeat(2, auto); gap: var(--space-lg); }
  .brands-static img { height: 44px; }
  .brands-static img.brand-logo-lg { height: 88px; }
}

/* ── Footer ──────────────────────────────────── */
.site-footer {
  position: relative;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-top: var(--space-4xl);
  overflow: hidden;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

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

.footer-center {
  text-align: center;
}

.footer-location {
  font-family: var(--font-body);
  font-size: var(--font-size-caption);
  font-weight: 300;
  color: var(--color-text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
}

.footer-right {
  text-align: right;
}

@media (max-width: 767px) {
  .footer-right { text-align: center; }
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-complement);
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity var(--transition-fast);
}

.back-to-top:hover { color: var(--color-text); }

/* ── Skip Link ───────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--font-size-body-sm);
  color: var(--color-white);
  background: var(--color-complement);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 8px; }

/* ── Focus Visible ───────────────────────────── */
:focus-visible {
  outline: 1px solid var(--color-complement);
  outline-offset: 3px;
}

:focus:not(:focus-visible) { outline: none; }

/* ── Form States ─────────────────────────────── */
.form-group.valid input,
.form-group.valid textarea {
  border-bottom-color: rgba(194, 216, 196, 0.6);
}

.form-group { position: relative; }

/* ── Spinner ─────────────────────────────────── */
.btn-spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 1.5px solid rgba(34, 34, 34, 0.3);
  border-top-color: var(--color-bg);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Reduced Motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
}

/* ── No-JS ───────────────────────────────────── */
noscript .site-nav { position: static; }
noscript .mobile-menu,
noscript .menu-overlay,
noscript .hamburger { display: none !important; }
noscript .nav-links { display: flex !important; }
noscript .lang-dropdown { display: none !important; }

/* ── Image loading ───────────────────────────── */
img[loading="lazy"] { min-height: 1px; }

/* ── 404 Page ────────────────────────────────── */
.error-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; text-align: center; padding: var(--space-xl);
}

.error-page .error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  line-height: 1;
  color: var(--color-text);
  opacity: 0.15;
  margin-bottom: var(--space-md);
}

.error-page h1 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--space-md);
}

.error-page p {
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 400px;
}

.error-page a {
  color: var(--color-complement);
}

.error-page a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════
   About page  (moved from about.html inline <style>)
   ════════════════════════════════════════════════ */
/* Split section */
.about-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
  gap: var(--space-4xl);
  align-items: start;
}

@media (max-width: 900px) {
  .about-main {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-md);
  }
}

.about-image-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

@media (max-width: 900px) {
  .about-image-col {
    position: static;
    width: 75%;
    margin: 0 auto;
  }
}

.about-text-col {
  padding-top: var(--space-sm);
}

.about-text-col h1 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--space-xl);
  line-height: 1.05;
}

.about-text-col h1 em {
  font-style: italic;
  color: var(--color-complement);
}

.about-bio-text {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

/* Stats table */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2xl);
}

.stats-table tr {
  border-bottom: 1px solid var(--color-border);
}

.stats-table td {
  padding: var(--space-md) 0;
  font-family: var(--font-body);
}

.stats-table td:first-child {
  font-size: var(--font-size-label);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-complement);
  width: 40%;
}

.stats-table td:last-child {
  font-size: var(--font-size-body-sm);
  font-weight: 400;
  color: var(--color-text);
}

.stats-table td.placeholder {
  color: var(--color-placeholder-text);
}

/* Rotator */
.rotator-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.rotator-wrap .rotator-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.rotator-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: linear-gradient(transparent, rgba(34,34,34,0.5));
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,250,248,0.75);
}

/* ════════════════════════════════════════════════
   Contact page  (moved from contact.html inline <style>)
   ════════════════════════════════════════════════ */
.contact-header {
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-header h1 {
  font-size: var(--font-size-page-title);
  line-height: 0.95;
}

.contact-header h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.contact-header p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 400px;
  margin-top: var(--space-lg);
  line-height: 1.7;
}

/* Availability pill */
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: 8px 18px;
  border: 1px solid var(--color-border-gold);
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.availability-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

.contact-divider-line {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* Info + Form columns */
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
  gap: var(--space-4xl);
  align-items: start;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .contact-cols {
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) var(--space-md);
  }
}

.contact-info-col {}

.contact-info-heading {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-2xl);
}

.contact-item {
  margin-bottom: var(--space-2xl);
}

.contact-item-label {
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-item-value.placeholder-val {
  color: var(--color-placeholder-text);
  font-style: italic;
}

.contact-item-value a {
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--color-gold);
}

.contact-divider-gold {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-2xl) 0;
  opacity: 0.4;
}

/* Form col */
.contact-form-col {}

.contact-form-heading {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-2xl);
}
