/* Even Events. Tokens from the brand sheet (20261102): ink, ivory, burgundy, grey stone, slate blue; gold from its weddings variation. */
/* Bodoni Moda, SIL Open Font License 1.1 (fonts/OFL.txt), self-hosted, Latin subset, variable weight and optical size. */
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
:root {
  --ink: #0F1722; --ivory: #F7F2E8; --burgundy: #6B1F2A; --stone: #B8B3AC; --slate: #657B91; --gold: #B98A45;
  --paper: #FBF8F2; --line: #DCD6CC; --muted: #4A5361;
  --social: var(--burgundy); --corporate: var(--slate); --weddings: var(--gold); --productions: var(--stone);
  /* Headings in Bodoni Moda. The wordmark will be an outlined SVG (Sonder or Fornire, desktop licence), so no licensed font ships. */
  --display: "Bodoni Moda", Didot, "Bodoni MT", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: min(1120px, 100% - 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, .board:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.eyebrow, .tag, .top nav a, .btn, .meter { font-family: var(--body); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; }
.eyebrow { color: var(--burgundy); margin: 0 0 .8rem; display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--burgundy); }
.wordmark { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-optical-sizing: none; font-variation-settings: "opsz" 11; font-weight: 500; }
.wordmark.small { font-size: 1.15rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.todo { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(16px, (100% - 1120px) / 2); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; }
.brand img { width: 40px; height: auto; border-radius: 8px; }
.top ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-color: var(--burgundy); }
.menu-btn { display: none; font: inherit; background: none; border: 1px solid var(--ink); color: var(--ink); padding: 6px 12px; border-radius: 4px; }
@media (max-width: 760px) {
  .js .menu-btn { display: block; }
  .js .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .js .top nav.open { display: block; }
  .js .top ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .js .top nav a { display: block; padding: 10px 0; }
  html:not(.js) .top { flex-wrap: wrap; }
  html:not(.js) .top ul { flex-wrap: wrap; gap: 10px 16px; }
}

/* layout */
main > section { width: var(--wrap); margin: 0 auto; }
.band { padding: 56px 0; border-top: 1px solid var(--line); }
.page-head { padding: 64px 0 24px; }
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding: 56px 0 48px; }
.hero .wordmark { font-size: clamp(2.2rem, 7vw, 4.4rem); letter-spacing: .1em; }
.hero-mark img { width: 100%; max-width: 440px; margin-left: auto; }
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .hero, .split { grid-template-columns: 1fr; } .hero-mark img { max-width: 260px; margin: 0 auto; } }

.btn { display: inline-block; padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); text-decoration: none; border-radius: 2px; cursor: pointer; font-size: .74rem; }
.btn:hover { background: var(--burgundy); border-color: var(--burgundy); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.btn.light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); text-transform: none; letter-spacing: .02em; font-size: 1rem; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; }

/* service cards: one colour per event type */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--ivory); border: 1px solid var(--line); border-top: 4px solid var(--c); padding: 22px; }
.card .chip { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--c); margin-bottom: 14px; }
.card.social { --c: var(--social); } .card.corporate { --c: var(--corporate); } .card.weddings { --c: var(--weddings); } .card.productions { --c: var(--productions); }

.photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--stone), var(--slate)); display: grid; place-items: center; color: var(--ivory); text-align: center; padding: 16px; }
.cta { background: var(--burgundy); color: var(--ivory); padding: 56px 32px; border: 0; margin-bottom: 56px !important; }
.cta h2 { color: var(--ivory); }
.steps { padding-left: 1.2em; } .steps li { margin: .5em 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.25rem; }
.big-mail { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 2.4rem); overflow-wrap: anywhere; }

/* footer */
.foot { background: var(--ink); color: var(--ivory); padding: 40px max(16px, (100% - 1120px) / 2); display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; }
.foot a { color: var(--ivory); }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot .tag { color: var(--stone); font-size: .7rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-mail { margin: 0; overflow-wrap: anywhere; }
.foot-legal { margin: 0; color: var(--stone); font-size: .85rem; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr; } }

/* 404: rebuild the home page */
.lost { padding: 40px 0 64px; }
.lost h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); max-width: 22ch; }
.game { display: grid; justify-items: center; gap: 12px; margin-top: 16px; }
.board { --cell: min(34px, (100vw - 40px) / 12, (100svh - 150px) / 14); position: relative; width: calc(var(--cell) * 12); height: calc(var(--cell) * 14);
  background: repeating-linear-gradient(0deg, transparent 0 calc(var(--cell) - 1px), var(--line) 0 var(--cell)),
              repeating-linear-gradient(90deg, transparent 0 calc(var(--cell) - 1px), var(--line) 0 var(--cell)), var(--ivory);
  border: 1px solid var(--ink); overflow: hidden; touch-action: manipulation; }
