/* Carlamani Conferences & Events
   Palette from the logo (graphite + signal red) and the gala-night navy of the event photography.
   One type family, Archivo, used across its width axis: expanded for display (like the wordmark),
   condensed for labels (like the "CONFERENCES & EVENTS" line), normal for reading. */

:root {
  --navy: #0f1b2d;
  --navy-2: #182b45;
  --navy-3: #26406a;
  --ink: #1c1d21;
  --graphite: #6d6e72;
  --graphite-text: #55565b;
  --red: #d71920;
  --red-dark: #b0141a;
  --red-tint: #fbe9ea;
  --mist: #f1f2f4;
  --line: #dde0e5;
  --white: #ffffff;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */

.eyebrow {
  font-stretch: 75%;
  font-weight: 650;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #ff6b6f; }
.h-section {
  font-stretch: 112%;
  font-weight: 750;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h-sub { font-stretch: 110%; font-weight: 720; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.15; margin-bottom: 1.25rem; }
.h-small { font-stretch: 105%; font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--graphite-text); max-width: 60ch; }
.muted { color: var(--graphite); }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.2rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 1rem 1.45rem; font-size: 1.05rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .25s var(--ease); color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }
.more { margin: 2.5rem 0 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,27,45,.5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--graphite); }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-stretch: 125%; font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; text-transform: uppercase; color: var(--graphite); }
.logo-tag { font-stretch: 70%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-top: .3rem; }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-tag { color: #ff6b6f; }
.logo-light { --mark-grey: #a9aab0; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: .5rem .8rem; border-radius: 6px;
  text-decoration: none; font-weight: 560; color: var(--ink);
  position: relative;
}
.nav ul a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-contact { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
    position: relative; z-index: 2;
  }
  .bars { display: grid; gap: 6px; width: 20px; }
  .bars span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bars span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: #fff; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-stretch: 112%; font-weight: 700; font-size: 1.7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--red); }
  .nav-cta { align-self: flex-start; }
  .nav-contact { display: grid; gap: .75rem; color: var(--graphite-text); }
  .nav-contact a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-title {
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(2.35rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero-title span { display: block; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero-foot .lede { margin: 0; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.filmstrip {
  display: flex; gap: clamp(.6rem, 1vw, 1rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-inline: var(--gutter);
  padding-bottom: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.filmstrip::-webkit-scrollbar { display: none; }
.film-frame { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.film-frame img {
  height: clamp(220px, 30vw, 400px); width: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 10px; background: var(--mist);
}
.film-frame:nth-child(2) img { aspect-ratio: 4 / 5; }
.film-frame:nth-child(4) img { aspect-ratio: 1; }
.film-frame figcaption {
  font-stretch: 78%; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--graphite); margin-top: .6rem; display: flex; align-items: center; gap: .5rem;
}
.film-frame figcaption::before { content: ""; width: 14px; height: 2px; background: var(--red); }

/* From tablet up the strip sits inside the page width as a fixed grid; phones keep the swipeable strip. */
@media (min-width: 760px) {
  .filmstrip {
    display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; overflow: visible;
    max-width: var(--wrap); margin-inline: auto;
  }
  .film-frame img, .film-frame:nth-child(n) img { width: 100%; height: clamp(220px, 26vw, 340px); aspect-ratio: auto; }
  .film-frame:nth-child(n+4) { display: none; }
}
@media (min-width: 1100px) {
  .filmstrip { grid-template-columns: 1.45fr 1fr 1.45fr 1fr; }
  .film-frame:nth-child(4) { display: block; }
}

/* ---------- ticker ---------- */

.ticker { border-block: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; background: #fff; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  font-stretch: 75%; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  color: var(--graphite-text); padding: 1.15rem 0; white-space: nowrap; display: flex; align-items: center;
}
.ticker li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-inline: 1.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .lede { color: rgba(255,255,255,.72); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { margin-bottom: .75rem; }
.section-note { color: var(--graphite-text); margin: 0; max-width: 42ch; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- event cards ---------- */

.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ev-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(15,27,45,.45); }
.ev-card-media { aspect-ratio: 4 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.ev-card-media img { width: 100%; height: 100%; object-fit: contain; }
.ev-card-media--type { background: var(--navy); display: flex; align-items: center; padding-inline: 1.5rem; }
.ev-card-media--type span { font-stretch: 125%; font-weight: 800; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.ev-card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.ev-status {
  align-self: flex-start; margin: 0 0 .35rem;
  font-stretch: 75%; font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 4px;
}
.ev-status--upcoming { background: var(--red-tint); color: var(--red-dark); }
.ev-status--live { background: var(--red); color: #fff; }
.ev-status--past { background: var(--mist); color: var(--graphite-text); }
.ev-card-title { font-stretch: 104%; font-weight: 700; font-size: 1.22rem; line-height: 1.25; margin-bottom: .4rem; }
.ev-card-title a { text-decoration: none; }
.ev-card-title a::after { content: ""; position: absolute; inset: 0; }
.ev-card-title a:focus-visible { outline: none; }
.ev-card:has(a:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.ev-meta { display: flex; align-items: flex-start; gap: .55rem; margin: 0; color: var(--graphite-text); font-size: .96rem; }
.ev-meta .icon { margin-top: .2em; color: var(--red); }
.ev-note { margin: .35rem 0 0; font-style: italic; color: var(--graphite-text); font-size: .95rem; }
.ev-link { margin: auto 0 0; padding-top: .9rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.ev-link .icon { width: 1em; height: 1em; color: var(--red); }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-copy p:not(.eyebrow) { color: var(--graphite-text); max-width: 58ch; }
.about-copy .h-section { margin-bottom: 1.5rem; }
.credentials { margin: 0; background: #fff; border-radius: var(--radius); padding: .5rem 1.6rem; box-shadow: 0 1px 0 var(--line); }
.credentials div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px dashed var(--line); }
.credentials div:last-child { border-bottom: 0; }
.credentials dt { font-stretch: 75%; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding-top: .2rem; }
.credentials dd { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .credentials div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- services (home) ---------- */

.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.phase { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.phase-name { font-stretch: 115%; font-weight: 780; font-size: 1.35rem; }
.phase-lead { font-stretch: 78%; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); margin: .3rem 0 1rem; }
.phase ul { list-style: none; margin: 0; padding: 0; }
.phase li { padding: .6rem 0; border-top: 1px solid var(--line); line-height: 1.35; font-size: .98rem; }
@media (max-width: 1000px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* ---------- atlas (venue map) ---------- */

.atlas { background: var(--navy); color: #fff; padding-block: clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.atlas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 75% 40%, rgba(38,64,106,.55), transparent 70%);
}
.atlas-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy map" "panel map";
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
}
.atlas-copy { grid-area: copy; }
.atlas-copy .lede { color: rgba(255,255,255,.72); }
.atlas-map { grid-area: map; position: sticky; top: calc(var(--header-h) + 1rem); }
.atlas-panels { grid-area: panel; }

.atlas-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); column-gap: 1.5rem; margin-top: 2rem; }
.atlas-regions button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.14);
  padding: .8rem .2rem .8rem 1rem; text-align: left; cursor: pointer;
  color: rgba(255,255,255,.66); position: relative; transition: color .2s, padding .25s var(--ease);
}
.atlas-regions button::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; background: var(--red);
  transform: translateY(-50%); transition: height .25s var(--ease);
}
.atlas-regions button:hover { color: #fff; }
.atlas-regions button[aria-selected="true"] { color: #fff; padding-left: 1.4rem; }
.atlas-regions button[aria-selected="true"]::before { height: 60%; }
.atlas-regions button:focus-visible { outline-color: #fff; }
.r-name { font-stretch: 108%; font-weight: 650; font-size: 1.08rem; }
.r-count { font-stretch: 75%; font-weight: 700; font-variant-numeric: tabular-nums; color: #ff6b6f; }

.atlas-map svg { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 5rem); overflow: visible; }
.m-neigh { fill: #13233a; }
.m-land { fill: var(--navy-2); stroke: #3d5a85; stroke-width: 1.6; stroke-linejoin: round; }
.m-prov { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.2; stroke-dasharray: 4 5; }
.m-encl { fill: #13233a; stroke: #3d5a85; stroke-width: 1.2; }
.m-sea { fill: rgba(255,255,255,.32); font-family: var(--font); font-style: italic; font-stretch: 85%; font-size: 21px; letter-spacing: .12em; }
.pin { cursor: pointer; }
.pin-dot { fill: var(--red); stroke: var(--navy); stroke-width: 3; transition: transform .3s var(--ease); }
.pin-halo { fill: var(--red); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin.is-active .pin-halo { animation: halo 2.4s var(--ease) infinite; }
.pin-count { fill: #fff; font-family: var(--font); font-weight: 750; font-size: 17px; text-anchor: middle; pointer-events: none; }
.pin-label {
  fill: #fff; font-family: var(--font); font-stretch: 80%; font-weight: 650; font-size: 21px; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transition: opacity .2s; pointer-events: none; paint-order: stroke; stroke: var(--navy); stroke-width: 6px;
}
.pin:hover .pin-label, .pin.is-active .pin-label { opacity: 1; }
.pin:hover .pin-dot { transform: scale(1.08); }
@keyframes halo { 0% { opacity: .45; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.atlas-online {
  margin: 1rem 0 0; font-stretch: 80%; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
  color: rgba(255,255,255,.62); display: flex; gap: .6rem; align-items: center;
}
.atlas-online::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #ff6b6f; }

.atlas-places { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: .75rem; }
.atlas-list { list-style: none; margin: 0; padding: 0; max-height: 25rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--navy-3) transparent; }
.atlas-list li {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: .1rem 1rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.1);
  animation: rise .4s var(--ease) both;
}
.atlas-list li:nth-child(2) { animation-delay: .03s; } .atlas-list li:nth-child(3) { animation-delay: .06s; }
.atlas-list li:nth-child(4) { animation-delay: .09s; } .atlas-list li:nth-child(n+5) { animation-delay: .12s; }
.al-year { grid-row: span 2; font-stretch: 75%; font-weight: 700; color: #ff6b6f; font-variant-numeric: tabular-nums; padding-top: .1rem; }
.al-title { font-weight: 620; line-height: 1.3; }
.al-title a { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.al-title a:hover { text-decoration-color: #ff6b6f; }
.al-venue { color: rgba(255,255,255,.58); font-size: .92rem; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 900px) {
  .atlas-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "map" "panel"; }
  .atlas-map { position: static; max-width: 560px; }
  .atlas-regions { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 1.2rem; }
}

/* ---------- mosaic ---------- */

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(140px, 17vw, 230px)); gap: clamp(.5rem, 1vw, .9rem); text-decoration: none; }
.mosaic-item { overflow: hidden; border-radius: 10px; background: var(--mist); }
.mosaic-item:first-child { grid-row: span 2; grid-column: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic:hover .mosaic-item img { transform: scale(1.04); }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 34vw); }
  .mosaic-item:first-child { grid-row: span 1; }
}

/* ---------- call to action ---------- */

.cta { background: var(--red); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem 5rem; align-items: center; }
.cta .eyebrow { color: rgba(255,255,255,.8); }
.cta .lede { color: rgba(255,255,255,.88); margin-top: 1.25rem; margin-bottom: 0; }
.cta .btn-red { background: #fff; color: var(--red-dark); }
.cta .btn-red:hover { background: var(--navy); color: #fff; }
.cta :focus-visible { outline-color: #fff; }
.cta-actions { display: grid; gap: .9rem; justify-items: start; }
.cta-actions .btn { margin-bottom: .6rem; }
.cta-line { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 650; font-size: 1.15rem; }
.cta-line .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); }
.cta-line small { display: block; font-stretch: 78%; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.cta-line:hover .icon { background: #fff; color: var(--red); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; }
.footer-h { font-stretch: 75%; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-block: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-base p { margin: 0; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */

.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-title { font-stretch: 116%; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.022em; max-width: 16em; margin-bottom: 1.5rem; text-wrap: balance; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a, .chip {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.jump a:hover, .chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { font-stretch: 75%; font-weight: 700; opacity: .65; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* services page */
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.service-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.service-list { margin: 0; }
.service-photo { margin: 1.75rem 0 0; }
.service-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.service-photo figcaption, .page-banner figcaption {
  font-stretch: 78%; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--graphite); margin-top: .6rem; display: flex; align-items: center; gap: .5rem;
}
.service-photo figcaption::before, .page-banner figcaption::before { content: ""; width: 14px; height: 2px; background: var(--red); }
.page-banner { margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }
.page-banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 40%; border-radius: var(--radius); background: var(--mist); }
@media (max-width: 640px) { .page-banner img { aspect-ratio: 4 / 3; } }
.service-list div { padding: 1.4rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .5rem 2rem; }
.service-list div:last-child { border-bottom: 1px solid var(--line); }
.service-list dt { font-stretch: 106%; font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.service-list dd { margin: 0; color: var(--graphite-text); }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-intro { position: static; }
  .service-list div { grid-template-columns: 1fr; }
}
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.who-list li { color: rgba(255,255,255,.72); border-top: 2px solid var(--red); padding-top: 1rem; }
.who-list strong { display: block; color: #fff; font-stretch: 108%; font-size: 1.15rem; margin-bottom: .4rem; }
@media (max-width: 860px) { .who-grid, .who-list { grid-template-columns: 1fr; } }

/* events page */
.empty { background: var(--mist); border-radius: var(--radius); padding: 1.6rem 1.8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.empty p { margin: 0; max-width: 62ch; }
.archive-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: 2rem; }
.archive-head .h-sub { margin: 0; }
.archive-tools { display: grid; gap: .9rem; justify-items: end; }
.search { display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 .9rem; background: #fff; width: min(100%, 360px); }
.search:focus-within { border-color: var(--ink); }
.search .icon { color: var(--graphite); }
.search input { border: 0; outline: 0; padding: .75rem 0; width: 100%; background: transparent; }
@media (max-width: 760px) { .archive-tools { justify-items: start; width: 100%; } .search { width: 100%; } }

.year-group { margin-top: 2.5rem; }
.year-label { font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; display: flex; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 3px solid var(--ink); }
.year-label span { font-stretch: 75%; font-weight: 650; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.ev-rows { list-style: none; margin: 0; padding: 0; }
.ev-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr) 6rem 9rem; gap: .4rem 1.5rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.ev-row-date { font-stretch: 85%; font-weight: 600; color: var(--graphite-text); font-variant-numeric: tabular-nums; }
.ev-row-main { display: grid; gap: .15rem; }
.ev-row-title { font-weight: 680; line-height: 1.3; }
.ev-row-venue { color: var(--graphite-text); font-size: .95rem; }
.ev-row-pax { display: inline-flex; align-items: center; gap: .4rem; color: var(--graphite-text); font-variant-numeric: tabular-nums; font-size: .95rem; }
.ev-row-pax .icon { color: var(--red); }
.ev-row-link { display: flex; gap: 1rem; justify-content: flex-end; }
.ev-row-link a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 620; font-size: .95rem; text-decoration: none; border-bottom: 1.5px solid var(--red); }
.ev-row-link .icon { width: .95em; height: .95em; color: var(--red); }
@media (max-width: 860px) {
  .ev-row { grid-template-columns: 1fr auto; }
  .ev-row-date { grid-column: 1 / -1; font-size: .9rem; }
  .ev-row-main { grid-column: 1 / -1; }
  .ev-row-link { justify-content: flex-start; }
}
.archive .empty { margin-top: 2rem; }

/* gallery */
.gallery-filter { margin-bottom: 2rem; }
.masonry { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.masonry-item { break-inside: avoid; margin-bottom: clamp(.6rem, 1.2vw, 1rem); }
.masonry-item a { display: block; border-radius: 10px; overflow: hidden; background: var(--mist); }
.masonry-item img { width: 100%; transition: transform .7s var(--ease), opacity .3s; }
.masonry-item a:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(9,15,26,.95); display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 1rem; animation: fade .25s both; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .9rem; min-width: 0; }
.lb-figure img { max-height: calc(100vh - 7rem); max-width: 100%; width: auto; border-radius: 6px; box-shadow: 0 30px 80px -30px #000; }
.lb-figure figcaption { color: rgba(255,255,255,.75); display: flex; gap: 1.5rem; font-size: .95rem; }
.lb-count { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.5); }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--navy); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox :focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: start; } .lb-next { grid-row: 2; justify-self: end; }
}
@keyframes fade { from { opacity: 0; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--navy); color: #fff; border-radius: 18px; padding: 2.6rem 2rem 2rem;
  box-shadow: 0 30px 60px -40px rgba(15,27,45,.8);
}
.badge-hole { width: 64px; height: 12px; border-radius: 99px; background: #fff; margin: -1rem auto 1.8rem; box-shadow: inset 0 2px 4px rgba(15,27,45,.35); }
.contact-role { font-stretch: 75%; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #ff6b6f; margin-bottom: .4rem; }
.contact-name { font-stretch: 118%; font-weight: 800; font-size: 2rem; line-height: 1.05; margin-bottom: 1.5rem; }
.contact-lines { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .3rem; }
.contact-lines a { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: #ff9a9d; }
.contact-lines .icon { color: #ff6b6f; }
.contact-pay { border-top: 1px dashed rgba(255,255,255,.25); padding-top: 1.5rem; }
.contact-pay p { color: rgba(255,255,255,.7); font-size: .95rem; }
.contact-card :focus-visible { outline-color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }

.form { display: grid; gap: 1.25rem; }
.form .h-sub { margin-bottom: 0; }
.form-intro { color: var(--graphite-text); margin: -.5rem 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-weight: 620; font-size: .97rem; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .95rem; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(215,25,32,.15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red-dark); font-size: .9rem; font-weight: 600; margin: 0; }
.form-error { background: var(--red-tint); color: var(--red-dark); border-radius: 10px; padding: .9rem 1rem; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; font-size: .95rem; font-weight: 560; transition: all .2s; }
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-note { margin: 0; color: var(--graphite-text); font-size: .9rem; max-width: 40ch; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.enquiry-done { background: var(--mist); border-radius: var(--radius); padding: 2.2rem; }
.enquiry-done:focus { outline: none; }
.done-icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 1.2rem; }

.not-found { min-height: 55vh; }

/* ---------- motion ---------- */

.load-in { animation: rise-in .8s var(--ease) both; }
.load-in:nth-child(2) { animation-delay: .08s; }
.load-in:nth-child(3) { animation-delay: .16s; }
.load-in:nth-child(4) { animation-delay: .24s; }
.film-frame { animation: rise-in 1s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .08s); }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-track ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .ticker, .cta, .atlas, .lightbox { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
