/* Martial Arts Authority: site-wide components on top of styles.css + city.css.
   Same system: ink / bone / one red, Anton display, Ubuntu body. */

/* ---------- Nav: mega menu, cart, mobile ---------- */
.nav-links { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn::before { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 26px; }
.mega {
  position: absolute; top: calc(100% + 22px); left: -28px; z-index: 60;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px;
  width: min(820px, 92vw); padding: 26px 28px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-styles ul { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.mega a { color: var(--ink-2) !important; font-weight: 500; font-size: 14px; padding: 5px 0; display: flex; align-items: center; gap: 6px; }
.mega a::after { display: none; }
.mega a:hover { color: var(--red) !important; }
.mega .mk svg { width: 20px; height: 20px; }
.mega-all { margin-top: 14px; font-weight: 600 !important; }
.mega-all svg { width: 14px; height: 14px; }
.nav.on-dark .mega a { color: var(--ink-2) !important; }
.cart-btn { position: relative; }
.cart-n { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-n[hidden] { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .wrap { display: grid; gap: 2px; padding-top: 12px; padding-bottom: 18px; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 30px; padding: 6px 0; color: var(--ink); }
.mobile-menu .btn { margin-top: 10px; }
.nav.on-dark .mobile-menu a:not(.btn) { color: var(--ink); }
.mk { display: inline-flex; }
.mk svg { width: 18px; height: 18px; }
.tag .mk svg { width: 16px; height: 16px; margin: -2px 5px -3px -3px; }

/* ---------- Directory hero ---------- */
.dir-hero { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(34px, 5vw, 54px); position: relative; overflow: hidden; }
.dir-hero .display { font-size: clamp(44px, 7.4vw, 104px); max-width: 15ch; }
.dir-hero .kicker { margin: 0 0 10px; }
.dir-hero .kicker svg { width: 64px; height: 64px; }
.dir-hero .city-sub:empty { display: none; }
.crumbs-light { color: var(--muted); }
.crumbs-light a:hover { color: var(--ink); }

.factbar { display: flex; flex-wrap: wrap; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--ink); max-width: none !important; }
.factbar div { padding: 14px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.factbar div:last-child { border-right: 0; }
.factbar dt { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.factbar dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.proto-note { display: inline-block; font-size: 13px !important; color: var(--red-deep) !important; background: #fbeceb; border: 1px dashed var(--red); padding: 6px 10px; border-radius: var(--radius); margin: 4px 0 6px !important; }
.muted-sm { font-size: 13px; color: var(--muted); }

/* ---------- Style links (crawlable chips) ---------- */
.style-links { border-top: 1px solid var(--line); margin-top: 30px; }
.style-links .filter-row { padding: 12px var(--gutter); }
.style-links .chip { height: 38px; font-size: 13.5px; flex: none; }
.style-links .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.style-links .chip.on .chip-n { color: rgba(255,255,255,.7); }
.chip .mk svg { width: 22px; height: 22px; margin-left: -6px; }
.chip-muted { color: var(--muted); border-style: dashed; cursor: default; }
.chip-muted:hover { border-color: var(--line); }
.chip-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 26px; }
.chip-wrap .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Directory: filter bar + split list/map ---------- */
.dir-bar { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dir-bar .filter-row { flex: 1; min-width: 0; }
.dir-bar .chip { height: 36px; font-size: 13px; padding: 0 13px; flex: none; }
.dir-bar .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dir-bar .chip[aria-pressed="true"] .chip-n { color: rgba(255,255,255,.7); }
.dir-bar .chip[hidden] { display: none; }
.dir-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.dir-tools .filter-count { margin: 0; padding: 0; }
.dir-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); align-items: start; border-bottom: 1px solid var(--line); }
.dir-split.no-map { grid-template-columns: 1fr; }
.dir-split.no-map .dir-map { display: none; }
.dir-split.no-map .results-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.dir-list { padding: 24px var(--gutter) 56px; min-width: 0; }
.dir-map { position: sticky; top: 135px; height: calc(100vh - 135px); border-left: 1px solid var(--line); background: #e9e8e4; }
.dir-map .map { position: absolute; inset: 0; }
.map { background: #e9e8e4; }
#map.map-sm { position: relative; inset: auto; }
.map-sm { height: 300px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); position: relative; margin-top: 12px; }
.results-grid .card[hidden] { display: none; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; margin-top: 22px; }
.card { display: flex; flex-direction: column; position: relative; }
.card-title a:hover { color: var(--red); }
.empty[hidden] { display: none; }

/* ---------- Hub sections ---------- */
.best-sec { padding-top: 64px; }
.best-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 36px; margin-top: 20px; }
.best-col { padding: 18px 0 20px; border-top: 1px solid var(--ink); }
.best-col h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.best-col h3 .mk svg { width: 30px; height: 30px; }
.best-col ol { margin: 0 0 10px; padding-left: 20px; }
.best-col li { padding: 5px 0; }
.best-col li a { font-weight: 500; }
.best-col li a:hover { color: var(--red); }
.best-col li span { display: block; font-size: 13px; color: var(--muted); }
.best-col .link-arrow { font-size: 14px; }
.best-col .link-arrow svg { width: 14px; height: 14px; }
.style-about { padding-top: 64px; }
.style-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.style-about p { color: var(--ink-2); margin: 14px 0 0; max-width: 680px; }
.style-about a, .prose a, .post-body a, .gym-main a:not(.btn):not(.tag) { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.scene-list.light { border-color: var(--ink); }
.scene-list.light li { border-color: var(--line); }
.city-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.city-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--ink); color: #fff; display: block; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); transition: transform .7s var(--ease), filter .5s; }
.city-tile:hover img { transform: scale(1.05); filter: grayscale(.2) brightness(.55); }
.city-tile div { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.city-tile b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.city-tile span { font-size: 13px; color: rgba(255,255,255,.8); }
.style-chips-block, .wrap > .h-section:first-child { margin-top: 0; }
main > .wrap > section, main > section.wrap { padding-top: 56px; }
.state-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 40px; margin-top: 20px; }
.state-col { border-top: 1px solid var(--ink); padding-top: 14px; }
.state-col h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 6px; }
.state-col ul { list-style: none; margin: 0; padding: 0; }
.state-col li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.state-col a:hover { color: var(--red); }
.near-me { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; max-width: none !important; }
.near-me .btn svg { width: 18px; height: 18px; }
.disc-links { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin-top: 22px; }
.disc-letter { font-family: var(--font-display); font-size: 56px; color: #fff; font-weight: 400; position: relative; }
.home-browse { border-top: 1px solid var(--line); }

/* ---------- Gym + fighter profile ---------- */
.gym-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 60px); overflow: hidden; }
.gym-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center / cover no-repeat; filter: grayscale(1) brightness(.38); }
.gym-hero .wrap { position: relative; }
.gym-hero .display { font-size: clamp(44px, 7vw, 96px); max-width: 16ch; }
.gym-hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.85); align-items: center; }
.gym-hero-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.gym-hero-meta svg { width: 16px; height: 16px; }
.gym-hero .rating span { color: rgba(255,255,255,.7); }
.tag-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.tag-dark:hover { background: #fff; color: var(--ink); }
.gym-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.gym-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding-top: 40px; }
.gym-main > section { padding-top: 34px; }
.gym-main > section:first-of-type { padding-top: 0; }
.gym-main p { color: var(--ink-2); max-width: 720px; }
.h-sub { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; margin: 0 0 12px; }
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.prog-list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.yes, .no { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.yes { background: var(--ink); color: #fff; }
.no { background: var(--bone); color: var(--muted); }
.yes svg, .no svg { width: 14px; height: 14px; }
.sched { width: 100%; border-collapse: collapse; font-size: 14px; }
.sched th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); }
.sched td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.sched td.win { color: var(--ink); font-weight: 700; }
.sched td.loss { color: var(--red); font-weight: 600; }
.gym-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; display: grid; gap: 12px; }
.side-card h3 { margin: 0; font-size: 18px; }
.side-card p { margin: 0; color: var(--muted); font-size: 14px; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.fighter-hero .big-rec { font-family: var(--font-display); font-size: clamp(70px, 12vw, 160px); line-height: .9; color: var(--red); margin-top: 10px; }
.nick { font-size: 20px; margin: 10px 0 0; color: rgba(255,255,255,.8); font-style: italic; }
.eyebrow.light { color: rgba(255,255,255,.7); margin-bottom: 8px; }

/* ---------- Forms ---------- */
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 14px; font-size: 15px; font-weight: 400; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; font-family: var(--font-body);
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 40px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); display: grid; gap: 16px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { grid-template-columns: 2fr 1fr 1fr; }
.form-msg { margin: 0; font-size: 14px; font-weight: 500; }
.form-msg.ok { color: #1c7a3e; }
.form-msg.err { color: var(--red); }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.form-aside .h-sub { font-size: 26px; }
.next-list { padding-left: 20px; color: var(--ink-2); }
.next-list li { padding: 6px 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
fieldset[hidden] { display: none; }
legend { font-family: var(--font-display); font-size: 30px; padding: 0; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check span { display: inline-flex; align-items: center; gap: 4px; }
.check .mk svg { width: 22px; height: 22px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 16px; }
.check-grid .lbl { grid-column: 1 / -1; font-size: 13px; font-weight: 600; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 0 0 8px; counter-reset: s; }
.steps li { counter-increment: s; font-size: 12px; font-weight: 600; color: var(--muted); border-top: 3px solid var(--line); padding-top: 8px; }
.steps li::before { content: counter(s) ". "; }
.steps li.on { color: var(--ink); border-color: var(--red); }
.step-nav { display: flex; gap: 10px; justify-content: flex-end; }
.step-nav [hidden] { display: none; }
.trial-form .btn { width: 100%; }
.newsletter { margin-top: 20px; display: grid; gap: 8px; max-width: 360px; }
.newsletter label { color: rgba(255,255,255,.75); }
.newsletter div { display: flex; gap: 8px; }
.newsletter input { background: transparent !important; border-color: var(--line-dark) !important; color: #fff !important; }
.newsletter .form-msg { color: rgba(255,255,255,.8); }
.footer-grid-5 { grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr !important; }
.footer a:hover { color: #fff; }

/* ---------- Blog ---------- */
.blog-main { padding-top: 10px; }
.blog-cats { margin-top: 28px; }
.blog-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.blog-side { display: grid; gap: 24px; }
.blog-side .article-media { aspect-ratio: 16/8; }
.article-big h3 { font-size: clamp(28px, 3vw, 40px) !important; }
.blog-grid { margin-top: 40px; grid-template-columns: repeat(3, 1fr) !important; }
.blog-grid .article:first-child .article-media { aspect-ratio: 16/10; }
.blog-grid .article:first-child h3 { font-size: 22px; }
.article { display: flex; flex-direction: column; gap: 10px; }
.article .eyebrow { margin-top: 4px; }
.post-head { padding-top: 34px; max-width: 980px; }
.post-head .display { font-size: clamp(42px, 6vw, 84px); margin-top: 12px; }
.post-dek { font-size: 21px; color: var(--ink-2); max-width: 720px; margin: 18px 0 0; }
.byline { display: flex; gap: 12px; align-items: center; margin-top: 24px; font-size: 14px; }
.byline span:not(.avatar) { display: block; color: var(--muted); font-size: 13px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.post-img { margin-top: 30px; }
.post-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius-lg); filter: grayscale(1) contrast(1.05); }
.post-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; padding-top: 40px; }
.post-toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.post-toc ol { padding-left: 18px; margin: 10px 0 0; }
.post-toc li { padding: 5px 0; color: var(--muted); }
.post-toc a:hover { color: var(--red); }
.post-body { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.post-body h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 36px; line-height: 1; margin: 40px 0 12px; scroll-margin-top: 100px; }
.post-body h2:first-child { margin-top: 0; }
.post-cta { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 26px; margin: 40px 0; }
.post-cta h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0 0 14px; }
.post-cta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; font-size: 15px; }
.post-cta-grid b { display: flex; align-items: center; gap: 6px; }
.post-cta-grid ul { list-style: none; padding: 0; margin: 6px 0 0; }
.post-cta-grid a { color: rgba(255,255,255,.8); text-decoration: none !important; }
.post-cta-grid a:hover { color: #fff; }
.post-body .faq { padding-top: 0; }
.post-body .faq h2 { margin-top: 20px; }
.related-posts .learn { margin-top: 22px; }

/* ---------- Tools ---------- */
.tool-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; padding-top: 40px; }
.tool-tile { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s var(--ease); background: #fff; }
.tool-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.tool-n { font-family: var(--font-display); font-size: 48px; color: var(--red); line-height: 1; }
.tool-tile h3 { font-size: 22px; margin: 0; }
.tool-tile p { color: var(--muted); margin: 0; flex: 1; }
.tool-tile .link-arrow svg { width: 15px; }
.tool-app { border: 1px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 44px); background: #fff; margin-top: 40px; min-height: 260px; }
.tool-q { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; margin: 0 0 22px; }
.tool-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tool-opt { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; text-align: left; font-weight: 600; transition: border-color .2s, background .2s; }
.tool-opt:hover { border-color: var(--ink); background: var(--bone); }
.tool-progress { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 24px; overflow: hidden; }
.tool-progress i { display: block; height: 100%; background: var(--red); transition: width .35s var(--ease); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tool-result { margin-top: 26px; border-top: 1px solid var(--ink); padding-top: 22px; }
.tool-big { font-family: var(--font-display); font-size: clamp(54px, 8vw, 110px); line-height: .9; }
.tool-big small { font-size: .35em; color: var(--muted); }
.tool-result p { color: var(--ink-2); max-width: 680px; }
.belt-bar { display: flex; height: 34px; border-radius: var(--radius); overflow: hidden; margin: 18px 0 8px; border: 1px solid var(--ink); }
.belt-bar span { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); min-width: 0; overflow: hidden; }
.tool-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Fighters ---------- */
.fighter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 8px; }
.fighter-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; }
.fighter-card[hidden] { display: none; }
.fighter-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.fighter-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.75); transition: transform .7s var(--ease); }
.fighter-card:hover img { transform: scale(1.05); }
.fighter-rec { position: absolute; right: 12px; bottom: 8px; font-family: var(--font-display); font-size: 44px; color: var(--red); line-height: 1; }
.fighter-body { padding: 14px 16px 18px; }
.fighter-body .eyebrow { color: rgba(255,255,255,.6); }
.fighter-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 6px 0 2px; line-height: 1; }
.fighter-body p { margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.board { border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); margin-top: 56px; }
.board .rank-list { margin-top: 18px; }
.board a:hover b { color: var(--red); }

