/* ============================================================
   SIORA EVENTS — design system  (v3: burgundy / royal)
   Ivory canvas, whisper-weight serif, deep burgundy register,
   antique-gold hairlines, soft tinted bands, rounded frames.
   ============================================================ */

:root {
  /* Palette */
  --ivory:        #F6F1E7;
  --ivory-deep:   #EFE7DA;
  --ink:          #24181D;   /* near-black with a plum cast — no brown */
  --ink-soft:     #5A4B52;
  --ink-faint:    #8C7C84;
  --gold:         #B08A47;
  --gold-line:    rgba(176, 138, 71, 0.4);
  --burgundy:     #5C1A2E;   /* dark register: hero, cta, footer */
  --burgundy-deep:#3E0F1E;
  --clay:         #C99A8C;
  --on-dark:      #F6F1E7;
  --on-dark-soft: rgba(246, 241, 231, 0.74);

  /* Soft tints for cards and section bands */
  --tint-blush:     #F4E3E0;
  --tint-champagne: #F3E8D3;
  --tint-plum:      #EEDFE5;
  --tint-gold:      #F6ECD8;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', Helvetica, Arial, sans-serif;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 108px);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ------------------------------------------------ Typography */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6.6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 400; margin-bottom: 0.4em; }

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  max-width: 34em;
}
p { max-width: 65ch; }
.muted { color: var(--ink-soft); }

/* Kicker — the small label above headings. Burgundy, larger, clearly legible. */
.kicker {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.band--dark .kicker { color: var(--gold); }

/* ------------------------------------------------ Buttons */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--burgundy); color: var(--ivory); }
.btn--solid { background: var(--burgundy); color: var(--ivory); }
.btn--solid:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn--light { border-color: var(--on-dark); color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--burgundy); }

/* ------------------------------------------------ Header — centred, stacked */

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
  padding-top: 26px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 4px;
}
.brand img { height: 74px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: 0.3em;
  font-weight: 400;
  color: var(--ink);
  margin-top: 8px;
  /* optical centring: letter-spacing adds a trailing gap */
  padding-left: 0.3em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.55em;
  padding-left: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { position: relative; margin-top: 18px; }
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3.4vw, 44px);
  list-style: none;
  border-top: 1px solid var(--gold-line);
  padding: 16px 0 18px;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { border-bottom-color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.nav-cta {
  border: 1px solid var(--burgundy) !important;
  color: var(--burgundy) !important;
  padding: 9px 22px !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--burgundy); color: var(--ivory) !important; }

.nav-toggle {
  display: none;
  margin: 14px auto 16px;
  background: none;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  border-radius: 999px;
  padding: 9px 22px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; gap: 4px; padding: 6px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav-cta { margin-top: 8px; display: inline-block; }
}

/* ------------------------------------------------ Sections */

section { padding-block: var(--section); }
.band { background: var(--ivory-deep); }
.band--dark { background: var(--burgundy); color: var(--on-dark); }
.band--dark .muted, .band--dark p { color: var(--on-dark-soft); }
.rule { border: 0; border-top: 1px solid var(--gold-line); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); }
.band--dark .section-head p { color: var(--on-dark-soft); }

/* ------------------------------------------------ Hero */

