/* TTS-Events: elegant and festive, laid out like a boutique planner's site. Deep plum and warm gold, graceful serif
   headings, a centred two-row header, a framed banner, arch-shaped photos, the next event as a ticket and the
   programme as a list. Colours and the heading font come from the site settings (layout.php). */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
}

:root {
    --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
    --muted: #6b5d66;
    --muted: color-mix(in srgb, var(--text) 66%, #fff);
    --line: rgba(42, 32, 38, .12);
    --line: color-mix(in srgb, var(--text) 12%, transparent);
    --gold-line: linear-gradient(90deg, transparent, var(--accent), transparent);
    --radius: 16px;
    --radius-small: 10px;
    --shadow: 0 1px 2px rgba(29, 20, 32, .05), 0 18px 40px -18px rgba(29, 20, 32, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8.5rem; }
body { margin: 0; overflow-x: clip; background: #fffdf9; color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
#main, .site-footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 48rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--dark); color: #fff; padding: .6rem 1rem; z-index: 80; border-radius: var(--radius-small); }
.skip-link:focus { top: 1rem; }

/* ---------- Small parts ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); margin: 0 0 1rem; }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    font: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2; letter-spacing: .01em;
    padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { box-shadow: 0 12px 26px -10px var(--primary); }
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover { box-shadow: 0 12px 26px -10px var(--accent); }
.btn--ghost { background: transparent; color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--small { padding: .6rem 1.15rem; font-size: .88rem; }
.btn--large { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.buttons--centred { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.ticks li::before { content: ''; position: absolute; left: .1rem; top: .45em; width: .55rem; height: .55rem; transform: rotate(45deg); background: var(--accent); }
.alert { background: var(--light); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: var(--radius-small); margin: 0 0 1.5rem; }
.alert p:last-child { margin: 0; }
.empty-state { text-align: center; color: var(--muted); padding: 2.5rem 1rem; background: var(--light); border-radius: var(--radius); }
.breadcrumbs { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; color: var(--accent); }
.breadcrumbs a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, #fffdf9 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(29, 20, 32, .4); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "contact brand cta" "nav nav nav"; align-items: center; column-gap: 1.5rem; padding-top: .9rem; }
.site-header__contact { grid-area: contact; margin: 0; font-size: .9rem; font-weight: 600; }
.site-header__contact a { color: var(--muted); text-decoration: none; }
.site-header__contact a::before { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-right: .6rem; transform: rotate(45deg) translateY(-2px); background: var(--accent); }
.site-header__contact a:hover { color: var(--primary); }
.brand { grid-area: brand; text-decoration: none; color: var(--dark); text-align: center; }
.brand__name { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: .02em; }
.brand__logo { max-height: 3.2rem; width: auto; margin: 0 auto; }
.site-nav { display: contents; }
.site-nav__cta { grid-area: cta; justify-self: end; }
.site-nav__list { grid-area: nav; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 2.4rem; list-style: none; margin: .75rem 0 0; padding: .75rem 0 .8rem; border-top: 1px solid var(--line); }
.site-nav__list a { color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: .3rem 0; }
.site-nav__list a::after { content: ''; position: absolute; left: 50%; bottom: -.15rem; width: .4rem; height: .4rem; margin-left: -.2rem; background: var(--accent); transform: rotate(45deg) scale(0); transition: transform .25s; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: rotate(45deg) scale(1); }
.site-nav__list a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; width: 2.6rem; height: 2.6rem; cursor: pointer; position: relative; padding: 0; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: .5rem; width: 1.6rem; height: 2px; background: var(--dark); content: ''; transition: transform .25s, background-color .25s; }
.nav-toggle__bar { top: 50%; }
.nav-toggle__bar::before { left: 0; top: -.48rem; }
.nav-toggle__bar::after { left: 0; top: .48rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(.48rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-.48rem) rotate(-45deg); }
@media (max-width: 900px) {
    html { scroll-padding-top: 5.5rem; }
    .site-header__inner { grid-template-columns: 1fr auto; grid-template-areas: "brand toggle"; min-height: 4.5rem; padding-top: 0; }
    .site-header__contact { display: none; }
    .brand { text-align: left; }
    .brand__logo { margin: 0; }
    .nav-toggle { display: block; grid-area: toggle; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fffdf9; padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 1rem; box-shadow: 0 20px 30px -20px rgba(29, 20, 32, .3); }
    .site-nav.is-open { display: flex; }
    .site-nav__list { flex-direction: column; gap: 0; margin: 0; padding: 0; border: 0; }
    .site-nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
    .site-nav__list a::after { display: none; }
    .site-nav__cta { justify-self: auto; }
}

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

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--soft, .section.is-tinted:not(.hero):not(.cta) { background: var(--light); }
.section__header { margin-bottom: 2.75rem; max-width: 46rem; }
.section__header--centred { margin-left: auto; margin-right: auto; text-align: center; }
.section__header--centred .eyebrow::after { content: ''; width: 1.8rem; height: 1px; background: var(--accent); }
.section__header--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section__header--split > div { max-width: 46rem; }
.section__heading { margin-bottom: .4em; }
.section__intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.section__header--centred .section__intro { margin-left: auto; margin-right: auto; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; }

/* Banner (shared hero section) */
.hero { position: relative; overflow: hidden; overflow: clip; background: var(--dark); color: #fff; padding: clamp(4.5rem, 11vw, 9rem) 0; isolation: isolate; }
.hero__heading { color: #fff; font-size: clamp(2.5rem, 6.2vw, 4.8rem); line-height: 1.06; max-width: 15ch; }
.hero__heading::after { content: ''; display: block; width: 5rem; height: 2px; background: var(--accent); margin-top: 1.5rem; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .82); max-width: 36rem; }
.hero .btn--primary { background: var(--accent); color: var(--dark); }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--ghost:hover { border-color: #fff; }
.hero--full { min-height: 88vh; display: flex; align-items: center; text-align: center; outline: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: calc(-1 * clamp(.75rem, 2.4vw, 1.75rem)); }
.hero--full .hero__inner { display: flex; justify-content: center; }
.hero--full .hero__heading { max-width: 17ch; margin-left: auto; margin-right: auto; }
.hero--full .hero__heading::after { margin-left: auto; margin-right: auto; }
.hero--full .hero__lead { margin-left: auto; margin-right: auto; }
.hero--full .buttons { justify-content: center; }
.hero:has(+ .stats-section) { padding-bottom: clamp(7.5rem, 14vw, 11rem); }
.hero--full::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center / cover no-repeat; transform-origin: 60% 40%; }
.hero--full::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 65% at 50% 48%, color-mix(in srgb, var(--dark) 80%, transparent), color-mix(in srgb, var(--dark) 55%, transparent) 70%, color-mix(in srgb, var(--dark) 85%, transparent)); }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero--split .hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.hero--simple { text-align: center; }
.hero--simple .hero__heading, .hero--simple .hero__lead { margin-left: auto; margin-right: auto; }
.hero--simple .hero__heading::after { margin-left: auto; margin-right: auto; }
.hero--simple .buttons { justify-content: center; }
@media (max-width: 760px) { .hero--split .hero__inner { grid-template-columns: 1fr; } .hero--split .hero__media { max-width: 18rem; } }

/* Page header of engine pages */
.page-header { background: var(--dark); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; overflow: clip; }
.page-header::after { content: ''; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 0 2.5rem color-mix(in srgb, var(--accent) 6%, transparent), 0 0 0 5rem color-mix(in srgb, var(--accent) 4%, transparent); }
.page-header .eyebrow { color: var(--accent); }
.page-header { text-align: center; }
.page-header .eyebrow::after { content: ''; width: 1.8rem; height: 1px; background: var(--accent); }
.page-header__title { color: #fff; margin: 0 auto .3em; max-width: 22ch; }
.page-header__intro { color: rgba(255, 255, 255, .78); font-size: 1.12rem; max-width: 40rem; margin: 0 auto; }

/* Filters (kinds of events) */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filters a { padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.filters a:hover { border-color: var(--primary); }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -1.25rem; margin-right: -1.25rem; padding: 0 1.25rem .25rem; scrollbar-width: none; } .filters a { flex: none; } }
.filters a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Event cards */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); gap: 1.75rem; }
.event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--dark)); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-card:hover .event-card__media img { transform: scale(1.05); }
.event-card__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%); }
.date-badge { position: absolute; top: 1rem; left: 1rem; display: flex; flex-direction: column; align-items: center; min-width: 3.6rem; padding: .45rem .5rem .4rem; background: #fffdf9; border-radius: 12px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); line-height: 1; }
.date-badge__day { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; color: var(--primary); }
.date-badge__month { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-top: .25rem; }
.date-badge--inline { position: static; box-shadow: none; border: 1px solid var(--line); flex: none; }
.event-card__flag { position: absolute; right: 1rem; top: 1rem; background: var(--accent); color: var(--dark); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.event-card__flag--full { background: var(--dark); color: #fff; }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.event-card__type { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; filter: brightness(.85); }
.event-card__title { font-size: 1.35rem; margin-bottom: .45rem; }
.event-card__title a { color: inherit; text-decoration: none; }
.event-card__title a:hover { color: var(--primary); }
.event-card__when { font-weight: 600; margin: 0 0 .15rem; font-size: .95rem; }
.event-card__where { color: var(--muted); margin: 0; font-size: .95rem; }
.event-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
.event-card__price { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--primary); }
.event-card__more { font-weight: 700; font-size: .9rem; text-decoration: none; margin-left: auto; }
.event-card--past { opacity: .88; }
.event-card--past .event-card__media img { filter: grayscale(.5); }

.event-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 5.5rem 10rem 1fr auto; align-items: center; gap: 1.75rem; padding: 1.5rem 1rem; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.event-row:hover { background: var(--light); }
.event-row__date { display: flex; flex-direction: column; align-items: center; line-height: 1; padding-right: 1.5rem; border-right: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); text-align: center; }
.event-row__day { font-family: var(--font-heading); font-weight: 600; font-size: 2.9rem; color: var(--primary); }
.event-row__month { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-top: .35rem; }
.event-row__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 999px 999px var(--radius-small) var(--radius-small); }
.event-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-row:hover .event-row__media img { transform: scale(1.08); }
.event-row__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.event-row__type { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); filter: brightness(.85); }
.event-row__title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--text); text-decoration: none; }
.event-row__title:hover { color: var(--primary); }
.event-row__meta { color: var(--muted); font-size: .94rem; }
.event-row__end { display: flex; align-items: center; gap: 1.25rem; }
.event-row__price { font-family: var(--font-heading); font-size: 1.15rem; color: var(--primary); white-space: nowrap; }
@media (max-width: 760px) {
    .event-row { grid-template-columns: 4rem 1fr; gap: .4rem 1.1rem; padding: 1.25rem 0; }
    .event-row:hover { background: none; }
    .event-row__date { grid-row: span 2; padding-right: 1rem; align-self: start; }
    .event-row__day { font-size: 2.2rem; }
    .event-row__media { display: none; }
    .event-row__end { grid-column: 2; justify-content: space-between; }
}

