/*
 * Bogi Beauty — brand styles
 * Palette: Ivory #F9F6F0, Pastel Pink #F5C2C1, Gold #D4AF37
 * Shared by BG (/) and EN (/en/) pages.
 * Fonts are self-hosted (no Google Fonts request — GDPR / privacy).
 */

/* —— Self-hosted Cormorant Garamond (display) —— */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* —— Self-hosted Manrope (body) —— */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-ivory: #F9F6F0;
  --color-pink: #F5C2C1;
  --color-gold: #D4AF37;
  --color-ink: #2A2420;
  --color-ink-soft: #5C534C;
  --color-pink-deep: #E8A5A4;
  --color-gold-soft: rgba(212, 175, 55, 0.35);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --max-width: 68rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* —— Reset & base —— */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(245, 194, 193, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 20%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(180deg, var(--color-ivory) 0%, #F3EDE4 40%, var(--color-ivory) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.45rem;
  color: var(--color-ink);
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

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

.section__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.section__title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

/* Motion: soft gold underline draws under section titles */
.section__title::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--color-gold), var(--color-pink));
  transition: width 0.9s var(--ease);
}

.section.is-visible .section__title::after {
  width: 4.5rem;
}

.section__lead {
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.section.is-visible .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(249, 246, 240, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(249, 246, 240, 0.92);
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-ink);
  white-space: nowrap;
}

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

.nav {
  display: none;
  gap: 1.35rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

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

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch a {
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  color: var(--color-ink-soft);
  border-radius: 2px;
}

.lang-switch a[aria-current="page"] {
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-gold);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--color-ink);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile nav panel */
.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: var(--color-ivory);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  gap: 1rem;
}

/* —— Hero (full-bleed atmosphere photo + soft brand scrim) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-xl);
  overflow: hidden;
  /* Soft scrim keeps brand text readable without washing out the photo */
  background:
    linear-gradient(
      160deg,
      rgba(249, 246, 240, 0.62) 0%,
      rgba(245, 194, 193, 0.42) 48%,
      rgba(249, 246, 240, 0.7) 100%
    ),
    url("/assets/hero/hero-atmosphere.jpg") center / cover no-repeat;
}

.hero__glow {
  position: absolute;
  width: min(70vw, 28rem);
  height: min(70vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
  top: 15%;
  right: -8%;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { transform: scale(1) translate(0, 0); opacity: 0.7; }
  to { transform: scale(1.12) translate(-4%, 6%); opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0 0 var(--space-md);
  color: var(--color-ink);
}

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

.hero__tagline {
  font-size: 1.15rem;
  max-width: 28rem;
  margin-bottom: var(--space-md);
  color: var(--color-ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--primary {
  background: var(--color-ink);
  color: var(--color-ivory);
  border-radius: 0.15rem;
}

.btn--primary:hover {
  background: #3d342e;
  color: var(--color-ivory);
}

.btn--primary:focus-visible,
.btn--ghost:focus-visible,
.btn--icon:focus-visible,
.btn--cookie-primary:focus-visible,
.btn--cookie-ghost:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(42, 36, 32, 0.35);
  color: var(--color-ink);
}

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

/* Brand SVG contact icons — colours live in the SVG (gold disc + ivory glyph) */
.btn--icon {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--icon:hover {
  background: transparent;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
}

.btn--icon img {
  width: 3.35rem;
  height: 3.35rem;
  display: block;
  max-width: none;
  border-radius: 50%;
}

.contact-actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero__actions .btn--primary {
  margin-right: 0.25rem;
}

/* Section / service / team brand marks */
.section-icon,
.service-block__icon,
.team-member__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 0 var(--space-sm);
  display: block;
}

/* —— Services —— */
.services-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: var(--space-sm);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  color: var(--color-ink-soft);
}

.service-list li span:last-child {
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.9;
}

/* Soft divider between service columns on wide screens */
.service-block {
  padding-bottom: var(--space-sm);
}

@media (min-width: 720px) {
  .service-block + .service-block {
    padding-left: var(--space-md);
    border-left: 1px solid rgba(212, 175, 55, 0.22);
  }
}

/* —— Team —— */
.team-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.team-member {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) 0 var(--space-md);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Identical portrait frames so both artists read as a matched pair */
.team-member__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  margin: 0 0 var(--space-md);
  border-radius: 0.2rem;
  background: linear-gradient(145deg, var(--color-pink), var(--color-ivory));
}

.team-member__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-pink-deep);
  margin-bottom: 0.35rem;
}

.team-member__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.team-member > p:last-child {
  margin-bottom: 0;
  flex: 1;
}

/* —— Gallery —— */

/* Category tabs — rendered by js/gallery.js, one .gallery-tab button per category */
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery-tab {
  flex: none;
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-tab:hover {
  border-color: var(--color-gold);
  color: var(--color-ink);
}

.gallery-tab.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-ink);
}

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

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-pink), var(--color-ivory));
}

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

