/* ===================================================================
   FERMATA EVENTS — shared stylesheet
   Brand idea: a fermata (𝄐) is the musical symbol meaning "hold this
   note." It anchors the logo, section dividers, and step markers.
   =================================================================== */

:root{
  --ink:#111111;
  --paper:#ffffff;
  --mist:#f3f2f0;
  --line:#dedddb;
  --accent:#7a1f2b;
  --accent-tint:#f5e9ea;
  --ink-soft:#4a4a4a;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; }
img,svg{ display:block; max-width:100%; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

h1,h2,h3{ font-family:var(--display); margin:0; letter-spacing:-0.01em; }

.eyebrow{
  font-family:var(--body); font-size:12px; font-weight:600;
  letter-spacing:0.18em; text-transform:uppercase; color:var(--accent);
  display:inline-block; margin-bottom:14px;
}

/* ---------- FERMATA MARK ---------- */
.fermata-mark{ display:inline-block; }
.fermata-mark path{ fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.fermata-mark circle{ fill:currentColor; stroke:none; }

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.logo .fermata-mark{ color:var(--accent); width:22px; height:14px; }
.logo-text{ font-family:var(--display); font-weight:600; font-size:19px; letter-spacing:0.01em; }
.navlinks{ display:flex; gap:34px; list-style:none; margin:0; padding:0; }
.navlinks a{ text-decoration:none; font-size:14px; font-weight:500; color:var(--ink-soft); }
.navlinks a:hover, .navlinks a.active{ color:var(--ink); }
.navlinks a:focus-visible, a:focus-visible, button:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:2px;
}
.nav-cta{
  font-size:13px; font-weight:600; text-decoration:none;
  border:1px solid var(--ink); padding:10px 20px; border-radius:2px;
  transition:background 0.2s ease, color 0.2s ease; white-space:nowrap;
}
.nav-cta:hover{ background:var(--ink); color:var(--paper); }
.menu-btn{ display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:4px; }
.menu-btn span{ width:22px; height:2px; background:var(--ink); display:block; }
@media (max-width:860px){
  .navlinks{
    position:absolute; top:100%; left:0; right:0; background:var(--paper);
    flex-direction:column; gap:0; border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height 0.3s ease;
  }
  .navlinks.open{ max-height:400px; }
  .navlinks li{ border-top:1px solid var(--line); }
  .navlinks a{ display:block; padding:16px 20px; }
  .menu-btn{ display:flex; }
  .nav-cta{ display:none; }
}

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero{ background:var(--ink); color:var(--paper); padding:72px 0 56px; }
.page-hero .eyebrow{ color:#c9a3a8; }
.page-hero h1{ font-size:clamp(34px,5vw,56px); font-weight:600; max-width:760px; }
.page-hero p{ color:#d8d8d6; font-size:17px; max-width:560px; margin-top:16px; }

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-block; text-decoration:none; font-size:14px; font-weight:600;
  padding:15px 28px; border-radius:2px; transition:all 0.2s ease;
  border:1px solid transparent; cursor:pointer; font-family:var(--body);
}
.btn-primary{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.btn-primary:hover{ background:transparent; color:var(--paper); border-color:var(--paper); }
.btn-outline{ border-color:#565656; color:var(--paper); }
.btn-outline:hover{ border-color:var(--paper); }
.btn-dark{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn-dark:hover{ background:transparent; color:var(--ink); }
.btn-dark:disabled{ opacity:0.35; cursor:not-allowed; }
.btn-dark:disabled:hover{ background:var(--ink); color:var(--paper); }

/* ---------- BIG CTA (home) ---------- */
.big-cta{
  display:block; text-decoration:none; color:var(--paper);
  background:var(--accent); border-radius:3px; padding:52px 44px;
  position:relative; overflow:hidden; transition:transform 0.25s ease;
}
.big-cta:hover{ transform:translateY(-3px); }
.big-cta .eyebrow{ color:#f0c9ce; }
.big-cta h2{ font-size:clamp(28px,4.2vw,44px); font-weight:600; max-width:640px; }
.big-cta p{ color:#f0d3d6; margin-top:14px; font-size:16px; max-width:520px; }
.big-cta .arrow{ margin-top:26px; display:flex; align-items:center; gap:10px; font-weight:600; font-size:14px; }

/* ---------- SECTION SCAFFOLD ---------- */
section{ padding:96px 0; }
@media (max-width:640px){ section{ padding:64px 0; } }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,4vw,40px); font-weight:600; }
.section-head p{ color:var(--ink-soft); font-size:16px; margin-top:14px; }

.divider{ display:flex; align-items:center; justify-content:center; }
.divider svg{ height:24px; }
.divider path{ stroke:var(--line); stroke-width:1.5; fill:none; }
.divider .mark{ color:var(--accent); }

.reveal{ opacity:0; transform:translateY(24px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- STATS STRIP (about) ---------- */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
@media (max-width:760px){ .stats{ grid-template-columns:1fr 1fr; } }
.stat{ background:var(--paper); padding:32px 24px; text-align:center; }
.stat .num{ font-family:var(--display); font-size:36px; font-weight:600; }
.stat .label{ font-size:13px; color:var(--ink-soft); margin-top:6px; }

/* ---------- TIMELINE (about) ---------- */
.timeline{ border-left:2px solid var(--line); padding-left:28px; display:flex; flex-direction:column; gap:32px; }
.tl-item{ position:relative; }
.tl-item::before{
  content:''; position:absolute; left:-33px; top:4px; width:8px; height:8px;
  border-radius:50%; background:var(--accent);
}
.tl-item .yr{ font-family:var(--display); font-size:14px; font-weight:600; color:var(--accent); }
.tl-item p{ margin:6px 0 0; color:var(--ink-soft); font-size:15px; }

/* ---------- PHOTO BLOCK ---------- */
.photo-block{
  aspect-ratio:4/5; border-radius:2px;
  background:repeating-linear-gradient(135deg, #ececea 0px, #ececea 2px, #f6f6f5 2px, #f6f6f5 22px);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  color:#a5a5a3; font-size:13px; text-align:center; padding:20px;
}

/* ---------- OCCASIONS / CARD GRID ---------- */
.card-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--line); border:1px solid var(--line); }
@media (max-width:760px){ .card-grid-2{ grid-template-columns:1fr; } }
.card{ background:var(--paper); padding:44px 38px; }
.card h3{ font-size:22px; font-weight:600; }
.card .tag{ font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; display:block; }
.card p{ color:var(--ink-soft); margin-top:12px; font-size:15px; }
.card ul{ margin:18px 0 0; padding:0; list-style:none; }
.card li{ font-size:14px; color:var(--ink-soft); padding:9px 0; border-top:1px solid var(--line); }
.card li:first-child{ border-top:none; }

/* ---------- REPERTOIRE ---------- */
.rep-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .rep-grid{ grid-template-columns:1fr; } }
.rep-card{ border:1px solid var(--line); padding:34px 28px; border-radius:2px; }
.rep-card .num{ font-family:var(--display); font-size:13px; color:#b8b8b6; letter-spacing:0.1em; }
.rep-card h3{ font-size:20px; margin-top:12px; font-weight:600; }
.rep-card p.desc{ color:var(--ink-soft); font-size:14px; margin-top:10px; }
.rep-card ul{ margin:20px 0 0; padding:0; list-style:none; }
.rep-card li{ font-size:14px; padding:8px 0; border-top:1px solid var(--line); color:var(--ink-soft); }
.rep-card li:first-child{ border-top:none; }

/* ---------- ENSEMBLES ---------- */
.ensemble-row{ display:grid; grid-template-columns:140px 1fr 1fr; gap:24px; padding:20px 0; border-top:1px solid var(--line); align-items:baseline; }
.ensemble-row:first-child{ border-top:none; }
.ensemble-row .name{ font-family:var(--display); font-weight:600; font-size:16px; }
.ensemble-row .who{ font-size:14px; color:var(--ink-soft); }
.ensemble-row .best{ font-size:14px; color:var(--ink-soft); }
@media (max-width:700px){ .ensemble-row{ grid-template-columns:1fr; gap:6px; } }

/* ---------- LOCATIONS ---------- */
.loc-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.chip{ border:1px solid var(--line); border-radius:20px; padding:9px 18px; font-size:13px; color:var(--ink-soft); }

/* ---------- PRICING ---------- */
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); margin-top:8px; }
@media (max-width:860px){ .price-grid{ grid-template-columns:1fr; } }
.price-card{ background:var(--paper); padding:34px 28px; }
.price-card .tag{ font-size:12px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-soft); }
.price-card h3{ font-size:30px; margin-top:14px; font-weight:600; }
.price-card h3 span{ font-size:15px; font-weight:500; color:var(--ink-soft); }
.price-card p{ font-size:14px; color:var(--ink-soft); margin-top:14px; }

/* ---------- MUSICAL MEMORY ---------- */
.memory-block{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; background:var(--mist); border-radius:3px; padding:48px; }
@media (max-width:860px){ .memory-block{ grid-template-columns:1fr; padding:32px 24px; } }
.memory-block h3{ font-size:26px; font-weight:600; }
.memory-block p{ color:var(--ink-soft); margin-top:14px; font-size:15px; }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; border:1px solid var(--line); background:var(--paper);
  padding:13px 14px; font-family:var(--body); font-size:14px; border-radius:2px; color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--ink); outline-offset:1px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:480px){ .field-row{ grid-template-columns:1fr; } }
.field-hint{ font-size:12px; color:var(--ink-soft); margin-top:6px; }
.contact-info dt{ font-size:12px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent); margin-top:26px; }
.contact-info dt:first-child{ margin-top:0; }
.contact-info dd{ margin:6px 0 0; font-size:16px; }
.suggested-box{ background:var(--mist); border-radius:2px; padding:22px 24px; margin-top:26px; }
.suggested-box .eyebrow{ margin-bottom:8px; }
.suggested-box ul{ margin:10px 0 0; padding-left:18px; font-size:14px; color:var(--ink-soft); }
.suggested-box li{ margin-bottom:6px; }

/* ---------- WEDDING BUILDER (customize.html) ---------- */
.builder{ display:grid; grid-template-columns:1fr 300px; gap:48px; align-items:start; }
@media (max-width:900px){ .builder{ grid-template-columns:1fr; } }

.stepper{ display:flex; gap:0; list-style:none; padding:0; margin:0 0 44px; }
.stepper li{
  flex:1; text-align:center; font-size:12px; font-weight:600; letter-spacing:0.06em;
  text-transform:uppercase; color:#b8b8b6; padding-bottom:14px; border-bottom:2px solid var(--line);
  position:relative;
}
.stepper li.done, .stepper li.active{ color:var(--ink); border-color:var(--ink); }
.stepper li .fermata-mark{ width:14px; height:9px; margin:0 auto 6px; color:#c9c9c7; }
.stepper li.done .fermata-mark, .stepper li.active .fermata-mark{ color:var(--accent); }

.builder-step{ display:none; }
.builder-step.active{ display:block; animation:fadein 0.4s ease; }
@keyframes fadein{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }

.opt-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:760px){ .opt-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .opt-grid{ grid-template-columns:1fr; } }
.opt-card{
  border:1px solid var(--line); border-radius:2px; padding:20px 16px; cursor:pointer;
  transition:border-color 0.15s ease, background 0.15s ease; text-align:left; background:var(--paper);
  font-family:var(--body); width:100%;
}
.opt-card:hover{ border-color:#a8a8a6; }
.opt-card.selected{ border-color:var(--accent); background:var(--accent-tint); }
.opt-card .name{ font-weight:600; font-size:15px; }
.opt-card .sub{ font-size:12.5px; color:var(--ink-soft); margin-top:4px; }
.opt-card .check{
  float:right; width:18px; height:18px; border:1.5px solid var(--line); border-radius:50%;
}
.opt-card.selected .check{ border-color:var(--accent); background:var(--accent); position:relative; }
.opt-card.selected .check::after{
  content:''; position:absolute; left:5px; top:2px; width:4px; height:8px;
  border-right:2px solid white; border-bottom:2px solid white; transform:rotate(40deg);
}

.genre-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
@media (max-width:640px){ .genre-grid{ grid-template-columns:1fr; } }
.genre-card{
  border:1px solid var(--line); border-radius:3px; padding:26px 22px; cursor:pointer;
  transition:border-color 0.15s ease, background 0.15s ease; text-align:left; background:var(--paper); font-family:var(--body);
}
.genre-card:hover{ border-color:#a8a8a6; }
.genre-card.selected{ border-color:var(--accent); background:var(--accent-tint); }
.genre-card .name{ font-family:var(--display); font-weight:600; font-size:18px; }
.genre-card .sub{ font-size:13px; color:var(--ink-soft); margin-top:8px; }

.song-list{ display:flex; flex-direction:column; gap:2px; background:var(--line); border:1px solid var(--line); border-radius:2px; overflow:hidden; }
.song-row{
  background:var(--paper); display:flex; align-items:center; gap:16px; padding:14px 18px;
  cursor:pointer;
}
.song-row:hover{ background:var(--mist); }
.song-row.selected{ background:var(--accent-tint); }
.song-row .preview-btn{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--paper);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:not-allowed;
}
.song-row .meta{ flex:1; }
.song-row .title{ font-size:14.5px; font-weight:500; }
.song-row .composer{ font-size:12.5px; color:var(--ink-soft); }
.song-row .segment-tag{ font-size:11px; color:var(--ink-soft); border:1px solid var(--line); border-radius:10px; padding:3px 10px; white-space:nowrap; }
.song-row .check{ width:18px; height:18px; border:1.5px solid var(--line); border-radius:4px; flex-shrink:0; position:relative; }
.song-row.selected .check{ border-color:var(--accent); background:var(--accent); }
.song-row.selected .check::after{
  content:''; position:absolute; left:5px; top:2px; width:5px; height:9px;
  border-right:2px solid white; border-bottom:2px solid white; transform:rotate(40deg);
}

.builder-nav{ display:flex; justify-content:space-between; margin-top:36px; gap:14px; }

.sidebar{
  position:sticky; top:96px; border:1px solid var(--line); border-radius:3px; padding:26px 22px;
  background:var(--mist);
}
.sidebar h4{ font-family:var(--display); font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; }
.sidebar .group{ margin-top:18px; }
.sidebar .group-label{ font-size:11px; font-weight:600; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.06em; }
.sidebar .group ul{ margin:8px 0 0; padding:0; list-style:none; }
.sidebar .group li{ font-size:13.5px; padding:4px 0; }
.sidebar .empty{ font-size:13px; color:#a5a5a3; font-style:italic; }
.sidebar .count-badge{
  display:inline-block; background:var(--accent); color:white; font-size:11px; font-weight:700;
  border-radius:10px; padding:2px 8px; margin-left:6px;
}

.review-summary{ background:var(--mist); border-radius:3px; padding:32px; margin-bottom:28px; }
.review-summary h4{ font-family:var(--display); font-size:15px; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:14px; }
.review-summary .group{ margin-bottom:16px; }
.review-summary .group-label{ font-size:12px; font-weight:600; color:var(--accent); text-transform:uppercase; letter-spacing:0.06em; }
.review-summary .group p{ margin:6px 0 0; font-size:14.5px; color:var(--ink); }

/* ---------- FOOTER ---------- */
footer{ background:var(--ink); color:#b7b7b5; padding:52px 0 32px; }
.foot-grid{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px; }
.foot-logo{ display:flex; align-items:center; gap:9px; font-family:var(--display); font-weight:600; font-size:18px; color:var(--paper); }
.foot-logo .fermata-mark{ color:var(--accent); width:20px; height:13px; }
.foot-links{ display:flex; gap:26px; list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.foot-links a{ text-decoration:none; font-size:14px; color:#b7b7b5; }
.foot-links a:hover{ color:var(--paper); }
.foot-bottom{ margin-top:40px; padding-top:22px; border-top:1px solid #2a2a2a; font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#7c7c7a; }
