/* ============================================
   ZA KULISAMI — Skin & Hair Spa
   Premium dark + gold draft
   ============================================ */

:root {
  --bg: #0F1319;
  --bg-2: #161B24;
  --bg-3: #1D232E;
  --ink: #e9e6df;
  --ink-soft: #b6b1a6;
  --ink-mute: #7a7669;
  --gold: #c9a961;
  --gold-bright: #e0c281;
  --gold-deep: #8a7340;
  --line: rgba(201, 169, 97, 0.18);
  --line-strong: rgba(201, 169, 97, 0.45);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
}

/* ---------- Light (beige) theme ---------- */

[data-theme="light"] {
  --bg: #FAF6F0;
  --bg-2: #F0EBE3;
  --bg-3: #E5DFD5;
  --ink: #2A2520;
  --ink-soft: #4A453E;
  --ink-mute: #6B655B;
  --gold: #8A6A28;
  --gold-bright: #A07E30;
  --gold-deep: #6B5220;
  --line: rgba(138, 106, 40, 0.14);
  --line-strong: rgba(138, 106, 40, 0.32);
}

/* --- Scroll progress --- */
[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold));
  box-shadow: 0 0 6px rgba(138, 106, 40, 0.35);
}

/* --- Nav --- */
[data-theme="light"] .nav {
  background: linear-gradient(to bottom, rgba(250, 246, 240, 0.8) 0%, rgba(250, 246, 240, 0) 100%);
}

[data-theme="light"] .nav--scrolled {
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(42, 37, 32, 0.06);
}

.nav-logo.nav-logo--light { display: none; }
[data-theme="light"] .nav-logo.nav-logo--dark { display: none; }
[data-theme="light"] .nav-logo.nav-logo--light { display: block; mix-blend-mode: multiply; }

[data-theme="light"] .nav-logo {
  filter: drop-shadow(0 6px 16px rgba(42, 37, 32, 0.12));
}

/* --- Hero --- */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 55% 70% at 75% 25%, rgba(210, 180, 120, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 15% 85%, rgba(180, 160, 200, 0.07) 0%, transparent 60%),
    linear-gradient(160deg, #F5F0E8 0%, #FAF6F0 40%, #F0EBE3 80%, #EDE8E0 100%);
}

[data-theme="light"] .hero-grain {
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
}

[data-theme="light"] .hero-glow--1 {
  background: radial-gradient(circle, rgba(210, 180, 120, 0.12), transparent 70%);
}

[data-theme="light"] .hero-glow--2 {
  background: radial-gradient(circle, rgba(200, 175, 210, 0.08), transparent 70%);
}

[data-theme="light"] .hero-image-wrap {
  box-shadow: 0 24px 64px rgba(42, 37, 32, 0.12), 0 8px 20px rgba(42, 37, 32, 0.06);
}

[data-theme="light"] .hero-image-frame {
  background: #EDE8E0;
  border: 1px solid rgba(138, 106, 40, 0.15);
}

[data-theme="light"] .hero-image {
  filter: brightness(1.04) saturate(0.90) contrast(1.02) sepia(0.05);
}

[data-theme="light"] .hero-image-tint {
  background:
    linear-gradient(180deg, transparent 55%, rgba(42, 37, 32, 0.12) 100%),
    linear-gradient(90deg, rgba(250, 246, 240, 0.08) 0%, transparent 25%);
}

[data-theme="light"] .hero-image-corner {
  border-color: rgba(210, 180, 120, 0.6);
}

/* --- Buttons --- */
[data-theme="light"] .btn-gold {
  color: #FFFDF8;
  box-shadow: 0 2px 8px rgba(138, 106, 40, 0.18);
}

[data-theme="light"] .btn-gold:hover {
  box-shadow: 0 8px 24px rgba(138, 106, 40, 0.28), 0 2px 6px rgba(138, 106, 40, 0.12);
}

[data-theme="light"] .btn-ghost {
  color: var(--ink-soft);
  border-bottom-color: rgba(138, 106, 40, 0.20);
}

