@font-face {
  font-family: 'Figtree';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Figtree_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Figtree_600SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Figtree_700Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/BricolageGrotesque_700Bold.ttf') format('truetype');
}

:root {
  --ground: #f3f5f1;
  --surface: #fff;
  --surface-alt: #e4e9e4;
  --border: #d5dcd6;
  --ink: #16201b;
  --ink-muted: #55615a;
  --primary: #1f6b4a;
  --primary-pressed: #174f37;
  --on-primary: #fff;
  --primary-soft: #dcede3;
  --on-primary-soft: #174f37;
  --warn-soft: #fbebd2;
  --on-warn-soft: #7a4708;
  --radius: 18px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0d0f0e;
    --surface: #17191a;
    --surface-alt: #222526;
    --border: #2c3031;
    --ink: #f2f4f1;
    --ink-muted: #a3aba6;
    --primary: #6fd3a0;
    --primary-pressed: #8fe0b6;
    --on-primary: #0d0f0e;
    --primary-soft: #1b2e24;
    --on-primary-soft: #9ee5bf;
    --warn-soft: #241b10;
    --on-warn-soft: #ffc48a;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
}
h1,
h2 {
  text-wrap: balance;
}
h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.9rem;
}
h3 {
  font-size: 1.2rem;
}
a {
  color: var(--primary);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--on-primary);
  padding: 8px 14px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
  top: 8px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.muted {
  color: var(--ink-muted);
}

header.top {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
}
.logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}
nav.main a {
  text-decoration: none;
  color: var(--ink-muted);
}
nav.main a:hover {
  color: var(--primary);
}
nav.main .lang {
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 2px 10px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  nav.main .hide-sm {
    display: none;
  }
}

.hero {
  padding: 48px 0 40px;
}
.hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero {
    padding: 72px 0 64px;
  }
}
.badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--on-primary-soft);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin: 18px 0 22px;
  max-width: 34em;
}
.stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: 6px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--ground);
  font-size: 0.75rem;
  line-height: 1.25;
}
.store b {
  font-size: 1rem;
}
.phones {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.phone {
  width: 44%;
  max-width: 230px;
  border: 6px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.phone:nth-child(2) {
  margin-top: 36px;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}

section.block {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.step p,
.feature p {
  margin: 6px 0 0;
  color: var(--ink-muted);
}
.features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.feature svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 8px;
}
.shots {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: center;
}
figure {
  margin: 0;
  text-align: center;
  max-width: 280px;
}
figure .phone {
  width: 100%;
  max-width: none;
}
figure .phone:nth-child(n) {
  margin-top: 0;
}
figcaption {
  margin-top: 10px;
  font-weight: 600;
}
.deals-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.notice {
  background: var(--warn-soft);
  color: var(--on-warn-soft);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.95rem;
}
details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
summary {
  font-weight: 700;
  cursor: pointer;
  list-style-position: outside;
}
details p {
  margin: 8px 0 0;
  color: var(--ink-muted);
}

footer.foot {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 0.95rem;
}
footer.foot .wrap {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  footer.foot .wrap {
    grid-template-columns: 1.4fr 1fr;
  }
}
footer.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.small {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

main.doc {
  padding: 40px 0 64px;
}
main.doc .wrap {
  max-width: 800px;
}
main.doc h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 1.2rem;
}
main.doc h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
}
main.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  margin: 1rem 0;
  display: block;
  overflow-x: auto;
}
main.doc th,
main.doc td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
main.doc th {
  background: var(--surface-alt);
}
main.doc blockquote {
  margin: 1rem 0;
  padding: 10px 16px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
}
main.doc ul {
  padding-left: 1.2rem;
}
mark.todo {
  background: #ffe58f;
  color: #5c3d00;
  padding: 0 4px;
  border-radius: 4px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 1.2rem 0;
}

.erase-form {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 1.2rem 0;
}
.erase-form[hidden] {
  display: none;
}
.erase-form label {
  font-weight: 600;
}
.erase-form input {
  font: inherit;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.btn {
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
}
.btn.danger {
  background: #b3261e;
  color: #fff;
}
#erase-status {
  font-weight: 600;
}

