:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172823;
  background: #83b9a1;
  font-synthesis: none;
  --ink: #172823;
  --paper: #f2f0df;
  --muted: #46584a;
}

* { box-sizing: border-box; }

body {
  min-width: 0;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.5;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.page {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 64px 24px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 52px;
}

.hero-art {
  display: block;
  width: 140px;
  height: 140px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 5px 5px 0 rgb(23 40 35 / 14%);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.hero-copy { min-width: 0; }

h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.tagline {
  margin: 0;
  font-size: 19px;
  text-wrap: balance;
}

.section-label {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.direction {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(23 40 35 / 28%);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 4px 0 rgb(23 40 35 / 7%);
}

.card-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--muted);
}

.card-marker span {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.card-marker svg { width: 25px; height: 25px; }

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.card-description {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.primary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 150ms ease;
}

.primary-link:hover { background: #314b3f; }

.link-arrow { flex: 0 0 auto; font-size: 17px; line-height: 1; }

.channel-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  padding: 14px 0 2px;
  border-top: 1px solid rgb(23 40 35 / 20%);
  border-radius: 2px;
  text-decoration: none;
}

.channel-label { color: var(--muted); font-size: 12px; line-height: 1.5; }

.channel-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.channel-link:hover .channel-address {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1099px) {
  .directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .page { padding: 36px 16px 40px; }
  .hero { gap: 20px; margin-bottom: 36px; }
  .hero-art { width: 80px; height: 80px; border-radius: 8px; }
  h1 { font-size: clamp(32px, 7.5vw, 44px); }
  .tagline { font-size: 15px; }
  .directions { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card-marker { margin-bottom: 20px; }
  .card-description { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-link { transition: none; }
}
