/* Local fonts: Oswald (display) and DM Sans (body), served from /fonts */
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald/static/Oswald-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald/static/Oswald-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald/static/Oswald-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM_Sans/static/DMSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM_Sans/static/DMSans-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM_Sans/static/DMSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM_Sans/static/DMSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM_Sans/static/DMSans-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #090a0a;
  --paper: #f3f3ef;
  --white: #fff;
  --muted: #a5aaa7;
  --line: rgba(255,255,255,.17);
  --acid: #1cffcb;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Oswald", Impact, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed; z-index: 1000; top: 1rem; left: 1rem;
  padding: .8rem 1rem; transform: translateY(-160%);
  background: var(--acid); color: var(--ink); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.announcement {
  display: flex; min-height: 2.35rem; align-items: center; justify-content: center;
  padding: .45rem 1rem; background: var(--acid); color: var(--ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-align: center; text-transform: uppercase;
}

.site-header {
  position: absolute; z-index: 20; top: 2.35rem; right: 0; left: 0;
  display: flex; height: 5.4rem; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); border-bottom: 1px solid rgba(255,255,255,.2);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; line-height: 1; }
.brand-logo {
  width: clamp(8rem, 15vw, 11rem); height: auto; max-height: 3.2rem;
  object-fit: contain; object-position: left center;
}

.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.7rem); }
.desktop-nav a:not(.button) { color: rgba(255,255,255,.82); font-size: .77rem; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:not(.button):hover, .desktop-nav a:not(.button)[aria-current="page"] { color: var(--acid); }

.button {
  display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .8rem;
  padding: .85rem 1.2rem; border: 1px solid transparent; background: var(--acid); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease; cursor: pointer;
}
.button:hover { transform: translateY(-3px); background: var(--white); }
.button .arrow { font-size: 1.1rem; line-height: 0; transition: transform .25s ease; }
.button:hover .arrow { transform: translateX(4px); }
.button-outline { border-color: rgba(255,255,255,.5); background: transparent; color: var(--white); }
.button-outline:hover { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--white); color: var(--ink); }

.menu-toggle {
  display: none; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: relative; display: block; width: 1.15rem; height: 2px; background: var(--white); transition: transform .25s ease;
}
.menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 0; content: ""; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; display: flex; min-height: min(850px, 100vh); align-items: flex-end;
  overflow: hidden; background: #191d1c;
}
.hero-image {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5,7,7,.88) 0%, rgba(5,7,7,.57) 42%, rgba(5,7,7,.08) 100%),
    linear-gradient(0deg, rgba(5,7,7,.75) 0%, transparent 55%),
    url("img/backgrounds/home-hero.jpg");
  background-position: center, center, center 42%;
  background-size: cover;
  animation: hero-in 1.2s cubic-bezier(.2,.7,.2,1) both;
  transform: scale(1.035);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 11rem var(--gutter) 5.5rem; }

