/* ============================================
   FRAMEGEIST — DESIGN SYSTEM
   Premium obsidian-dark & platinum-silver aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --clr-bg: #0a0908;
  --clr-bg-alt: #12100f;
  --clr-surface: #1a1716;
  --clr-surface-hover: #262220;
  --clr-gold: #ffffff;
  --clr-gold-light: #f7f5f2;
  --clr-gold-dark: #8a8580;
  --clr-warm: #d1c7bd;
  --clr-text: #f7f5f2;
  --clr-text-muted: #b0a9a2;
  --clr-text-dim: #6e6761;
  --clr-overlay: rgba(10, 9, 8, 0.92);
  --clr-overlay-light: rgba(10, 9, 8, 0.65);

  --ff-heading: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'Inter', 'Helvetica Neue', sans-serif;

  --fs-hero: clamp(3.2rem, 9vw, 7.5rem);
  --fs-h1: clamp(2.2rem, 5.5vw, 3.8rem);
  --fs-h2: clamp(1.6rem, 3.5vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 2.2vw, 1.7rem);
  --fs-body: clamp(0.95rem, 1.3vw, 1.1rem);
  --fs-small: 0.88rem;
  --fs-xs: 0.78rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-gold-dark) var(--clr-bg);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--clr-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-gold-light); }

::selection {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

/* --- Layout --- */
.container {
  width: min(90%, 1300px);
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(14, 12, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(201, 168, 108, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: none;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-icon {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.nav__logo span {
  font-weight: 300;
  background: linear-gradient(135deg, #ffffff 30%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav__links a {
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--clr-gold-light);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-text);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.48) contrast(1.05);
  transform: scale(1.05);
}

.hero__slide.active img {
  animation: heroZoom 12s ease-in-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 12, 10, 0.3) 0%,
    rgba(14, 12, 10, 0.15) 40%,
    rgba(14, 12, 10, 0.5) 80%,
    rgba(14, 12, 10, 0.95) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeUp 1.2s ease-out;
}

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

.hero__tagline {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--clr-text) 30%, var(--clr-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--clr-text-muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}

.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--clr-text-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
  margin-top: var(--space-md);
}

/* Scroll Indicator Capsule */
.scroll-indicator {
  width: 22px;
  height: 38px;
  border: 1px solid rgba(201, 168, 108, 0.4);
  border-radius: 12px;
  position: relative;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  transition: border-color var(--transition);
}

.hero__scroll:hover .scroll-indicator {
  border-color: var(--clr-gold);
}

.scroll-indicator__dot {
  width: 4px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollDot 2.2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 0;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: 300;
  color: var(--clr-text);
  line-height: 1.2;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--clr-text) 30%, var(--clr-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--clr-gold);
  margin: var(--space-sm) auto 0;
}

/* --- About Section --- */
.about {
  background: var(--clr-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  overflow: hidden;
}

/* Portrait border removed */

.about__image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow);
}

.about__image-wrapper:hover .about__image {
  transform: scale(1.03);
}

.about__text h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 300;
  margin-bottom: var(--space-xs);
}

.about__text h2 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--clr-text) 30%, var(--clr-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__text .about__role {
  font-size: var(--fs-small);
  color: var(--clr-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.about__text p {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.about__quote {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(201, 168, 108, 0.12);
}

.about__quote-text {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--clr-gold);
  letter-spacing: 0.02em;
}

.about__quote-text small {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-text-dim);
  margin-top: var(--space-xs);
}

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

/* Gallery filter buttons */
.gallery__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.gallery__filter {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  color: var(--clr-text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery__filter:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.05);
}

.gallery__filter.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

/* Gallery grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  transition: opacity 0.8s ease-in-out, transform 0.5s ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition);
  filter: brightness(0.9) saturate(0.95);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}

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

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.gallery__item:hover .gallery__item-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery__item-caption {
  font-size: var(--fs-xs);
  color: var(--clr-text);
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.gallery__view-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--clr-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: 14px;
  flex-shrink: 0;
}

/* --- Services Section --- */
.services {
  background: var(--clr-bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--clr-surface);
  padding: var(--space-md);
  border: 1px solid rgba(201, 168, 108, 0.06);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover, .service-card.expanded {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 108, 0.25);
  background: var(--clr-surface-hover);
}

.service-card__main {
  width: 100%;
}

.service-card__icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  display: block;
  transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: var(--space-xs);
}

.service-card__desc {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.service-card__details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, margin-top 0.4s ease, padding-top 0.4s ease, border-color var(--transition);
  margin-top: 0;
  width: 100%;
  border-top: 1px dashed transparent;
  padding-top: 0;
}

.service-card.expanded .service-card__details {
  max-height: 320px;
  opacity: 1;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-color: rgba(201, 168, 108, 0.15);
}

.service-card__list {
  list-style: none;
  text-align: left;
  padding-left: 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card__list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.service-card__list li::before {
  content: '•';
  color: var(--clr-gold);
  position: absolute;
  left: 4px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-card__toggle-btn {
  font-size: 0.72rem;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: var(--space-sm);
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.service-card__toggle-btn span {
  display: inline-block;
  transition: transform var(--transition);
}

.service-card.expanded .service-card__toggle-btn span {
  transform: rotate(180deg);
}

.service-card:hover .service-card__toggle-btn {
  color: var(--clr-gold-light);
}

/* --- Contact Section --- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact__info h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.contact__info h2 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--clr-text) 30%, var(--clr-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact__info p {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--clr-text-muted);
}

.contact__details li .icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 108, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__details li .icon svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--clr-surface);
  border: 1px solid rgba(201, 168, 108, 0.1);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--clr-gold);
  background: transparent;
  color: var(--clr-gold);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

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

.btn--filled {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

.btn--filled:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
}

/* --- Footer --- */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid rgba(201, 168, 108, 0.08);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: none;
}

.footer__logo span {
  font-weight: 300;
  background: linear-gradient(135deg, #ffffff 30%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--clr-text-dim);
  letter-spacing: 0.05em;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 168, 108, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__social a svg {
  width: 16px;
  height: 16px;
}

.footer__social a:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-2px);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s, opacity 0.3s ease;
  opacity: 1;
}

.lightbox__img.loading {
  opacity: 0;
  transform: scale(0.95);
}

.lightbox.active .lightbox__img:not(.loading) {
  transform: scale(1);
}

.lightbox__caption {
  margin-top: var(--space-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s 0.2s, transform 0.5s 0.2s;
}

.lightbox.active .lightbox__caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox__close:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox__nav:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.lightbox__prev { left: 30px; }
.lightbox__next { right: 30px; }

/* --- Scroll reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 12, 10, 0.97);
    backdrop-filter: blur(20px);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__image { height: 400px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; text-align: center; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 4rem); }
  .footer__inner { flex-direction: column; text-align: center; }

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

  .gallery__filters {
    gap: 6px;
  }

  .gallery__filter {
    padding: 8px 16px;
    font-size: 0.65rem;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  font-weight: 500;
  padding: 0.2rem;
  transition: var(--transition);
}
.lang-btn:hover {
  color: var(--clr-text);
}
.lang-btn.active {
  color: var(--clr-gold);
  font-weight: 600;
}

body.lang-de .lang-en { display: none !important; }
body.lang-en .lang-de { display: none !important; }
