/* ============================================
   CHÂTEAU DE LA BONE — Luxury Stylesheet
   ============================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
/* Hide preloader after 5s as CSS-only safety net */
@keyframes safeHidePreloader {
  0%, 90% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
.preloader { animation: safeHidePreloader 5s forwards; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: none; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --cream: #FAF6F1;
  --cream-soft: #F2EBE0;
  --paper: #FFFFFF;
  --ink: #1B1B1B;
  --ink-soft: #2B2B2B;
  --mute: #7A7164;
  --line: #E4DCD0;
  --gold: #B89968;
  --gold-deep: #8C6F44;
  --shadow: rgba(27,27,27,.08);

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-script: 'Italiana', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --pad-x: clamp(24px, 5vw, 80px);
  --section: clamp(80px, 12vw, 180px);

  /* Easings */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

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

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  border-radius: 50%; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--ink);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s var(--ease-out);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              border-color .35s var(--ease-out), background .35s var(--ease-out);
}
.cursor-ring.is-hover { width: 70px; height: 70px; background: rgba(184,153,104,.12); border-color: var(--gold); }
.cursor-dot.is-hover { background: var(--gold); }

@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.preloader__monogram {
  font-family: var(--font-script);
  font-size: clamp(64px, 12vw, 180px);
  color: var(--ink);
  letter-spacing: .04em;
  overflow: hidden;
}
.preloader__line {
  margin-top: 20px;
  width: 240px; height: 1px; background: var(--line); position: relative; overflow: hidden;
}
.preloader__line::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: var(--gold); animation: load 1.6s var(--ease-in-out) forwards;
}
@keyframes load { to { transform: translateX(0); } }
.preloader__count {
  margin-top: 16px; font-size: 11px; letter-spacing: .35em; color: var(--mute);
  text-transform: uppercase;
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold-deep);
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; color: var(--gold-deep); }

h1.display { font-size: clamp(56px, 10vw, 168px); }
h2.display { font-size: clamp(40px, 6.5vw, 96px); }
h3.display { font-size: clamp(28px, 3.4vw, 52px); }

p.lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 56ch;
}

.script {
  font-family: var(--font-script);
  letter-spacing: .04em;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: difference; color: #fff;
  transition: padding .4s var(--ease-out);
}
.nav.is-scrolled { padding: 16px var(--pad-x); }

.nav__brand {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__brand .mono {
  font-family: var(--font-script);
  font-size: 26px; letter-spacing: .08em;
}
.nav__brand .sub {
  font-size: 9px; letter-spacing: .42em; text-transform: uppercase;
  margin-top: 4px; opacity: .8;
}

.nav__center {
  display: flex; gap: 38px; align-items: center;
}
.nav__center a {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 300; position: relative; padding: 6px 0;
  overflow: hidden;
}
.nav__center a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease-out);
}
.nav__center a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__center a.is-active::after { transform: scaleX(1); }

.nav__cta {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid currentColor; border-radius: 999px;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.nav__cta:hover { background: currentColor; }
.nav__cta:hover span { color: var(--ink); mix-blend-mode: normal; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span {
  display: block; width: 24px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease-out);
}

@media (max-width: 1100px) {
  .nav__center, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 28px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .9s var(--ease-in-out);
  pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.menu a {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 72px);
  color: var(--cream); font-weight: 300;
  font-style: italic;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu.is-open a { opacity: 1; transform: translateY(0); }
.menu.is-open a:nth-child(1) { transition-delay: .35s; }
.menu.is-open a:nth-child(2) { transition-delay: .42s; }
.menu.is-open a:nth-child(3) { transition-delay: .49s; }
.menu.is-open a:nth-child(4) { transition-delay: .56s; }
.menu.is-open a:nth-child(5) { transition-delay: .63s; }
.menu.is-open a:nth-child(6) { transition-delay: .70s; }
.menu.is-open a:nth-child(7) { transition-delay: .77s; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; color: var(--paper);
}
.hero__media {
  position: absolute; inset: 0; overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  transition: transform 2s var(--ease-out);
  filter: brightness(.7);
}
.hero.is-loaded .hero__media img { transform: scale(1); }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 35%, transparent 60%, rgba(0,0,0,.5) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
}
.hero__eyebrow {
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 30px;
  overflow: hidden;
}
.hero__eyebrow span { display: inline-block; }
.hero__eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(64px, 11vw, 200px);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--paper);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; color: var(--cream); font-weight: 300; }