/* --- About (subtle warm accent) --- */
[data-theme="light"] .about::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 30%, rgba(210, 180, 120, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Service cards (glass-like) --- */
[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(138, 106, 40, 0.10);
  box-shadow: 0 1px 4px rgba(42, 37, 32, 0.03);
}

[data-theme="light"] .service-card:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(138, 106, 40, 0.22);
  box-shadow: 0 8px 32px rgba(42, 37, 32, 0.08), 0 2px 8px rgba(42, 37, 32, 0.03);
}

[data-theme="light"] .service-card--featured {
  border-color: rgba(138, 106, 40, 0.22);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 12px rgba(42, 37, 32, 0.04);
}

[data-theme="light"] .service-card-shine::before {
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

[data-theme="light"] .service-num {
  opacity: 0.6;
}

[data-theme="light"] .service-list li {
  color: var(--ink-soft);
}

/* --- Services (subtle dot grid) --- */
[data-theme="light"] .services::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(138, 106, 40, 0.018) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* --- Gallery (warm tones, readable captions) --- */
[data-theme="light"] .gallery {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%);
}

[data-theme="light"] .gallery-item {
  border-color: rgba(138, 106, 40, 0.10);
  box-shadow: 0 4px 20px rgba(42, 37, 32, 0.06);
}

[data-theme="light"] .gallery-item img {
  filter: brightness(1.02) saturate(0.88) contrast(1.02) sepia(0.08);
}

[data-theme="light"] .gallery-item::after {
  background: linear-gradient(180deg, transparent 35%, rgba(30, 25, 20, 0.50) 100%);
}

[data-theme="light"] .gallery-item:hover img {
  filter: brightness(1.05) saturate(1) contrast(1) sepia(0.03);
}

[data-theme="light"] .gallery-item::before {
  border-color: rgba(255, 240, 200, 0.7);
}

[data-theme="light"] .gallery-caption {
  color: #F5F0E8;
}

[data-theme="light"] .gallery-caption-num {
  color: #D4B878;
}

/* --- Filmstrip (lighter, refined for beige bg) --- */
[data-theme="light"] .filmstrip {
  background:
    linear-gradient(90deg, transparent 0 4px, #F0E8D4 4px 56px, transparent 56px 60px) 0 11px / 60px 20px repeat-x,
    linear-gradient(180deg, #C8A860 0%, #DCCA88 50%, #C8A860 100%);
  border-top-color: rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 225, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .filmstrip::before,
[data-theme="light"] .filmstrip::after {
  background-image: linear-gradient(90deg, transparent 0 5px, #3A3028 5px 15px, transparent 15px 20px);
}

/* --- Contact (dual radial glow) --- */
[data-theme="light"] .contact {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(210, 180, 120, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(210, 180, 120, 0.05) 0%, transparent 40%),
    var(--bg-2);
}

[data-theme="light"] .contact-map {
  background: #EDE8E0;
  border-color: rgba(138, 106, 40, 0.15);
  box-shadow: 0 20px 60px rgba(42, 37, 32, 0.08);
}

[data-theme="light"] .contact-map iframe {
  filter: grayscale(0.15) contrast(1) brightness(1.02) saturate(0.92);
}

[data-theme="light"] .contact-map:hover iframe {
  filter: none;
}

[data-theme="light"] .contact-map-cta {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .contact-map-cta:hover {
  background: var(--gold);
  color: #FFFDF8;
}

/* --- Footer --- */
[data-theme="light"] .footer {
  border-top: 1px solid var(--line);
}

[data-theme="light"] .footer-copy {
  opacity: 0.85;
}

/* --- View Transition (smooth theme switch) --- */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  transform: scale(1.08);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(138, 106, 40, 0.06);
}

.theme-icon { display: block; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.theme-icon--dark { display: none; }
[data-theme="light"] .theme-icon--light { display: none; }
[data-theme="light"] .theme-icon--dark { display: block; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9997;
  transition: transform 0.05s linear;
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.6);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(.2,.8,.2,1),
    transform 1s cubic-bezier(.2,.8,.2,1),
    clip-path 1.2s cubic-bezier(.7,0,.3,1);
  will-change: opacity, transform;
}

.reveal[data-reveal="fade"] { /* opacity only */ }

.reveal[data-reveal="slide-up"] { transform: translateY(36px); }
.reveal[data-reveal="slide-left"] { transform: translateX(-28px); }
.reveal[data-reveal="slide-right"] { transform: translateX(28px); }

.reveal[data-reveal="word"] {
  display: inline-block;
  transform: translateY(110%);
  opacity: 1;
}
.reveal[data-reveal="word"]::before { /* keep box layout */ }

.hero-title-line { display: block; padding-bottom: 0.05em; }

.reveal[data-reveal="mask"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  clip-path: inset(0 0 0 0);
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0.4em 0 1em;
}

.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  opacity: 0.7;
}

.centered { text-align: center; }
.centered::before { display: none; }
.centered::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 14px auto 0;
  opacity: 0.7;
}

.lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn-gold {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(201, 169, 97, 0.25);
}

.btn-outline {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line-strong);
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--gold);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s ease, background 0.4s ease;
  background: linear-gradient(to bottom, rgba(15,19,25,0.6) 0%, rgba(15,19,25,0) 100%);
}