/* Shorter hero for inner pages */
.page-hero {
  position: relative; display: flex; min-height: 62vh; align-items: flex-end; overflow: hidden; background: #191d1c;
}
.page-hero-image {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5,7,7,.9) 0%, rgba(5,7,7,.55) 50%, rgba(5,7,7,.15) 100%),
    linear-gradient(0deg, rgba(5,7,7,.8) 0%, transparent 60%);
  background-size: cover; background-position: center;
}
.page-hero-inner { position: relative; z-index: 1; width: 100%; padding: 12rem var(--gutter) 4.5rem; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem;
  color: var(--acid); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { width: 1.75rem; height: 2px; background: currentColor; content: ""; }

.hero h1, .page-hero h1 {
  max-width: 900px; margin-bottom: 1.15rem;
  font-family: var(--display); font-size: clamp(4.2rem, 11vw, 10.5rem); font-weight: 600;
  letter-spacing: -.035em; line-height: .84; text-transform: uppercase;
}
.page-hero h1 { font-size: clamp(3.6rem, 9vw, 8.5rem); }
.hero h1 span, .page-hero h1 span { display: block; color: var(--acid); }

.hero-copy, .page-hero-copy {
  max-width: 28rem; margin-bottom: 1.8rem; color: rgba(255,255,255,.82);
  font-size: clamp(.96rem, 1.35vw, 1.1rem); line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-foot {
  position: absolute; right: var(--gutter); bottom: 2rem; display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.72); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-foot::before { width: 2.2rem; height: 1px; background: var(--acid); content: ""; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: var(--gutter); display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.68); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-cue span {
  display: grid; width: 1.5rem; height: 1.5rem; place-items: center;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--acid);
  animation: bob 1.8s ease-in-out infinite;
}

/* Ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #111414; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 1.7rem; padding: 1rem 1.7rem 1rem 0; }
.ticker-item {
  color: var(--white); font-family: var(--display); font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.ticker-dot { display: inline-flex; color: var(--acid); font-size: 1.1rem; }

/* Sections */
.section { padding: clamp(5rem, 9vw, 9rem) var(--gutter); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-tight { padding-top: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-head h2, .intro h2, .event-copy h2, .cta h2, .split-head h2 {
  margin-bottom: 0; font-family: var(--display); font-size: clamp(3rem, 7.2vw, 7.2rem);
  font-weight: 600; letter-spacing: -.025em; line-height: .9; text-transform: uppercase;
}
.section-head > p {
  max-width: 20rem; margin-bottom: .3rem; color: #626765; font-size: .95rem; line-height: 1.7;
}

/* Offering cards */
.offering-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.offering-card {
  position: relative; display: flex; min-height: 25rem; grid-column: span 4; align-items: flex-end;
  overflow: hidden; background: #232827; color: var(--white); isolation: isolate;
}
.offering-card:first-child, .offering-card:last-child { min-height: 31rem; }
.offering-card:first-child { grid-column: span 4; min-height: 25rem; }
.offering-card:last-child { grid-column: span 7; }
.offering-card--compact { grid-column: span 5; min-height: 25rem; }
.offering-card img {
  position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.offering-card::after {
  position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(0deg, rgba(4,6,6,.9), rgba(4,6,6,.03) 76%); content: "";
}
.offering-card:hover img { transform: scale(1.06); }
.offering-card-content { width: 100%; padding: clamp(1.3rem, 3vw, 2.3rem); }
.card-index {
  display: block; margin-bottom: .6rem; color: var(--acid); font-size: .67rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.offering-card h3 {
  margin-bottom: .65rem; font-family: var(--display); font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 600; line-height: .95; text-transform: uppercase;
}
.offering-card p {
  max-width: 25rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.65;
}

/* Generic card grid (inner pages) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card { background: #151918; color: var(--white); padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line); }
.info-card h3 {
  margin-bottom: .6rem; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600; line-height: .95; text-transform: uppercase;
}
.info-card p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.7; }
.info-card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.info-card li {
  display: flex; gap: .55rem; align-items: flex-start; padding: .5rem 0;
  border-top: 1px solid var(--line); color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 600;
}
.info-card li::before { flex-shrink: 0; width: .8rem; height: .8rem; margin-top: .25rem; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.5v13M2.5 4.75l11 6.5M2.5 11.25l11-6.5' fill='none' stroke='%231cffcb' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.info-card .card-index { margin-bottom: .8rem; }

.price-tag {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .6rem; background: var(--acid); color: var(--ink);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

/* Timetable */
.timetable { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .9rem; }
.timetable th, .timetable td { padding: 1rem .8rem; border-bottom: 1px solid rgba(9,10,10,.2); text-align: left; vertical-align: top; }
.timetable th {
  color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}
.timetable td:first-child { font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Intro */
.intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 10vw, 10rem); }
.intro h2 { max-width: 11ch; font-size: clamp(3.2rem, 7vw, 7rem); }
.intro h2 span, .cta h2 span { color: var(--acid); }
.intro-copy { max-width: 36rem; }
.intro-copy p { color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.85; }
.intro-copy .large-copy {
  color: var(--white); font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3.3rem);
  line-height: 1.08; text-transform: uppercase;
}
.intro-copy .button { margin-top: .8rem; }

.split-head { margin-bottom: 3rem; }
.split-head p { max-width: 36rem; margin: 1.2rem 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }

/* Event */
.event { display: grid; min-height: 40rem; grid-template-columns: 1fr 1fr; background: var(--acid); color: var(--ink); }
.event-image { position: relative; min-height: 30rem; overflow: hidden; background: #151a18; }
.event-image img { height: 100%; min-height: 30rem; object-fit: cover; filter: grayscale(100%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.event-image:hover img { transform: scale(1.04); }
.event-image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.3), transparent 60%); content: ""; pointer-events: none; }
.event-stamp {
  position: absolute; z-index: 1; right: 2rem; bottom: 2rem; display: grid; width: 6.5rem; height: 6.5rem;
  place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--white);
  font-family: var(--display); font-size: 1.1rem; line-height: 1; text-align: center; text-transform: uppercase; transform: rotate(-12deg);
}
.event-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 7vw, 6.5rem); }
.event-copy .eyebrow { color: var(--ink); }
.event-copy h2 { max-width: 9ch; font-size: clamp(3.7rem, 7vw, 7rem); }
.event-copy > p:not(.eyebrow) { max-width: 30rem; margin: 1.4rem 0 1.8rem; font-size: 1rem; line-height: 1.75; }
.event-numbers { display: flex; gap: clamp(1.3rem, 4vw, 3.2rem); margin-bottom: 1.8rem; }
.event-number strong { display: block; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; }
.event-number span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Community */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.community-image { position: relative; min-height: 33rem; overflow: hidden; background: #202625; }
.community-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .8s ease; }
.community-image:hover img { transform: scale(1.04); }
.community-content h2 {
  margin-bottom: 1.3rem; font-family: var(--display); font-size: clamp(3rem, 6.5vw, 6.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: .91; text-transform: uppercase;
}
.community-content > p { max-width: 34rem; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }
.community-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.3rem; margin: 1.8rem 0 2rem; padding: 0; list-style: none;
}
.community-list li { display: flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 600; }
.community-list li::before { flex-shrink: 0; width: .8rem; height: .8rem; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.5v13M2.5 4.75l11 6.5M2.5 11.25l11-6.5' fill='none' stroke='%231cffcb' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 9vw, 9rem); }
.faq-intro h2 {
  margin-bottom: 1rem; font-family: var(--display); font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 600; line-height: .9; text-transform: uppercase;
}
.faq-intro p { max-width: 22rem; color: #626765; line-height: 1.7; }
.faq-list { border-top: 1px solid rgba(9,10,10,.2); }
.faq-item { border-bottom: 1px solid rgba(9,10,10,.2); }
.faq-question {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font-size: .95rem; font-weight: 700; text-align: left;
}
.faq-icon {
  display: grid; width: 1.8rem; height: 1.8rem; flex: 0 0 auto; place-items: center;
  border: 1px solid rgba(9,10,10,.3); border-radius: 50%; font-size: 1.1rem; transition: transform .25s ease, background .25s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--acid); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 42rem; margin: 0; padding: 0 2rem 1.3rem 0; color: #565c59; font-size: .9rem; line-height: 1.75; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* Contact */
.map-figure { margin: 0; }
.map-figure img { width: 100%; height: auto; border: 1px solid rgba(9,10,10,.25); }
.map-figure figcaption { margin-top: 1.4rem; }
.section-paper .map-figure .button { background: var(--ink); color: var(--white); }
.section-paper .map-figure .button:hover { background: var(--acid); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-details { display: grid; gap: 2rem; }
.contact-details h3 { margin-bottom: .5rem; color: var(--acid); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details p, .contact-details a { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.7; }
.contact-details a:hover { color: var(--acid); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form input, .form select, .form textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); background: #111414; color: var(--white);
  font: inherit; font-size: .95rem; text-transform: none; letter-spacing: normal;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--acid); outline-offset: 2px; }

/* Café */
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.menu-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-list strong { font-size: 1rem; }
.menu-list span { color: rgba(255,255,255,.65); font-size: .9rem; }

/* CTA */
.cta {
  position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 10rem) var(--gutter);
  background:
    linear-gradient(90deg, rgba(5,7,7,.91), rgba(5,7,7,.6)),
    url("img/backgrounds/page-hero-faqs.jpg") center 44% / cover;
}
.cta-inner { position: relative; max-width: 70rem; }
.cta h2 { max-width: 10ch; margin-bottom: 1.2rem; font-size: clamp(4rem, 9vw, 9rem); }
.cta p { max-width: 30rem; margin-bottom: 1.7rem; color: rgba(255,255,255,.78); line-height: 1.75; }

/* Footer */
.site-footer { padding: 4rem var(--gutter) 1.5rem; background: #070808; }
.footer-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 4rem;
  padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 50%, rgba(28,255,203,.12), transparent 55%), #101313;
}
.footer-callout p { margin-bottom: .45rem; color: var(--acid); font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-callout h2 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4.3vw, 4rem); font-weight: 600; line-height: .95; text-transform: uppercase; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: 3.5rem; }
.footer-brand { max-width: 19rem; }
.footer-brand .brand-logo { width: 10.5rem; }
.footer-brand p { margin: 1.2rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.footer-column h3 { margin: .2rem 0 1.1rem; color: var(--acid); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: .8rem; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.74); font-size: .82rem; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--acid); transform: translateX(3px); }
.footer-location { color: rgba(255,255,255,.74); font-size: .82rem; line-height: 1.7; }
.footer-location strong { display: block; margin-bottom: .3rem; color: var(--white); font-size: .9rem; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line); color: #777d79; font-size: .7rem;
}
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--acid); }

