/* Self-hosted fonts — generated by scripts/fonts.mjs (SIL Open Font License) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/space-grotesk-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: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-sans-georgian-georgian.woff2) format('woff2');
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}
@font-face {
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-sans-georgian-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-sans-georgian-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-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: 'Saira';
  font-style: italic;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/saira-mark-text.woff2) format('woff2');
  unicode-range: U+41, U+47, U+4d-4e, U+52, U+54-55, U+59;
}

/* Turman Gym — turman.ge
   Graphite ramp, one ember accent, 4px grid, one easing. */

:root {
  color-scheme: dark;
  --deep: #0f0f10;
  --bg: #141415;
  --card: #19191b;
  --raised: #232325;
  --raised-hi: #2c2c2f;
  --t1: #ededed;
  --t2: #a1a1a6;
  --t3: #85858b;
  --line: rgba(237, 237, 237, 0.08);
  --line-2: rgba(237, 237, 237, 0.14);
  --accent: #ff6b1a;
  --accent-hi: #ff7f3a;
  --on-accent: #141415;
  --pos: #4cc38a;
  --neg: #e5484d;

  --sans: 'Space Grotesk', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mark: 'Saira', 'Arial Narrow', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 150ms;
  --mid: 200ms;
  --slow: 480ms;

  --gutter: 16px;
  --nav-h: 64px;
  --section: 80px;
  --edge: max(var(--gutter), calc((100vw - 1336px) / 2 + var(--gutter)));
}

@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --gutter: 48px; --nav-h: 72px; --section: 128px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1336px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--t3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  background: var(--t1); color: var(--bg); padding: 8px 16px; border-radius: 8px;
  transform: translateY(-200%); transition: transform var(--mid) var(--ease);
}
.skip:focus { transform: none; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.lede, .sec-lede { color: var(--t2); font-size: 18px; line-height: 1.6; max-width: 36rem; text-wrap: pretty; }
@media (min-width: 900px) { .lede { font-size: 20px; } }
.fine { color: var(--t3); font-size: 13px; line-height: 1.5; }

/* Georgian has no case and taller glyphs: no negative tracking, more leading */
:lang(ka) h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.16; letter-spacing: 0; }
:lang(ka) h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.24; letter-spacing: 0; }
:lang(ka) h3 { font-size: 19px; }
:lang(ka) .zone-tabs button { font-size: 20px; }

/* ---------- logo / signature ---------- */
.logo, .foot-mark {
  font-family: var(--mark);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--t1);
  white-space: nowrap;
}
.logo { font-size: 20px; line-height: 1; }
.logo-gym { color: var(--accent); }

/* The orange rule and Georgian name from the gym's glass door */
.decal { display: flex; align-items: center; gap: 12px; max-width: 280px; margin-bottom: 24px; }
.decal-line { flex: 1; height: 2px; background: var(--accent); }
.decal-name { color: var(--t2); font-size: 14px; line-height: 1; font-family: 'Noto Sans Georgian', var(--sans); }
.decal-wide { max-width: none; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 20px; border-radius: 10px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .i { transition: transform var(--fast) var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-accent:hover { background: var(--accent-hi); }
.btn-ghost { background: var(--raised); border-color: var(--line); color: var(--t1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: var(--raised-hi); }
.btn-ghost:hover .i { transform: none; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--t1);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.link:hover { border-color: var(--accent); }
.link .i { width: 16px; height: 16px; color: var(--t2); }

.lang {
  font-family: var(--mono); font-size: 13px; color: var(--t2);
  padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line);
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.lang:hover { color: var(--t1); border-color: var(--line-2); }
.lang:lang(ka) { font-family: 'Noto Sans Georgian', var(--sans); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.nav.is-solid { background: var(--deep); border-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 32px; max-width: none; padding-inline: var(--edge); }
.nav-links { margin-left: auto; display: none; }
.nav-links ul { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--t2); transition: color var(--fast) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current='true'] { color: var(--t1); }
.nav-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.menu-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--deep);
}
.menu-btn .i { width: 20px; height: 20px; }
.nav-cta { display: none; }
@media (min-width: 480px) { .nav-cta { display: inline-flex; } }
@media (min-width: 900px) {
  .nav-links { display: block; }
  .nav-end { margin-left: 0; }
  .menu-btn { display: none; }
}

.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--deep);
  display: flex; flex-direction: column;
  animation: fade var(--mid) var(--ease);
}
.sheet-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.sheet-links { margin-top: 32px; }
.sheet-links a {
  display: block; padding: 16px 0; font-size: 32px; font-weight: 500; line-height: 1.2;
  border-bottom: 1px solid var(--line);
}
.sheet-links li:last-child a { color: var(--accent); }
.sheet-foot { margin-top: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; color: var(--t2); }
@keyframes fade { from { opacity: 0; } }