.hero__meta {
  position: absolute; bottom: 50px; left: var(--pad-x); right: var(--pad-x);
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 2; color: var(--paper);
}
.hero__meta-block {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 6px;
}
.hero__meta-block strong {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: 22px; letter-spacing: 0; text-transform: none;
}

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--paper);
  z-index: 2;
}
.scroll-cue__line {
  width: 1px; height: 60px; background: rgba(255,255,255,.4); overflow: hidden; position: relative;
}
.scroll-cue__line::after {
  content: ''; position: absolute; inset: 0; background: var(--paper);
  animation: scrollDown 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 700px) {
  .hero__meta { flex-direction: column; gap: 20px; align-items: flex-start; }
  .scroll-cue { display: none; }
}

/* ---------- SECTIONS / LAYOUT ---------- */
.section {
  padding: var(--section) var(--pad-x);
  position: relative;
}
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .display { color: var(--cream); }
.section--ink .display em { color: var(--gold); }

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

/* ---------- INTRO / ABOUT ---------- */
.intro__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 60px; margin-bottom: 80px;
}
.intro__head .eyebrow { margin-bottom: 24px; }
.intro__head h2 { max-width: 14ch; }
.intro__head p { max-width: 36ch; align-self: flex-end; }

.intro__split {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.intro__split-image {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
}
.intro__split-image img { width: 100%; height: 100%; object-fit: cover; }
.intro__split-image .caption {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  color: var(--paper); font-size: 10px; letter-spacing: .35em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.intro__split-text p {
  margin-bottom: 24px; font-size: 16px; line-height: 1.7; color: var(--ink-soft);
}
.intro__split-text .signature {
  margin-top: 40px; font-family: var(--font-script); font-size: 28px; color: var(--gold-deep);
}

@media (max-width: 900px) {
  .intro__head { flex-direction: column; align-items: flex-start; }
  .intro__split { grid-template-columns: 1fr; }
}

/* ---------- FEATURE STATS ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 50px 30px; text-align: center;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 5vw, 80px); line-height: 1;
  color: var(--ink);
}
.stat__num em { font-style: italic; color: var(--gold); }
.stat__label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--mute);
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden; padding: 30px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex; gap: 80px; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(40px, 7vw, 96px); color: var(--ink);
  display: inline-flex; align-items: center; gap: 80px;
}
.marquee__track span::after {
  content: '✦'; color: var(--gold); font-size: .5em; font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SERVICES / OFFERINGS ---------- */
.offerings {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.offering {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ink); color: var(--paper);
}
.offering img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: brightness(.7) saturate(.92);
}
.offering:hover img { transform: scale(1.06); filter: brightness(.55) saturate(1); }
.offering__content {
  position: absolute; inset: 0; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 2;
}
.offering__num {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 16px; opacity: .8;
}
.offering__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(28px, 2.4vw, 42px); line-height: 1.1;
}
.offering__cta {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px; opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.offering:hover .offering__cta { opacity: 1; transform: translateY(0); }
.offering__cta::after { content: '→'; font-size: 14px; }

@media (max-width: 900px) {
  .offerings { grid-template-columns: 1fr; }
}

/* ---------- GALLERY / EDITORIAL ---------- */
.editorial {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.editorial figure {
  overflow: hidden; position: relative;
}
.editorial figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.editorial figure:hover img { transform: scale(1.04); }

.ed-a { grid-column: 1 / 6; aspect-ratio: 4/5; }
.ed-b { grid-column: 7 / 13; aspect-ratio: 3/4; margin-top: 80px; }
.ed-c { grid-column: 2 / 8; aspect-ratio: 16/10; margin-top: 40px; }
.ed-d { grid-column: 9 / 13; aspect-ratio: 4/5; margin-top: -120px; }

@media (max-width: 900px) {
  .ed-a, .ed-b, .ed-c, .ed-d { grid-column: 1 / 13; margin: 0; }
}

/* ---------- TESTIMONIAL ---------- */
.quote {
  text-align: center; max-width: 900px; margin: 0 auto;
}
.quote__mark {
  font-family: var(--font-display); font-style: italic;
  font-size: 100px; line-height: 1; color: var(--gold); margin-bottom: -20px;
}
.quote__text {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.35; color: var(--ink); font-style: italic;
}
.quote__author {
  margin-top: 36px;
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--mute);
}

/* ---------- CTA / BIG IMAGE ---------- */
.cta-banner {
  position: relative; height: 80vh; min-height: 600px;
  overflow: hidden; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.cta-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55);
  will-change: transform;
}
.cta-banner__content { position: relative; z-index: 2; padding: 0 var(--pad-x); }
.cta-banner h2 { color: var(--paper); margin-bottom: 30px; }
.cta-banner h2 em { color: var(--cream); }