/* Walking route pages: the schematic map and the numbered stops */
.route-figure {
  max-width: 760px;
  margin: 24px auto;
}
.route-map {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
}
.route-line {
  stroke: #1f6b4a;
  stroke-width: 6;
  stroke-linejoin: round;
}
.stop-dot {
  fill: #1f6b4a;
  stroke: #fff;
  stroke-width: 2;
}
.stop-num {
  fill: #fff;
  font-size: 24px;
  font-weight: 700;
  text-anchor: middle;
}
.route-stops,
.route-steps {
  padding-left: 1.4em;
}
.route-stops li,
.route-steps li {
  margin: 6px 0;
}
.route-how {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .route-how {
    grid-template-columns: 1fr minmax(220px, 300px);
  }
}

/* Stops of a walking route: number, name, short text and the photo with its credit */
.route-stops {
  list-style: none;
  padding-left: 0;
}
.route-stop {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  margin: 0 0 28px;
}
.stop-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f6b4a;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stop-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.stop-summary,
.stop-text {
  margin: 0 0 8px;
}
.stop-photo {
  margin: 10px 0 0;
}
.stop-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 10px;
}
.stop-photo figcaption {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* The base map with the route drawn over it */
.route-map {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.route-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.trip-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}
.trip-filter button {
  font: inherit;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #1f6b4a;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.trip-filter button[aria-pressed='true'] {
  background: #1f6b4a;
  color: #fff;
}
.trip-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .trip-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.trip-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(127, 127, 127, 0.25);
}
.trip-card[hidden],
.trip-empty[hidden] {
  display: none;
}
.trip-img img {
  display: block;
  width: 100%;
  height: auto;
}
.trip-body {
  padding: 16px 18px 20px;
}
.trip-tag {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f6b4a;
}
.trip-body h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.trip-body h2 a {
  color: inherit;
}
.trip-more {
  font-weight: 600;
}
.route-map-live {
  width: 100%;
  height: 460px;
  border-radius: 10px;
}
.stop-pin span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f6b4a;
  color: #fff;
  border: 3px solid #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stop-link {
  cursor: pointer;
}
.stop-link:hover circle,
.stop-link:focus circle {
  fill: #14513a;
}
.stop-link:focus {
  outline: none;
}
.route-stop {
  scroll-margin-top: 24px;
  border-radius: 12px;
  padding: 4px;
}
.route-stop:target {
  outline: 3px solid #1f6b4a;
  outline-offset: 4px;
}

/* Route page polish: facts strip, even card photos, stop photo beside the text on wide screens */
.route-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.route-facts li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.35);
  font-size: 0.9rem;
  font-weight: 600;
}
.route-facts li:first-child {
  background: #1f6b4a;
  border-color: #1f6b4a;
  color: #fff;
}
.trip-img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(127, 127, 127, 0.12);
}
.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trip-card {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.stop-photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: rgba(127, 127, 127, 0.12);
}
@media (min-width: 860px) {
  .stop-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    column-gap: 24px;
    align-items: start;
  }
  .stop-body h3,
  .stop-body .stop-summary,
  .stop-body .stop-text {
    grid-column: 1;
  }
  .stop-body .stop-photo {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
  }
  .stop-photo img {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trip-card {
    transition: none;
  }
}

.route-why {
  margin: 8px 0 28px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(127, 127, 127, 0.3);
  background: rgba(31, 107, 74, 0.1);
}
.route-why h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.route-why p {
  margin: 0 0 8px;
}
.stop-leg {
  margin: 6px 0 0;
  opacity: 0.8;
}

/* Christmas markets article */
.article {
  max-width: 760px;
}
.article-date {
  margin: -6px 0 16px;
  opacity: 0.7;
}
.market-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.market-toc a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.35);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.market-toc a:hover {
  border-color: #1f6b4a;
}
.market {
  margin: 48px 0;
  scroll-margin-top: 24px;
}
.market h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  font-size: 1.7rem;
  line-height: 1.2;
}
.market-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f6b4a;
  color: #fff;
  font-size: 1.1rem;
}
.market-city {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f6b4a;
}
.market-photo {
  max-width: none;
  text-align: left;
  margin: 0 0 16px;
}
.market-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(127, 127, 127, 0.12);
}
.market-photo figcaption {
  margin-top: 6px;
  opacity: 0.8;
}
.market-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(127, 127, 127, 0.3);
  background: rgba(31, 107, 74, 0.1);
}
@media (min-width: 640px) {
  .market-facts {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.market-facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.7;
}
.market-facts dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.market-ok {
  color: #1f6b4a;
  font-weight: 700;
}
.market-warn {
  color: #b26a00;
  font-weight: 700;
}
