/* Animus Sports Complex website. One stylesheet for every page. Breakpoints: desktop from 1200px, tablet
   810–1199px, phone below 810px. Type is Cairo, the brand kit's font, hosted in /animus/fonts/. */
@font-face { font-family: Cairo; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/animus/fonts/cairo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/animus/fonts/cairo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/animus/fonts/cairo-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --page: #fafafa;
  --surface: #fff;
  --ink: #050505;
  --text: #4d4d4d;
  --soft: #f2f2f2;
  --hover: #ccc;
  --night: #141414;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  --gutter: 24px;
}
@media (max-width: 809.98px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.2 Cairo, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type roles */
.kicker { font-size: 12px; line-height: 1.2; color: var(--text); }
.title { color: var(--ink); font-size: 60px; line-height: 1; font-weight: 900; }
.h2 { color: var(--ink); font-size: 52px; line-height: 1; font-weight: 900; }
.lede { font-size: 18px; line-height: 1.2; color: var(--text); }
@media (max-width: 1199.98px) { .title { font-size: 48px; } .h2 { font-size: 40px; } }
@media (max-width: 809.98px) { .kicker { font-size: 14px; } .title { font-size: 36px; } .h2 { font-size: 32px; } }

/* Section header: kicker, headline, lede. Centred, or split with the lede in the right half. */
.head { display: flex; flex-direction: column; gap: 24px; }
.head-center { align-items: center; text-align: center; }
.head-center .lede { max-width: 640px; }
.head-split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: end; }
.head-split .kicker { grid-column: 1 / -1; }
.head-split .lede { max-width: 340px; }
@media (max-width: 809.98px) { .head-split { grid-template-columns: 1fr; } }