.nav--scrolled {
  padding: 14px 0;
  background: rgba(15, 19, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.nav-brand {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  min-width: 220px;
  height: 40px;
}

.nav-logo {
  position: absolute;
  top: -30px;
  left: -24px;
  height: 210px;
  width: auto;
  display: block;
  transition: height 0.4s ease, top 0.4s ease, left 0.4s ease, opacity 0.3s ease;
  transform-origin: top left;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.nav--scrolled .nav-logo {
  height: 40px;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  filter: none;
}

.nav-compact {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav--scrolled .nav-compact {
  opacity: 1;
  pointer-events: auto;
}

.nav-mark {
  display: inline-block;
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold-bright) 50%, var(--gold) 80%, transparent);
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.32em;
}

.nav-brand-tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
  position: relative;
  padding: 6px 0;
  overflow: hidden;
  display: inline-block;
}

.nav-links a span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(.6,0,.2,1);
}

.nav-links a::before {
  content: attr(data-hover);
  position: absolute;
  top: 100%; left: 0;
  color: var(--gold);
  transition: transform 0.5s cubic-bezier(.6,0,.2,1);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(.6,0,.2,1);
}

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

.nav-links a:hover span {
  transform: translateY(-100%);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Filmstrip motif (echoing the logo) ---------- */

.filmstrip {
  position: relative;
  height: 42px;
  background:
    linear-gradient(
      90deg,
      transparent 0 4px,
      #f3e6c8 4px 56px,
      transparent 56px 60px
    ) 0 11px / 60px 20px repeat-x,
    linear-gradient(180deg, #b8965a 0%, #d4b878 50%, #b8965a 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 170, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  z-index: 5;
  overflow: hidden;
}

.filmstrip::before,
.filmstrip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 5px;
  background-image: linear-gradient(
    90deg,
    transparent 0 5px,
    #0c0c10 5px 15px,
    transparent 15px 20px
  );
  background-size: 20px 5px;
  background-repeat: repeat-x;
}

.filmstrip::before { top: 3px; }
.filmstrip::after  { bottom: 3px; }

/* ---------- Hero (split layout) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 230px 0 100px;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(201, 169, 97, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(80, 40, 100, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, #131823 0%, #0B0F15 60%, #0F1319 100%);
}

.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow--1 {
  width: 460px; height: 460px;
  top: -100px; right: 25%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.28), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-glow--2 {
  width: 520px; height: 520px;
  bottom: -180px; left: -160px;
  background: radial-gradient(circle, rgba(120, 60, 140, 0.20), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.08); }
}

.hero-split {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ===== LEFT — value prop ===== */

.hero-left {
  animation: fadeUp 1.1s cubic-bezier(.2,.8,.2,1) both;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 36px;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 36px;
  color: var(--ink);
}

.hero-title-line {
  display: block;
}

.hero-title-line--italic {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}

.hero-title-line--gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: var(--ink-soft);
  margin: 0 0 36px;
  line-height: 1.6;
  max-width: 540px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  max-width: 480px;
}

.hero-bullets li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}

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