/* ---------- hero ---------- */
/* Desktop: the orange rule is pinned at 55.6% of the hero height — the same
   height as the orange line on the gym's glass door in the photo, which is
   held there with object-position. The rule reads as the door decal carrying
   on across the page. */
.hero { position: relative; background: var(--deep); }
.hero-text { padding: calc(var(--nav-h) + 48px) var(--gutter) 40px; }
.hero h1 { max-width: 12ch; }
:lang(ka) .hero h1 { max-width: 14ch; }
.hero-rule {
  height: 3px; background: var(--accent);
  margin: 32px calc(var(--gutter) * -1);
  transform-origin: left center;
}
.hero-bottom { display: grid; gap: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media::after { content: ''; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(rgba(15, 15, 16, 0.72), rgba(15, 15, 16, 0)); pointer-events: none; }
@media (max-width: 899px) { .hero-media::after { display: none; } }
.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 88svh; width: 100%; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55.6%; }

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    height: clamp(680px, 100svh, 1040px);
  }
  .hero-text {
    position: relative;
    display: grid;
    grid-template-rows: 55.6% 1fr;
    padding: 0 48px 0 var(--edge);
  }
  .hero-top { align-self: end; padding: calc(var(--nav-h) + 48px) 0 40px; }
  .hero-rule {
    position: absolute; left: 0; right: 0; top: calc(55.6% - 1.5px);
    margin: 0;
  }
  .hero-bottom { align-self: start; padding-top: 40px; align-content: start; }
  .hero-media { aspect-ratio: auto; max-height: none; height: 100%; }
}

.status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t2); min-height: 22px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--t3); flex: none; }
.status:empty { visibility: hidden; }
.status.is-open::before { background: var(--pos); }
.status b { font-weight: 500; color: var(--t1); }
.status-lg { font-size: 16px; }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; margin-bottom: 64px; }
  .sec-head .sec-lede, .sec-head .status { justify-self: end; }
}

/* ---------- floor (zone tabs) ---------- */
.floor { background: var(--bg); }
.zones { display: grid; gap: 32px; }
.zone-tabs {
  display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.zone-tabs::-webkit-scrollbar { display: none; }
.zone-tabs button {
  position: relative; flex: none;
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0 16px;
  font-size: 18px; font-weight: 500; color: var(--t3); text-align: left;
  transition: color var(--fast) var(--ease);
}
.zone-tabs button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--slow) var(--ease);
}
.zone-tabs button:hover { color: var(--t2); }
.zone-tabs button[aria-selected='true'] { color: var(--t1); }
.zone-tabs button[aria-selected='true']::after { transform: none; }
.zone-n { font-size: 12px; color: var(--t3); }
.zone-tabs button[aria-selected='true'] .zone-n { color: var(--accent); }

.zone-panel { display: grid; gap: 32px; }
.zone-panel:focus-visible { outline-offset: 8px; }
.zone-panel.is-entering { animation: rise var(--slow) var(--ease); }
.zone-media { aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; border-radius: 16px; overflow: hidden; background: var(--card); }
.zone-media picture, .zone-media img { width: 100%; height: 100%; object-fit: cover; }
.zone-copy { display: grid; gap: 16px; align-content: start; }
.zone-copy h3 { font-size: 28px; line-height: 1.2; }
.zone-copy p { color: var(--t2); max-width: 32rem; }

