@font-face { font-family: "Alegreya"; src: url("/files/2cdc5f253edf4405b31555fe8ed50a82ae60e7c765200edc4303ccc6f60dcbee") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/files/2cdc5f253edf4405b31555fe8ed50a82ae60e7c765200edc4303ccc6f60dcbee") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/files/82d5451b1ba941264a836127e780f8aa85476d0b59e208c1992b63f5325d3d30") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/files/ac6c5ec3cc4d0dd382f68b8193dd7d21c564832dcb0a7363c621b07a3c5f43e4") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/files/4c19a83150745252e77d1c84f32273765008fbc03f383bd48ee7efc299a1e5c5") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #fff7ec;
  --surface: #f6e5c8;
  --fg: #2a1c12;
  --muted: #6a5646;
  --accent: #6b2700;
  --accent-fg: #ffffff;
  --radius: 0px;
  --font: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Alegreya", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* «Под тории»: красно-коричневые лакированные тории их зала в «Нептуне» — рама сайта. Балка касаги над каждым разделом, столбы по краям первого экрана, охра стен, их коричневый и оранжевый. */
:root { --lac: #6b2700; --lac2: #8a3a06; --deep: #3a1500; --or: #ffc47b; --or2: #f2a541; --paper: #fff7ec; --wall: #f6e5c8; --ink: #2a1c12; --mute: #6a5646; --line: rgba(107, 39, 0, .18); --serif: Alegreya, Georgia, serif; --sans: "Alegreya Sans", Arial, sans-serif; }
html { overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); }
a { color: var(--lac); text-decoration-color: var(--or2); text-underline-offset: 3px; }
a:hover { color: var(--lac2); }
h1, h2, h3 { font-family: var(--serif); color: var(--lac); font-weight: 800; letter-spacing: -.005em; }
img { filter: sepia(.18) saturate(.92) contrast(1.04); }
.site-logo img { filter: none; mix-blend-mode: multiply; }

.dev-bar { padding: 6px 16px; background: var(--deep); color: #e9cfaa; text-align: center; font: 500 13px/1.4 var(--sans); letter-spacing: .03em; }
.dev-bar a { color: #fff; text-decoration-color: var(--or); }
.dev-bar a:hover { color: var(--or); }

/* Балка касаги: верх загнут вверх на концах */
.tr-beam, .site-header::after, .site-main h1::before, .tr-head::before, .site-footer::before { content: ""; display: block; background: var(--lac); clip-path: polygon(0 0, 9% 38%, 50% 46%, 91% 38%, 100% 0, 97% 100%, 3% 100%); }

/* Шапка */
.site-header { position: relative; background: var(--paper); border: 0; box-shadow: none; padding: 0 16px 14px; }
.site-header::after { position: absolute; left: max(8px, calc((100% - 1232px) / 2)); right: max(8px, calc((100% - 1232px) / 2)); bottom: 0; height: 12px; }
.site-header-row { padding: 12px 0 8px; }
.site-name span { display: none; }
.site-logo img { width: auto; height: 44px; max-width: 64vw; object-fit: contain; border-radius: 0; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: var(--lac); }
.site-nav a { color: var(--ink); border: 0; font: 700 14px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--lac2); border: 0; }
.site-nav a[aria-current] { color: var(--lac); border: 0; box-shadow: inset 0 -3px var(--or2); }
@media (min-width: 960px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 max(16px, calc((100% - 1200px) / 2)) 14px; }
  .site-header-row { margin: 0; max-width: none; padding: 18px 0 14px; }
  .site-logo img { height: 62px; }
  .site-nav { margin: 0; max-width: none; padding: 0; }
  .site-nav ul { padding: 0; gap: 0 30px; }
}

