/* Bavaria Custom Tattoo — dark luxury studio theme */

:root {
  --bg: #080808;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --text: #f2ece4;
  --text-muted: #9a9288;
  --gold: #c9a962;
  --gold-bright: #e8c97a;
  --gold-dim: #8a7340;
  --accent: #d4a574;
  --border: rgba(201, 169, 98, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --demo-banner-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

body.preload .reveal,
body.preload .hero-content > * {
  opacity: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 4px;
}

.skip-link:focus {
  top: calc(var(--demo-banner-h) + 1rem);
}

/* Demo banner */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--demo-banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
}

.demo-banner-sep {
  opacity: 0.6;
}

body.is-loaded .demo-banner {
  animation: bannerShine 6s ease-in-out infinite;
}

@keyframes bannerShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

/* Header */
.site-header {
  position: fixed;
  top: var(--demo-banner-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

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

.brand-logo {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.35);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold-bright) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--demo-banner-h) + var(--header-h) + 3rem) 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.04) saturate(1.06);
  transform: scale(1);
  will-change: transform;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

body.is-loaded .hero-bg img {
  animation: heroKenBurns 20s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201, 169, 98, 0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
}

body.is-loaded .hero-shine {
  animation: heroShine 4s var(--ease-out) 0.6s forwards;
}

@keyframes heroShine {
  0% { opacity: 0; background-position: 200% 0; }
  30% { opacity: 1; }
  100% { opacity: 0; background-position: -100% 0; }
}

.hero-overlay--animated {
  animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.hero-bg--demo {
  background:
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(201, 169, 98, 0.14), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(80, 60, 30, 0.2), transparent 40%),
    linear-gradient(165deg, #12100e 0%, #080808 45%, #0a0a0a 100%);
}

.hero-bg--demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.42) 0%, rgba(8, 8, 8, 0.62) 45%, var(--bg) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 169, 98, 0.1), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 999px;
}

body.is-loaded .hero-content > * {
  animation: heroFadeUp 0.9s var(--ease-out) backwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}

body.is-loaded .hero h1 .hero-accent {
  animation: heroGoldGlow 3s ease-in-out 1.2s infinite;
}

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

@keyframes heroGoldGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 40px rgba(201, 169, 98, 0.35); }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-accent {
  color: var(--gold-bright);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-weight: 400;
}

.hero-stats span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(201, 169, 98, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover {
  color: var(--bg);
  box-shadow: 0 12px 40px rgba(201, 169, 98, 0.45);
}

.btn {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-secondary {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.section-head.center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.split-text strong {
  color: var(--text);
}

.feature-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.split-text.visible .feature-list li {
  opacity: 1;
  transform: translateX(0);
}

.split-text.visible .feature-list li:nth-child(1) { transition-delay: 0.2s; }
.split-text.visible .feature-list li:nth-child(2) { transition-delay: 0.35s; }
.split-text.visible .feature-list li:nth-child(3) { transition-delay: 0.5s; }

.feature-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--gold);
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  image-rendering: auto;
}

.media-demo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 98, 0.12), transparent 55%),
    var(--bg-card);
  border: 1px dashed var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.media-demo span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.split-media img {
  transition: transform 0.6s var(--ease-out), filter 0.5s;
}

.split-media:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.split-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s;
}

.split-media:hover .split-badge {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
}

.split-badge span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.split-badge strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  font-weight: 400;
}

/* Gallery */
.galerie {
  background: var(--bg-elevated);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  min-height: 140px;
}

.gallery-item--photo {
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.gallery-item--photo:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.gallery-item--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transition: transform 0.5s var(--ease), filter 0.5s;
}

.gallery-item--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 8, 0.65) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item--photo:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.05);
}

.gallery-item--photo.reveal {
  transition: none;
}

.gallery-item--photo.visible {
  animation: galleryPop 0.65s var(--ease-out) backwards;
  animation-delay: var(--reveal-delay, 0s);
}

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

.gallery-item--photo:hover::after {
  opacity: 1;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.team-photo--img {
  padding: 0;
  border-style: solid;
  overflow: hidden;
}

.team-photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
}