/* Light-background section fixes: dark text and a readable accent */
.section-paper .eyebrow { color: #0b6b58; }
.section-paper .intro h2 span { color: #0b6b58; }
.section-paper .intro-copy p,
.section-paper .split-head p { color: #3d4340; }
.section-paper .intro-copy .large-copy { color: var(--ink); }
.section-paper .menu-list span { color: #4a504d; }
.section-paper .contact-details h3 { color: #0b6b58; }
.section-paper .contact-details p,
.section-paper .contact-details a { color: var(--ink); }
.section-paper .contact-details a:hover { color: #0b6b58; }
.section-paper .form label { color: var(--ink); }
.section-paper .faq-intro a { color: var(--ink); }
.section-paper .button { color: var(--ink); }
.section-paper .button-dark { background: var(--ink); color: var(--white); }
.section-paper .button-dark:hover { background: var(--white); color: var(--ink); }

/* Timetable sits on a dark section, so give it a light panel */
.timetable { background: var(--paper); padding: 0.5rem 1rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@keyframes hero-in { from { opacity: .5; transform: scale(1.09); } to { opacity: 1; transform: scale(1.035); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-width: 900px) {
  .desktop-nav { gap: 1rem; }
  .desktop-nav a:not(.button) { font-size: .7rem; }
  .offering-card, .offering-card:first-child, .offering-card:last-child { grid-column: span 6; }
  .intro { gap: 3rem; }
  .event { grid-template-columns: .9fr 1.1fr; }
  .event-copy { padding: 3rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header { height: 4.5rem; }
  .brand-logo { width: 8.5rem; }
  .desktop-nav {
    position: fixed; z-index: 30; inset: 6.85rem 0 0; display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0; padding: 2rem var(--gutter); background: var(--ink);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease;
  }
  .desktop-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .desktop-nav a:not(.button) { padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .desktop-nav .button { margin-top: 1.3rem; }
  .menu-toggle { display: flex; }
  .hero, .page-hero { min-height: 760px; min-height: 88vh; }
  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(5,7,7,.76), rgba(5,7,7,.25)),
      linear-gradient(0deg, rgba(5,7,7,.8), transparent 75%),
      url("img/backgrounds/home-cta.jpg");
    background-position: center, center, 57% center;
  }
  .hero-inner { padding-top: 10rem; padding-bottom: 6.5rem; }
  .page-hero-inner { padding-top: 10rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(4rem, 18vw, 7.6rem); }
  .hero-foot { display: none; }
  .section-head { display: block; }
  .section-head > p { margin-top: 1.3rem; }
  .offering-card, .offering-card:first-child, .offering-card:last-child { min-height: 24rem; grid-column: span 12; }
  .intro, .community, .faq, .contact-grid { grid-template-columns: 1fr; }
  .intro { gap: 2rem; }
  .intro h2 { max-width: 9ch; }
  .event { grid-template-columns: 1fr; }
  .event-image, .event-image img { min-height: 23rem; }
  .event-copy { padding: 3rem var(--gutter) 4rem; }
  .event-copy h2 { max-width: 10ch; }
  .community-image { min-height: 25rem; order: 2; }
  .community-content { order: 1; }
  .faq { gap: 2rem; }
  .card-grid, .menu-list { grid-template-columns: 1fr; }
  .footer-callout { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { bottom: 1.4rem; }
  .community-list { grid-template-columns: 1fr; }
  .event-numbers { gap: 1.4rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* ---------- Memberships ---------- */
.section-head {
  display: grid; gap: 1.5rem; align-items: end;
  grid-template-columns: 1.2fr 1fr; margin-bottom: 3rem;
}
.section-head p:last-child { color: var(--muted); line-height: 1.7; margin: 0; }

.image-frame { overflow: hidden; margin-top: 2rem; border-radius: 4px; }
.image-frame img { aspect-ratio: 4 / 3; object-fit: cover; }

.price-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem;
  font-size: 1rem;
}
.price-table th, .price-table td {
  padding: .9rem 0; text-align: left; border-bottom: 1px solid rgba(9,10,10,.18);
}
.price-table th { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; }
.price-table td { color: #090a0a; }
.intro .price-table td, .intro .price-table th { color: #090a0a; }

.price-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.price-card {
  display: flex; flex-direction: column;
  padding: 2rem; background: #121414; border: 1px solid var(--line); border-radius: 6px;
  color: var(--white);
}
.price-card.featured { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid) inset; }
.price-card .card-index {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); font-weight: 700;
}
.price-card h3 {
  font-family: var(--display); font-size: 2.4rem; text-transform: uppercase; margin: .6rem 0 .4rem;
}
.price { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 1.25rem; }
.price strong { font-family: var(--display); font-size: 2.8rem; color: var(--white); }
.price span { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.price-card li {
  padding: .6rem 0 .6rem 1.4rem; position: relative; color: #e8ebea; border-top: 1px solid var(--line); line-height: 1.5;
}
.price-card li::before { content: "+"; position: absolute; left: 0; color: var(--acid); font-weight: 700; }
.price-card .button { align-self: flex-start; }

/* ---------- Trainer browser ---------- */
.trainer-section .split-head { margin-bottom: 2.5rem; }
.trainer-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.chip {
  appearance: none; cursor: pointer; padding: .55rem 1.05rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--white);
  font-size: .92rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--acid); }
.chip.is-active { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.chip-static {
  display: inline-block; margin: 0 .4rem .4rem 0; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(28,255,203,.12); color: var(--acid); font-size: .82rem; font-weight: 600;
}

.trainer-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  transition: opacity .18s ease;
}
.trainer-grid.is-changing { opacity: 0; }
.trainer-card {
  appearance: none; cursor: pointer; text-align: left; padding: 0;
  background: #121414; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; color: var(--white);
  transition: transform .25s ease, border-color .25s ease;
  animation: trainerIn .4s ease both;
}
.trainer-card:hover { transform: translateY(-4px); border-color: var(--acid); }
.trainer-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #1c1f1f; }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.trainer-card:hover .trainer-photo img { transform: scale(1.04); }
.trainer-meta { padding: 1.1rem 1.2rem 1.3rem; }
.trainer-role {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); font-weight: 700; margin-bottom: .35rem;
}
.trainer-meta h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; margin: 0 0 .6rem; color: var(--white); }
.trainer-more { font-size: .9rem; color: #e8ebea; font-weight: 600; }
.trainer-empty { grid-column: 1 / -1; color: var(--muted); padding: 2rem 0; }

@keyframes trainerIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.trainer-dialog {
  width: min(880px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: #121414; color: var(--white);
  display: flex; flex-direction: column; overflow: hidden;
}
.trainer-dialog:not([open]) { display: none; }
.trainer-dialog[open] { display: flex; }
.trainer-dialog::backdrop { background: rgba(5,6,6,.8); backdrop-filter: blur(4px); }
.dialog-body { position: relative; overflow-y: auto; padding: 2rem; flex: 1; }
.dialog-close {
  position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 1px solid var(--line); background: var(--ink); color: var(--white);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { border-color: var(--acid); color: var(--acid); }
.dialog-top { display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem; align-items: start; margin-bottom: 1.5rem; }
.dialog-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #1c1f1f; }
.dialog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dialog-role { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); font-weight: 700; }
.dialog-name { font-family: var(--display); font-size: 2.6rem; text-transform: uppercase; margin: .3rem 0 .9rem; color: var(--white); line-height: 1.05; }
.dialog-contact { display: grid; gap: .5rem; margin-top: 1rem; }
.dialog-contact a {
  display: flex; gap: .75rem; align-items: baseline; color: var(--white); font-weight: 600;
  padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 4px; word-break: break-word;
}
.dialog-contact a:hover { border-color: var(--acid); }
.dialog-contact a span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--acid); min-width: 4.5rem; }
.dialog-bio p { color: #e8ebea; line-height: 1.7; margin-bottom: 1rem; }
.dialog-bio p strong { color: var(--acid); }
.dialog-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 2rem; border-top: 1px solid var(--line); background: var(--ink);
}
.dialog-nav button {
  appearance: none; cursor: pointer; padding: .6rem 1.1rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--white); font-weight: 600;
}
.dialog-nav button:hover { border-color: var(--acid); color: var(--acid); }
.dialog-counter { color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; }
  .dialog-top { grid-template-columns: 1fr; }
  .dialog-photo { max-width: 240px; }
  .dialog-body { padding: 1.5rem; }
}

/* ---------- Hero video background ---------- */
.hero .hero-image { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,10,10,.85) 0%, rgba(9,10,10,.5) 55%, rgba(9,10,10,.2) 100%), linear-gradient(0deg, rgba(9,10,10,.85) 0%, transparent 55%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- Tools ---------- */
[hidden] { display: none !important; }

.tool-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.tool-jump a {
  padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: border-color .2s, color .2s;
}
.tool-jump a:hover { border-color: var(--acid); color: var(--acid); }

.tool-section { scroll-margin-top: 5.5rem; }

.tool-panel {
  padding: 2rem; background: #121414; border: 1px solid var(--line); border-radius: 6px;
  color: var(--white);
}
.tool-grid-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.5rem;
}
.tool-grid-fields .span-2 { grid-column: 1 / -1; }
.tool-panel label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .92rem; font-weight: 600; color: #e8ebea;
}
.tool-panel small { font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.tool-panel input, .tool-panel select {
  appearance: none; width: 100%; padding: .75rem .9rem;
  background: var(--ink); color: var(--white); border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: 1rem;
}
.tool-panel select {
  background-image: linear-gradient(45deg, transparent 50%, var(--acid) 50%), linear-gradient(135deg, var(--acid) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem;
}
.tool-panel option { background: var(--ink); color: var(--white); }
.tool-panel input:focus, .tool-panel select:focus { outline: 2px solid var(--acid); outline-offset: 2px; }
.tool-panel > .button { margin-top: .25rem; }

.tool-error { color: #ff8a8a; font-weight: 600; min-height: 1.4em; margin: 1rem 0 0; }

.tool-result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tool-result h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; margin: 1.5rem 0 .5rem; color: var(--white); }

.tool-notice {
  margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 4px solid var(--acid);
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); line-height: 1.65; font-size: .95rem;
}
.tool-notice strong { color: var(--acid); }
.tool-note {
  margin: 1.25rem 0 0; padding: .9rem 1rem; border-left: 3px solid currentColor;
  font-size: .92rem; line-height: 1.6; opacity: .85;
}
.result-big {
  display: grid; gap: .2rem; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem;
  background: rgba(28,255,203,.08); border: 1px solid rgba(28,255,203,.35); border-radius: 6px;
}
.result-big span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); font-weight: 700; }
.result-big strong { font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--white); }
.result-big em { font-style: normal; color: #e8ebea; }
.result-row {
  display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0;
  border-bottom: 1px solid var(--line); color: #e8ebea;
}
.result-row b { color: var(--white); }
.tool-panel .price-table td, .tool-panel .price-table th { color: var(--white); border-bottom-color: var(--line); }
.tool-panel .price-table td:last-child { text-align: left; }
.tool-note { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: 1rem 0 0; }
.tool-section .intro h2 { margin-bottom: .75rem; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; z-index: 90; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none;
}
.wa-float-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--acid); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  animation: waPulse 2.8s ease-out infinite;
  transition: transform .25s ease;
}
.wa-float-icon svg { width: 26px; height: 26px; }
.wa-float-label {
  padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(9,10,10,.92); color: var(--white); white-space: nowrap;
  font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
.wa-float:hover .wa-float-icon { transform: scale(1.06); }
@keyframes waPulse {
  0%   { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 0 rgba(28,255,203,.45); }
  70%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 16px rgba(28,255,203,0); }
}
@media (max-width: 640px) {
  .wa-float { gap: 0; }
  .wa-float-label { display: none; }
  .wa-float-icon { width: 52px; height: 52px; }
}

@media (max-width: 640px) {
  .tool-panel { padding: 1.4rem; }
  .tool-grid-fields { grid-template-columns: 1fr; }
  .result-big strong { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