.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-ghost {
  display: inline-block;
  padding: 16px 4px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-meta-dot { color: var(--gold); opacity: 0.5; }

/* ===== RIGHT — image ===== */

.hero-right {
  position: relative;
  animation: fadeIn 1.4s 0.2s cubic-bezier(.2,.8,.2,1) both;
}

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

.hero-image-wrap {
  display: flex;
  align-items: stretch;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.hero-image-frame {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0F1319;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}

.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.9) contrast(1.05);
  transition: transform 1.6s cubic-bezier(.2,.8,.2,1);
}

.hero-image-frame:hover .hero-image { transform: scale(1.04); }

.hero-image-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10, 10, 20, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 7, 18, 0.35) 0%, transparent 30%);
  pointer-events: none;
}

.hero-image-corner {
  position: absolute;
  width: 36px; height: 36px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.hero-image-corner--tl {
  top: 16px; left: 16px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.hero-image-corner--br {
  bottom: 16px; right: 16px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.hero-image-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.hero-image-caption-line {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 4;
  opacity: 0.6;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 12px auto 0;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1.1); }
}

/* ---------- About ---------- */

.about {
  padding: 140px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  max-width: 980px;
}

.about p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services {
  padding: 140px 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.service-card {
  position: relative;
  padding: 56px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid var(--line);
  transition: all 0.5s cubic-bezier(.2,.8,.2,1);
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(201,169,97,0.04) 0%, rgba(255,255,255,0) 100%);
}

.service-card:hover::before { opacity: 1; }

.service-card--featured {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(201,169,97,0.05) 0%, rgba(255,255,255,0) 100%);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  color: var(--ink);
}

.service-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.service-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.service-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service-card-shine::before {
  content: '';
  position: absolute;
  top: -50%; left: -120%;
  width: 60%; height: 200%;
  background: linear-gradient(115deg, transparent, rgba(201, 169, 97, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s cubic-bezier(.4,.1,.3,1);
}

.service-card:hover .service-card-shine { opacity: 1; }
.service-card:hover .service-card-shine::before { left: 130%; }

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-icon {
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Gallery ---------- */

.gallery {
  padding: 140px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 380px 380px;
  gap: 24px;
  margin-top: 80px;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.82) contrast(1.05);
  transition: all 0.8s cubic-bezier(.2,.8,.2,1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,20,0.35) 100%);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05) contrast(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 28px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--ink);
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-caption-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.gallery-caption-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* corner gold marks on gallery items */
.gallery-item::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  width: 22px; height: 22px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.5s ease, top 0.5s ease, left 0.5s ease;
  z-index: 2;
}

.gallery-item:hover::before {
  opacity: 0.8;
  top: 16px; left: 16px;
}

/* ---------- Contact ---------- */

.contact {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-inner { text-align: center; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 80px 0 64px;
}

.contact-block {
  padding: 32px 16px;
  border-left: 1px solid var(--line);
}

.contact-block:first-child { border-left: none; }

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.contact-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.contact-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-map {
  position: relative;
  margin: 64px auto 56px;
  max-width: 960px;
  border: 1px solid rgba(201, 169, 97, 0.25);
  background: #08080d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.7) contrast(1.05) brightness(0.85) saturate(0.8);
  transition: filter 0.6s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0.2) contrast(1) brightness(1) saturate(1);
}

.contact-map-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-block;
  padding: 10px 18px;
  background: rgba(8, 8, 13, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-map-cta:hover {
  background: var(--gold);
  color: #0F1319;
}

/* ---------- Footer ---------- */

.footer {
  padding: 60px 0 40px;
  background: var(--bg);
  text-align: center;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin: 0 0 8px;
}

.footer-meta {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 24px;
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin: 0;
  opacity: 0.6;
}

/* ---------- Section number (editorial eyebrow alt) ---------- */

.section-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 12px;
  opacity: 0.85;
}

.section-num.centered { text-align: center; }
.section-num.centered::after { display: none; }

.section-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-soft);
  margin: 22px auto 0;
  max-width: 560px;
  line-height: 1.55;
}
.section-sub.centered { text-align: center; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #060611 50%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  letter-spacing: 0.04em;
  transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}

.marquee-track span.marquee-dot {
  -webkit-text-stroke: 0;
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.4rem);
  opacity: 0.6;
}

.marquee:hover .marquee-track span:not(.marquee-dot) {
  color: var(--gold);
}

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

