:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #607069;
  --paper: #f8faf4;
  --white: #ffffff;
  --line: #dce3d5;
  --forest: #174f3b;
  --moss: #6d8b4e;
  --red: #b54438;
  --gold: #c4913a;
  --cream: #fffdf5;
  --shadow: 0 22px 70px rgba(23, 34, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 227, 213, 0.85);
  background: rgba(248, 250, 244, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a,
.header-action {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--forest);
}

.main-nav a[aria-current="page"] {
  color: var(--forest);
  font-weight: 850;
}

.language-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 3px;
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--forest);
}

.header-action,
.primary-button,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--red);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.about-photo-hero {
  min-height: 72vh;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 30, 24, 0.88), rgba(18, 30, 24, 0.58) 48%, rgba(18, 30, 24, 0.12)),
    linear-gradient(0deg, rgba(18, 30, 24, 0.62), rgba(18, 30, 24, 0.06) 45%);
}

.hero-content {
  position: relative;
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 82px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.96;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(23, 79, 59, 0.32);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--forest);
  background: transparent;
  font-weight: 850;
  text-decoration: none;
}

.intro,
.section,
.events-band,
.roadmap,
.join-section,
.notice {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: 76px 0 60px;
}

.home-hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 1.05fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding: 82px 0 46px;
}

.home-hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: 0.98;
}

.home-hero p:not(.section-label),
.page-hero p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 1.05fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding: 82px 0 42px;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.map-page h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1;
}

.intro > p,
.about-hero > p,
.home-hero > p,
.page-hero > p,
.section-heading p,
.events-band p,
.split-section p,
.roadmap p,
.join-section p,
.notice p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

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

.link-card {
  display: grid;
  align-content: start;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 34, 29, 0.05);
  text-decoration: none;
}

.link-card span,
.link-card strong {
  color: var(--red);
  font-weight: 900;
}

.link-card h3 {
  margin: 34px 0 12px;
  font-size: 1.22rem;
}

.link-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.link-card strong {
  margin-top: auto;
}

.link-card:hover {
  border-color: rgba(23, 79, 59, 0.4);
  transform: translateY(-2px);
}

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

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

.feature-grid article,
.resource-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 34, 29, 0.05);
}

.compact-grid article {
  min-height: 210px;
}

.feature-grid span {
  color: var(--red);
  font-weight: 900;
}

.feature-grid h3,
.resource-grid h3,
.event-list h3,
.timeline h3 {
  margin: 34px 0 12px;
  font-size: 1.26rem;
}

.feature-grid p,
.resource-grid p,
.event-list p,
.timeline p,
.tutor-panel p,
.tutor-list span {
  color: var(--muted);
  line-height: 1.65;
}

.tutor-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 12px 36px rgba(23, 34, 29, 0.06);
}

.tutor-panel h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.tutor-list {
  display: grid;
  gap: 12px;
}

.tutor-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.tutor-list strong,
.tutor-list span {
  display: block;
}

.tutor-list span {
  margin-top: 6px;
}

.events-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  margin-top: 24px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.events-page-band,
.member-roadmap {
  margin-bottom: 74px;
}

.events-page-band {
  margin-top: 64px;
}

.events-band p,
.event-list p {
  color: rgba(255, 255, 255, 0.76);
}

.events-band h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.04;
}

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

.event-list article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.event-list time {
  color: var(--gold);
  font-weight: 900;
}

.event-list strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
}

.finder-panel-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.map-mock {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(109, 139, 78, 0.24), rgba(255, 253, 245, 0.9)),
    radial-gradient(circle at 78% 32%, rgba(181, 68, 56, 0.18), transparent 25%),
    var(--cream);
  overflow: hidden;
}

.swiss-map {
  min-height: 430px;
  background:
    linear-gradient(140deg, rgba(109, 139, 78, 0.2), rgba(255, 253, 245, 0.96)),
    radial-gradient(circle at 76% 28%, rgba(181, 68, 56, 0.12), transparent 24%),
    var(--cream);
}

.swiss-map-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 42px rgba(23, 34, 29, 0.14));
  pointer-events: none;
}

.swiss-map-shape path:first-of-type {
  fill: rgba(255, 255, 255, 0.72);
  stroke: rgba(23, 79, 59, 0.48);
  stroke-width: 8;
  stroke-linejoin: round;
}

.swiss-map-ridge {
  fill: none;
  stroke: rgba(109, 139, 78, 0.28);
  stroke-width: 5;
  stroke-linecap: round;
}

.map-city {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: var(--forest);
  background: transparent;
  font: inherit;
  transform: translate(-8px, -50%);
  cursor: pointer;
}

.map-city::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 68, 56, 0.18), 0 12px 30px rgba(23, 34, 29, 0.13);
}

