:root {
  --ink: #14181f;
  --muted: #5d6b7c;
  --line: #e4eaf1;
  --paper: #f6f4ef;
  --card: #ffffff;
  --blue: #1aa3ea;
  --blue-deep: #0878b8;
  --orange: #ff7a1a;
  --orange-deep: #e25f00;
  --black: #000000;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--black);
  color: #fff;
}
.site-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 46%, var(--orange) 46% 100%);
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 46px; width: auto; }
.head-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.lang button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  min-width: 36px;
  min-height: 32px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.lang button[aria-pressed="true"] { background: #fff; color: #000; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 13px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.head-cta { min-height: 40px; }

.hero {
  display: grid;
  gap: 22px;
  padding: 28px 16px 8px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; }
h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.4rem);
  line-height: 0.98;
  max-width: 12ch;
}
.lead { margin: 0 0 18px; max-width: 38rem; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.stat {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}

.hero-photos {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 0 16px 8px;
  scrollbar-width: none;
}
.hero-photos::-webkit-scrollbar { display: none; }
.hero-photos a {
  position: relative;
  flex: none;
  width: min(78vw, 320px);
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
}
.hero-photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  background: #e7e1d8;
}
.hero-photos span {
  position: absolute;
  left: 12px;
  top: 12px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.steps, .partners { padding: 28px 16px; }
.steps h2, .partners h2, .band h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.05; }
.section-intro { margin: 0 0 16px; color: var(--muted); max-width: 36rem; line-height: 1.45; }

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.step-no {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--orange-deep);
}
.step-list h3 { margin: 0 0 4px; font-size: 1.2rem; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.4; }

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.section-row h2 { margin: 0; }
.section-row a { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }

.towns {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px 14px;
  padding: 0 16px 4px;
  scrollbar-width: none;
}
.towns::-webkit-scrollbar { display: none; }
.towns button {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  font-weight: 700;
}
.towns button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }

.partner-grid { display: grid; gap: 10px; }
.partner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
}
.partner:hover { border-color: #c5d5e4; }
.logo-slot {
  width: 86px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.logo-slot img { width: 100%; height: 100%; object-fit: contain; }
.monogram { font-family: var(--display); font-size: 1.2rem; color: var(--blue-deep); }
.partner strong, .partner em { display: block; }
.partner strong { font-size: 1rem; }
.partner em { margin-top: 2px; font-style: normal; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.partner small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}
.status { margin: 0; color: var(--muted); }

.band-wrap { padding: 8px 16px 28px; }
.band {
  padding: 22px 18px;
  border-radius: 28px;
  background: #000;
  color: #fff;
}
.band p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.76); line-height: 1.45; max-width: 38rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.direct { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; font-weight: 700; }
.direct a { color: #fff; }

.site-foot {
  padding: 8px 16px calc(22px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 13px;
}
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: var(--ink); font-weight: 700; }

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 36px;
    padding: 48px 40px 12px;
    max-width: 1120px;
    margin: 0 auto;
  }
  .hero-photos {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 168px 168px;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .hero-photos a { width: auto; height: 100%; }
  .hero-photos a:first-child { grid-row: 1 / span 2; min-height: 348px; }
  .hero-photos img { height: 100%; border-radius: 24px; }
  .steps, .partners, .band-wrap, .site-foot {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-list li { grid-template-columns: 1fr; min-height: 100%; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .site-head {
    padding-left: max(40px, calc((100% - 1120px) / 2 + 40px));
    padding-right: max(40px, calc((100% - 1120px) / 2 + 40px));
  }
  .towns { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

@media (min-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 380px) {
  .brand img { height: 40px; }
  .head-cta { padding: 0 10px; font-size: 14px; }
}