/* ---------- Shop ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 8px; }
.prod-card { display: block; }
.prod-card[hidden] { display: none; }
.prod-art { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; transition: transform .4s var(--ease); }
.prod-card:hover .prod-art { transform: translateY(-3px); }
.prod-art.bg-ink { background: var(--ink); }
.prod-art.bg-red { background: var(--red); }
.prod-art.bg-bone { background: var(--bone); }
.prod-mark svg { width: 58%; height: auto; margin: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }
.prod-mark { width: 100%; display: grid; place-items: center; }
.prod-seal { position: absolute; left: 14px; top: 14px; font-family: var(--font-display); font-size: 14px; background: #fff; color: var(--ink); padding: 3px 6px; border-radius: 3px; }
.prod-body { display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px; }
.prod-body h3 { font-size: 15px; margin: 0; font-weight: 600; }
.prod-body span { font-weight: 600; }
.prod-page { padding-top: 34px; }
.prod-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 18px; align-items: start; }
.prod-title { font-size: clamp(44px, 6vw, 80px); margin: 8px 0 10px; }
.prod-price { font-size: 24px; font-weight: 600; }
.prod-info p { color: var(--ink-2); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.sizes legend { font-family: var(--font-body); font-size: 13px; font-weight: 600; margin-bottom: 8px; width: 100%; }
.size input { position: absolute; opacity: 0; }
.size span { display: inline-grid; place-items: center; min-width: 54px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--red); }
.prod-points { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.prod-points li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.cart-drawer { position: fixed; inset: 0; z-index: 2000; background: rgba(11,11,11,.5); display: flex; justify-content: flex-end; }
.cart-drawer[hidden] { display: none; }
.cart-panel { width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-item .prod-art { border-radius: var(--radius); }
.cart-item .prod-seal { display: none; }
.cart-item small { display: block; color: var(--muted); }
.cart-item button { color: var(--muted); font-size: 13px; text-decoration: underline; }
.cart-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; }
.cart-note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; padding-top: 40px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--ink); margin: 34px 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gym-grid, .form-page { grid-template-columns: 1fr; }
  .gym-side { position: static; }
  .post-grid { grid-template-columns: 1fr; }
  .post-toc { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 980px) {
  .dir-split { grid-template-columns: 1fr; }
  .dir-map { display: none; }
  .dir-split.map-only .dir-list { display: none; }
  .dir-split.map-only .dir-map { display: block; position: fixed; inset: 64px 0 0 0; height: auto; top: 64px; z-index: 1100; }
  .dir-tools .toggle { display: none; }
  .dir-bar-inner { flex-direction: column; align-items: stretch; gap: 0; }
  .dir-tools { justify-content: space-between; padding-bottom: 8px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-about-grid, .blog-feature, .prod-layout { grid-template-columns: 1fr; }
  .footer-grid-5 { grid-template-columns: 1fr 1fr !important; }
  .mega { display: none; }
}
@media (max-width: 640px) {
  .dir-bar { top: 64px; }
  .results-grid { grid-template-columns: 1fr !important; }
  .form-row, .form-row.three, .prog-list { grid-template-columns: 1fr; }
  .factbar div { padding-right: 16px; margin-right: 16px; }
  .factbar dt { font-size: 26px; }
  .blog-grid { grid-template-columns: 1fr !important; }
  .footer-grid-5 { grid-template-columns: 1fr !important; }
  .sched { font-size: 13px; }
  .steps { font-size: 11px; }
}
@media (max-width: 640px) {
  .nav-actions .btn-red.hide-sm { display: none; }
  .nav-actions { gap: 6px; }
  .city-intro p:first-child { font-size: 18px; }
}
.search-field input, .search-field select { border: 0 !important; padding: 2px 0 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0; font-weight: 500; }

/* Linked discipline tiles: full-size marks */
.disc-links .disc-tile .mk, .disc-links .disc-tile .mk svg { width: 100%; height: 100%; }
.disc-links .disc-tile .mk { display: grid; place-items: center; }
.disc-links .disc-tile .mk svg { width: 62%; height: 62%; }
