/* ================================================================
   Beautylab Haarstudio — Stylesheet
   Editorial newspaper theme — light cream with dark typography
   ================================================================ */

/* === SELF-HOSTED FONTS === */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-400italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600.woff2') format('woff2');
}

/* === CUSTOM PROPERTIES === */
:root {
  --bg-outer: #d5cfc6;
  --bg-dark: #ede8e0;
  --bg-card: #e4dfd7;
  --bg-card-alt: #f5f1eb;
  --bg-masterclass: #e8e3db;
  --gold: #1a1a1a;
  --gold-bright: #333333;
  --text-primary: #1a1a1a;
  --text-muted: #5a5a5a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-outer);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

/* === PAGE LAYER (paper-on-background) === */
main {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.12),
    0 12px 45px rgba(0, 0, 0, 0.08),
    0 25px 70px rgba(0, 0, 0, 0.05);
}

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

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-heading-accent {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 3rem;
}

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

section {
  padding: 5rem 0;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--gold);
  color: #ede8e0;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: #ede8e0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(237, 232, 224, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

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

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

.lang-toggle {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

/* RESPONSIVE FIX #25: Increased touch target to meet WCAG 2.5.8 minimum 44x44px */
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.lang-btn.active {
  color: var(--gold);
}

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

.lang-divider {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.4;
}

.nav-instagram {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.nav-instagram svg {
  width: 20px;
  height: 20px;
}

/* RESPONSIVE FIX #25: Increased hamburger touch target to 44x44px minimum */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

/* Language toggle inside mobile menu — hidden on desktop */
.nav-menu .nav-menu-lang {
  display: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: 70px;
  background: var(--bg-dark);
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: calc(100vh - 70px);
}

.hero-image {
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-name {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  font-style: italic;
  font-family: var(--font-heading);
}

/* === ABOUT SECTION === */
.about {
  background: var(--bg-dark);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-philosophy {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.about-philosophy h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* === ACHIEVEMENTS SECTION === */
.achievements {
  background: var(--bg-card-alt);
}

.achievement-card {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.achievement-image {
  flex: 1;
  max-width: 450px;
  width: 100%;
}

.achievement-image picture {
  display: contents;
}

.achievement-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.achievement-text {
  flex: 1;
}

.achievement-item {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.achievement-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.achievement-item p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* CSS FIX #23: Removed unused .achievement-highlight class */

/* === SERVICES SECTION === */
.services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* === GALLERY SECTION === */
.gallery {
  background: var(--bg-card-alt);
}

.gallery-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
  font-family: var(--font-heading);
}

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

/* CSS FIX #22: Merged duplicate .gallery-item rules into one */
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}

.gallery-item picture {
  display: contents;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* A11Y FIX #27: Focus-visible styling for keyboard-accessible gallery items */
.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-item:focus-visible img {
  transform: scale(1.05);
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 2001;
}

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

/* A11Y FIX #26: Focus-visible styling for lightbox close button */
.lightbox-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* === MASTERCLASS SECTION === */
.masterclass {
  background: var(--bg-masterclass);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.masterclass-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.masterclass-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.masterclass-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

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

.topic-tag {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* === CONTACT SECTION === */
.contact {
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 2px;
}

.contact-item-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Map consent placeholder --- */
.contact-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  height: 100%;
  background: var(--bg-card);
}

.contact-map-placeholder.hidden {
  display: none;
}

.contact-map-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  max-width: 320px;
}

.contact-map-pin {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}

.contact-map-placeholder-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-map-consent-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-map-consent-btn:hover {
  background: var(--gold);
  color: #ede8e0;
}

/* === FOOTER === */
.footer {
  max-width: 1400px;
  margin: 0 auto 4rem;
  background: #e0dbd3;
  padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.12),
    0 12px 45px rgba(0, 0, 0, 0.08),
    0 25px 70px rgba(0, 0, 0, 0.05);
}

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

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

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-instagram:hover {
  color: var(--gold);
}

.footer-instagram svg {
  width: 18px;
  height: 18px;
}

.footer-love {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-love a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.footer-legal {
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* === COOKIE CONSENT BANNER === */
.consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: rgba(237, 232, 224, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.consent-banner.visible {
  display: block;
  transform: translateY(0);
}

.consent-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.consent-banner-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.consent-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.consent-banner-link {
  color: var(--gold);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.consent-banner-link:hover {
  color: var(--gold-bright);
}

.consent-banner-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.consent-banner-decline {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

.consent-banner-decline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.consent-banner-accept {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #ede8e0;
}

.consent-banner-accept:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* === LEGAL PAGE === */
.legal-page {
  padding-top: calc(70px + 4rem);
  padding-bottom: 5rem;
  min-height: calc(100vh - 70px);
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.legal-page h1:first-child {
  margin-top: 0;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--gold);
}

.legal-page a:hover {
  color: var(--gold-bright);
}

/* === RESPONSIVE — TABLET (768px+) === */
@media (min-width: 768px) {
  .achievement-card {
    flex-direction: row;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* CSS FIX #21: Merged two duplicate @media (max-width: 767px) blocks into one */
/* === RESPONSIVE — MOBILE (<768px) === */
@media (max-width: 767px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 60vh;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

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

  .hamburger {
    display: flex;
    order: -1;
  }

  .nav-logo {
    order: 0;
    flex: 1;
  }

  .nav-actions {
    order: 1;
  }

  .nav-actions .lang-toggle {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(237, 232, 224, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu-lang {
    display: list-item;
    list-style: none;
    margin-top: 1rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .consent-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .consent-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .consent-banner-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .footer {
    margin-bottom: 0;
  }

}

/* === FOCUS & SELECTION === */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .service-card:hover {
    transform: none;
  }

  .gallery-item img {
    transition: none;
  }

  .gallery-item:hover img,
  .gallery-item:focus-visible img {
    transform: none;
  }

  .nav-menu {
    transition: none;
  }

  .hamburger span {
    transition: none;
  }
}

/* MINOR FIX #29: Print styles for usable printed output */
@media print {
  .navbar,
  .hamburger,
  .lightbox,
  .nav-actions,
  .contact-map,
  .masterclass .btn-primary,
  .consent-banner {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-weight: 400;
  }

  main,
  .footer {
    max-width: none;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #fff;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 300px;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  section {
    padding: 2rem 0;
    break-inside: avoid;
  }

  .section-heading {
    color: #000;
  }

  .about-text,
  .achievement-item p,
  .service-card p,
  .masterclass-desc,
  .contact-item p,
  .contact-item a,
  .footer p {
    color: #333;
  }

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

  .achievements,
  .gallery {
    background: #f9f9f9;
  }
}
