/* =====================================================================
   DIAFAT ACHARK — Thème v3 « Maison »
   Ivoire & sable, bleu nuit du logo, or. Serif fin + sans léger,
   angles droits, filets fins, grandes photos.
===================================================================== */

:root {
  --ivory:   #f8f4ec;
  --sand:    #efe7d8;
  --sand-2:  #e6dcc8;
  --paper:   #fffdf8;
  --navy:    #0e1526;
  --navy-2:  #16203a;
  --navy-3:  #1f2b48;
  --gold:    #b8914a;
  --gold-2:  #c9a65e;
  --gold-3:  #e2c88f;
  --ink:     #2a2622;
  --muted:   #6f675c;
  --line:    rgba(42, 38, 34, .14);
  --line-dk: rgba(248, 244, 236, .16);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;

  --container: 1240px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 60px -30px rgba(14, 21, 38, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.75;
  color: var(--ink); background: var(--ivory); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.55rem; font-weight: 400; }
p { text-wrap: pretty; }
.accent { font-style: italic; color: var(--gold); }
.section-dark .accent, .hero-lux .accent { color: var(--gold-3); }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 400; background: var(--navy); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 12px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Small caps label ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-dark .kicker { color: var(--gold-3); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 34px; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-line { border-color: rgba(248,244,236,.55); color: var(--ivory); }
.btn-line:hover { background: var(--ivory); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--ivory); }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 130px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--navy); color: rgba(248,244,236,.78); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 70px; }
.section-head p { color: var(--muted); margin-top: 22px; font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(248,244,236,.66); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  background: rgba(248,244,236,.97); border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease), border-color .45s, height .45s var(--ease), box-shadow .45s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; }
.brand { display: block; line-height: 0; flex: 0 0 auto; }
.brand-logo { height: 50px; width: auto; transition: height .45s var(--ease), filter .45s; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  position: relative; transition: color .3s;
}
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.main-nav a:not(.nav-cta):hover::after, .main-nav .current-menu-item > a:not(.nav-cta)::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--gold); }
.main-nav a.nav-cta { margin-left: 16px; padding: 15px 26px; background: var(--gold); color: var(--navy); transition: background-color .3s; }
.main-nav a.nav-cta:hover { background: var(--gold-2); color: var(--navy); }
.site-header.scrolled { height: 74px; box-shadow: 0 10px 30px -22px rgba(14,21,38,.5); }
.site-header.scrolled .brand-logo { height: 44px; }

/* The header stays ivory on every page (home included) so the logo always shows in its original colours. */

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; z-index: 120; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Hero ---------- */
.hero-lux { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--ivory); overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-lux::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,21,38,.92) 0%, rgba(14,21,38,.72) 45%, rgba(14,21,38,.35) 100%), linear-gradient(0deg, rgba(14,21,38,.6), transparent 40%); }
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero-lux .kicker { color: var(--gold-3); }
.hero-lux h1 { color: var(--ivory); font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.02; max-width: 820px; margin-bottom: 30px; }
.hero-lux h1 .accent { display: block; }
.hero-sub { max-width: 560px; color: rgba(248,244,236,.82); font-size: 1.08rem; font-weight: 300; margin-bottom: 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: .86rem; color: rgba(248,244,236,.78); }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--gold-2); transform: rotate(45deg); }
.hero-dots { position: absolute; z-index: 3; right: 32px; bottom: 44px; display: flex; gap: 10px; }
.hero-dot { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(248,244,236,.35); cursor: pointer; transition: background .3s, width .4s var(--ease); }
.hero-dot.is-active { width: 52px; background: var(--gold-2); }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 30px; width: 1px; height: 54px; background: rgba(248,244,236,.25); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-3); animation: scrollline 2.2s infinite; }
@keyframes scrollline { to { top: 100%; } }