/* Buttons: a fill sweeps in from the right on hover, the label rolls up and an arrow appears */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 36px;
  border-radius: 30px; overflow: hidden; isolation: isolate; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; line-height: 1.2;
  transition: background-color 0.3s, color 0.3s;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 0; border-radius: 30px;
  background: var(--hover); transition: width 0.45s cubic-bezier(0.44, 0, 0.56, 1);
}
.btn-label { position: relative; display: block; overflow: hidden; transition: transform 0.45s cubic-bezier(0.44, 0, 0.56, 1); }
.btn-label span { display: block; transition: transform 0.45s cubic-bezier(0.44, 0, 0.56, 1); }
.btn-label span + span { position: absolute; top: 100%; left: 0; right: 0; text-align: center; color: var(--ink); }
.btn-arrow {
  position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; opacity: 0; transform: translateX(-8px);
  color: var(--ink); transition: opacity 0.3s, transform 0.45s cubic-bezier(0.44, 0, 0.56, 1);
}
.btn:hover::before { width: 100%; }
.btn:hover .btn-label { transform: translateX(-12px); }
.btn:hover .btn-label span { transform: translateY(-100%); }
.btn:hover .btn-arrow { opacity: 1; transform: none; }
.btn-big { height: 60px; padding: 0 42px; font-size: 16px; background: var(--soft); color: var(--ink); }
.btn-big .btn-label span + span, .btn-big .btn-arrow { color: var(--ink); }
.btn-big .btn-arrow { width: 18px; height: 18px; margin-top: -9px; }
.btn-big.on-photo::before { background: var(--ink); }
.btn-big.on-photo .btn-label span + span, .btn-big.on-photo .btn-arrow { color: #fff; }
@media (max-width: 1199.98px) { .btn { font-size: 16px; } }

/* Nav */
.nav {
  position: fixed; z-index: 10; top: 0; left: 0; right: 0; height: 96px; overflow: hidden; border-radius: 0 0 12px 12px;
  background: var(--surface); color: var(--ink);
  transition: background-color 0.3s, color 0.3s, height 0.45s cubic-bezier(0.44, 0, 0.56, 1), border-radius 0.45s;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; font-style: italic; line-height: 1.2; text-decoration: none; }
.logo::before {
  content: ""; flex: none; width: 26px; height: 26px; background: currentColor;
  -webkit-mask: url(/animus/mark.svg) center/contain no-repeat; mask: url(/animus/mark.svg) center/contain no-repeat;
}
.nav-menu { position: absolute; left: 50%; top: 48px; transform: translate(-50%, -50%); display: flex; gap: 48px; }
.nav-menu a { position: relative; display: block; font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; }
.roll { position: relative; display: block; overflow: hidden; }
.roll span { display: block; transition: transform 0.35s cubic-bezier(0.44, 0, 0.56, 1); }
.roll span + span { position: absolute; top: 100%; left: 0; }
.nav-menu a::after {
  content: ""; position: absolute; left: 50%; bottom: -20px; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px;
  background: currentColor; opacity: 0; transition: opacity 0.3s;
}
.nav-menu a:hover .roll span { transform: translateY(-100%); }
.nav-menu a:hover::after { opacity: 0.25; }
.nav-toggle { display: none; position: relative; width: 36px; height: 24px; }
.nav-toggle i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.35s, top 0.35s; }
.nav-toggle i:first-child { top: 6px; }
.nav-toggle i:last-child { top: 16px; }
.nav.is-light { background: transparent; color: #fff; }
.nav.is-light .nav-cta { background: #fff; color: var(--ink); }
@media (min-width: 1200px) { .nav-panel { display: contents; } .nav-cta { position: absolute; top: 24px; right: var(--gutter); } }
@media (max-width: 1199.98px) {
  .nav-toggle { display: block; }
  .nav-panel {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; flex-direction: column; gap: 36px;
    visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0s 0.3s;
  }
  .nav-menu { position: static; transform: none; flex-direction: column; gap: 24px; }
  .nav-menu a { font-size: 16px; font-weight: 900; }
  .nav-menu a::after { display: none; }
  .nav-cta { width: 100%; background: #fff; color: var(--ink); }
  .nav.is-open { height: 388px; background: var(--ink); color: #fff; border-radius: 0 0 24px 24px; }
  .nav.is-open .nav-panel { visibility: visible; opacity: 1; transition: opacity 0.3s 0.1s; }
  .nav.is-open .nav-toggle i:first-child { top: 11px; transform: rotate(45deg); }
  .nav.is-open .nav-toggle i:last-child { top: 11px; transform: rotate(-45deg); }
}

/* Photos: placeholders until the photography arrives. A frame holds an image; .ph adds the label. */
.frame { position: relative; overflow: hidden; border-radius: 12px; background: var(--ink); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: "Photos coming soon" / ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 24px); width: max-content; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.78);
  font: 500 11px/1.3 Cairo, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; pointer-events: none;
}

/* Reveal: the start state, animated by site.js (only when motion is allowed) */
.anim [data-reveal] { opacity: 0.5; transform: translateY(24px); }

/* Home hero */
.hero { position: relative; overflow: hidden; border-radius: 0 0 12px 12px; background: var(--ink); color: #fff; }
.hero-photo { position: absolute; left: 0; right: 0; top: -240px; height: calc(100% + 240px); will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(84, 84, 84, 0) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.67) 70%, rgba(0, 0, 0, 0.8) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero-top { display: flex; flex-direction: column; justify-content: space-between; height: 100vh; min-height: 741px; padding: 192px 0 96px; }
.signature p { margin-bottom: 12px; font-size: 12px; line-height: 1.2; }
.wordmark { display: block; width: 230px; height: 40px; background: currentColor; -webkit-mask: url(/animus/wordmark.svg) left center/contain no-repeat; mask: url(/animus/wordmark.svg) left center/contain no-repeat; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero h1 { max-width: 900px; margin-bottom: 24px; font-size: 72px; line-height: 1; font-weight: 900; }
.hero-lede { max-width: 630px; font-size: 18px; line-height: 1.2; color: var(--page); }
.hero-cta { flex: none; width: 180px; }
.hero-cta p { margin-bottom: 24px; font-size: 12px; line-height: 1.2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0 0 96px; }
.stat-num { display: block; margin-bottom: 12px; font-size: 48px; line-height: 1; font-weight: 900; }
.stat p { font-size: 16px; line-height: 1.2; }
@media (max-width: 1199.98px) {
  .hero-top { height: 741px; min-height: 0; padding: 96px 0; }
  .hero h1 { max-width: 400px; font-size: 60px; }
  .hero-lede { max-width: 340px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .stat-num { font-size: 60px; }
}
@media (max-width: 809.98px) {
  .hero::after { background: linear-gradient(rgba(84, 84, 84, 0) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.8) 100%); }
  .hero-top { height: auto; justify-content: flex-start; padding: 192px 0 0; }
  .signature p { font-size: 14px; }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 48px; margin-top: 48px; }
  .hero-bottom > div:first-child { display: flex; flex-direction: column; justify-content: flex-end; min-height: 446px; }
  .hero h1 { max-width: 342px; font-size: 48px; }
  .hero-cta { width: auto; }
  .hero-cta p { font-size: 14px; }
  .hero-cta .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; row-gap: 48px; padding: 96px 0; }
}

/* Features (home): four cards, one open at a time on wide screens */
.about { padding-top: 96px; padding-bottom: 96px; }
.about .head { margin-bottom: 48px; }
.features { display: flex; gap: 24px; height: 400px; }
.feature { position: relative; flex: 254 1 0; min-width: 0; overflow: hidden; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); transition: flex-grow 0.5s cubic-bezier(0.44, 0, 0.56, 1); }
.feature.is-open { flex-grow: 557; }
.feature .frame { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transition: width 0.5s cubic-bezier(0.44, 0, 0.56, 1); }
.feature.is-open .frame { width: 50%; }
.feature .frame > img { position: absolute; left: 50%; top: 0; width: 500px; max-width: none; transform: translateX(-50%); }
.dots { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 1px; }
.dots i { width: 8px; height: 8px; border-radius: 6px; background: var(--text); }
.dots i.on { background: #fff; }
.feature-text { position: absolute; left: 50%; top: 0; bottom: 0; width: 50%; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; opacity: 0; transition: opacity 0.3s; }
.feature.is-open .feature-text { opacity: 1; transition: opacity 0.4s 0.15s; }
.feature h3 { max-width: 160px; color: var(--ink); font-size: 18px; line-height: 1.2; font-weight: 900; }
.feature p { max-width: 230px; font-size: 16px; line-height: 1.2; }
@media (max-width: 1199.98px) {
  .features { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .feature { display: flex; flex-direction: column; height: 400px; }
  .feature .frame, .feature.is-open .frame { position: relative; flex: 1; width: 100%; }
  .feature .frame > img { left: 0; width: 100%; height: 354px; transform: none; }
  .feature-text, .feature.is-open .feature-text { position: static; width: 100%; justify-content: flex-start; gap: 24px; opacity: 1; }
  .feature p { max-width: 416px; }
}
@media (max-width: 809.98px) { .about { padding-bottom: 0; } .features { grid-template-columns: 1fr; } .feature p { max-width: 310px; } }

/* Quote: fills in word by word as it scrolls up the screen */
.quote { padding: 96px 120px 0; text-align: center; }
.quote-text { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3em; color: var(--ink); font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.quote-text span { transition: color 0.3s ease; }
.anim .quote-text span { color: var(--soft); }
.anim .quote-text span.is-on { color: var(--ink); }
.sign { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; }
.sign .wordmark { width: 222px; height: 39px; background: var(--ink); -webkit-mask-position: center; mask-position: center; }
.sign p { font-size: 12px; line-height: 1.2; }
@media (max-width: 1199.98px) { .quote { padding: 96px var(--gutter) 0; } .quote-text { font-size: 32px; } }
@media (max-width: 809.98px) { .quote { padding-top: 96px; } .quote-text { font-size: 30px; } .sign p { font-size: 14px; } }

/* Classes (home) */
.classes { padding-top: 192px; padding-bottom: 96px; }
.classes .head { margin-bottom: 48px; }
.classes .h2 { max-width: 585px; }
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.class-card { display: flex; flex-direction: column; gap: 10px; }
.class-card .frame { position: sticky; top: 120px; aspect-ratio: 1; box-shadow: var(--shadow); }
.class-bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.class-bar h3 { color: var(--ink); font-size: 24px; line-height: 1; font-weight: 900; }
.class-more { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.class-more .frame { height: 320px; }
.class-more .panel { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.class-more .name { color: var(--ink); font-size: 18px; line-height: 1.2; font-weight: 600; }
.class-more .where { margin-top: 3px; font-size: 12px; line-height: 1.2; }
.class-more .cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.class-more .cta p { max-width: 260px; font-size: 12px; line-height: 1.2; }
@media (max-width: 1199.98px) {
  .classes .head-split { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .classes .h2 { max-width: 440px; }
  .classes .head-split .lede { max-width: 510px; }
  .class-grid, .class-more { grid-template-columns: 1fr; }
  .class-more .frame { display: none; }
  .class-more .panel { min-height: 320px; }
}
@media (max-width: 809.98px) {
  .classes { padding-top: 96px; padding-bottom: 0; }
  .classes .head-split { align-items: flex-start; text-align: left; }
  .class-grid { gap: 20px; }
  .class-card .frame { position: static; }
  .class-bar { flex-direction: column; align-items: stretch; gap: 48px; }
  .class-more { margin-top: 24px; }
  .class-more .frame { display: none; }
  .class-more .panel { gap: 24px; min-height: 0; padding: 0; background: none; box-shadow: none; text-align: center; }
  .class-more .where { font-size: 14px; }
  .class-more .cta { flex-direction: column; align-items: center; }
  .class-more .cta p { max-width: 240px; font-size: 14px; }
}

/* FAQ */
.faq-section { padding-top: 96px; padding-bottom: 96px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.faq-layout .head { position: sticky; top: 120px; }
.faq-layout .head .lede { max-width: 450px; }
.faq { display: flex; flex-direction: column; gap: 24px; }
.faq-item { border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.faq-item button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; text-align: left; color: var(--ink); font-size: 18px; line-height: 1.2; font-weight: 900; }
.faq-item svg { flex: none; width: 24px; height: 24px; transition: transform 0.3s; }
.faq-item.is-open svg { transform: rotate(180deg); }
.faq-a { padding: 0 24px 24px; font-size: 16px; line-height: 1.2; }
@media (max-width: 809.98px) { .faq-section { padding-bottom: 0; } .faq-layout { grid-template-columns: 1fr; } .faq-layout .head { position: static; } }

/* Member stories (header only until the gym has stories) */
.stories { padding-top: 96px; padding-bottom: 209px; }
.stories .h2 { max-width: 480px; }
@media (max-width: 1199.98px) { .stories { padding-bottom: 192px; } }
@media (max-width: 809.98px) { .stories { padding-bottom: 96px; } }
.stories-after { padding-top: 192px; padding-bottom: 112px; }
@media (max-width: 1199.98px) { .stories-after { padding-bottom: 135px; } }
@media (max-width: 809.98px) { .stories-after { padding-top: 96px; padding-bottom: 96px; } }

/* About page: milestones (header only until the gym chooses them), and the quote that closes the page */
.milestones { padding-top: 192px; padding-bottom: 96px; }
.milestones .h2 { max-width: 420px; }
.milestones .lede { max-width: 370px; }
.quote-end { padding-bottom: 192px; }
@media (max-width: 1199.98px) { .milestones .h2 { max-width: 340px; } }
@media (max-width: 809.98px) { .milestones { padding-bottom: 0; } .milestones .h2 { max-width: 320px; } .quote-end { padding-bottom: 96px; } }

/* Call to action */
.cta-band { position: relative; display: flex; align-items: center; justify-content: center; height: 100vh; overflow: hidden; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; }
.cta-band > img { position: absolute; left: 0; top: -48px; width: 100%; height: calc(100% + 48px); object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(84, 84, 84, 0) 0%, rgba(0, 0, 0, 0.3) 60%, rgb(0, 0, 0) 100%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter); }
.cta-band .h2 { margin-bottom: 24px; color: #fff; }
.cta-band .lede { max-width: 430px; margin-bottom: 48px; color: var(--page); }
@media (max-width: 1199.98px) { .cta-band { height: 407px; } }
@media (max-width: 809.98px) { .cta-band { height: 399px; } }

.cta-band:has(+ .method) { border-radius: 12px 12px 0 0; }
.faq-end { padding-bottom: 192px; }

/* Our method: the title and ANIMUS stay put while the four cards scroll over them */
.method { position: relative; padding-top: 24px; border-radius: 0 0 12px 12px; background: var(--ink); color: #fff; }
.method-head { position: sticky; top: 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; height: 100vh; margin: 0 var(--gutter); padding-bottom: 48px; }
.method-head h2 { font-size: 32px; line-height: 1; font-weight: 900; }
.method-head .wordmark { width: 100%; height: auto; aspect-ratio: 1392 / 256; background: #fff; -webkit-mask-position: center; mask-position: center; }
.steps { position: relative; z-index: 1; margin-top: -24px; padding: 0 var(--gutter) 100vh; }
.step { width: 448px; overflow: hidden; border-radius: 12px; background: var(--night); }
.step:nth-child(even) { margin-left: auto; }
.step .frame { height: 480px; }
.step-text { padding: 24px; }
.step h3 { max-width: 300px; margin-bottom: 24px; font-size: 32px; line-height: 1; font-weight: 700; }
.step p { max-width: 400px; font-size: 16px; line-height: 1.6; letter-spacing: -0.02em; color: var(--hover); }
.step p + p { margin-top: 20px; }
@media (max-width: 1199.98px) {
  .method { padding-top: 0; }
  .method-head { top: 0; padding-bottom: 0; }
  .steps { margin-top: 0; }
  .step { width: 464px; }
  .step p { max-width: 416px; }
}
@media (max-width: 809.98px) {
  .method-head h2 { font-size: 28px; }
  .steps { margin-top: 48px; padding-bottom: calc(100vh + 48px); }
  .step { width: auto; }
  .step + .step { margin-top: 48px; }
  .step p { max-width: 310px; }
}

/* App */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-top: 200px; }
.app-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.app-copy .kicker { font-size: 12px; }
.app-copy .lede { max-width: 360px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 20px; border-radius: 30px; background: var(--ink); color: #fff; text-decoration: none; }
a.badge:hover { background: #262626; }
.badge-icon { width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.badge-text { display: flex; flex-direction: column; font-size: 16px; line-height: 1.1; font-weight: 600; }
.badge-text small { font-size: 11px; line-height: 1.3; font-weight: 400; color: rgba(255, 255, 255, 0.7); }
.app .frame { height: 460px; }
/* Real app screens: three phones rising from the bottom of the frame */
.app-shots { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.app-shots .frame { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; padding: 40px 32px 0; }
.app-shots .frame > img { height: auto; aspect-ratio: 390 / 844; border-radius: 22px; border: 4px solid #2b2b2b; object-fit: cover; object-position: top; }
.app-shots .frame > img:nth-child(2) { margin-top: 36px; }
.app-shots figcaption { font-size: 12px; line-height: 1.2; color: var(--text); }
@media (max-width: 809.98px) { .app { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; } .app-copy .lede { font-size: 16px; } .app .frame { height: 360px; } .app-shots .frame { gap: 10px; padding: 24px 16px 0; } .app-shots .frame > img { border-radius: 14px; border-width: 3px; } .app-shots .frame > img:nth-child(2) { margin-top: 20px; } }

/* Get in touch: the Instagram card */
.reach-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 192px; }
.reach-section .lede { max-width: 340px; }
.reach { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 32px; border-radius: 12px; background: var(--surface); }
.reach-eyebrow { font-size: 12px; line-height: 1.2; }
.reach-title { color: var(--ink); font-size: 32px; line-height: 1.05; font-weight: 900; }
.reach-body { max-width: 420px; font-size: 16px; line-height: 1.35; }
.reach-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 10px; }
.reach-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 20px; border-radius: 30px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1; font-weight: 600; text-decoration: none; transition: background-color 0.2s; }
.reach-btn:hover { background: #262626; }
.ig-icon { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: url(/animus/instagram.svg) center/contain no-repeat; mask: url(/animus/instagram.svg) center/contain no-repeat; }
.reach-link { color: var(--ink); font-size: 15px; line-height: 1; font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 809.98px) { .reach-section { grid-template-columns: 1fr; row-gap: 48px; padding-top: 96px; } .reach { padding: 28px 20px; } .reach-title { font-size: 26px; } }

/* Footer */
.footer { padding: 192px var(--gutter) 96px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer-col { padding-top: 24px; }
.footer .label { margin-bottom: 24px; font-size: 16px; line-height: 1.2; }
.footer-col a { display: block; width: max-content; margin-bottom: 24px; color: var(--ink); font-size: 16px; line-height: 1.2; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-ig { display: inline-flex !important; align-items: center; gap: 5px; }
.footer-ig::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url(/animus/instagram.svg) center/contain no-repeat; mask: url(/animus/instagram.svg) center/contain no-repeat; }
.visit { grid-column: span 2; padding: 24px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.visit p:last-child { max-width: 360px; font-size: 16px; line-height: 1.2; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; font-size: 12px; line-height: 1.2; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--ink); text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current] { text-decoration: underline; }
@media (max-width: 809.98px) {
  .footer { padding-top: 96px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .visit { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; row-gap: 48px; margin-top: 50px; font-size: 14px; }
  .footer-legal { flex-direction: column; gap: 24px; }
}

/* Page headers (Classes, Contact) */
.page-head { padding-top: 192px; }
.page-head .title { max-width: 680px; }
.page-head .lede { max-width: 482px; }
@media (max-width: 1199.98px) { .page-head .title { max-width: 570px; } }

/* About: the title and four photos stay put while the large photo scrolls up over them */
.about-hero-head { position: sticky; top: 0; height: 100vh; padding-top: 192px; }
.about-hero-head .head { margin-bottom: 24px; }
.about-hero-head .title { max-width: 500px; }
.about-hero-head .lede { max-width: 420px; }
.about-photos { display: flex; justify-content: center; gap: 24px; }
.about-photos .frame { width: 153px; height: 362px; box-shadow: var(--shadow); }
.about-big { position: relative; z-index: 1; width: 684px; height: 912px; margin: 48px auto 0; box-shadow: var(--shadow); }
.about-hero::after { content: ""; display: block; height: 96px; }
@media (max-width: 1199.98px) {
  .about-hero-head .title { max-width: 400px; }
  .about-photos .frame { width: 98px; height: 129px; }
  .about-big { width: 464px; height: 619px; }
}
@media (max-width: 809.98px) {
  .about-hero-head .title { max-width: 290px; }
  .about-photos .frame:nth-child(n + 3) { display: none; }
  .about-photos .frame { width: 124px; height: 408px; }
  .about-big { width: auto; height: 900px; margin: 48px var(--gutter) 0; }
  .about-hero::after { display: none; }
}

/* Classes page: one card per class */
.class-list { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; padding-bottom: 192px; }
.class-detail { display: flex; gap: 24px; align-items: flex-start; }
.class-detail > .frame { position: sticky; top: 120px; flex: none; width: 448px; aspect-ratio: 1; box-shadow: var(--shadow); }
.class-body { position: relative; flex: 1; min-width: 0; overflow: hidden; padding: 48px 24px 24px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.class-body .h2 { margin-bottom: 48px; }
.facts { display: flex; flex-direction: column; gap: 28px; margin: 0 0 56px; }
.facts dt { margin-bottom: 6px; font-size: 12px; line-height: 1.2; }
.facts dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.2; }
.class-desc { max-width: 573px; margin-bottom: 48px; font-size: 16px; line-height: 1.2; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.highlights .dots { position: static; margin-bottom: 24px; }
.highlights .dots i { background: var(--hover); }
.highlights .dots i.on { background: var(--ink); }
.highlights h3, .expect h3 { margin-bottom: 24px; color: var(--ink); font-size: 18px; line-height: 1.2; font-weight: 900; }
.highlights p { max-width: 230px; font-size: 12px; line-height: 1.2; }
.expect ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; padding: 0; list-style: none; }
.expect li { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 16px; line-height: 1.2; }
.expect li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--ink); }
.class-body .btn { height: 60px; padding: 0 42px; font-size: 16px; }
.watermark { position: absolute; left: 24px; right: 24px; bottom: 0; aspect-ratio: 1392 / 256; transform: translateY(32%); background: var(--ink); opacity: 0.03; -webkit-mask: url(/animus/wordmark.svg) center/contain no-repeat; mask: url(/animus/wordmark.svg) center/contain no-repeat; pointer-events: none; }
@media (max-width: 1199.98px) { .class-detail > .frame { width: 464px; } .highlights, .expect ul { grid-template-columns: 1fr; } }
@media (max-width: 809.98px) {
  .class-detail { flex-direction: column; align-items: stretch; }
  .class-detail > .frame { position: static; width: auto; }
  .class-body { padding-top: 34px; }
  .facts dt, .highlights p { font-size: 14px; }
  .class-body .btn { width: 100%; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 48px; }
.contact-info h2 { margin-bottom: 24px; color: var(--ink); font-size: 18px; line-height: 1.2; font-weight: 900; }
.map { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #e5e3df; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-info address { max-width: 180px; margin: 24px 0 48px; font-style: normal; font-size: 16px; line-height: 1.2; }
.contact-info .group { margin-bottom: 48px; }
.contact-info .group a { color: var(--ink); font-size: 16px; line-height: 1.2; text-decoration: none; }
.contact-info .group a:hover { text-decoration: underline; }
.contact-info .sign { align-items: flex-start; margin-top: 0; }
.contact-info .sign .wordmark { width: 227px; height: 40px; -webkit-mask-position: left center; mask-position: left center; }
.contact-page { padding-bottom: 96px; }
.contact-page .lede { max-width: none; }
.contact-info .sign { margin-top: -6px; }
@media (max-width: 1199.98px) { .contact-page { padding-bottom: 0; } }
@media (max-width: 809.98px) {
  .contact-page { padding-bottom: 96px; }
  .faq-end { padding-bottom: 96px; }
  .contact-layout { grid-template-columns: 1fr; row-gap: 48px; }
  .contact-info address { margin-bottom: 29px; }
  .contact-info .sign { margin-top: -11px; }
}

/* Legal pages: the title on the left, the text on the right */
.legal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; padding: 192px var(--gutter) 0; }
.legal-intro { position: sticky; top: 192px; }
.legal-intro .kicker, .legal-intro .title { margin-bottom: 24px; }
.legal-intro .title, .legal-intro .lede { max-width: 660px; }
.legal-intro .updated { margin-top: 16px; font-size: 14px; line-height: 1.2; }
.legal-text { padding-top: 39px; font-size: 16px; line-height: 1.2; }
.legal-text h2 { margin: 40px 0 32px; color: var(--ink); font-size: 32px; line-height: 1; font-weight: 900; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin-bottom: 12px; }
.legal-text > :last-child { margin-bottom: 0; }
.legal-text h2 + p { margin-top: -12px; }
.legal-text p + p { margin-top: 20px; }
.legal-text p + ol, .legal-text p + ul { margin-top: 32px; }
.legal-text ol + p, .legal-text ul + p { margin-top: 21px; }
.prose h2 + p { margin-top: 0; }
.prose p + ol, .prose p + ul, .prose ol + p, .prose ul + p, .prose p + p { margin-top: 0; }
.legal-text ol, .legal-text ul { margin: 0 0 12px; padding-left: 18px; }
.legal-text a { color: var(--ink); text-underline-offset: 3px; }
.legal-text table { width: 100%; margin: 0 0 24px; border-collapse: collapse; overflow: hidden; border-radius: 12px; background: var(--surface); }
.legal-text th, .legal-text td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(5, 5, 5, 0.08); line-height: 1.5; }
.legal-text tr:last-child th, .legal-text tr:last-child td { border-bottom: 0; }
.legal-text th { width: 38%; color: var(--ink); font-weight: 600; }
.prose p, .prose li { line-height: 1.6; }
@media (max-width: 1199.98px) { .legal-intro .title, .legal-intro .lede { max-width: 440px; } }
@media (max-width: 809.98px) {
  .legal { grid-template-columns: 1fr; }
  .legal-intro { position: static; }
  .legal-text { padding-top: 24px; }
  .legal-text h2 { font-size: 28px; }
  .legal-text th, .legal-text td { display: block; width: auto; padding: 12px 16px; }
  .legal-text th { padding-bottom: 0; border-bottom: 0; }
}
