:root {
  --tvt-ink: #2c241b;
  --tvt-muted: #756a5d;
  --tvt-paper: #fbf7ef;
  --tvt-soft: #f1e8da;
  --tvt-line: rgba(73, 58, 40, 0.16);
  --tvt-olive: #6f7650;
  --tvt-clay: #b66845;
  --tvt-sky: #6f9aa0;
  --tvt-white: #fffdf8;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tvt-ink);
  background: var(--tvt-paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid var(--tvt-line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tvt-muted);
}

.nav-links,
.lang-switch,
.footer-links,
.guide-list,
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  text-decoration: none;
  color: var(--tvt-muted);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--tvt-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 12px;
}

.lang-switch a {
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--tvt-muted);
}

.lang-switch a.active {
  border-color: var(--tvt-line);
  background: var(--tvt-white);
  color: var(--tvt-ink);
}

.nav-cta,
.btn,
.source-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tvt-ink);
  padding: 0 18px;
  text-decoration: none;
  color: var(--tvt-white);
  background: var(--tvt-ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn.secondary,
.source-link {
  color: var(--tvt-ink);
  background: transparent;
}

.guide-hero {
  min-height: clamp(520px, 70vh, 760px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgba(34, 29, 22, 0.2), rgba(34, 29, 22, 0.72)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(34, 29, 22, 0.66), rgba(34, 29, 22, 0.16));
}

.guide-hero--detail {
  min-height: clamp(470px, 62vh, 680px);
  background: #2b5559;
}

.guide-hero--detail::before {
  background:
    radial-gradient(circle at 77% 58%, rgba(255, 220, 158, 0.9) 0 7%, rgba(255, 220, 158, 0.2) 7.2% 13%, transparent 13.2%),
    linear-gradient(160deg, transparent 0 57%, rgba(246, 220, 182, 0.23) 57.2% 58%, transparent 58.2%),
    linear-gradient(145deg, #244c51 4%, #477779 48%, #ad967c 100%);
}

.guide-hero--detail::after {
  background:
    linear-gradient(90deg, rgba(20, 49, 52, 0.42), transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 253, 248, 0.035) 29px 30px);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 120px 0 84px;
  color: var(--tvt-white);
}

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.intro-copy {
  margin: 0 0 14px;
  max-width: 620px;
  color: var(--tvt-muted);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 104px);
}

h1 em,
h2 em {
  font-style: italic;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn.secondary {
  border-color: rgba(255, 253, 248, 0.6);
  color: var(--tvt-white);
  background: rgba(255, 253, 248, 0.1);
}

.guide-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.guide-section.alt {
  background: var(--tvt-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 68px);
}

.section-head p {
  margin: 0;
  color: var(--tvt-muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.event-card,
.note-panel {
  border: 1px solid var(--tvt-line);
  background: var(--tvt-white);
  border-radius: 8px;
}

.guide-card {
  min-height: 292px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 96% 6%, rgba(182, 104, 69, 0.16), transparent 32%),
    linear-gradient(145deg, #fffaf1, #f4eadb);
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 58, 40, 0.34);
  box-shadow: 0 18px 38px rgba(54, 41, 26, 0.09);
}

.guide-card:focus-visible,
.place-card a:focus-visible,
.detail-aside a:focus-visible {
  outline: 3px solid var(--tvt-clay);
  outline-offset: 3px;
}

.guide-card-meta,
.place-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--tvt-olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 15ch;
  font-size: clamp(36px, 4vw, 55px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 10px;
  border: 1px solid rgba(111, 118, 80, 0.22);
  border-radius: 999px;
  color: #526041;
  background: rgba(111, 118, 80, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  white-space: nowrap;
}

.guide-card-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--tvt-line);
  color: var(--tvt-clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-card-cta span {
  font-size: 19px;
  line-height: 1;
}

.guide-card h3,
.event-card h3 {
  font-size: clamp(28px, 3vw, 38px);
}

.guide-card p,
.event-card p,
.note-panel p {
  margin: 0;
  color: var(--tvt-muted);
}

.guide-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.guide-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.guide-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tvt-clay);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 34px;
  align-items: start;
}

.note-panel {
  padding: 28px;
}

.note-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
}

.date-block {
  color: var(--tvt-olive);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-block b {
  display: block;
  margin-top: 6px;
  color: var(--tvt-ink);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.event-meta {
  margin: 10px 0 14px;
  color: var(--tvt-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-link {
  margin-top: 18px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 14px;
}

.detail-aside a,
.mini-pill {
  border: 1px solid var(--tvt-line);
  background: var(--tvt-white);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--tvt-muted);
  text-decoration: none;
  font-size: 14px;
}

.detail-aside a:hover {
  color: var(--tvt-ink);
  border-color: rgba(73, 58, 40, 0.32);
}

.detail-content {
  display: grid;
  gap: 26px;
}

.detail-section {
  border-top: 1px solid var(--tvt-line);
  padding-top: 32px;
  scroll-margin-top: 100px;
}

.section-index {
  margin: 0 0 12px !important;
  color: var(--tvt-clay) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.detail-section h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
}

.detail-section > p {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--tvt-muted);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.place-card {
  border: 1px solid var(--tvt-line);
  background: var(--tvt-white);
  border-radius: 8px;
  padding: 21px;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.place-card:hover {
  border-color: rgba(73, 58, 40, 0.32);
  box-shadow: 0 12px 28px rgba(54, 41, 26, 0.06);
}

.place-card-top {
  margin-bottom: 8px;
}

.place-number {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 118, 80, 0.3);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
}

.place-kind {
  color: var(--tvt-clay);
}

.place-card h3 {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.06;
}

.place-card p {
  margin: 0;
  color: var(--tvt-muted);
}

.map-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  color: var(--tvt-clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.map-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 16px;
  line-height: 0.8;
}

.day-plan {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-plan li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.day-plan li::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tvt-line);
  border-radius: 50%;
  background: var(--tvt-white);
  color: var(--tvt-olive);
  font-family: var(--font-display);
  font-size: 22px;
}

.closing-note {
  border-left: 3px solid var(--tvt-clay);
  padding: 20px 22px;
  background: #fffaf1;
}

.guide-footer {
  background: #29231c;
  color: var(--tvt-white);
  padding: 54px 0 38px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(140px, 0.7fr));
  gap: 32px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.footer-desc,
.footer-links a,
.footer-inner p {
  color: rgba(255, 253, 248, 0.72);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-inner h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  color: rgba(255, 253, 248, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .section-head,
  .split,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .lang-switch a {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .guide-hero {
    min-height: 560px;
  }

  .hero-inner {
    padding-bottom: 54px;
  }

  .guide-grid,
  .guide-card.featured,
  .event-card,
  .place-grid,
  .detail-aside {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .guide-card {
    min-height: auto;
  }
}