/* Trigger button wraps the picture so the whole tile opens the lightbox */
.gallery-item__trigger {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gallery-item__trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.gallery-item picture,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

/* Motion: soft zoom on gallery hover */
.gallery-item:hover img {
  transform: scale(1.06);
}

/* —— Gallery lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: var(--space-sm);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, 0.82);
}

.lightbox__dialog {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: min(90vw, 60rem);
  max-height: 90vh;
}

.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.lightbox__image {
  max-width: min(80vw, 48rem);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox__caption {
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
}

.lightbox__control {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--color-gold);
  background: rgba(42, 36, 32, 0.6);
  color: var(--color-ivory);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  line-height: 1;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox__control:hover {
  background: var(--color-gold);
  color: var(--color-ink);
}

.lightbox__control:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.lightbox__close {
  position: absolute;
  top: -3.25rem;
  right: 0;
}

.lightbox__nav {
  flex: none;
}

body.lightbox-open {
  overflow: hidden;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}

.contact-list li {
  margin-bottom: var(--space-sm);
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.2rem;
}

.contact-list a {
  text-decoration: none;
  font-weight: 500;
}

.map-embed,
.map-canvas {
  width: 100%;
  border: 0;
  background: rgba(245, 194, 193, 0.18);
}

/* Soften tiles so the map feels calm next to ivory/pink brand */
.map-canvas .leaflet-tile-pane {
  filter: saturate(0.7) contrast(0.96) brightness(1.04);
}

.map-canvas .leaflet-control-attribution {
  font-size: 0.65rem;
  background: rgba(249, 246, 240, 0.88);
  color: var(--color-ink-soft);
}

.map-canvas .leaflet-control-zoom a {
  color: var(--color-ink) !important;
  background: rgba(249, 246, 240, 0.95) !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
}

.map-canvas .leaflet-control-zoom a:hover {
  background: #fff !important;
  color: var(--color-gold) !important;
}

/* Brand marker — quiet gold disc (override Leaflet divIcon defaults) */
.map-pin {
  background: transparent !important;
  border: 0 !important;
}

.map-pin__dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow:
    0 0 0 3px rgba(249, 246, 240, 0.95),
    0 4px 12px rgba(42, 36, 32, 0.22);
}

/* —— Footer —— */
.site-footer {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.site-footer .brand {
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

/* Compact header nav on privacy pages — always visible (no burger) */
.nav--simple {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* —— Legal / privacy pages —— */
.legal-page {
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-xl);
}

.legal-prose {
  max-width: 40rem;
  margin-top: var(--space-md);
  color: var(--color-ink-soft);
}

.legal-prose h2 {
  font-size: 1.45rem;
  margin-top: var(--space-md);
  color: var(--color-ink);
}

.legal-prose ul {
  padding-left: 1.2rem;
}

.legal-prose li {
  margin-bottom: 0.4rem;
}

.legal-prose code {
  font-size: 0.9em;
  background: rgba(245, 194, 193, 0.35);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.legal-updated {
  margin-top: var(--space-lg);
  font-size: 0.9rem;
}

/* —— Map consent placeholder (same footprint as iframe) —— */
.map-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(145deg, rgba(245, 194, 193, 0.35), rgba(249, 246, 240, 0.9)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(212, 175, 55, 0.06) 12px,
      rgba(212, 175, 55, 0.06) 13px
    );
  border: 1px solid rgba(212, 175, 55, 0.28);
  overflow: hidden;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  text-align: center;
  color: var(--color-ink-soft);
  z-index: 2;
}

.map-consent p {
  margin: 0;
  max-width: 22rem;
}

/* Leaflet must fill the slot with a real computed height (not % of auto) */
.map-slot .map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* —— Cookie banner & preferences (brand ivory/pink/gold) —— */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: var(--space-sm);
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-md);
  background:
    linear-gradient(135deg, rgba(249, 246, 240, 0.97), rgba(245, 194, 193, 0.55));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -8px 32px rgba(42, 36, 32, 0.08);
}

@media (min-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--color-ink);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.cookie-banner__links {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.btn--cookie-primary {
  appearance: none;
  border: 1px solid var(--color-gold);
  background: var(--color-gold);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--cookie-primary:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-ivory);
}

.btn--cookie-ghost {
  appearance: none;
  border: 1px solid rgba(42, 36, 32, 0.25);
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: var(--space-sm);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, 0.35);
}

.cookie-panel__sheet {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  margin-bottom: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-ivory);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 40px rgba(42, 36, 32, 0.12);
}

.cookie-panel__title {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.cookie-row {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.cookie-row__label {
  font-weight: 600;
  color: var(--color-ink);
}

.cookie-row__badge {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.15rem 0.45rem;
}

.cookie-row__hint {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.cookie-row__toggle {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-gold);
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

body.cookie-panel-open {
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .section__title::after,
  .gallery-item img,
  .gallery-tab,
  .lightbox__control,
  .hero__glow,
  .cookie-banner {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .section__title::after {
    width: 4.5rem;
  }
  .cookie-banner.is-visible {
    transform: none;
  }
}
