@font-face {
  font-family: Nauryz;
  src: url("../assets/fonts/nauryz.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: light;
  --ink: #111110;
  --paper: #fff;
  --surface: #f4f4f2;
  --yellow: #f9e532;
  --muted: #545451;
  --line: #e0e0e0;
  --nav: #444;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.45 "Inter Tight", Arial, sans-serif; }
h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.frame { width: min(1380px, 100% - clamp(32px, 9vw, 128px)); margin-inline: auto; }

.site-header { min-height: 84px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; border-radius: 999px; background: var(--nav); }
.brand img { width: 55px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding-inline: 16px; border-radius: 999px; background: var(--nav); color: var(--paper); font-size: .9rem; font-weight: 600; }
.site-header nav a:hover { background: var(--yellow); color: var(--ink); }
.site-header nav a:focus-visible { outline-color: var(--ink); }
.other-heading a:hover, .site-footer a:hover { text-decoration: underline; }

.location { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); align-items: stretch; margin-top: 24px; }
.location-copy { container-type: inline-size; min-width: 0; align-self: center; padding: 38px clamp(24px, 5vw, 76px) 38px 0; }
.location-city { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .79rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.location-city::before { content: ""; flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
h1 { margin-top: 18px; font: 400 clamp(1.25rem, 7.25cqi, 4.1rem)/.98 Nauryz, "Inter Tight", Arial, sans-serif; text-transform: uppercase; }
h1 .street { white-space: nowrap; }
.location-kind { margin-top: 22px; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 700; }
.location-description { max-width: 36ch; margin-top: 7px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.route { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 52px; margin-top: 26px; padding: 0 17px; background: var(--nav); border-radius: 12px; color: var(--paper); font-weight: 800; }
.route:hover { background: var(--yellow); color: var(--ink); }
.route span { font-size: 1.25rem; }
.route:focus-visible { outline-color: var(--ink); }
.location-photo { min-width: 0; position: relative; overflow: hidden; min-height: 440px; border-radius: 28px; background: var(--surface); }
.location-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr .85fr; margin-top: 16px; background: var(--surface); color: var(--ink); border-radius: 20px; }
.facts div { min-width: 0; padding: 21px clamp(15px, 2.4vw, 33px); }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .77rem; text-transform: uppercase; font-weight: 750; letter-spacing: .1em; }
.facts dd { margin-top: 4px; font-size: clamp(.95rem, 1.55vw, 1.22rem); font-weight: 650; }
.facts a { text-decoration: underline; text-underline-offset: .2em; }

.other { padding-block: 48px 45px; }
.other-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.other h2 { font: 400 clamp(1.55rem, 3.1vw, 2.6rem)/1.06 Nauryz, "Inter Tight", Arial, sans-serif; text-transform: uppercase; }
.other-heading a, .site-footer a { font-weight: 650; }
.other-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.other-card { min-width: 0; display: grid; grid-template-columns: clamp(60px, 7vw, 108px) minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 76px; padding-right: 13px; border: 1px solid transparent; background: var(--surface); border-radius: 15px; overflow: hidden; }
.other-card:hover { border-color: var(--yellow); }
.other-card img { width: 100%; height: 100%; min-height: 76px; object-fit: cover; }
.other-card strong, .other-card span { display: block; }
.other-card span { color: var(--muted); font-size: .89rem; }
.other-card b { color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px 30px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

@media (max-width: 800px) {
  .site-header { min-height: 66px; }
  .site-header nav a { padding-inline: 12px; }
  .location { grid-template-columns: 1fr; margin-top: 0; }
  .location-copy { padding: 31px 0 22px; }
  h1 { margin-top: 11px; }
  .location-kind { margin-top: 14px; }
  .route { margin-top: 17px; }
  .location-photo { min-height: 0; aspect-ratio: 1.47; border-radius: 20px; }
  .facts { grid-template-columns: 1fr; margin-top: 10px; border-radius: 17px; }
  .facts div { padding: 10px 14px; display: grid; grid-template-columns: 92px 1fr; gap: 9px; align-items: baseline; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dd { margin-top: 0; }
  .other { padding-block: 32px; }
  .other-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
}


/* Liquid Glass */
.site-header .brand,
.site-header nav a,
.location-copy .route {
  color: var(--ink);
  background: rgba(67,39,12,.02);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 0 1px rgba(48,27,6,.25),
              inset 0 1px 2px rgba(255,255,255,.82),
              0 3px 8px rgba(48,27,6,.08);
}
.site-header .brand img { filter: brightness(.16); }
.location-copy .route { box-shadow: inset 0 0 0 1px rgba(152,116,7,.55), 0 3px 8px rgba(48,27,6,.08); }
.site-header nav a:hover,
.location-copy .route:hover { background: var(--yellow); }