/* ---------- About ("Notre maison") ---------- */
.about-lux { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.about-collage { position: relative; padding: 0 0 92px 0; }
.about-collage .main { overflow: hidden; box-shadow: var(--shadow); }
.about-collage .main img { height: auto; }
.about-collage .main img, .about-collage .small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-collage:hover .main img { transform: scale(1.04); }
.about-collage .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; border: 10px solid var(--ivory); }
.about-signature { position: absolute; left: 0; bottom: 0; }
.about-signature strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.1rem; line-height: 1.1; color: var(--gold); }
.about-signature span { display: block; margin-top: 8px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.about-text h2 { margin-bottom: 28px; }
.about-content { color: var(--muted); }
.about-content > * + * { margin-top: 1em; }
.about-content strong { color: var(--ink); font-weight: 500; }
.about-content figure, .about-content .wp-block-image { display: none; }
.numbered { margin: 38px 0 44px; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.32rem; color: var(--ink); }
.numbered li b { font-family: var(--sans); font-weight: 400; font-size: .78rem; letter-spacing: .14em; color: var(--gold); }

/* ---------- Services (grid with hairlines) ---------- */
.grid-lines { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.grid-lines > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-cell { position: relative; padding: 48px 42px 50px; transition: background-color .5s var(--ease); }
.service-cell::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.service-cell:hover { background: var(--ivory); }
.service-cell:hover::before { width: 100%; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid var(--gold); font-size: 1.6rem; transition: transform .6s var(--ease); }
.service-cell:hover .service-icon { transform: rotate(45deg); }
.service-cell:hover .service-icon span { transform: rotate(-45deg); }
.service-icon span { display: block; transition: transform .6s var(--ease); }
.service-cell h3 { margin-bottom: 14px; }
.service-text { color: var(--muted); font-size: .95rem; }
.service-text p { margin: 0; }

/* ---------- Engagements (4 illustrated cells) ---------- */
.organise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.organise-card { display: grid; grid-template-columns: 112px 1fr; gap: 32px; align-items: center; padding: 46px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background-color .5s var(--ease); }
.organise-card:hover { background: var(--ivory); }
.organise-media img { width: 112px; height: 112px; transition: transform .7s var(--ease); }
.organise-card:hover .organise-media img { transform: scale(1.06); }
.organise-body h3 { margin-bottom: 10px; }
.organise-body p { color: var(--muted); font-size: .95rem; }
.organise-body p strong, .section-head p strong { color: var(--ink); font-weight: 500; }

/* ---------- Types d'événements (dark, framed photo cards) ---------- */
.section-events .section-head h2::after { content: ""; display: block; width: 46px; height: 1px; margin: 26px auto 0; background: var(--gold-2); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.event-card { background: var(--navy-2); border: 1px solid var(--line-dk); display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .5s; }
.event-card:hover { transform: translateY(-8px); border-color: rgba(201,166,94,.5); }
.event-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.06); }
.event-media::after { /* fine inner frame */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(248,244,236,.55); pointer-events: none;
  transition: inset .6s var(--ease), border-color .6s;
}
.event-card:hover .event-media::after { inset: 16px; border-color: var(--gold-3); }
.event-body { padding: 30px 28px 32px; }
.event-body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.event-body p { color: rgba(248,244,236,.72); font-size: .94rem; line-height: 1.65; }
.event-tags { margin-top: 24px; display: grid; gap: 10px; }
.event-tags li { display: flex; align-items: center; gap: 14px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(248,244,236,.7); }
.event-tags li::before { content: ""; width: 16px; height: 1px; background: var(--gold-2); flex: 0 0 16px; }
.btn-glow { box-shadow: 0 18px 40px -14px rgba(201,166,94,.55); }

/* ---------- Menu (dark, image cards) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.menu-card { background: var(--navy-2); border: 1px solid var(--line-dk); display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .5s; }
.menu-card:hover { transform: translateY(-8px); border-color: rgba(201,166,94,.55); }
.menu-media { aspect-ratio: 4 / 3; overflow: hidden; }
.menu-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.menu-card:hover .menu-media img { transform: scale(1.07); }
.menu-body { padding: 32px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.menu-body h3 { margin-bottom: 12px; }
.menu-text { color: rgba(248,244,236,.66); font-size: .94rem; flex: 1; }
.menu-text p { margin: 0; }
.menu-price { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-dk); display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-3); }
.menu-price::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-cta { text-align: center; margin-top: 64px; }

/* ---------- Gallery with tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 0; margin: -30px auto 50px; }
.tab { padding: 14px 28px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.tab + .tab { border-left: 0; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.tab:hover:not([aria-selected="true"]) { color: var(--gold); }
.tab-panel[hidden] { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 14px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
/* Keep rows full whatever the number of photos (3 columns):
   1 left over → first and last photos go wide; 2 left over → last photo goes wide. */
.gallery--r1 > .gallery-item:first-child,
.gallery--r1 > .gallery-item:last-child,
.gallery--r2 > .gallery-item:last-child { grid-column: span 2; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; text-align: left; pointer-events: none;
  background: linear-gradient(0deg, rgba(14,21,38,.82), transparent); color: var(--ivory);
  font-family: var(--serif); font-size: 1.15rem; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery-item:hover img, .gallery-open:focus-visible img { transform: scale(1.08); }
.gallery-item:hover .gallery-caption, .gallery-open:focus-visible .gallery-caption { opacity: 1; transform: none; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.step { padding: 44px 36px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .5s var(--ease); }
.step:hover { background: var(--ivory); }
.step-num { display: block; font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 26px; }
.step h3 { font-size: 1.4rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials + figures ---------- */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.figure { text-align: center; padding: 34px 20px; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; color: var(--ink); }
.figure span { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review { position: relative; padding: 44px 38px 36px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review::before { content: "“"; position: absolute; top: 16px; right: 28px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--sand-2); }
.review .stars { color: var(--gold); letter-spacing: 4px; font-size: .9rem; margin-bottom: 18px; }
.review p { font-family: var(--serif); font-size: 1.28rem; font-style: italic; font-weight: 300; line-height: 1.5; color: var(--ink); flex: 1; margin-bottom: 26px; }
.review cite { font-style: normal; padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-lux { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { margin-bottom: 40px; color: rgba(248,244,236,.7); }
.contact-list { border-top: 1px solid var(--line-dk); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dk); }
.ci-ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(201,166,94,.5); font-size: 1.05rem; }
.contact-list strong { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-3); }
.contact-list div { color: var(--ivory); }
.contact-list a:hover { color: var(--gold-3); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.socials a { padding: 11px 20px; border: 1px solid var(--line-dk); color: var(--ivory); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.contact-form { background: var(--ivory); color: var(--ink); padding: 50px 46px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field label { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(42,38,34,.25); border-radius: 0; background: transparent;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-submit {
  width: 100%; margin-top: 12px; padding: 19px 30px; border: 0; border-radius: 0; cursor: pointer; background: var(--navy); color: var(--ivory);
  font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; transition: background .3s;
}
.contact-form .wpcf7-submit:hover { background: var(--gold); color: var(--navy); }
.contact-form .wpcf7-spinner { display: block; margin: 12px auto 0; }
.contact-form .wpcf7-not-valid-tip { color: #a12a1a; font-size: .8rem; margin-top: 4px; }
.contact-form .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-width: 1px; font-size: .9rem; text-align: center; }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: #1a7f4b; color: #1a7f4b; }
.contact-form .wpcf7 form.invalid .wpcf7-response-output, .contact-form .wpcf7 form.failed .wpcf7-response-output { border-color: #a12a1a; color: #a12a1a; }
.form-placeholder { color: var(--muted); text-align: center; }
.contact-map { margin-top: 60px; height: 380px; border: 1px solid var(--line-dk); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(.95); }

/* ---------- Footer ---------- */
.site-footer { background: #0a101e; color: rgba(248,244,236,.62); padding: 90px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 64px; }
.footer-logo-wrap { display: inline-block; margin-bottom: 24px; }
.footer-logo { height: 46px; width: auto; }
.footer-logo-wrap { background: var(--ivory); padding: 10px 18px; }
.footer-brand p { max-width: 360px; font-size: .95rem; }
.footer-col h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 22px; }
.footer-col li { margin-bottom: 12px; font-size: .94rem; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid var(--line-dk); padding: 26px 0; }
.footer-bottom p { text-align: center; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Inner pages ---------- */
.page-banner { position: relative; padding: calc(var(--header-h) + 90px) 0 90px; text-align: center; background: var(--navy); color: var(--ivory); overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: url('../images/pattern.svg') center/200px repeat; opacity: .35; }
.page-banner .container { position: relative; }
.page-banner .kicker { color: var(--gold-3); }
.page-banner .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.page-banner h1 { color: var(--ivory); font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.page-banner p { color: rgba(248,244,236,.7); max-width: 660px; margin: 18px auto 0; }
.section-tight { padding-top: 0; padding-bottom: 0; }
.entry-wrap { max-width: 860px; }
.entry-media img { width: 100%; height: auto; margin-bottom: 48px; }
.entry-content { color: var(--muted); font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; color: var(--ink); }
.entry-content a { color: var(--gold); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; list-style: revert; }
.entry-content blockquote { border-left: 2px solid var(--gold); padding-left: 22px; font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.entry-back { margin-top: 48px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--paper); border: 1px solid var(--line); }
.post-card-media img { width: 100%; height: 230px; object-fit: cover; }
.post-card-body { padding: 28px; }
.post-card-title { font-size: 1.5rem; margin-bottom: 10px; }
.post-meta { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.read-more { display: inline-block; margin-top: 14px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.empty-state { text-align: center; color: var(--muted); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers { padding: 9px 15px; border: 1px solid var(--line); }
.nav-links .current { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(10,16,30,.95); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92%; max-height: 86vh; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border: 1px solid rgba(248,244,236,.35); background: transparent; color: var(--ivory); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.lightbox-close:hover { transform: rotate(90deg); background: rgba(248,244,236,.1); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; right: 26px; bottom: 26px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--gold); box-shadow: 0 16px 30px -12px rgba(14,21,38,.6); transition: transform .35s var(--ease), background .3s; }
.whatsapp-float:hover { transform: scale(1.08); background: var(--gold-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
===================================================================== */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; letter-spacing: .14em; }
  .about-lux { gap: 60px; }
  .contact-lux { gap: 50px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .section { padding: 100px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: 110; padding: 120px 32px 40px; background: var(--navy);
    display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-dk); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(2) { transition-delay: .05s; } .main-nav.open li:nth-child(3) { transition-delay: .1s; }
  .main-nav.open li:nth-child(4) { transition-delay: .15s; } .main-nav.open li:nth-child(5) { transition-delay: .2s; }
  .main-nav.open li:nth-child(6) { transition-delay: .25s; } .main-nav.open li:nth-child(7) { transition-delay: .3s; border: 0; }
  .main-nav a { color: var(--ivory); font-family: var(--serif); font-size: 1.9rem; font-weight: 300; letter-spacing: 0; text-transform: none; padding: 16px 0; }
  .main-nav a::after { display: none; }
  .main-nav a.nav-cta { margin: 28px 0 0; padding: 18px; text-align: center; font-family: var(--sans); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; }
  .nav-open .site-header { background: transparent; border-color: transparent; }
  .nav-open .nav-toggle { border-color: rgba(248,244,236,.35); }
  .nav-open .nav-toggle span { background: var(--ivory); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .about-lux { grid-template-columns: 1fr; }
  .about-collage { max-width: 640px; }
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
  .organise-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .gallery > .gallery-item:nth-child(n) { grid-column: auto; }
  .gallery--odd > .gallery-item:first-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .contact-lux { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .brand-logo, .site-header.scrolled .brand-logo { height: 38px; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 110px; } /* re-set: .container above resets vertical padding */
  .hero-actions .btn { width: 100%; }
  .hero-dots { left: 20px; right: auto; bottom: 34px; }
  .hero-scroll { display: none; }
  .about-collage { padding: 0 0 76px 0; }
  .about-signature strong { font-size: 1.5rem; }
  .grid-lines, .menu-grid, .steps { grid-template-columns: 1fr; }
  .service-cell { padding: 38px 28px; }
  .organise-card { grid-template-columns: 76px 1fr; gap: 20px; padding: 32px 22px; }
  .organise-media img { width: 76px; height: 76px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 8px; }
  .gallery-caption { display: none; }
  .tabs { margin-top: -10px; }
  .tab { padding: 12px 16px; letter-spacing: .14em; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: 0; border-top: 1px solid var(--line); }
  .contact-form { padding: 34px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