.slot, .piece { position: absolute; left: calc(var(--c) * var(--cell)); top: calc(var(--r) * var(--cell)); width: calc(var(--w) * var(--cell)); height: calc(var(--h) * var(--cell)); }
.slot { border: 1px dashed var(--stone); }
.piece { display: grid; place-items: center; overflow: hidden; color: var(--ivory); font: 600 clamp(.5rem, 1.6vw, .72rem) / 1.1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 2px; border: 1px solid rgba(15, 23, 34, .35); transition: top .08s linear, left .08s linear; }
.piece.falling { box-shadow: 0 6px 0 rgba(15, 23, 34, .18); }
.piece.miss { animation: shake .35s; }
.piece.locked { box-shadow: inset 0 0 0 2px rgba(247, 242, 232, .5); }
.p-nav, .p-foot { background: var(--ink); } .p-hero { background: var(--paper); color: var(--ink); font-family: var(--display); letter-spacing: .14em; font-size: clamp(.7rem, 2.6vw, 1.1rem); }
.p-logo { background: var(--paper); } .p-logo img { width: 92%; height: 92%; object-fit: contain; }
.p-social { background: var(--social); } .p-corporate { background: var(--corporate); } .p-weddings { background: var(--weddings); } .p-productions { background: var(--productions); color: var(--ink); }
.p-about { background: var(--ivory); color: var(--ink); } .p-photo { background: linear-gradient(160deg, var(--stone), var(--slate)); } .p-cta { background: var(--burgundy); }
.pad { display: flex; gap: 10px; } .pad button { width: 64px; height: 52px; font-size: 1.2rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 6px; }
.js .pad[hidden] { display: none; }
.meter { margin: 0; color: var(--muted); }
.status { min-height: 1.6em; margin: 0; font-weight: 600; text-align: center; }
.lost-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.nojs { padding: 16px; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .piece { transition: none; } .piece.miss { animation: none; } }

/* Entrance (Home, first visit per tab session): the chameleon mark shifts through the four event colours, the full mark settles,
   the wordmark opens out, then a circle opens onto the page. Script-added only; reduced motion never sees it. Skip: click, any key, Skip. */
.intro { position: fixed; inset: 0; z-index: 50; background: var(--ivory); display: grid; place-items: center; align-content: center; gap: 22px;
  clip-path: circle(150% at 50% 45%); transition: clip-path .9s cubic-bezier(.7, 0, .3, 1), visibility 0s .9s; cursor: pointer; }
.intro.open { clip-path: circle(0% at 50% 45%); visibility: hidden; }
.intro .stage { position: relative; width: min(46vw, 260px); aspect-ratio: 540 / 440; }
.intro .tint, .intro .full { position: absolute; inset: 0; }
.intro .tint { -webkit-mask: url("/assets/img/mark.webp") center / contain no-repeat; mask: url("/assets/img/mark.webp") center / contain no-repeat;
  background: var(--c); opacity: 0; animation: tint .9s ease-in-out forwards; animation-delay: var(--d); }
.intro .full { background: url("/assets/img/mark.webp") center / contain no-repeat; opacity: 0; animation: settle .6s ease-out 1.8s forwards; }
.intro .word { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 11; font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.4rem, 5vw, 2.4rem); letter-spacing: 0; opacity: 0; animation: word .9s ease-out 2s forwards; margin: 0; white-space: nowrap; }
.intro .tagline { font-family: var(--body); text-transform: uppercase; letter-spacing: .3em; font-size: .7rem; color: var(--burgundy); opacity: 0; animation: settle .6s ease-out 2.5s forwards; margin: 0; }
.intro .skip-intro { position: absolute; right: 16px; bottom: 16px; font: inherit; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  background: none; border: 1px solid var(--ink); color: var(--ink); padding: 8px 14px; cursor: pointer; }
@keyframes tint { 0% { opacity: 0; transform: scale(.94); } 20%, 45% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; } }
@keyframes settle { to { opacity: 1; } }
@keyframes word { from { opacity: 0; letter-spacing: 0; } to { opacity: 1; letter-spacing: .22em; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }
/* Cover until the entrance is built; fades by itself after 4 s if the script never runs. */
html.intro-on::before { content: ""; position: fixed; inset: 0; z-index: 49; background: var(--ivory); animation: cover-out .3s 4s forwards; }
@keyframes cover-out { to { opacity: 0; visibility: hidden; } }

/* Holding page */
.hold { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 48px 16px; width: 100% !important; }
.hold-mark { width: min(52vw, 240px); margin-bottom: 18px; }
.hold .wordmark { font-size: clamp(1.8rem, 7vw, 3.2rem); letter-spacing: .2em; margin: 0; }
.eyebrow.center { justify-content: center; } .eyebrow.center::after { content: ""; width: 32px; height: 1px; background: var(--burgundy); }
.hold-line { font-family: var(--display); font-size: clamp(1.2rem, 3.6vw, 1.6rem); margin: 22px 0 10px; }
.hold-types { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.hold-types li { display: flex; align-items: center; gap: 8px; } .hold-types li::before { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: var(--c); }
.hold-types .social { --c: var(--social); } .hold-types .corporate { --c: var(--corporate); } .hold-types .weddings { --c: var(--weddings); } .hold-types .productions { --c: var(--productions); }
.hold-foot { text-align: center; padding: 16px; color: var(--muted); font-size: .85rem; }