/* Внутренние страницы */
.site-main { max-width: 1200px; padding: 48px 16px 96px; }
.site-main h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; margin: 0 0 30px; max-width: 20ch; }
.site-main h1::before { width: 96px; height: 13px; margin-bottom: 18px; }
.site-main h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.site-main h3 { font-size: 23px; line-height: 1.25; }
.crumbs { font: 700 13px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--lac); }
.label, .card-meta { font-family: var(--sans); font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.material, .rich { max-width: 800px; }
.rich { font-size: 19px; }
.rich h2 { margin-top: 1.6em; padding-bottom: 8px; border-bottom: 3px solid var(--or); display: inline-block; }
.rich h3 { margin-top: 1.5em; }
.rich strong { color: var(--lac); }
.rich ul li::marker { color: var(--or2); }
.rich img, .rt-image img { display: block; border-radius: 0; box-shadow: none; border-bottom: 8px solid var(--lac); }
.rich blockquote { margin: 26px 0; padding: 16px 24px; border: 0; border-left: 6px solid var(--lac); background: var(--wall); font: 500 22px/1.4 var(--serif); font-style: italic; color: var(--lac); }
.rich blockquote p { margin: 0; }
.rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.material-cover { display: block; margin: 0 0 34px; }
.material-cover img { display: block; width: 100%; height: auto; border-bottom: 8px solid var(--lac); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; background: var(--wall); padding: 22px 26px; margin: 0 0 30px; border-top: 8px solid var(--lac); }
.facts dt { font: 700 13px/1.8 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.facts dd { margin: 0; }
.hall-photo img, .hall-photos img { border-radius: 0; }
.hall-map { border-top: 8px solid var(--lac); }
.cards { gap: 36px 30px; }
.card { border-radius: 0; box-shadow: none; background: transparent; border: 0; border-top: 8px solid var(--lac); padding-top: 16px; }
.card-media { display: block; overflow: hidden; margin-bottom: 14px; border-radius: 0; }
.card-media img { transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 0; }
.card-body h3, .card-title { font: 800 25px/1.2 var(--serif); }
.card-body h3 a, .card-title a { color: var(--lac); text-decoration: none; }
.card-body h3 a:hover, .card-title a:hover { color: var(--lac2); }
.card-body p { color: var(--mute); }
.gallery img, .album img { border-radius: 0; }
.site-city { display: none; }
button, .btn, input[type=submit] { border-radius: 0; }

/* Подвал: земля под столбами */
.site-footer { position: relative; background: var(--deep); color: #e9cfaa; border: 0; padding-top: 64px; }
.site-footer::before { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--lac2); }
.site-footer a { color: #fff; text-decoration-color: var(--or); }
.site-footer a:hover { color: var(--or); }
.site-footer .label { color: #c9a77f; }
.footer-name { color: var(--or); font: 800 30px/1.2 var(--serif); max-width: none; }
.site-footer-cols { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 48px; }
.footer-social { align-self: end; }
.footer-links { grid-column: 1 / -1; border-top: 1px solid rgba(255, 196, 123, .25); padding-top: 16px; }
.site-main .tr-club h2 { max-width: none; }

/* Главная */
.page-home .site-main { max-width: none; padding: 0; }
.page-home .layout-row { margin: 0; }
.page-home .site-main h1::before { display: none; }
.tr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.tr-label { margin: 0 0 12px; font: 700 14px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #94470a; }
.tr-sec { padding: 100px 0 0; }
.tr-head { margin: 0 0 40px; }
.tr-head::before { width: 74px; height: 11px; margin-bottom: 18px; }
.site-main .tr-head h2 { margin: 0; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; max-width: 18ch; }
.tr-more { font: 700 15px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--or2); padding-bottom: 3px; }
.tr-ph { margin: 0; overflow: hidden; background: var(--wall); }
.tr-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform .6s; }
.tr-ph:hover img { filter: none; transform: scale(1.02); }

/* Первый экран: ворота */
.tr-hero { padding: 36px 0 0; }
.tr-gate { position: relative; padding: 76px clamp(30px, 8.5vw, 116px) 0; }
.tr-gate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; background: var(--lac); clip-path: polygon(0 0, 9% 38%, 50% 46%, 91% 38%, 100% 0, 97% 100%, 3% 100%); }
.tr-nuki { position: absolute; left: 2%; right: 2%; top: 56px; height: 14px; background: var(--lac2); }
.tr-post { position: absolute; top: 30px; bottom: 0; width: clamp(12px, 1.8vw, 26px); background: linear-gradient(90deg, var(--lac2), var(--lac) 60%, #551e00); }
.tr-post-l { left: 4%; }
.tr-post-r { right: 4%; }
.tr-plaque { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); padding: 4px 10px; background: var(--deep); color: var(--or); font: 800 15px/1.2 var(--serif); border: 2px solid var(--or2); }
.tr-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 48px; align-items: center; padding: 30px 0 44px; }
.site-main .tr-title { margin: 0 0 22px; max-width: none; line-height: 1; }
.tr-title span { display: block; }
.tr-t1 { font: 700 clamp(19px, 2vw, 26px)/1.25 var(--serif); color: var(--mute); margin-bottom: 10px; }
.tr-t2 { font-size: clamp(46px, 6.2vw, 86px); letter-spacing: -.02em; color: var(--lac); }
.tr-checks { list-style: none; margin: 0 0 22px; padding: 0; }
.tr-checks li { padding: 6px 0 6px 28px; font-size: 17px; border-bottom: 1px solid var(--line); position: relative; }
.tr-checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 6px; background: var(--or2); }
.tr-checks b { color: var(--lac); }
.tr-act { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin: 0; }
.tr-btn { display: inline-block; padding: 14px 24px; background: var(--lac); color: #fff; font: 700 16px/1.2 var(--sans); letter-spacing: .04em; text-decoration: none; box-shadow: 6px 6px 0 var(--or); }
.tr-btn:hover { background: var(--deep); color: var(--or); }
.tr-hero .tr-ph { aspect-ratio: 4 / 3; border-bottom: 10px solid var(--or2); }
.tr-ground { height: 18px; background: var(--deep); }

/* Полоса фактов */
.tr-facts { background: var(--deep); color: #f3dcbb; padding: 44px 0 50px; }
.tr-facts ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 40px; }
.tr-facts b { display: block; font: 800 clamp(44px, 4.6vw, 64px)/1 var(--serif); color: var(--or); margin-bottom: 10px; }
.tr-facts span { font-size: 16px; line-height: 1.4; }

/* Занятия для взрослых */
.tr-adults .tr-ph { aspect-ratio: 21 / 8; margin: 0 0 44px; border-bottom: 10px solid var(--lac); }
.tr-lead { font: 500 clamp(22px, 2.2vw, 29px)/1.35 var(--serif); color: var(--ink); max-width: 34ch; margin: 0 0 40px; }
.tr-lead b { color: var(--lac); }
.tr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.tr-cols > div { border-top: 3px solid var(--or); padding-top: 18px; }
.site-main .tr-cols h3 { margin: 0 0 10px; font-size: 26px; }
.tr-cols ul { margin: 0; padding-left: 20px; }
.tr-cols li { margin: 0 0 6px; }
.tr-cols li::marker { color: var(--or2); }
.tr-cols p { margin: 0; }
.tr-adults .tr-more { display: inline-block; margin-top: 36px; }

/* Принцип */
.tr-principle { margin-top: 100px; background: var(--lac); color: #fde9cc; padding: 80px 0 86px; position: relative; }
.tr-principle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--deep); }
.tr-principle .tr-label { color: var(--or); }
.tr-principle blockquote { margin: 0; max-width: 24ch; font: 800 clamp(34px, 5vw, 70px)/1.06 var(--serif); color: #fff; }
.tr-principle blockquote p { margin: 0; }
.tr-principle p.tr-sub { max-width: 52ch; margin: 26px 0 0; font-size: 19px; color: #fde9cc; }

/* Два направления */
.tr-paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.tr-path { border-top: 10px solid var(--lac); padding-top: 22px; }
.tr-path .tr-ph { aspect-ratio: 16 / 10; margin: 0 0 24px; }
.tr-num { font: 800 64px/1 var(--serif); color: var(--or2); margin: 0 0 4px; }
.site-main .tr-path h3 { margin: 0 0 12px; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.tr-path ol { list-style: none; counter-reset: s; margin: 20px 0 22px; padding: 0; }
.tr-path ol li { counter-increment: s; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); position: relative; }
.tr-path ol li::before { content: counter(s); position: absolute; left: 0; top: 8px; font: 800 26px/1 var(--serif); color: var(--lac); }
.tr-path ol b { display: block; color: var(--lac); }

/* О клубе */
.tr-club-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: start; }
.tr-club .tr-ph { aspect-ratio: 4 / 3; border-bottom: 10px solid var(--lac); box-shadow: 14px 14px 0 var(--wall); }
.tr-years { list-style: none; margin: 0 0 30px; padding: 0; }
.tr-years li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.tr-years li:last-child { border-bottom: 1px solid var(--line); }
.tr-years b { font: 800 30px/1.1 var(--serif); color: var(--lac); }
.tr-years p { margin: 0; }

/* Где */
.tr-where { padding-bottom: 110px; }
.tr-where-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; background: var(--wall); }
.tr-where .tr-ph { min-height: 360px; }
.tr-where-tx { padding: 34px 36px 38px; border-top: 10px solid var(--lac); }
.tr-where-tx div + div { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.site-main .tr-where-tx h3 { margin: 0 0 6px; font-size: 25px; }
.tr-where-tx p { margin: 0; }

@media (max-width: 899px) {
  .tr-sec { padding-top: 72px; }
  .tr-hero { padding-top: 26px; }
  .tr-gate { padding: 58px 26px 0; }
  .tr-hero-in { padding-bottom: 26px; }
  .tr-gate::before { height: 26px; }
  .tr-nuki { top: 42px; height: 10px; }
  .tr-post { top: 22px; width: 10px; }
  .tr-post-l { left: 3%; }
  .tr-post-r { right: 3%; }
  .tr-plaque { top: 16px; font-size: 13px; padding: 2px 8px; }
  .tr-hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .tr-act { margin-bottom: 0; }
  .tr-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-cols, .tr-paths-grid, .tr-club-grid, .tr-where-grid { grid-template-columns: minmax(0, 1fr); }
  .tr-adults .tr-ph { aspect-ratio: 3 / 2; }
  .tr-principle { margin-top: 72px; padding: 56px 0 60px; }
  .tr-years li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tr-where .tr-ph { min-height: 0; aspect-ratio: 3 / 2; }
  .tr-where-tx { padding: 26px 20px 30px; }
  body { font-size: 17px; }
  .site-footer-cols { grid-template-columns: minmax(0, 1fr); }
}