.gallery-item-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: rgba(201, 169, 98, 0.25);
  line-height: 1;
}

.gallery-item-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.gallery-item-style {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.gallery-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-note a {
  position: relative;
  display: inline-block;
  transition: transform 0.3s var(--ease-spring), color 0.3s;
}

.gallery-note a:hover {
  transform: translateX(6px);
}

.contact-panel.visible {
  animation: panelRise 0.85s var(--ease-out);
}

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

.gallery-item:nth-child(1) { grid-column: span 6; grid-row: span 2; aspect-ratio: auto; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 6; }
.gallery-item:nth-child(8) { grid-column: span 6; }

.gallery-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

/* Cards */
.leistungen {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 169, 98, 0.06), transparent),
    var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease-spring);
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(8deg);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.team-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.team-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.team-photo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), rgba(201, 169, 98, 0.05));
  border: 2px dashed var(--border);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.team-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.team-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.team-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Quote */
.quote {
  margin: 2rem auto 0;
  max-width: 640px;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 169, 98, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  margin: 0 0 0.5rem;
  font-style: italic;
  color: var(--text);
}

.quote cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-info {
  padding: 3rem;
}

.contact-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-list a {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.4;
}

.contact-list a:hover {
  color: var(--gold-bright);
}

.contact-placeholder {
  display: block;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  font-style: italic;
}

a.contact-placeholder:hover {
  color: var(--gold-bright);
}

.contact-map--demo .map-placeholder {
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(135deg, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
    #0d0d0d;
  border-left: 1px solid var(--border);
}

.map-placeholder span {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: rgba(201, 169, 98, 0.35);
}

.map-placeholder small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

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

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(90%);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.footer-inner > p:first-child {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-demo {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  animation: lightboxBg 0.35s var(--ease-out);
}

.lightbox.is-open img {
  animation: lightboxImg 0.45s var(--ease-spring);
}

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

@keyframes lightboxImg {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  transition: transform 0.3s var(--ease-spring), border-color 0.3s, background 0.3s;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-scale.visible {
  transform: scale(1);
}

.section-label {
  display: inline-block;
  transition: letter-spacing 0.5s var(--ease-out), color 0.3s;
}

.reveal.visible .section-label,
.section-head.visible .section-label {
  letter-spacing: 0.3em;
}

.quote.visible {
  animation: quoteSlide 0.8s var(--ease-out);
}

@keyframes quoteSlide {
  from {
    opacity: 0;
    transform: translateX(-16px);
    border-left-color: transparent;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    border-left-color: var(--gold);
  }
}

.hero-stats li {
  transition: transform 0.4s var(--ease-spring);
}

.hero-stats li:hover {
  transform: translateY(-4px) scale(1.05);
}

body.is-loaded .hero-stats li {
  animation: heroFadeUp 0.7s var(--ease-out) backwards;
  animation-delay: calc(0.7s + var(--i, 0) * 0.1s);
}

/* Responsive */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 6;
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .demo-banner {
    font-size: 0.62rem;
    line-height: 1.3;
    padding: 0.35rem 0.75rem;
    height: auto;
    min-height: var(--demo-banner-h);
  }

  .nav {
    position: fixed;
    top: calc(var(--demo-banner-h) + var(--header-h));
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 12;
  }

  .contact-info {
    padding: 2rem 1.5rem;
  }

  .split-badge {
    left: 1rem;
    bottom: -0.5rem;
  }

  .contact-map--demo .map-placeholder {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body.preload .reveal,
  body.preload .hero-content > * {
    opacity: 1;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll,
  .hero-bg img,
  .hero-shine,
  .hero-overlay--animated,
  .demo-banner,
  .hero-content > *,
  .hero-stats li,
  .gallery-item--photo.visible,
  .lightbox.is-open,
  .lightbox.is-open img {
    animation: none;
  }

  .btn:hover,
  .card:hover,
  .gallery-item--photo:hover {
    transform: none;
  }
}