/* Next event, with a countdown: a ticket with a perforated edge */
.next-event { background: var(--light); }
.next-event__inner { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--dark); color: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden; overflow: clip; box-shadow: 0 40px 70px -35px rgba(29, 20, 32, .65); }
.next-event__inner::before { content: ''; position: absolute; z-index: -1; width: 34rem; height: 34rem; border-radius: 50%; background: var(--primary); filter: blur(100px); opacity: .6; left: -12rem; bottom: -20rem; }
.next-event__text { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 3.5rem); border-right: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.next-event__text::before, .next-event__text::after { content: ''; position: absolute; right: -1.15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--light); }
.next-event__text::before { top: -1.1rem; }
.next-event__text::after { bottom: -1.1rem; }
.next-event__media { order: 2; position: relative; display: block; min-height: 22rem; }
.next-event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-event .eyebrow { color: var(--accent); }
.next-event__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.next-event__when { color: var(--accent); font-weight: 700; }
.next-event__summary { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.countdown__parts { display: flex; gap: .7rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.countdown__parts li { display: flex; flex-direction: column; align-items: center; min-width: 4.6rem; padding: .8rem .5rem; border-radius: var(--radius-small); background: rgba(255, 255, 255, .07); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.countdown__number { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.countdown__label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: .4rem; }
.countdown__ended { color: var(--accent); font-weight: 700; font-size: 1.2rem; margin: 1rem 0 0; }
@media (max-width: 800px) {
    .next-event__inner { grid-template-columns: 1fr; }
    .next-event__media { order: 0; min-height: 15rem; }
    .next-event__text { border-right: 0; border-top: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
    .next-event__text::before { top: -1.15rem; left: -1.15rem; right: auto; }
    .next-event__text::after { top: -1.15rem; bottom: auto; right: -1.15rem; }
}
@media (max-width: 520px) { .countdown__parts { gap: .45rem; } .countdown__parts li { min-width: 0; flex: 1; } }

/* Services: arch-shaped photos in a thin gold frame, numbered, no boxes */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.25rem; counter-reset: service; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; max-width: 21rem; margin: 0 auto; } }
.service-card { display: flex; flex-direction: column; text-align: center; counter-increment: service; }
.service-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--light); position: relative; border-radius: 999px 999px var(--radius-small) var(--radius-small); outline: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 7px; margin: 8px; transition: outline-offset .4s; }
.service-card:hover .service-card__media { outline-offset: 12px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__number { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 3.5rem; color: var(--accent); }
.service-card__body { padding: 1.6rem .75rem 0; display: flex; flex-direction: column; flex: 1; }
.service-card__title { margin-bottom: .4rem; font-size: 1.45rem; }
.service-card__title::before { content: counter(service, decimal-leading-zero); display: block; font-style: italic; font-weight: 500; font-size: 1rem; color: var(--accent); margin-bottom: .35rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__text { color: var(--muted); }
.service-card__foot { margin: auto 0 0; display: flex; justify-content: center; align-items: center; gap: 1.25rem; font-weight: 700; font-size: .92rem; }
.service-card__foot a { text-decoration: none; }
.service-card__price { color: var(--primary); padding-right: 1.25rem; border-right: 1px solid var(--line); }

/* Our work: a mosaic of photos */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 14rem; gap: 1rem; }
.work-grid .work-card:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; grid-auto-rows: 16rem; } .work-grid .work-card:first-child { grid-column: auto; grid-row: span 1; } }
.work-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--dark); color: #fff; text-decoration: none; isolation: isolate; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.work-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(15, 10, 18, .85)); transition: opacity .3s; }
.work-card:hover img { transform: scale(1.06); }
.work-card__text { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; display: flex; flex-direction: column; }
.work-card__type { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.work-card__title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.work-card__facts { font-size: .88rem; color: rgba(255, 255, 255, .78); }

/* Steps: a dark band with large italic numbers on a gold line */
.steps { background: var(--dark); color: #fff; position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.steps .container { position: relative; z-index: 1; }
.steps .eyebrow { color: var(--accent); }
.steps .section__heading { color: #fff; }
.steps .section__intro { color: rgba(255, 255, 255, .75); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; position: relative; }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__number { display: inline-block; padding: 0 1rem; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 3.6rem; line-height: 1; color: var(--accent); background: var(--dark); margin-bottom: 1rem; position: relative; z-index: 1; }
.steps__list::before { content: ''; position: absolute; top: 1.8rem; left: 10%; right: 10%; height: 1px; background: var(--gold-line); }
.step__title { color: #fff; }
.step__text { color: rgba(255, 255, 255, .7); margin: 0; }
@media (max-width: 700px) { .steps__list::before { display: none; } }

/* Numbers: a card with dividers (it overlaps the banner when it comes straight after it) */
.stats-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.hero + .stats-section { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4.5rem, 9vw, 6.5rem)); padding-top: 0; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1rem; position: relative; }
.stats::before { content: ''; position: absolute; left: 50%; top: -.45rem; width: .9rem; height: .9rem; margin-left: -.45rem; transform: rotate(45deg); background: var(--accent); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.1; color: var(--primary); }
.stat dt { color: var(--muted); font-weight: 600; font-size: .95rem; }
@media (max-width: 700px) {
    .stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 1.75rem; padding: 1.75rem .5rem; }
    .stat:nth-child(odd) { border-left: 0; }
}

/* Clients */
.logos { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.logos__heading { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.5rem; }
.logos__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 3rem; }
.logos__list img { max-height: 2.75rem; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos__list a:hover img { filter: none; opacity: 1; }
.logos__list span { font-family: var(--font-heading); font-size: 1.2rem; color: var(--muted); font-style: italic; }
.logos__list a { text-decoration: none; }

/* Enquiry form */
.enquiry-section { background: var(--light); }
.enquiry-section__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.contact-list__label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.enquiry-form, .register-form { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.enquiry-form__note, .register-form__note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.enquiry-section--page { min-height: 70vh; }
@media (max-width: 860px) { .enquiry-section__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: .1rem; } }

.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); background: #fff; color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.field.has-error input, .field.has-error select { border-color: #c62828; }
.field-error { color: #c62828; font-size: .86rem; margin: .35rem 0 0; }
.optional { font-weight: 400; color: var(--muted); }
.choice-field__options { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.choice input { accent-color: var(--primary); width: 1.1rem; height: 1.1rem; }
.choice__price { margin-left: auto; color: var(--primary); font-weight: 700; }

/* Event page */
.event-hero { position: relative; background: var(--dark); color: #fff; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; overflow: clip; isolation: isolate; }
.event-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.event-hero--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 94%, transparent) 30%, color-mix(in srgb, var(--dark) 45%, transparent)); }
.event-hero__title { color: #fff; max-width: 20ch; }
.event-hero__lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 38rem; }
.event-hero__facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.event-hero__facts li { font-weight: 600; }
.event-hero__label { display: inline-block; min-width: 4.5rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.event-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.event-hero__status { margin: 1.25rem 0 0; color: var(--accent); font-weight: 700; }
.event__layout { display: grid; grid-template-columns: 1fr 23rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.event__heading { font-size: 1.6rem; margin-top: 2.5rem; }
.event__main > .event__heading:first-child { margin-top: 0; }
.event__map iframe { width: 100%; height: 22rem; border: 0; border-radius: var(--radius); }
.ticket-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticket-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ticket-row__note { color: var(--muted); font-size: .92rem; }
.ticket-row__price { font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary); white-space: nowrap; }
.event__side { position: sticky; top: 9.5rem; }
.register-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.register-card .register-form { box-shadow: none; border: 0; padding: 0; }
.register-card__date { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .75rem; font-weight: 700; color: var(--muted); }
.register-card__date span { font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary); line-height: 1; }
.register-card__title { font-size: 1.5rem; }
.register-card__calendar { text-align: center; font-size: .9rem; font-weight: 600; margin: 1.25rem 0 0; }
@media (max-width: 900px) { .event__layout { grid-template-columns: 1fr; } .event__side { position: static; } }

/* Service and work pages */
.detail { display: grid; grid-template-columns: 1fr 21rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.detail__side { position: sticky; top: 9.5rem; }
.side-card { background: var(--light); border-radius: var(--radius); padding: 1.75rem; margin: 0; }
.side-card__price { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
.side-card__heading { font-size: 1.15rem; }
.facts div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-heading); font-size: 1.2rem; }
.work__image { width: 100%; max-height: 36rem; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.work__quote { margin: 2.5rem 0 0; padding: 2rem; background: var(--dark); color: #fff; border-radius: var(--radius); font-family: var(--font-heading); font-style: italic; font-size: 1.35rem; line-height: 1.5; position: relative; }
.work__quote::before { content: '“'; position: absolute; top: -.6rem; left: 1.25rem; font-size: 5rem; color: var(--accent); line-height: 1; }
.work__quote p { margin: 0 0 .75rem; }
.work__quote footer { font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--accent); }
.work__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin-top: 3rem; }
.work__gallery figure { margin: 0; }
.work__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-small); transition: transform .3s; }
.work__gallery a:hover img { transform: scale(1.02); }
.work__gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }

