:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --panel: #fffdf7;
  --ink: #172823;
  --muted: #526059;
  --green: #164f41;
  --green-dark: #0c392d;
  --mist: #e5efe8;
  --line: #dfded2;
  --accent: #236756;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #347665; outline-offset: 4px; }
.shell { width: min(1152px, calc(100% - 72px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.5rem; font-weight: 820; letter-spacing: -.067em; text-decoration: none; white-space: nowrap; }
.brand-dot { color: var(--accent); }
.brand-mark { display: flex; flex: 0 0 auto; justify-content: center; align-items: center; gap: 4px; width: 40px; height: 40px; border-radius: 10px; background: var(--green); }
.brand-mark i { display: block; width: 3px; height: 12px; border-radius: 5px; background: #fffdf2; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 15px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, .quiet { font-size: .9rem; font-weight: 680; }
nav a { text-decoration: none; }
nav a:hover, .quiet:hover { text-decoration: underline; text-underline-offset: 4px; }
.quiet { min-height: 43px; padding: 8px 0; border: 0; color: var(--green-dark); background: transparent; }
.share { border: 1px solid #bac8be; border-radius: 9px; padding: 7px 13px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; padding-block: 52px 44px; }
.hero-copy { padding-block: 13px; }
.eyebrow { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .145em; font-size: .76rem; font-weight: 785; color: var(--green); }
.pin { border: 2px solid currentColor; width: 9px; height: 9px; border-radius: 60% 60% 60% 0; transform: rotate(-45deg); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(3.4rem, 6.35vw, 6rem); line-height: .99; letter-spacing: -.071em; margin-top: 14px; }
h1 span { color: var(--accent); }
.hero-description { max-width: 36ch; color: var(--muted); font-size: 1.14rem; line-height: 1.55; margin-block: 19px 24px; }
.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 17px; border: 0; border-radius: 9px; background: var(--green); color: #fffdf7; font-size: .92rem; font-weight: 740; text-decoration: none; white-space: nowrap; }
.primary:hover { background: var(--green-dark); }
.hero-image { margin: 0; width: 100%; aspect-ratio: 1.55; min-height: 340px; overflow: hidden; border-radius: 17px; position: relative; isolation: isolate; background: #d3caaf; }
.hero-image img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, #14221bd9); pointer-events: none; }
.hero-image figcaption { z-index: 1; position: absolute; bottom: 20px; left: 20px; color: #fff; display: grid; gap: 3px; }
.hero-image figcaption span { font-size: .76rem; font-weight: 790; letter-spacing: .12em; }
.hero-image figcaption small { font-size: .87rem; }
.destinations { padding-block: 26px 36px; border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h2 { font-size: clamp(2.2rem, 4.7vw, 3.4rem); letter-spacing: -.05em; line-height: 1.1; margin-top: 7px; }
.section-heading > p { font-size: .91rem; color: var(--muted); padding-bottom: 2px; }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 235px); gap: 12px; margin-bottom: 25px; }
.catalog-tools label, .language-field, .access-dialog label { display: block; font-size: .88rem; font-weight: 710; color: var(--muted); }
input[type="search"], input[type="password"] { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #bdcbc3; border-radius: 9px; margin-top: 6px; padding: 8px 12px; color: var(--ink); background: var(--panel); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: start; gap: 27px; }
.city-group + .city-group { margin-top: 25px; }
.city-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 11px; font: 400 clamp(1.45rem, 3vw, 1.85rem)/1.15 Georgia, serif; margin-block: 2px 10px; }
.city-region { font: 680 .82rem/1.45 system-ui, sans-serif; color: var(--muted); }
.city-rows { display: grid; gap: 6px; }
.place-card { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: center; gap: 2px; width: 100%; min-height: 60px; text-align: start; padding: 9px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.place-card:hover { border-color: #559281; }
.place-card[aria-pressed="true"] { border-color: #347a64; background: var(--mist); }
.place-number { font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--green); font-weight: 720; }
.place-content { display: grid; gap: 3px; }
.place-name { font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.place-languages { color: var(--muted); font-size: .82rem; }
.empty { color: var(--muted); padding: 14px 0; }
.guide { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 25px; scroll-margin-top: 18px; }
.guide-heading { margin-bottom: 18px; }
.guide-heading h2 { font-size: clamp(1.95rem, 4.4vw, 3rem); overflow-wrap: anywhere; text-align: start; }
.location { margin-top: 7px; color: var(--muted); font-size: .92rem; }
.language-field { max-width: 21rem; margin-bottom: 15px; }
.catalog-back { display: none; }
select { appearance: none; display: block; width: 100%; border-radius: 9px; border: 1px solid #bdcbc3; color: var(--ink); background-color: var(--panel); background-image: linear-gradient(45deg, transparent 50%, #315d4d 50%), linear-gradient(135deg, #315d4d 50%, transparent 50%); background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%; background-size: 5px 5px; background-repeat: no-repeat; min-height: 44px; margin-top: 6px; padding: 7px 30px 7px 12px; }
.access-dialog { position: fixed; width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; border: 1px solid #c2cec5; border-radius: 17px; padding: 29px; background: var(--panel); color: var(--ink); box-shadow: 0 22px 64px #10261f28; }
.access-dialog::backdrop { background: #10251eb0; }
.access-dialog h2 { font-size: 2.25rem; margin: 0 32px 7px 0; }
.access-dialog p { color: var(--muted); line-height: 1.45; }
.access-dialog form { margin-top: 20px; }
.access-dialog input[aria-invalid="true"] { border-color: #9b253e; }
.access-dialog .primary { width: 100%; margin-top: 13px; }
.close-access { position: absolute; top: 10px; right: 10px; width: 44px; border-radius: 8px; font-size: 1.65rem; }
.error { color: #8b263c !important; font-size: .88rem; margin-top: 8px; }
.error:empty { display: none; }
.tab-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.tabs { display: inline-flex; gap: 3px; padding: 4px; background: var(--mist); border-radius: 10px; }
.tabs button { padding: 8px 12px; min-height: 40px; border-radius: 7px; border: 0; color: var(--green-dark); background: transparent; font-size: .88rem; font-weight: 700; }
.tabs button[aria-pressed="true"] { color: #fffdf3; background: var(--green); }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 17px; align-items: center; background: var(--mist); border-radius: 12px; padding: 18px; margin-top: 13px; }
.play { border: 0; min-width: 51px; height: 51px; border-radius: 50%; background: var(--green); color: #fffdf7; display: flex; align-items: center; justify-content: center; }
.play:hover { background: var(--green-dark); }
.play-symbol { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; transform: translateX(2px); }
.play[data-playing="true"] .play-symbol { height: 14px; width: 12px; border: 0; border-inline: 4px solid currentColor; transform: none; }
.track { min-width: 0; }
.track-name { font-weight: 770; overflow-wrap: anywhere; }
.track-language, .timeline { color: var(--muted); font-size: .82rem; }
.track-language { margin-top: 2px; }
.timeline { display: grid; grid-template-columns: auto minmax(46px, 1fr) auto; gap: 7px; align-items: center; margin-top: 6px; font-variant-numeric: tabular-nums; }
.timeline input { width: 100%; min-height: 26px; margin: 0; accent-color: var(--green); }
.timeline input:disabled { opacity: .63; }
.speed-field { align-self: start; }
.speed-field select { margin-top: 0; font-size: .85rem; }
.player > .error { grid-column: 2 / -1; }
.written { font-size: 1.02rem; line-height: 1.68; margin-top: 13px; max-width: 68ch; text-align: start; }
.written p { padding: 8px 3px; }
.written p + p { padding-top: 11px; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-block: 18px 24px; color: var(--muted); font-size: .85rem; }
.footer-brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -.05em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 960px) { .hero { gap: 25px; } .hero-image { min-height: 294px; } }
@media (min-width: 761px) and (min-height: 880px) { .guide { position: sticky; top: 18px; } }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  nav { gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 21px; padding-block: 27px 29px; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(3.25rem, 10vw, 4.7rem); }
  .hero-description { font-size: 1.04rem; margin-block: 13px 17px; }
  .hero-image { min-height: 0; aspect-ratio: 1.59; }
  .hero-image figcaption { bottom: 12px; left: 12px; }
  .section-heading { align-items: start; flex-direction: column; }
  .destinations { padding-block: 22px 26px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .guide { padding: 17px; }
  .catalog-back { display: inline-block; color: var(--green); font-size: .9rem; font-weight: 710; margin-bottom: 14px; text-underline-offset: 3px; }
}
@media (max-width: 530px) {
  nav a { display: none; }
  .catalog-tools { grid-template-columns: minmax(0, 1fr); }
  .language-field { width: 100%; }
  .player { grid-template-columns: auto minmax(0, 1fr); padding: 13px; gap: 10px; }
  .player .speed-field { grid-column: 2; justify-self: end; }
  .player .speed-field select { min-height: 39px; }
  .footer { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