.btn {
  display: inline-block;
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  padding: 18px 36px; border: 1px solid currentColor; border-radius: 999px;
  position: relative; overflow: hidden;
  transition: color .4s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out); z-index: -1;
}
.btn:hover::before { transform: scaleY(1); transform-origin: top; }
.btn:hover { color: var(--paper); border-color: var(--gold); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--paper); border-color: var(--gold); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 100px var(--pad-x) 30px;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .mono {
  font-family: var(--font-script); font-size: 64px; color: var(--cream); line-height: 1;
}
.footer__brand p {
  margin-top: 20px; max-width: 38ch; color: rgba(255,255,255,.65); font-size: 14px;
}
.footer h4 {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; font-weight: 400;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 14px; color: rgba(255,255,255,.75);
  transition: color .3s var(--ease-out);
}
.footer ul a:hover { color: var(--gold); }
.footer address {
  font-style: normal; font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.7;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }

.split-line { overflow: hidden; display: block; }
.split-line > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
}
.split-line.is-visible > span { transform: translateY(0); }

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-head {
  position: relative; height: 70vh; min-height: 520px;
  overflow: hidden; color: var(--paper);
  display: flex; align-items: flex-end;
  padding: 0 var(--pad-x) 80px;
}
.page-head img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.6);
}
.page-head__content { position: relative; z-index: 2; max-width: 900px; }
.page-head__crumb {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  margin-bottom: 20px; opacity: .85;
}
.page-head h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 8vw, 140px); line-height: .95;
  letter-spacing: -.02em;
}
.page-head h1 em { font-style: italic; color: var(--cream); }

/* ---------- PRICING TABLE ---------- */
.tarif-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.tarif {
  background: var(--paper); border: 1px solid var(--line);
  padding: 50px 40px; position: relative;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tarif:hover { transform: translateY(-6px); box-shadow: 0 30px 60px var(--shadow); }
.tarif--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tarif--featured .tarif__name, .tarif--featured .tarif__price { color: var(--cream); }
.tarif--featured .tarif__price em { color: var(--gold); }
.tarif--featured ul li { border-color: rgba(255,255,255,.1); }
.tarif--featured ul li::before { color: var(--gold); }
.tarif__label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}
.tarif--featured .tarif__label { color: var(--gold); }
.tarif__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: 36px; color: var(--ink); margin-bottom: 16px;
}
.tarif__price {
  font-family: var(--font-display); font-weight: 300;
  font-size: 64px; line-height: 1; color: var(--ink); margin-bottom: 8px;
}
.tarif__price em { font-style: italic; color: var(--gold); font-size: 22px; }
.tarif__period {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 36px;
}
.tarif ul { list-style: none; margin-bottom: 36px; }
.tarif ul li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; position: relative; padding-left: 24px;
}
.tarif ul li::before {
  content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 12px;
}
.tarif .btn { width: 100%; text-align: center; }
@media (max-width: 900px) { .tarif-grid { grid-template-columns: 1fr; } }