.enquiry-band { background: var(--primary); color: #fff; position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.enquiry-band::before { content: ''; position: absolute; z-index: -1; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 0 0 3rem color-mix(in srgb, var(--accent) 7%, transparent); }
.enquiry-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.enquiry-band__heading { color: #fff; margin-bottom: .3rem; }
.enquiry-band__text { color: rgba(255, 255, 255, .82); margin: 0; max-width: 36rem; }

/* Shared sections: photo with text, reviews, FAQ, gallery, contact, map, call to action, text, offers */
.image-text__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.image-text--image-right .image-text__media { order: 2; }
.image-text--no-image .image-text__inner { grid-template-columns: 1fr; max-width: 48rem; }
.image-text__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); }
.image-text__body .prose { color: var(--muted); }
@media (max-width: 760px) { .image-text__inner { grid-template-columns: 1fr; } .image-text--image-right .image-text__media { order: 0; } .image-text__media img { aspect-ratio: 4 / 3; border-radius: var(--radius); } }

.testimonials .section__header { margin-left: auto; margin-right: auto; text-align: center; }
.motion .testimonials .section__heading::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.testimonials__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.testimonial { margin: 0; padding: 3.75rem 2.25rem .5rem; position: relative; text-align: center; }
.testimonial + .testimonial { border-left: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.testimonial::before { content: '“'; position: absolute; top: -.4rem; left: 50%; translate: -50% 0; font-family: var(--font-heading); font-size: 5.5rem; line-height: 1; color: var(--accent); }
.testimonial__stars { color: var(--accent); letter-spacing: .2em; margin: 0 0 .8rem; }
.testimonial__quote { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; line-height: 1.55; }
.testimonial__by { color: var(--muted); font-size: .92rem; }
.testimonial__by strong { display: block; color: var(--text); font-family: var(--font-heading); font-size: 1.05rem; }
.testimonials--single .testimonials__list { grid-template-columns: 1fr; max-width: 46rem; margin: 0 auto; }
@media (max-width: 860px) {
    .testimonials__list { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
    .testimonial + .testimonial { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); margin-top: 1.5rem; padding-top: 4.5rem; }
    .testimonial + .testimonial::before { top: .6rem; }
}

.faq__list { display: grid; gap: .75rem; max-width: 50rem; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 0 1.25rem; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); margin: 0 0 1.1rem; }
.faq .section__header { margin-left: auto; margin-right: auto; text-align: center; }