.map-city span {
  display: block;
  border: 1px solid rgba(23, 79, 59, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 34, 29, 0.13);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.map-city:hover,
.map-city:focus-visible,
.map-city.active {
  outline: 0;
}

.map-city:hover::before,
.map-city:focus-visible::before,
.map-city.active::before {
  background: var(--gold);
}

.map-city:hover span,
.map-city:focus-visible span,
.map-city.active span {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.basel,
.zurich {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 8px), -50%);
}

.food-directory {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cuts-directory {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffef9;
}

.finder-panel-grid .directory-heading {
  grid-template-columns: 1fr;
}

.directory-heading {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 24px;
  align-items: end;
}

.directory-heading h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.directory-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.directory-heading p {
  max-width: 760px;
}

.search-box span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fffef9;
  font: inherit;
}

.food-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.food-filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--forest);
  background: var(--paper);
  font-weight: 850;
  cursor: pointer;
}

.food-filters button.active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.food-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.cuts-directory > .food-count {
  margin-top: 16px;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.compact-toggle {
  border: 1px solid var(--forest);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--forest);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.compact-toggle[aria-expanded="true"] {
  color: var(--forest);
  background: var(--paper);
}

.food-map-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  max-height: min(68vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.finder-panel-grid .food-map-list,
.finder-panel-grid .cuts-list {
  grid-template-columns: 1fr;
}

.food-map-list[hidden] {
  display: none;
}

.food-place {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.food-place-type {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.food-place h4 {
  margin: 0;
  font-size: 1.08rem;
}

.food-place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.rating-pill {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(109, 139, 78, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.rating-pill span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rating-pill strong {
  overflow-wrap: anywhere;
  color: var(--forest);
  font-size: 0.9rem;
}

.food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.food-tags span {
  border: 1px solid rgba(109, 139, 78, 0.28);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--forest);
  background: rgba(109, 139, 78, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
}

.food-place a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.food-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
}

.cuts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  max-height: min(68vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.cut-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cut-card h4 {
  margin: 0;
  font-size: 1.12rem;
}

.cut-card p {
  margin-bottom: 0;
}

.cut-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cut-sources strong {
  flex-basis: 100%;
  color: var(--red);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.cut-sources a {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(109, 139, 78, 0.28);
  border-radius: 8px;
  color: var(--forest);
  background: rgba(109, 139, 78, 0.08);
  font-weight: 900;
  text-decoration: none;
}

.cut-sources a span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.basel { left: 36.9%; top: 23.2%; }
.zurich { left: 56.64%; top: 25.56%; }
.winterthur { left: 60.4%; top: 20.25%; }
.st-gallen { left: 73.4%; top: 23.5%; }
.bern { left: 34.68%; top: 44.08%; }
.lucerne { left: 51.98%; top: 39.67%; }
.zug { left: 56.12%; top: 34.66%; }
.lausanne { left: 18.32%; top: 62.58%; }
.geneva { left: 18%; top: 74.8%; }
.chur { left: 72.4%; top: 49.1%; }
.lugano { left: 62.6%; top: 80.8%; }

.roadmap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 54px 0 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  padding: 22px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.timeline span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.timeline h3 {
  margin-top: 10px;
}

.join-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 74px 0 44px;
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label span,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffef9;
  font: inherit;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

fieldset label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.notice {
  margin-bottom: 74px;
  padding: 22px 24px;
  border: 1px solid rgba(181, 68, 56, 0.26);
  border-radius: 8px;
  background: #fff8f2;
}

.notice p {
  margin-bottom: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .intro,
  .home-hero,
  .page-hero,
  .about-hero,
  .events-band,
  .split-section,
  .finder-panel-grid,
  .roadmap,
  .join-section,
  .tutor-panel,
  .directory-heading {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    justify-self: start;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .feature-grid,
  .resource-grid,
  .link-grid,
  .food-map-list,
  .cuts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .language-switcher button {
    min-width: 34px;
    padding: 7px 8px;
  }

  .hero {
    min-height: 82vh;
  }

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

  .hero-actions,
  .page-actions,
  .feature-grid,
  .resource-grid,
  .link-grid,
  .food-map-list,
  .cuts-list,
  fieldset {
    grid-template-columns: 1fr;
    display: grid;
  }

  .map-mock {
    min-height: 460px;
  }

  .swiss-map-shape {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .map-city {
    gap: 5px;
    min-height: 26px;
    transform: translate(-6.5px, -50%);
  }

  .map-city::before {
    flex-basis: 13px;
    width: 13px;
    height: 13px;
  }

  .map-city span {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .basel,
  .zurich {
    transform: translate(calc(-100% + 6.5px), -50%);
  }
}