.hero {
  background: linear-gradient(168deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--on-dark);
  padding-block: clamp(64px, 8vw, 116px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { color: var(--on-dark); margin-bottom: 26px; }
.hero .lede { color: var(--on-dark-soft); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.24);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Image frames + placeholders
   Every photo slot is a .frame. Placeholders carry class .ph plus a data-photo
   filename; js/photos.js swaps in the real image automatically when that file
   exists in assets/photos/. No HTML editing required.
*/

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  position: relative;
  background: var(--ivory-deep);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.ph {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(380px, 52vh, 540px);
  padding: 26px;
}
.ph span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(246, 241, 231, 0.78);
}
.ph--burgundy  { background: linear-gradient(190deg, #7A2A42 0%, var(--burgundy-deep) 95%); }
.ph--clay      { background: linear-gradient(190deg, #D6AC9F 0%, #A87A6C 95%); }
.ph--champagne { background: linear-gradient(190deg, #EADFC6 0%, #C9B48F 95%); }
.ph--champagne span, .ph--clay span { color: rgba(36, 24, 29, 0.66); }
.ph--tall { min-height: clamp(480px, 68vh, 660px); }

.showcase { padding: 0; }
.showcase-media { min-height: clamp(400px, 64vh, 680px); width: 100%; border-radius: 0; border: 0; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------ Service tiles — tinted cards */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.tile {
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  padding: clamp(28px, 3.2vw, 40px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(62, 15, 30, 0.45); }
.tile h3 { color: var(--burgundy); }
.tile p { font-size: 0.95rem; color: var(--ink-soft); }
.tile-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.tint-blush     { background: var(--tint-blush); }
.tint-champagne { background: var(--tint-champagne); }
.tint-plum      { background: var(--tint-plum); }
.tint-gold      { background: var(--tint-gold); }
@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tile-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Occasions strip */

.occasions { display: flex; flex-wrap: wrap; gap: 12px; }
.occasions li {
  list-style: none;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.92rem;
  background: rgba(255,255,255,0.35);
}

/* ------------------------------------------------ Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 52px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--burgundy);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Two-column feature */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split .lede { margin-bottom: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Events page — tinted category bands with sliders */

.category {
  padding-block: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--gold-line);
}
.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.category-index {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.category h2 { color: var(--burgundy); }
.category-list {
  list-style: none;
  margin-top: 22px;
}
.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gold-line);
  font-size: 0.98rem;
}
.category-list li:first-child { border-top: 1px solid var(--gold-line); }
@media (max-width: 860px) { .category-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Sliders (reusable) */

.slider { position: relative; }
.slide { display: none; margin: 0; }
.slide.is-active { display: block; }
.slide-media { height: clamp(440px, 72vh, 780px); min-height: 0; cursor: zoom-in; }
.slider--compact .slide-media { height: clamp(340px, 44vh, 480px); }
.slide figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.slide figcaption .hint { color: var(--ink-faint); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

.slider-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  font-size: 1.25rem; line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.slider-btn:hover { background: var(--burgundy); color: var(--ivory); }
.slider-count { min-width: 60px; text-align: center; font-size: 0.88rem; letter-spacing: 0.12em; color: var(--ink-soft); }
.slider-expand {
  margin-left: auto;
  font: inherit; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  background: transparent;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.slider-expand:hover { background: var(--burgundy); color: var(--ivory); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(40, 10, 20, 0.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox-media { width: min(1080px, 92vw); }
.lightbox-media .frame, .lightbox-media .ph { height: min(76vh, 820px); min-height: 0; cursor: default; }
.lightbox-caption { color: var(--on-dark-soft); margin-top: 18px; font-size: 0.95rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 231, 0.55);
  background: transparent;
  color: var(--on-dark);
  font-size: 1.3rem; line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--on-dark); color: var(--burgundy-deep); }
.lightbox-close { top: 22px; right: 24px; }
.lightbox-nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-nav--prev { left: 8px; } .lightbox-nav--next { right: 8px; } .lightbox-close { right: 12px; }
}

/* ------------------------------------------------ Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 90px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-ways { list-style: none; margin-top: 28px; }
.contact-ways li { padding: 16px 0; border-bottom: 1px solid var(--gold-line); }
.contact-ways .label {
  display: block; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 3px;
}
.contact-ways a { text-decoration: none; font-size: 1.05rem; }
.contact-ways a:hover { color: var(--burgundy); text-decoration: underline; }

.form-card {
  background: var(--tint-champagne);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #FDFBF6;
  border: 1px solid rgba(176, 138, 71, 0.5);
  border-radius: 10px;
  padding: 13px 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 14px; }

/* ------------------------------------------------ CTA band */

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Footer */

.site-footer {
  background: var(--burgundy-deep);
  color: var(--on-dark);
  padding-block: clamp(52px, 7vw, 80px) 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.16);
}
.site-footer h4 {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-brand p { color: var(--on-dark-soft); font-size: 0.95rem; margin-top: 16px; max-width: 34ch; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px; font-size: 0.82rem; color: rgba(246, 241, 231, 0.55);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Utilities */

.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 28px; }
.mt-3 { margin-top: 46px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ivory); padding: 10px 18px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
