:root {
  --container: 1200px;
  --milk: #fffdf8;
  --cream: #fff8e8;
  --aqua: #b9ebf0;
  --aqua-light: #e7f9fa;
  --butter: #ffe978;
  --butter-light: #fff8c8;
  --ink: #294f5a;
  --ink-soft: #496a73;
  --white: #ffffff;
  --line: #8fd3da;
  --shadow: 0 20px 55px rgb(41 79 90 / 14%);
  --radius-large: 34px;
  --radius-medium: 22px;
  --section-wave: 62px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
}

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

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  background: var(--aqua);
}

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

.hero-picture img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgb(255 253 248 / 28%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: min(900px, 100svh);
  padding-block: 58px 110px;
}

.hero-card {
  width: min(780px, 100%);
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
  background: rgb(255 253 248 / 88%);
  border: 2px solid rgb(185 235 240 / 86%);
  border-radius: 48px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(650px, 96%);
  margin: 0 auto 34px;
  gap: 18px;
}

.hero-mark {
  flex: 0 0 auto;
  width: clamp(68px, 8vw, 92px);
  height: auto;
}

.hero-logo {
  width: min(500px, calc(100% - 110px));
  height: auto;
  margin: 0;
}

.eyebrow,
.section-kicker,
.mini-label {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 590px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgb(41 79 90 / 18%);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
}

.visual-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: .72rem;
}

.section {
  --section-bg: var(--milk);
  position: relative;
  margin-top: var(--section-wave);
  padding-block: clamp(82px, 10vw, 138px);
  background: var(--section-bg);
}

.section::before {
  content: "";
  position: absolute;
  top: calc(var(--section-wave) * -1);
  left: 0;
  width: 100%;
  height: calc(var(--section-wave) + 2px);
  background: var(--section-bg);
  -webkit-mask: url("../images/wave-mask.svg") no-repeat center bottom / 100% 100%;
  mask: url("../images/wave-mask.svg") no-repeat center bottom / 100% 100%;
}

.section-cream {
  --section-bg: var(--cream);
}

.section-aqua {
  --section-bg: var(--aqua-light);
}

.section-butter {
  --section-bg: var(--butter-light);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.section-heading > p:last-child,
.section-lead,
.rules-intro > p:last-child {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.copy-block h2 {
  max-width: 690px;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 36px 0 0;
}

.fact-list div {
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.fact-list dt {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.brand-figure {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.brand-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 23px;
}

.brand-figure figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 7px 12px;
  color: var(--white);
  background: rgb(41 79 90 / 88%);
  border-radius: 999px;
  font-size: .72rem;
}

.steps,
.price-grid,
.menu-grid,
.social-grid {
  display: grid;
  gap: 20px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  list-style: none;
}

.step-card,
.info-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: 0 14px 36px rgb(41 79 90 / 10%);
}

.step-card {
  padding-top: 82px;
}

.step-number {
  position: absolute;
  top: 24px;
  left: 30px;
  color: var(--line);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
}

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

.info-card {
  text-align: center;
}

.card-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--ink);
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 900;
}

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

.menu-card {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.menu-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.menu-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 20px;
}

.menu-card strong {
  font-size: 1.35rem;
}

.menu-card span {
  color: var(--ink-soft);
  font-size: .72rem;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 24px;
}

.map-wrap,
.access-panel {
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  border: 0;
}

.access-panel {
  padding: clamp(28px, 4vw, 48px);
}

.address-block {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.hours-block {
  padding-top: 34px;
}

address {
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
  font-style: normal;
  font-weight: 750;
}

.station-note,
.hours-note {
  color: var(--ink-soft);
  font-size: .9rem;
}

.text-link {
  display: inline-block;
  font-weight: 850;
  text-underline-offset: 4px;
}

.hours-list {
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 11px;
  border-bottom: 1px solid #d7eef0;
}

.hours-list dt {
  font-weight: 800;
}

.hours-list dd {
  margin: 0;
  text-align: right;
}

.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 8vw, 110px);
}

.rules-intro {
  position: sticky;
  top: 34px;
}

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  position: relative;
  margin-bottom: 14px;
  padding: 20px 22px 20px 58px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.rules-list li::before {
  content: "♡";
  position: absolute;
  top: 17px;
  left: 22px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

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

.social-grid a {
  display: grid;
  min-height: 205px;
  align-content: center;
  justify-items: center;
  padding: 28px 18px;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-medium);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-grid a:hover,
.social-grid a:focus-visible {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: var(--shadow);
}

.social-grid span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 900;
}

.social-grid strong {
  font-size: 1.1rem;
}

.social-grid small {
  color: var(--ink-soft);
}

.site-footer {
  padding-block: 42px;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.footer-inner p {
  margin: 0;
  font-size: .84rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid #145e70;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .split,
  .access-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .info-card {
    min-height: auto;
  }

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

  .map-wrap iframe {
    min-height: 470px;
  }

  .rules-intro {
    position: static;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --section-wave: 42px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  .hero-inner {
    min-height: clamp(670px, 166vw, 780px);
  }

  .hero-picture img {
    object-position: center 42%;
  }

  .hero-inner {
    padding-block: 26px 76px;
  }

  .hero-card {
    padding: 28px 20px;
    border-radius: 30px;
  }

  .hero-brand {
    width: 100%;
    margin-bottom: 26px;
    gap: 12px;
  }

  .hero-mark {
    width: 62px;
  }

  .hero-logo {
    width: min(250px, calc(100% - 74px));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-block: 74px;
  }

  .fact-list,
  .menu-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .brand-figure {
    transform: none;
  }

  .map-wrap iframe {
    min-height: 390px;
  }

  .access-panel {
    padding: 26px 20px;
  }

  .hours-list div {
    display: block;
  }

  .hours-list dd {
    text-align: left;
  }

  .rules-list li {
    padding-left: 50px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 22px;
  }
}

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

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