:root {
  --bg: #f3f1ec;
  --bg-strong: #e6e1d8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf8;
  --surface-tint: #f7f2ea;
  --text: #20312b;
  --text-soft: #5e695f;
  --accent: #2f5f58;
  --accent-strong: #1f4742;
  --accent-soft: #d7e4df;
  --highlight: #c98d62;
  --line: rgba(32, 49, 43, 0.1);
  --shadow: 0 18px 50px rgba(31, 42, 36, 0.12);
  --shadow-soft: 0 8px 24px rgba(31, 42, 36, 0.08);
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --max-width: 1120px;
  --nav-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  padding-bottom: var(--nav-height);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--accent-strong);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  width: 100%;
}

.section,
.site-footer {
  width: min(calc(100% - 24px), var(--max-width));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  background: #ece8df;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  padding: 24px 18px 18px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  color: var(--text);
}

.starter-copy {
  max-width: 36rem;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.88;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy,
.section-copy,
.supporting-text,
.footer-copy p,
.tip-list,
.bullet-list,
.value,
.details-list dd,
.details-list dt,
.map-placeholder p {
  font-size: 0.98rem;
}

.hero-copy {
  max-width: 30rem;
  margin: 16px 0 24px;
  color: var(--text-soft);
}

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

.quick-action,
.primary-button,
.copy-button,
.filter-chip,
.text-link {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.quick-action,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 0;
  border: 1px solid rgba(32, 49, 43, 0.1);
  background: rgba(255, 253, 248, 0.92);
  color: var(--accent-strong);
  backdrop-filter: none;
  text-decoration: none;
  font-weight: 600;
  box-shadow: none;
}

.quick-action-grid {
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 18px;
  text-align: center;
  background: #faf8f3;
}

.quick-action-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
}

.quick-action-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-action-label {
  max-width: none;
  font-size: 1rem;
  line-height: 1.1;
  white-space: normal;
}

.quick-action:hover,
.quick-action:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading.tight {
  margin-bottom: 14px;
}

.essentials-title {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.card-kicker {
  margin-bottom: 16px;
  color: var(--text);
}

.section-copy,
.supporting-text {
  color: var(--text-soft);
  max-width: 38rem;
  margin-top: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  padding: 20px;
}

.highlight-card {
  background: rgba(255, 253, 248, 0.96);
}

.essentials-grid,
.manual-grid,
.rules-layout,
.transport-layout {
  display: grid;
  gap: 16px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-row > :first-child {
  min-width: 0;
  flex: 1;
}

.copy-row .value {
  margin: 2px 0 0;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.label {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.copy-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-strong);
  padding: 0 14px;
  min-height: 42px;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.details-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.details-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.details-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.details-list dt,
.details-list dd {
  margin: 0;
}

.details-list dt {
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
  color: var(--accent-strong);
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
}

.emergency-card {
  margin-top: 16px;
}

.emergency-grid {
  display: grid;
  gap: 12px;
}

.emergency-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 49, 43, 0.08);
  padding: 14px 16px;
  border-radius: 0;
}

.emergency-pill > :first-child {
  min-width: 0;
}

.emergency-pill strong {
  display: block;
  font-size: 1.1rem;
}

.transport-layout,
.rules-layout {
  margin-bottom: 18px;
}

.map-card,
.transport-card {
  min-height: 100%;
}

.map-shell {
  min-height: 310px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 49, 43, 0.1);
  background: #e7ece9;
}

.map-placeholder {
  min-height: 310px;
  display: grid;
  place-content: end start;
  gap: 10px;
  padding: 20px;
  background: rgba(27, 41, 37, 0.8);
  color: #fffaf4;
}

.map-placeholder h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
}

.map-kicker {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border: 0;
}

.fallback-links {
  margin-top: 16px;
}

.fallback-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.fallback-list a {
  text-decoration: none;
}

.fallback-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 49, 43, 0.08);
  border-radius: 0;
  padding: 12px 14px;
}

.tip-list,
.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.cards-grid {
  display: grid;
  gap: 14px;
}

.cards-grid-transport {
  margin-top: 16px;
}

.place-card {
  position: relative;
  overflow: hidden;
}

.place-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}

.card-body {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 0;
  background: var(--surface-tint);
  border: 1px solid rgba(32, 49, 43, 0.08);
  color: var(--text-soft);
  font-size: 0.84rem;
  text-decoration: none;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 2px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(47, 95, 88, 0.18);
}

.meta-row {
  display: grid;
  gap: 8px;
}

.meta-item {
  color: var(--text-soft);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: var(--accent-strong);
}

.action-link.secondary {
  color: var(--accent-strong);
  background: #fff;
  border: 1px solid var(--line);
}

.manual-grid {
  grid-template-columns: 1fr;
}

.manual-card {
  background: rgba(255, 250, 244, 0.88);
}

.manual-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: rgba(27, 41, 37, 0.96);
  box-shadow: 0 -8px 26px rgba(16, 22, 20, 0.24);
  backdrop-filter: none;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.bottom-nav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.bottom-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--nav-height);
  border-radius: 0;
  color: rgba(255, 250, 244, 0.82);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-nav a:last-child {
  border-right: 0;
}

.bottom-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-image::after {
  content: "Quiet local stay • Close to the water • Easy tram access";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 250, 244, 0.88);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-height) + 28px);
  transform: translateX(-50%) translateY(20px);
  min-width: 180px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 0;
  background: rgba(27, 41, 37, 0.94);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.noscript-banner {
  margin: 0 auto 28px;
  width: min(calc(100% - 24px), var(--max-width));
  padding: 16px 18px;
  border-radius: 0;
  background: #fff4db;
  color: #5c4519;
}

@media (min-width: 720px) {
  .section {
    padding: 48px 0;
  }

  .hero-shell {
    padding: 32px 28px 24px;
  }

  .hero-content {
    padding: 0;
  }

  .quick-actions {
    max-width: 420px;
  }

  .essentials-grid,
  .manual-grid,
  .rules-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transport-layout {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: stretch;
  }

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

}

@media (min-width: 1040px) {
  body {
    padding-bottom: var(--nav-height);
  }

  .hero-shell {
    height: 88vh;
  }

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

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

  .cards-grid-transport {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .bottom-nav {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .toast {
    bottom: calc(var(--nav-height) + 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