/* ---------- Animated filmstrip (perforations + frames slowly pan) ---------- */

.filmstrip--animated {
  animation: filmstrip-pan-base 14s linear infinite;
}

.filmstrip--animated::before,
.filmstrip--animated::after {
  animation: filmstrip-pan 14s linear infinite;
}

@keyframes filmstrip-pan {
  from { background-position: 0 0; }
  to   { background-position: -240px 0; }
}

@keyframes filmstrip-pan-base {
  from { background-position: 0 11px, 0 0; }
  to   { background-position: -240px 11px, 0 0; }
}

/* ---------- Footer accent ---------- */

.footer-brand {
  position: relative;
  display: inline-block;
}

.footer-brand::before,
.footer-brand::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  opacity: 0.6;
}

.footer-brand::before { margin-right: 18px; }
.footer-brand::after  { margin-left: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 0.68rem; letter-spacing: 0.18em; }
  .about { padding: 90px 0; }
  .services { padding: 90px 0; }
  .gallery { padding: 90px 0; }
  .contact { padding: 90px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 320px);
  }
  .gallery-item--tall { grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-block { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
  .contact-block:first-child { border-top: none; }
  .contact-map iframe { height: 300px; }
  .hero-logo { width: 170px; }
}

@media (max-width: 980px) {
  .hero { padding: 200px 0 80px; }
  .nav-logo { height: 170px; top: -24px; left: -16px; }
  .nav-brand { min-width: 180px; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-right { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-left { text-align: left; }
  .hero-bullets { max-width: none; }
  .hero-image-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .nav-brand { min-width: 130px; height: 36px; }
  .nav-logo { height: 120px; top: -16px; left: -10px; }
  .nav--scrolled .nav-logo { height: 36px; top: 0; left: 0; }
  .nav-compact { gap: 10px; }
  .nav-brand-name { font-size: 0.9rem; letter-spacing: 0.28em; }
  .nav-brand-tag { font-size: 0.55rem; letter-spacing: 0.26em; }
  .nav-mark { height: 26px; }
  .nav-links { display: none; }
  .hero { padding: 150px 0 70px; }
  .filmstrip {
    height: 38px;
    background:
      linear-gradient(
        90deg,
        transparent 0 3px,
        #f3e6c8 3px 45px,
        transparent 45px 48px
      ) 0 11px / 48px 16px repeat-x,
      linear-gradient(180deg, #b8965a 0%, #d4b878 50%, #b8965a 100%);
  }
  .filmstrip::before, .filmstrip::after {
    height: 5px;
    background-image: linear-gradient(90deg, transparent 0 4px, #0c0c10 4px 12px, transparent 12px 16px);
    background-size: 16px 5px;
  }
  .filmstrip::before { top: 3px; }
  .filmstrip::after { bottom: 3px; }
  @keyframes filmstrip-pan { from { background-position: 0 0; } to { background-position: -192px 0; } }
  @keyframes filmstrip-pan-base { from { background-position: 0 11px, 0 0; } to { background-position: -192px 11px, 0 0; } }
  .container { padding: 0 22px; }
  .display { font-size: 1.85rem; }
  .lead { font-size: 1.15rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-eyebrow { letter-spacing: 0.32em; font-size: 0.62rem; }
  .hero-actions { gap: 16px; }
  .hero-meta-row { font-size: 0.58rem; gap: 10px; }
  .hero-image-corner { width: 24px; height: 24px; }
  .hero-image-corner--tl { top: 10px; left: 10px; }
  .hero-image-corner--br { bottom: 10px; right: 10px; }
}

/* ---------- Light theme responsive ---------- */

@media (max-width: 520px) {
  [data-theme="light"] .filmstrip {
    background:
      linear-gradient(90deg, transparent 0 3px, #F0E8D4 3px 45px, transparent 45px 48px) 0 11px / 48px 16px repeat-x,
      linear-gradient(180deg, #C8A860 0%, #DCCA88 50%, #C8A860 100%);
  }
  [data-theme="light"] .filmstrip::before,
  [data-theme="light"] .filmstrip::after {
    background-image: linear-gradient(90deg, transparent 0 4px, #3A3028 4px 12px, transparent 12px 16px);
  }
}
