/* ==========================================================================
   Caridian Brazilian Jiu-Jitsu — design system
   Dark, editorial, zero dependencies.
   ========================================================================== */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #0d0d0f;
  --panel:     #111113;
  --panel-2:   #16161a;
  --line:      #24242a;
  --line-soft: #1a1a1f;

  --ink:       #f3f1ea;
  --ink-2:     #a5a5ad;
  --ink-3:     #8a8a94;

  --brass:      #c8a96a;
  --brass-hi:   #e3c890;
  --brass-deep: #8d7440;

  --font-d: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-m: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;

  --pad: clamp(20px, 4.6vw, 44px);
  --maxw: 1240px;
  --hdr-h: 76px;

  --r: 3px;
  --sec-pad: clamp(64px, 8.5vw, 124px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brass); color: #14100a; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--brass); color: #14100a;
  padding: 10px 16px; border-radius: var(--r);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sec { padding-block: var(--sec-pad); border-top: 1px solid var(--line-soft); }
.sec--flush { border-top: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 52ch;
}

.dim { color: var(--ink-3); }

.sec__hd { max-width: 20ch; }
.sec__hd--wide { max-width: 30ch; }

.sec__h2 {
  font-size: clamp(30px, 4.1vw, 56px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec__head .lede { padding-bottom: 4px; }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--btn-bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { border-color: #3a3a44; background: var(--panel); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  --btn-bg: var(--brass);
  border-color: var(--brass);
  color: #14100a;
}
.btn--primary:hover { --btn-bg: var(--brass-hi); border-color: var(--brass-hi); color: #14100a; }

.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover { border-color: #45454f; background: var(--panel); }

.btn--sm { padding: 11px 16px; font-size: 10.5px; }
.btn--block { width: 100%; }

.link-a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.link-a svg { transition: transform .25s var(--ease); }
.link-a:hover { color: var(--brass); border-color: var(--brass); }
.link-a:hover svg { transform: translateX(4px); }

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.hdr.is-scrolled { background: rgba(10, 10, 11, .95); border-bottom-color: var(--line); }

.hdr__in {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 48px);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 34px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.brand__txt span {
  margin-top: 6px;
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); margin-left: auto; }
.nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brass); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr__act { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__tel {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}
.hdr__tel:hover { color: var(--ink); }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px; height: 1px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 16px; height: 1px;
  background: var(--ink);
  transition: transform .28s var(--ease), top .28s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* mobile nav */

.mnav {
  position: fixed;
  inset: var(--hdr-h) 0 0;
  z-index: 99;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 32px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(26px, 7vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.mnav__links a em {
  font-family: var(--font-m);
  font-style: normal;
  font-size: 10px;
  color: var(--brass);
  letter-spacing: .1em;
}
.mnav__links a[aria-current="page"] { color: var(--brass); }
.mnav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.mnav__foot a.big { font-family: var(--font-m); font-size: 14px; color: var(--ink-2); }
.mnav__foot .btn { margin-top: 4px; }

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

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(44px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 30% 40% -10%;
  background: radial-gradient(closest-side, rgba(200, 169, 106, .10), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-bottom: clamp(22px, 2.6vw, 32px);
}
.hero__h1 span { display: block; }

.hero .lede { max-width: 44ch; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 36px);
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.creds li { display: flex; flex-direction: column; gap: 3px; }
.creds b {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.creds span {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__fig {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: linear-gradient(180deg, #101013, #0b0b0d);
}
.hero__fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(.9) contrast(1.04);
}
.hero__fig figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  background: rgba(10, 10, 11, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 12px 18px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__fig figcaption span {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__fig figcaption {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 15px;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__row {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee__row span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee__row span::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--brass);
  transform: rotate(45deg);
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.facts div {
  padding: 22px 22px 0 0;
  border-right: 1px solid var(--line-soft);
}
.facts div:last-child { border-right: 0; padding-right: 0; }
.facts b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.facts span {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- program rows ---------- */

.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.15fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  padding: clamp(20px, 2.4vw, 30px) 4px;
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.row:hover { background: var(--panel); padding-inline: 16px; }
.row__n {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: .08em;
}
.row__t {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 28px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
}
.row__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; max-width: 44ch; }
.row__a { color: var(--ink-3); transition: transform .3s var(--ease), color .25s var(--ease); }
.row:hover .row__a { color: var(--brass); transform: translateX(4px); }

/* ---------- day cards ---------- */

.week {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.day {
  background: var(--bg);
  padding: 24px;
  transition: background .25s var(--ease);
}
.day:hover { background: var(--panel); }
.day h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.day li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
}
.day time {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: -.01em;
}
.day li span {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}
.day li.is-nogi span { color: var(--brass); }
.day li.is-kids span { color: var(--ink-2); }
.day li.is-open span { color: var(--brass-hi); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 3vw, 32px); }
.tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 2px;
}
.tag--brass { color: var(--brass); border-color: var(--brass-deep); }
.tag--dash { border-style: dashed; }
.tag--solid { background: var(--panel-2); color: var(--ink-2); border-color: transparent; }

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.plan:hover { border-color: #35353d; transform: translateY(-2px); }
.plan--feat {
  border-color: var(--brass-deep);
  border-top: 2px solid var(--brass);
  background: linear-gradient(180deg, #15130f, var(--panel) 60%);
}
.plan--feat:hover { border-color: var(--brass); }
.plan__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plan__p {
  font-family: var(--font-d);
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 16px 0 4px;
}
.plan__p span {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin-left: 4px;
}
.plan h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.plan ul { display: grid; gap: 9px; margin-bottom: 26px; }
.plan li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--brass-deep);
}
.plan .btn { margin-top: auto; }
.plan__flag {
  position: absolute;
  top: 0; right: 0;
  background: var(--brass);
  color: #14100a;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 9px;
}

/* ---------- band (quote) ---------- */

.band {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(400px, 62vh, 620px);
  padding-block: clamp(40px, 6vw, 72px);
  overflow: hidden;
  background: #000;
}
.band__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.55) 45%, rgba(10,10,11,.96) 100%);
}
.band .wrap { position: relative; z-index: 1; }
.band blockquote {
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(30px, 5.3vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}
.band blockquote em { font-style: normal; color: var(--brass); }
.band__src {
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- instructor ---------- */

.inst { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.inst__fig { position: relative; margin: 0; }
.inst__fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border: 1px solid var(--line);
  filter: saturate(.94);
}
.inst__fig figcaption {
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.inst h2 { font-size: clamp(34px, 4.6vw, 62px); text-transform: uppercase; }
.inst__role {
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}
.inst p { margin-top: 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; max-width: 56ch; }
.inst .link-a { margin-top: 26px; }

.acc { margin-top: 30px; border-top: 1px solid var(--line); }
.acc li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
}
.acc li svg { flex: none; color: var(--brass); transform: translateY(3px); }

/* ---------- press ---------- */

.press { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.press__fig { margin: 0; border: 1px solid var(--line); padding: 8px; background: var(--panel); }
.press__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.press h2 { font-size: clamp(26px, 3.2vw, 40px); }
.press p { margin: 16px 0 24px; color: var(--ink-2); font-size: 14px; max-width: 48ch; }

/* ---------- visit ---------- */

.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.info__row dt {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.info__row dd { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.info__row dd a { border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color .2s; }
.info__row dd a:hover { border-color: var(--brass); color: var(--brass); }
.info__row dd span { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }

.map {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 360px;
  overflow: hidden;
}
.map iframe {
  width: 100%; height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.86) brightness(.92);
  transition: filter .4s var(--ease);
}
.map:hover iframe { filter: grayscale(.2) contrast(1); }

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

.phero {
  padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.phero::before {
  content: "";
  position: absolute;
  inset: -40% 40% 20% -20%;
  background: radial-gradient(closest-side, rgba(200,169,106,.09), transparent 70%);
  pointer-events: none;
}
.phero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.phero h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 16ch;
}
.phero .lede { max-width: 56ch; }
.phero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* ---------- detail blocks (programs page) ---------- */

.prog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.prog:first-of-type { border-top: 0; padding-top: 0; }
.prog__n {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.prog h2 { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; }
.prog__body > p { margin-top: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 54ch; }
.prog__side { display: grid; gap: 20px; }
.prog__fig { margin: 0; border: 1px solid var(--line); padding: 8px; background: var(--panel); }
.prog__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prog__fig.is-tall img { aspect-ratio: 4 / 5; }
.prog__fig figcaption {
  padding: 12px 4px 2px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.slots { border-top: 1px solid var(--line); }
.slots li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.slots b { font-family: var(--font-m); font-weight: 400; font-size: 12px; color: var(--ink-3); }
.slots span { color: var(--ink-2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.note {
  border-left: 1px solid var(--brass-deep);
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------- schedule table ---------- */

.sched { border-top: 1px solid var(--line); }
.sched__day { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 2.6vw, 30px) 0; }
.sched__day h2 {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 5px;
}
.sched__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.slot {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-soft);
  border-left-width: 2px;
  border-left-color: var(--line);
  background: var(--panel);
  padding: 13px 15px;
  border-radius: 2px;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.slot:hover { border-color: var(--line); background: var(--panel-2); }
.slot time { font-family: var(--font-m); font-size: 11.5px; color: var(--brass); letter-spacing: -.01em; flex: none; }
.slot span { font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.slot--kids time { color: var(--ink-2); }
.slot--open time { color: var(--brass-hi); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-d);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brass); }
.qa summary i {
  flex: none;
  width: 14px; height: 14px;
  position: relative;
}
.qa summary i::before, .qa summary i::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.qa summary i::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.qa summary i::after { left: 6.5px; top: 0; width: 1px; height: 14px; }
.qa[open] summary i::after { transform: rotate(90deg); opacity: 0; }
.qa p { padding: 0 40px 24px 2px; color: var(--ink-2); font-size: 14px; line-height: 1.7; max-width: 62ch; }

/* ---------- gallery ---------- */

.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gal figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel); }
.gal img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.9);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.gal figure:hover img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.02); }
.gal figcaption {
  position: absolute;
  left: 0; bottom: 0;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10,10,11,.8);
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.gal .g-a { grid-column: span 7; aspect-ratio: 7 / 5; }
.gal .g-b { grid-column: span 5; aspect-ratio: 5 / 5; }
.gal .g-c { grid-column: span 4; aspect-ratio: 4 / 5; }
.gal .g-d { grid-column: span 4; aspect-ratio: 4 / 5; }
.gal .g-e { grid-column: span 4; aspect-ratio: 4 / 5; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 13px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #33333b; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #0f0f12;
}
.field input::placeholder, .field textarea::placeholder { color: #55555e; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.form__note.is-ok { color: var(--brass); }
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.contact__aside { display: grid; gap: 24px; }
.contact__card { border: 1px solid var(--line); background: var(--panel); padding: clamp(22px, 2.6vw, 30px); }
.contact__card h3 {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 600;
}
.contact__card .big {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.contact__card a.big { transition: color .2s; }
.contact__card a.big:hover { color: var(--brass); }
.contact__card p { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* ---------- cta band ---------- */

.ctaband { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-block: clamp(48px, 6vw, 80px); }
.ctaband__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}
.ctaband h2 { font-size: clamp(30px, 4.6vw, 60px); text-transform: uppercase; max-width: 22ch; }
.ctaband .lede { margin-top: 18px; }
.ctaband__act { display: flex; flex-wrap: wrap; gap: 12px; }

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

.ftr { border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 72px) 28px; }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.ftr__brand p { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); max-width: 32ch; line-height: 1.6; }
.ftr h4 {
  font-family: var(--font-b);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.ftr ul { display: grid; gap: 10px; }
.ftr li, .ftr address { font-size: 12.5px; color: var(--ink-2); font-style: normal; line-height: 1.55; }
.ftr a { transition: color .2s var(--ease); }
.ftr a:hover { color: var(--brass); }
.ftr__bar {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ftr__bar a { color: var(--ink-3); }
.ftr__bar a:hover { color: var(--brass); }

/* ---------- 404 ---------- */

.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf h1 { font-size: clamp(64px, 16vw, 180px); line-height: .85; color: var(--brass); }
.nf p { margin: 22px auto 30px; color: var(--ink-2); max-width: 40ch; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- utility spacing ---------- */

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mt-72 { margin-top: 72px; }
.mb-24 { margin-bottom: 24px; }

/* ---------- schedule variants ---------- */

.slot--nogi { border-color: #2e2a22; border-left-color: var(--brass-deep); }
.slot--nogi time { color: var(--brass); }
.slot--homeschool { border-style: dashed; border-left-style: solid; }
.slot--homeschool time { color: var(--ink-2); }
.slot--open { border-color: var(--brass-deep); border-left-color: var(--brass); }
.slot--kids time { color: var(--ink-2); }

/* ---------- pricing variants ---------- */

.plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

.story p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 62ch;
}
.story p:first-child { margin-top: 0; }

.story__aside {
  position: sticky;
  top: calc(var(--hdr-h) + 24px);
  display: grid;
  gap: 24px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(20px, 2.4vw, 28px);
}
.panel h3 {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.acc--tight { margin-top: 0; border-top: 0; }
.acc--cols { column-count: 2; column-gap: clamp(28px, 4vw, 56px); }
.acc--cols li { break-inside: avoid; }
.acc--tight li { font-size: 12.5px; padding: 11px 0; }

.note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.note a:hover { color: var(--brass); border-color: var(--brass); }

.map--wide, .map--wide iframe { min-height: 460px; }

/* ==========================================================================
   Page-specific architectures
   ========================================================================== */

/* ---------- programs: sticky rail + spec sheets ---------- */

.railwrap {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 64px);
}

.rail { position: sticky; top: calc(var(--hdr-h) + 28px); }
.rail__k {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.rail__nav { display: grid; border-top: 1px solid var(--line); }
.rail__nav a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--ink-2);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.rail__nav a em {
  font-family: var(--font-m);
  font-style: normal;
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: .1em;
}
.rail__nav a:hover { color: var(--ink); padding-left: 4px; }
.rail__nav a.is-active { color: var(--brass); }
.rail__nav a.is-active em { color: var(--brass); }
.rail__cta {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}
.rail__cta p { font-size: 12px; color: var(--ink-3); line-height: 1.5; margin-bottom: 12px; }

.psec {
  padding-block: clamp(36px, 4.6vw, 60px);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--hdr-h) + 24px);
}
.psec:first-child { border-top: 0; padding-top: 0; }
.psec__hd { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.psec__n { font-family: var(--font-m); font-size: 11px; color: var(--brass); letter-spacing: .08em; }
.psec h2 { font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; }
.psec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}
.psec p { font-size: 14.5px; line-height: 1.72; color: var(--ink-2); max-width: 56ch; }
.psec p + p { margin-top: 14px; }
.psec__fig { margin: 0; border: 1px solid var(--line); padding: 8px; background: var(--panel); }
.psec__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.psec__fig figcaption {
  padding: 11px 3px 2px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.specs { margin-top: 24px; border-top: 1px solid var(--line); }
.specs > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.specs dt {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.specs dd { margin: 0; font-size: 13px; color: var(--ink); }
.specs dd span { display: block; color: var(--ink-2); font-size: 12px; margin-top: 2px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.step { background: var(--bg); padding: clamp(22px, 2.6vw, 32px); }
.step__n { font-family: var(--font-m); font-size: 10px; color: var(--brass); letter-spacing: .16em; }
.step h3 {
  margin: 16px 0 10px;
  font-size: clamp(16px, 1.6vw, 19px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.step p { font-size: 13px; color: var(--ink-2); line-height: 1.65; max-width: 32ch; }

/* ---------- schedule: timetable ---------- */

.ttbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  padding: 9px 13px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: #3d3d47; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #14100a; }

.tt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid var(--line);
  background: var(--bg);
}
.tt th, .tt td {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  padding: 0;
}
.tt thead th {
  background: var(--bg-2);
  padding: 13px 12px;
  text-align: left;
  font-family: var(--font-b);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tt thead th:first-child { width: 82px; }
.tt tbody th {
  background: var(--bg-2);
  padding: 14px 12px;
  text-align: left;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.tt td { height: 94px; padding: 8px; }
.tt tr:last-child th, .tt tr:last-child td { border-bottom: 0; }
.tt th:last-child, .tt td:last-child { border-right: 0; }

.cell {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  background: var(--panel);
  padding: 9px 10px;
  border-radius: 2px;
  transition: opacity .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.cell b { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.cell span {
  margin-top: auto;
  padding-top: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cell--nogi { border-left-color: var(--brass); }
.cell--kids { border-left-color: #4e4e5a; }
.cell--homeschool { border-left-style: dashed; border-left-color: var(--ink-3); }
.cell--open { border-left-color: var(--brass-hi); }
.cell:hover { background: var(--panel-2); border-color: var(--line); }
.cell.is-off { opacity: .18; }

.ttm { display: none; }
.ttm__day { border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 10px; }
.ttm__day h3 {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-b);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ttm__day ul { display: grid; gap: 8px; padding: 10px; }
.ttm .cell { min-height: 58px; }
.ttm .cell.is-off { display: none; }

/* ---------- pricing: rate card ---------- */

.switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-bottom: 26px;
}
.switch button {
  background: transparent;
  border: 0;
  padding: 10px 20px;
  border-radius: 2px;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--panel-2); color: var(--ink); }

.rates { border-top: 1px solid var(--line); }
.rate {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 190px minmax(0, .95fr) auto;
  gap: clamp(14px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 30px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background .22s var(--ease), padding .22s var(--ease);
}
.rate:hover { background: var(--panel); padding-inline: 14px; }
.rate--feat { background: linear-gradient(90deg, rgba(200, 169, 106, .07), transparent 55%); }
.rate__flag {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}
.rate h3 { font-size: clamp(17px, 2vw, 23px); text-transform: uppercase; letter-spacing: -0.02em; }
.rate__sub { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; max-width: 34ch; }
.rate__p {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.rate__p span {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 3px;
}
.rate__f { display: flex; flex-wrap: wrap; gap: 6px; }
.rate__f li {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rategroup[hidden] { display: none !important; }

/* ---------- about: magazine ---------- */

.mag {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(500px, 74vh, 740px);
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.mag__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(.3) contrast(1.06);
}
.mag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.2) 38%, rgba(10,10,11,.94) 100%);
}
.mag__in { position: relative; z-index: 1; padding-block: clamp(38px, 5.6vw, 72px); }
.mag h1 {
  font-size: clamp(46px, 8.6vw, 116px);
  line-height: .88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.mag__lede {
  margin-top: 18px;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.cols2 { column-count: 2; column-gap: clamp(28px, 4vw, 60px); }
.cols2 p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.cols2 p:first-child::first-letter {
  float: left;
  padding: 8px 10px 0 0;
  font-family: var(--font-d);
  font-size: 54px;
  font-weight: 800;
  line-height: .78;
  color: var(--brass);
}

.tl { border-top: 1px solid var(--line); }
.tl li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tl b {
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--brass);
}
.tl p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.tl p strong { color: var(--ink); font-weight: 500; }

/* ---------- contact: big address + bleed map ---------- */

.bigaddr {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6.5vw, 92px) clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
}
.bigaddr h1 {
  font-size: clamp(32px, 5.2vw, 68px);
  line-height: .96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 20ch;
}
.bigaddr h1 span {
  display: block;
  margin-top: 16px;
  font-family: var(--font-b);
  font-size: clamp(15px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
  line-height: 1.35;
}
.bigaddr__row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(26px, 3vw, 38px); }
.bigaddr__row a {
  font-family: var(--font-d);
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.bigaddr__row a:hover { color: var(--brass); border-color: var(--brass); }

.bleedmap { position: relative; height: clamp(360px, 54vh, 540px); border-block: 1px solid var(--line); }
.bleedmap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.86) brightness(.9);
}
.bleedmap__card {
  position: absolute;
  left: var(--pad);
  bottom: clamp(18px, 3.4vw, 36px);
  max-width: 350px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 22px 24px;
}
.bleedmap__card h2 { font-size: 17px; text-transform: uppercase; margin-bottom: 8px; }
.bleedmap__card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 16px; }

.check { display: grid; gap: 11px; }
.check li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.check li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border: 1px solid var(--brass-deep);
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hdr__tel { display: none; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .railwrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rail { position: static; }
  .rail__nav { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .rail__nav a {
    border: 1px solid var(--line);
    padding: 9px 12px;
    font-size: 11.5px;
  }
  .rail__nav a:hover { padding-left: 12px; background: var(--panel); }
  .rail__cta {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .rail__cta p { margin-bottom: 0; }
  .burger { display: inline-flex; }
  .hdr__act { margin-left: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts b { font-size: 22px; }
}

@media (max-width: 860px) {
  :root { --hdr-h: 68px; }
  .brand__txt span { display: none; }
  .brand img { width: 30px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__fig { max-width: 460px; }
  .hero__fig img { aspect-ratio: 4 / 5; object-position: 50% 16%; }
  .hero__h1 { font-size: clamp(40px, 11vw, 66px); }

  .split, .sec__head, .inst, .press, .visit, .contact, .prog { grid-template-columns: minmax(0, 1fr); }
  .sec__head { align-items: start; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
  .facts div:last-child { border-bottom: 0; }

  .row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .row__d { display: none; }
  .row__t { font-size: 20px; }

  .story__aside { position: static; }

  .psec__grid { grid-template-columns: minmax(0, 1fr); }
  .tt { display: none; }
  .ttm { display: block; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cols2 { column-count: 1; }
  .acc--cols { column-count: 1; }
  .mag { min-height: 460px; }
  .mag__img { object-position: 50% 14%; }
  .mag h1 { font-size: clamp(38px, 12.5vw, 64px); }
  .bleedmap { height: 360px; }
  .bleedmap__card { left: 16px; right: 16px; max-width: none; padding: 18px 20px; }
  .tl li { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }
  .rate {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    padding-block: 22px;
  }
  .rate__sub, .rate__f { grid-column: 1 / -1; }
  .rate .btn { grid-column: 1 / -1; width: 100%; }
  .rate__p { text-align: right; }

  .sched__day { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sched__list { grid-template-columns: minmax(0, 1fr); }

  .ctaband__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }

  .gal .g-a, .gal .g-b { grid-column: span 12; aspect-ratio: 4 / 3; }
  .gal .g-c, .gal .g-d, .gal .g-e { grid-column: span 6; aspect-ratio: 4 / 5; }

  .map, .map iframe { min-height: 300px; }
  .band { min-height: 380px; }
}

@media (max-width: 520px) {
  .hdr__act .btn { display: none; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .creds { gap: 16px 26px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .gal .g-c, .gal .g-d, .gal .g-e { grid-column: span 12; }
  .mnav { padding-top: 24px; }
}

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

@media print {
  .hdr, .mnav, .marquee, .ftr, .ctaband, .map, .hero__fig, .band__img, .btn, .link-a { display: none !important; }
  body { background: #fff; color: #000; }
  .sched__day { break-inside: avoid; }
  .slot { border-color: #ccc; background: #fff; }
  .slot time, .sched__day h2 { color: #333; }
}