.ticks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.ticks li::before {
  content: ''; width: 16px; height: 16px; flex: none;
  background: var(--t2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.zone-copy .ticks { margin-top: 16px; }

@media (min-width: 900px) {
  .zones { grid-template-columns: 4fr 8fr; gap: 48px; }
  .zone-tabs {
    flex-direction: column; gap: 0; overflow: visible; border-bottom: 0;
    margin: 0; padding: 0; border-top: 1px solid var(--line);
  }
  .zone-tabs button {
    padding: 24px 0 24px 20px; font-size: 24px; border-bottom: 1px solid var(--line);
  }
  .zone-tabs button::after {
    left: 0; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto;
    transform: scaleY(0); transform-origin: top;
  }
  .zone-panel { grid-template-columns: 6fr 5fr; gap: 40px; }
  .zone-media { aspect-ratio: 5 / 6; max-height: 640px; }
  .zone-copy { padding-top: 8px; }
}

/* ---------- story ---------- */
.story { background: var(--deep); }
.story-in { display: grid; gap: 40px; }
.story-media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.story-media picture, .story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; gap: 20px; align-content: center; }
.story-copy > p { color: var(--t2); font-size: 18px; max-width: 32rem; }
.story-copy .decal { margin-bottom: 4px; }
.plate { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: end; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.plate picture { border-radius: 12px; overflow: hidden; }
.plate figcaption { font-size: 13px; color: var(--t3); }
@media (min-width: 900px) {
  .story-in { grid-template-columns: 6fr 5fr; gap: 80px; }
  .plate { grid-template-columns: 220px 1fr; }
}

/* ---------- training rows ---------- */
.training { background: var(--bg); }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row p { color: var(--t2); max-width: 40rem; }
.row-meta { font-size: 13px; color: var(--t3); }
@media (min-width: 900px) {
  .row { grid-template-columns: 4fr 6fr 2fr; gap: 48px; padding: 32px 0; align-items: baseline; }
  .row-meta { text-align: right; }
}

/* ---------- membership ---------- */
.membership { background: var(--deep); }
.mem-in { display: grid; gap: 48px; }
.mem-head { display: grid; gap: 16px; align-content: start; }
.extras { margin-top: 32px; }
.extras h3 { font-size: 15px; color: var(--t2); font-weight: 400; margin-bottom: 12px; }
.extras dl { border-top: 1px solid var(--line); }
.extras dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.extras dt { font-weight: 500; }
.extras dt span { display: block; font-weight: 400; color: var(--t3); font-size: 14px; }
.extras dd { font-size: 18px; white-space: nowrap; }

.mem-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; display: grid; gap: 28px; align-content: start;
}
@media (min-width: 640px) { .mem-card { padding: 40px; } }
@media (min-width: 900px) {
  .mem-in { grid-template-columns: 5fr 7fr; gap: 80px; }
  .mem-head { position: sticky; top: calc(var(--nav-h) + 48px); }
}

.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  min-inline-size: 0;
}
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span {
  display: block; text-align: center; padding: 10px 8px; border-radius: 8px;
  font-size: 14px; color: var(--t2); white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.seg-opt input:hover + span { color: var(--t1); }
.seg-opt input:checked + span { background: var(--raised); color: var(--t1); border-color: var(--line); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.price { display: grid; gap: 4px; }
.price-big {
  font-size: clamp(64px, 9vw, 104px); line-height: 1; font-weight: 500; letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 8px;
}
.price-big .cur { font-size: 0.42em; color: var(--t2); letter-spacing: 0; }
.price-big [data-out="price"] { display: inline-block; }
.price-big .is-changing { animation: rise 320ms var(--ease); }
.price-per { font-size: 18px; margin-top: 12px; }
.price-save { color: var(--t2); font-size: 15px; }

.mem-sc { color: var(--t2); max-width: 32rem; margin-top: 16px; }
.mem-head .link { justify-self: start; }
.facts { border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--t2); }
.facts dd { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; text-align: right; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- visit ---------- */
.visit { background: var(--bg); }
.visit-in { display: grid; gap: 48px; }
.hours h3, .where h3 { font-size: 15px; color: var(--t2); font-weight: 400; margin-bottom: 12px; }
.hours table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { color: var(--t2); }
.hours td { text-align: right; font-size: 15px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--t1); }
.hours tr.is-today th::after {
  content: attr(data-today); margin-left: 8px; font-size: 12px; color: var(--accent);
}
.where { display: grid; gap: 40px; align-content: start; }
.where-block { display: grid; gap: 12px; justify-items: start; }
.addr { font-size: 18px; line-height: 1.5; }
.addr .muted { font-size: 15px; }
.contact { display: grid; gap: 12px; }
.social { display: flex; gap: 16px; flex-wrap: wrap; color: var(--t2); }
.social a:hover { color: var(--t1); }

.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px;
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.4) brightness(0.95);
  animation: fade var(--slow) var(--ease);
}
@media (min-width: 900px) {
  .visit-in { grid-template-columns: 4fr 4fr 5fr; gap: 48px; }
  .map { aspect-ratio: auto; min-height: 360px; }
}