/* ---------- PHOTO GALLERY ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0; justify-content: center;
  margin-bottom: 60px; border-bottom: 1px solid var(--line);
}
.gallery-filters button {
  padding: 16px 28px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mute); position: relative;
  transition: color .3s var(--ease-out);
}
.gallery-filters button::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease-out);
}
.gallery-filters button:hover, .gallery-filters button.is-active { color: var(--ink); }
.gallery-filters button.is-active::after { transform: scaleX(1); }

.gallery-grid {
  columns: 3; column-gap: 16px;
}
.gallery-grid figure {
  break-inside: avoid; margin-bottom: 16px; overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-grid figure img {
  width: 100%; height: auto; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
}
.gallery-grid figure:hover img { transform: scale(1.04); filter: brightness(.9); }
.gallery-grid figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4) 100%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid figcaption {
  position: absolute; bottom: 14px; left: 14px;
  color: var(--paper); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; z-index: 2;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) { .gallery-grid { columns: 2; } }
@media (max-width: 600px) { .gallery-grid { columns: 1; } }

/* ---------- CONTACT ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
}
.contact__info h3 { margin-bottom: 30px; }
.contact__info .lead { margin-bottom: 50px; }
.contact__block {
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.contact__block:first-of-type { border-top: 1px solid var(--line); }
.contact__block .label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 6px;
}
.contact__block .value {
  font-family: var(--font-display); font-weight: 300; font-size: 24px;
}

.form { display: flex; flex-direction: column; gap: 24px; }
.form label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 8px; display: block;
}
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 0;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink);
  font-family: var(--font-display); font-size: 18px;
  transition: border-color .4s var(--ease-out);
  cursor: none;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--gold);
}
.form textarea { resize: vertical; min-height: 100px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) {
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- SERVICE / EVENT LIST ---------- */
.event-list {
  border-top: 1px solid var(--line);
}
.event-row {
  display: grid; grid-template-columns: 80px 1fr 1.5fr 200px;
  align-items: center; gap: 40px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  cursor: none; transition: padding .5s var(--ease-out);
  position: relative; overflow: hidden;
}
.event-row::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink); transform: translateY(100%);
  transition: transform .6s var(--ease-out); z-index: -1;
}
.event-row:hover { padding: 36px 30px; color: var(--cream); }
.event-row:hover::before { transform: translateY(0); }
.event-row__num {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 18px; color: var(--gold);
}
.event-row__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(28px, 3vw, 48px);
}
.event-row__title em { font-style: italic; color: var(--gold-deep); }
.event-row:hover .event-row__title em { color: var(--gold); }
.event-row__desc {
  font-size: 14px; color: var(--mute); line-height: 1.6;
}
.event-row:hover .event-row__desc { color: rgba(255,255,255,.7); }
.event-row__arrow {
  text-align: right; font-size: 24px;
  transform: translateX(-10px); opacity: .4; transition: all .4s var(--ease-out);
}
.event-row:hover .event-row__arrow { transform: translateX(0); opacity: 1; color: var(--gold); }
@media (max-width: 900px) {
  .event-row { grid-template-columns: 50px 1fr; }
  .event-row__desc, .event-row__arrow { display: none; }
}

/* ---------- MATERIEL CATALOG ---------- */
.catalog {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px;
}
.catalog-item {
  text-align: center;
}
.catalog-item__img {
  aspect-ratio: 1/1; background: var(--cream-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.catalog-item__img img {
  width: 80%; height: 80%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.catalog-item:hover .catalog-item__img img { transform: scale(1.08); }
.catalog-item__icon {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 80px; color: var(--gold);
}
.catalog-item__name {
  font-family: var(--font-display); font-weight: 300; font-size: 22px;
  margin-bottom: 6px;
}
.catalog-item__price {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mute);
}
.catalog-item__price em { font-style: italic; color: var(--gold-deep); }
@media (max-width: 900px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .catalog { grid-template-columns: 1fr; } }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
  padding: 60px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 30px; right: 30px;
  width: 50px; height: 50px;
  border: 1px solid var(--paper); color: var(--paper);
  border-radius: 50%; font-size: 24px; line-height: 1;
}

/* ---------- ACCESSIBILITY / MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .preloader { display: none; }
}