.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-small); }
.gallery__item figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.lightbox { position: fixed; inset: 0; background: rgba(15, 10, 18, .94); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 2rem; animation: fade .25s ease; }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-small); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }

.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
@media (max-width: 760px) { .contact__inner { grid-template-columns: 1fr; } .contact__list li { grid-template-columns: 1fr; gap: .1rem; } }
.map__frame iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

.cta { background: var(--primary); color: #fff; position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.cta .cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.75rem; width: calc(100% - 2.5rem); max-width: 54rem; padding: clamp(3.5rem, 8vw, 5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 3.5rem); border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent); border-radius: 20rem 20rem var(--radius) var(--radius); }
.cta .cta__inner::before { content: ''; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: inherit; pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta__text { color: rgba(255, 255, 255, .82); margin: 0 auto; max-width: 36rem; }
@media (max-width: 600px) { .cta .cta__inner { border-radius: 10rem 10rem var(--radius) var(--radius); padding-top: 4rem; } }
.cta .btn--primary { background: var(--accent); color: var(--dark); }
.text-block--centred { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.25rem; }
.offer__price { font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary); }

/* Thank-you and not-found pages */
.thank-you { text-align: center; min-height: 62vh; display: flex; align-items: center; }
.thank-you .section__intro { margin-left: auto; margin-right: auto; }
.thank-you__icon { width: 4.75rem; height: 4.75rem; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--primary); color: var(--accent); font-size: 2.2rem; line-height: 4.75rem; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 22%, transparent); }
.thank-you__name { font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.thank-you__event { display: inline-block; text-align: left; background: var(--light); border-left: 3px solid var(--accent); border-radius: var(--radius-small); padding: 1rem 1.5rem; margin: .5rem 0 0; }
.thank-you__event p { margin: 0; }
.thank-you .buttons { margin-bottom: 2rem; }

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

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 4.5rem 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__top { text-align: center; padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__name { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; color: #fff; margin: 0 0 .35rem; }
.site-footer__tagline { color: var(--accent); margin: 0 auto; max-width: 34rem; }
.site-footer__social { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; }
.site-footer__social a { display: inline-block; padding: .4rem 1.05rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .85rem; transition: border-color .2s, color .2s; }
.site-footer__social a:hover { border-color: var(--accent); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__text { max-width: 28rem; }
.site-footer__heading { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.site-footer__links { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-footer__links li { margin-bottom: .45rem; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__small { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__bottom { flex-direction: column; text-align: center; } }


/* ---------- Animations (none when the visitor's device asks for less motion: see the end of this file) ---------- */

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(.55em) rotate(3deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes spark {
    0% { opacity: 0; transform: translate(0, 0) scale(.5); }
    15% { opacity: .9; }
    80% { opacity: .5; }
    100% { opacity: 0; transform: translate(var(--sway), -80vh) scale(1.1); }
}
@keyframes flip { 0% { opacity: .2; transform: perspective(300px) rotateX(-95deg); } 60% { opacity: 1; transform: perspective(300px) rotateX(15deg); } 100% { transform: none; } }
@keyframes flash { from { background: color-mix(in srgb, var(--accent) 35%, transparent); } to { background: rgba(255, 255, 255, .07); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 70% { transform: scale(1.12) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Header: the menu links drop in on load; a gold line fills as the page scrolls; on phones the menu's links slide in */
.brand, .site-nav__list li, .site-nav__cta { animation: slide-down .6s cubic-bezier(.2, .7, .2, 1) both; }
.site-nav__list li:nth-child(2) { animation-delay: .06s; } .site-nav__list li:nth-child(3) { animation-delay: .12s; } .site-nav__list li:nth-child(4) { animation-delay: .18s; }
.site-nav__list li:nth-child(5) { animation-delay: .24s; } .site-nav__list li:nth-child(6) { animation-delay: .3s; } .site-nav__list li:nth-child(n + 7), .site-nav__cta { animation-delay: .36s; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header.is-scrolled .brand__name { letter-spacing: .01em; }
.brand__name { transition: letter-spacing .4s; }

/* The banner: the photo zooms out, drifts, moves slower than the page and follows the mouse; words rise one by one;
   the last word shimmers in gold; the line draws; gold sparks float up; the main button sends out rings */
.hero--full::before { animation: zoom 2.4s cubic-bezier(.2, .7, .2, 1) both, drift 22s 2.4s ease-in-out infinite alternate;
    translate: calc(var(--px, 0) * -24px) calc(var(--py, 0) * -24px + var(--scroll, 0) * .35px); transition: translate .5s ease-out; }
.hero__heading, .hero__lead, .hero .buttons, .page-header__title, .page-header__intro, .page-header .eyebrow, .event-hero__inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__lead, .page-header__title, .event-hero__inner > :nth-child(2) { animation-delay: .15s; }
.hero .buttons, .page-header__intro, .event-hero__inner > :nth-child(3) { animation-delay: .3s; }
.event-hero__inner > :nth-child(n + 4) { animation-delay: .45s; }
.motion .is-split { animation: none !important; }
.motion .is-split ~ .hero__lead, .motion .is-split + .page-header__intro, .motion .is-split ~ .event-hero__lead { animation-delay: .55s; }
.motion .hero .is-split ~ .buttons { animation-delay: .75s; }
.motion .event-hero__inner > .is-split ~ * { animation-delay: .7s; }
.word { display: inline-block; animation: word-in .85s calc(var(--i) * 85ms + .1s) cubic-bezier(.2, .7, .2, 1) both; }
.word--gold { background: linear-gradient(90deg, var(--accent), #fff1c9, var(--accent), #b8862b, var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: word-in .85s calc(var(--i) * 85ms + .1s) cubic-bezier(.2, .7, .2, 1) both, shimmer 4s 1.6s linear infinite; padding-right: .04em; }
.hero__heading::after { transform-origin: left; animation: draw 1s .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero--simple .hero__heading::after { transform-origin: center; }
.hero .btn--primary { animation: ring 2.6s 2.2s ease-out infinite; }
.hero--split .hero__media img { animation: rise 1s .3s cubic-bezier(.2, .7, .2, 1) both, bob 6s 1.4s ease-in-out infinite; }
.event-hero__image { animation: zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; translate: calc(var(--px, 0) * -20px) calc(var(--py, 0) * -20px + var(--scroll, 0) * .3px); transition: translate .5s ease-out; }
.page-header::after { animation: turn 60s linear infinite; }
.page-header::before { content: ''; position: absolute; left: -10rem; bottom: -14rem; width: 26rem; height: 26rem; border-radius: 50%; background: var(--primary); filter: blur(90px); opacity: .5; animation: drift 12s ease-in-out infinite alternate; }
.page-header .container { position: relative; z-index: 1; }

.sparks { position: absolute; inset: 0; z-index: 0; overflow: hidden; overflow: clip; pointer-events: none; }
.hero .sparks, .event-hero .sparks { z-index: -1; }
.sparks span { position: absolute; left: var(--x); bottom: -1rem; width: var(--size); height: var(--size); border-radius: 50%; background: var(--accent); opacity: 0; box-shadow: 0 0 12px 3px color-mix(in srgb, var(--accent) 60%, transparent); animation: spark var(--time) var(--wait) linear infinite; }
.sparks span:nth-child(3n) { background: #fff6dc; box-shadow: 0 0 10px 2px rgba(255, 246, 220, .5); }
.sparks span:nth-child(5n) { background: color-mix(in srgb, var(--primary) 50%, #fff); }
.enquiry-band__inner, .site-footer .container { position: relative; z-index: 1; }
.next-event__inner .sparks { z-index: 0; }
.next-event__media { z-index: 0; }
.site-footer { position: relative; overflow: hidden; overflow: clip; }

/* The next event's ticket: the glow drifts, a gold light runs round its edge, the countdown flips */
.next-event__inner::before { animation: drift 12s ease-in-out infinite alternate; }
.next-event .container { position: relative; }
.next-event .container::before { content: ''; position: absolute; inset: -3px calc(1.25rem - 3px); border-radius: calc(var(--radius) + 9px); background: conic-gradient(from var(--angle), var(--accent), transparent 25%, transparent 50%, var(--accent) 75%, transparent); animation: spin 6s linear infinite; opacity: .8; }
.next-event__media img { transition: transform .6s; transform: scale(1.04) translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px)); }
.countdown__number.is-ticking { animation: flip .6s cubic-bezier(.2, .7, .2, 1); }
.countdown__parts li.is-ticking { animation: flash .7s ease-out; }
.next-event .btn--accent, .enquiry-band .btn--accent, .side-card .btn--accent, .cta .btn--accent { animation: ring 2.6s 1.5s ease-out infinite; }

/* Parts come into view as the page scrolls (site.js marks them; without it they are simply shown) */
.motion .reveal {
    opacity: 0;
    translate: 0 44px;
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1), scale .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease, clip-path 1.1s cubic-bezier(.2, .8, .2, 1), transform .3s, box-shadow .3s, background-color .3s;
    transition-delay: var(--delay, 0ms);
}
.motion .reveal.is-visible { opacity: 1; translate: none; scale: none; filter: none; clip-path: inset(0 0 0 0 round var(--radius)); }
.motion .section__header.reveal, .motion .logos__heading.reveal { filter: blur(10px); translate: 0 26px; }
.motion .event-card.reveal, .motion .service-card.reveal { scale: .88; translate: 0 70px; }
.motion .work-card.reveal { clip-path: inset(100% 0 0 0 round var(--radius)); translate: none; opacity: 1; transition-property: clip-path, opacity, transform, box-shadow; }
.motion .work-card.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.motion .work-card.reveal img { scale: 1.3; transition: scale 1.4s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--delay, 0ms); }
.motion .work-card.reveal.is-visible img { scale: 1; }
.motion .testimonial.reveal { translate: 0 30px; filter: blur(6px); }
.motion .event-row.reveal { translate: 0 30px; }
.motion .next-event__media.reveal { translate: none; clip-path: inset(0 0 0 100%); opacity: 1; transition-property: clip-path, opacity; }
.motion .next-event__media.reveal.is-visible { clip-path: inset(0 0 0 0); }
.motion .step.reveal { translate: 0 50px; }
.motion .faq__item.reveal, .motion .contact-list li.reveal, .motion .ticket-row.reveal { translate: 50px 0; }
.motion .image-text__media.reveal, .motion .enquiry-section__text.reveal, .motion .next-event__text.reveal { translate: -80px 0; }
.motion .image-text__body.reveal { translate: 80px 0; }
.motion .enquiry-form.reveal, .motion .register-card.reveal { translate: 0 80px; scale: .94; }
.motion .form-grid > .field.reveal, .motion .enquiry-form > .field.reveal { translate: 0 20px; }
.motion .filters a.reveal { translate: 0 16px; scale: .8; }
.motion .stat.reveal { scale: .7; }
.motion .work__image.reveal, .motion .map__frame.reveal { clip-path: inset(0 50% 0 50%); translate: none; opacity: 1; transition-property: clip-path, opacity; }
.motion .work__image.reveal.is-visible, .motion .map__frame.reveal.is-visible { clip-path: inset(0 0 0 0); }
.motion .site-footer__grid > div.reveal { translate: 0 30px; }
.motion .gallery__item.reveal, .motion .work__gallery figure.reveal { scale: .85; rotate: -3deg; }
.motion .gallery__item.reveal.is-visible, .motion .work__gallery figure.reveal.is-visible { rotate: none; }

/* On cards: the date badge pops in after the card, the service photo zooms out, the step's number spins in */
.motion .event-card.reveal .date-badge { opacity: 0; scale: .3; rotate: -15deg; transition: opacity .4s, scale .6s cubic-bezier(.3, 1.6, .5, 1), rotate .6s; transition-delay: calc(var(--delay, 0ms) + .45s); }
.motion .event-card.reveal.is-visible .date-badge { opacity: 1; scale: 1; rotate: none; }
.motion .service-card.reveal img { scale: 1.25; transition: scale 1.3s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--delay, 0ms); }
.motion .service-card.reveal.is-visible img { scale: 1; }
.motion .step.reveal .step__number { scale: 0; rotate: -90deg; transition: scale .7s cubic-bezier(.3, 1.6, .5, 1), rotate .7s; transition-delay: calc(var(--delay, 0ms) + .2s); }
.motion .step.reveal.is-visible .step__number { scale: 1; rotate: none; }

/* Lines that draw themselves: the steps' gold line, a gold underline under section headings */
.motion .steps__list::before { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.motion .steps__list.is-drawn::before { transform: scaleX(1); }
.motion .section__heading::after, .motion .enquiry-band__heading::after, .motion .event__heading::after { content: ''; display: block; width: 3rem; height: 2px; margin-top: .45em; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1) .3s; }
.motion .section__header--centred .section__heading::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.motion .is-drawn::after { transform: scaleX(1); }
.eyebrow::before, .section__header--centred .eyebrow::after { transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.motion .section__header.reveal .eyebrow::before, .motion .section__header.reveal .eyebrow::after { width: 0; }

/* Numbers pop when they finish counting */
.stat dd.is-done { animation: pop .55s cubic-bezier(.3, 1.5, .5, 1); }

/* Cards tilt towards the mouse, with a soft light where it points */
.motion .is-tilting { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px) !important; transition: transform .12s ease-out, box-shadow .3s !important; box-shadow: var(--shadow); }
.motion .service-card.is-tilting { box-shadow: none; }
.motion .event-card.is-tilting, .motion .register-card.is-tilting, .motion .side-card.is-tilting {
    background-image: radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%); }
.motion .work-card.is-tilting::after { background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .16), transparent 45%), linear-gradient(180deg, transparent 40%, rgba(15, 10, 18, .85)); }
.event-card:hover .date-badge { animation: swing .6s ease-in-out; }
.event-card__flag { animation: blink 2.2s ease-in-out infinite; }

/* Buttons: a light sweeps across on hover, and they lean towards the mouse */
.btn--accent, .btn--primary { position: relative; overflow: hidden; translate: var(--bx, 0) var(--by, 0); }
.btn--accent::after, .btn--primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn--accent:hover::after, .btn--primary:hover::after { left: 130%; }
.btn--ghost:hover { background: color-mix(in srgb, var(--primary) 6%, transparent); }

/* Clients scroll past in an endless strip (paused under the mouse) */
.logos__track { overflow: hidden; overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__list.is-marquee { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee var(--duration, 30s) linear infinite; }
.logos__list.is-marquee li { padding: 0 2.25rem; flex: none; }
.logos__track:hover .is-marquee { animation-play-state: paused; }

/* Forms: a field's label lifts and turns the main colour while you type in it */
.field label { transition: color .25s, translate .25s; }
.field:focus-within > label { color: var(--primary); translate: 4px 0; }
.choice { transition: border-color .25s, background-color .25s, transform .2s; }
.choice:hover { transform: translateX(4px); }
.faq__item.is-opening p { animation: slide-down .45s cubic-bezier(.2, .7, .2, 1); }
.faq__item { transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }

/* Mobile menu: its links slide in one after another */
@media (max-width: 900px) {
    .site-nav.is-open { animation: slide-down .35s ease both; }
    .site-nav.is-open .site-nav__list li { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
}

/* Enquiry band and footer glow */
.enquiry-band::before { animation: turn 40s linear infinite; }

/* Thank-you page: the tick pops in and sends out rings (site.js adds confetti) */
.thank-you__icon { animation: pop-in .8s cubic-bezier(.3, 1.4, .5, 1) both, ring 2.4s 1s ease-out infinite; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