/* ---------- join form ---------- */
.join { background: var(--deep); }
.join-in { display: grid; gap: 48px; }
.join-head { display: grid; gap: 16px; align-content: start; }
.join-phone { margin-top: 16px; font-size: 20px; justify-self: start; }
@media (min-width: 900px) { .join-in { grid-template-columns: 5fr 7fr; gap: 80px; } }

.form {
  display: grid; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; padding: 40px; column-gap: 16px; }
  .form > * { grid-column: 1 / -1; }
  .form > .field-half { grid-column: auto; }
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-inline-size: 0; align-content: start; }
.field label, .field legend { font-size: 14px; color: var(--t2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 16px; line-height: 1.4;
  transition: border-color var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--t3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(237, 237, 237, 0.24); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid='true'] { border-color: var(--neg); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--t2); border-bottom: 1.5px solid var(--t2); transform: rotate(45deg); pointer-events: none;
}
.err { font-size: 13px; color: var(--neg); min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--pos); }
.form-msg.is-err { color: var(--neg); }
.form-msg a { text-decoration: underline; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- faq ---------- */
.faq { background: var(--bg); }
.faq-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: 5fr 7fr; gap: 80px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-size: 18px; font-weight: 500; line-height: 1.4;
  transition: color var(--fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--t1); }
.faq summary .i { color: var(--t2); transition: transform var(--mid) var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--t2); padding: 0 48px 24px 0; max-width: 40rem; }
.faq details[open] p { animation: rise 300ms var(--ease); }

/* ---------- footer ---------- */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding: 80px 0 calc(32px + var(--mbar-space, 0px)); }
.foot-mark { font-size: calc(min(100vw - 2 * var(--gutter), 1240px) / 6.9); line-height: 0.9; margin-bottom: 32px; overflow: hidden; }
.foot .decal { margin-bottom: 48px; }
.foot-grid { display: grid; gap: 32px; padding-bottom: 48px; }
.foot-grid p { color: var(--t2); }
.foot-grid > div { display: grid; gap: 12px; align-content: start; justify-items: start; }
.foot .foot-h { font-size: 13px; font-weight: 400; color: var(--t3); letter-spacing: 0; line-height: 1.4; }
.foot-hours { font-size: 14px; line-height: 1.8; }
.foot-list { display: grid; gap: 8px; color: var(--t2); }
.foot-list a:hover { color: var(--t1); }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--t3);
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: flex; gap: 8px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--deep); border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform var(--slow) var(--ease);
}
.mbar .btn { flex: 1; }
.mbar.is-on { transform: none; }
@media (max-width: 899px) { :root { --mbar-space: 80px; } }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- reveal on scroll (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--d, 0ms);
}

/* the single entrance on load: the door decal drawing across */
.js .hero-rule { transform: scaleX(0); }
.js.is-ready .hero-rule { transform: none; transition: transform 900ms var(--ease) 120ms; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; background: var(--deep); }
.nf-in { display: grid; gap: 24px; justify-items: start; max-width: 640px; padding-block: 64px; }
.nf-in .decal { width: 100%; margin: 16px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-rule { opacity: 1; transform: none; }
}
