/* Dünenkate – static site for GitHub Pages. No build step: edit and push.
   Palette taken from the place itself: the blue gable of the Kate, the navy number plates
   on the beach chairs and the blue drinks board at the kiosk. */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/jost.woff2') format('woff2');
}

:root {
  --kate-blue: #1f59a8;
  --kate-blue-deep: #174a8f;
  --navy: #0e2542;
  --ink: #1d2b3c;
  --muted: #56647a;
  --sky: #eaf2fa;
  --line: #d6e1ec;
  --signal: #e1382b;

  /* Jost: an open revival of Futura, the typeface of German travel and seaside posters. */
  --font-display: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --font-text: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
}

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

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--kate-blue);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Shared pieces ---------- */

.wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.wordmark b {
  font-weight: 700;
}

.wordmark span {
  font-weight: 400;
}

/* The navy number plate every beach chair carries – reused for prices and step numbers. */
.plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  padding: 0.28em 0.55em 0.3em;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.plate--signal {
  background: var(--signal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font: 600 16px/1.1 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button--light {
  background: #fff;
  color: var(--navy);
}

.button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75);
}

.button--blue {
  background: var(--kate-blue);
  color: #fff;
}

.button--line {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px #b9c9da;
}

@media (hover: hover) and (pointer: fine) {
  .button--light:hover {
    background: var(--sky);
  }

  .button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .button--blue:hover {
    background: var(--kate-blue-deep);
  }

  .button--line:hover {
    box-shadow: inset 0 0 0 1.5px var(--kate-blue);
  }
}

.section {
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy);
  text-wrap: balance;
}

.lead {
  max-width: 56ch;
  margin-top: 16px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  color: #fff;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.site-header[data-solid] {
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__brand {
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 26px;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.button) {
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  text-underline-offset: 6px;
}

.site-nav a:not(.button):hover {
  text-decoration: underline;
}

.site-header .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.site-header:not([data-solid]) .button--blue {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 960px) {
  .site-nav ul {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(32px, 6vh, 64px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(8, 24, 44, 0.42) 0%, rgba(8, 24, 44, 0) 22%),
    linear-gradient(
      to top,
      rgba(8, 24, 44, 0.8) 0%,
      rgba(8, 24, 44, 0.55) 36%,
      rgba(8, 24, 44, 0.28) 58%,
      rgba(8, 24, 44, 0) 76%
    );
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 3vh, 32px);
  padding: 6px 16px 6px 6px;
  border-radius: 10px;
  background: rgba(14, 37, 66, 0.62);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.hero__badge .plate {
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .hero__badge:hover {
    background: rgba(14, 37, 66, 0.8);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
}

.hero__kicker,
.hero__lead {
  text-shadow: 0 1px 14px rgba(8, 24, 44, 0.45);
}

.hero__kicker {
  display: block;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* "Dünenkate" spans the full content width; the divisor is the measured width of the
   word in em, so it never wraps or overflows. */
.hero__wordmark {
  display: block;
  margin-top: 0.04em;
  font-size: calc(min(100vw - 2 * var(--gutter), var(--max)) / 4.32);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 36ch;
  margin-top: clamp(16px, 2.4vh, 24px);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.2vh, 32px);
}

@media (max-width: 640px) {
  .hero__media img {
    object-position: 62% 50%;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }
}

/* One orchestrated moment on load: the photo settles, the name rises out of the sand. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    animation: hero-settle 1800ms var(--ease-out) both;
  }

  .hero__wordmark {
    animation: hero-rise 1100ms var(--ease-out) 120ms both;
  }

  .hero__kicker,
  .hero__badge,
  .hero__lead,
  .hero__actions {
    animation: hero-fade 700ms var(--ease-out) both;
  }

  .hero__kicker {
    animation-delay: 60ms;
  }

  .hero__badge {
    animation-delay: 380ms;
  }

  .hero__lead {
    animation-delay: 460ms;
  }

  .hero__actions {
    animation-delay: 540ms;
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.06);
  }
}

@keyframes hero-rise {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.18em);
  }
  to {
    clip-path: inset(-0.1em -0.1em -0.2em -0.1em);
    transform: none;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- Quick facts ---------- */

.facts {
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
}

.facts__item {
  padding: 26px 24px 26px 0;
}

.facts__item + .facts__item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.facts dt {
  font-size: 14px;
  color: var(--muted);
}

.facts dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
}

@media (max-width: 760px) {
  .facts__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts__item {
    padding: 18px 0;
  }

  .facts__item + .facts__item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Booking ---------- */

.booking {
  background: var(--sky);
}

.booking__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 64px;
  align-items: end;
}

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

.steps li {
  display: grid;
  gap: 8px;
  align-content: start;
}

.steps .plate {
  justify-self: start;
  min-width: 34px;
  font-size: 17px;
}

.steps h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy);
}

.steps p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.booking__frame-wrap {
  margin-top: clamp(32px, 5vw, 56px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 1px 0 var(--line),
    0 18px 48px -24px rgba(14, 37, 66, 0.25);
}

.booking__frame {
  display: block;
  width: 100%;
  height: 800px;
  border: 0;
}

.booking__fallback {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.booking__fallback a {
  color: var(--kate-blue);
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .booking__head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .steps li {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 2px;
  }

  .steps .plate {
    grid-row: span 2;
  }

  .booking__frame-wrap {
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    border-radius: 0;
  }

  .booking__fallback {
    text-align: center;
  }
}

/* ---------- Schlafstrandkorb ---------- */

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.feature__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.feature__text {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.feature__new {
  margin-bottom: 18px;
  font-size: 15px;
}

.feature__list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.feature__list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
}

.feature__list dd {
  margin-top: 2px;
  color: var(--muted);
}

.feature__text .button {
  margin-top: 32px;
}

.feature__aside {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

.feature__aside img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.feature__aside p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 860px) {
  .feature__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature__text {
    position: static;
  }

  .feature__photo img {
    aspect-ratio: 4 / 4.4;
  }
}

/* ---------- Offer ---------- */

.offer {
  padding-top: 0;
}

.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 3vw, 40px);
  margin-top: clamp(32px, 5vw, 56px);
}

.offer__side {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  align-content: start;
}

.offer-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.offer-item--tall img {
  aspect-ratio: 4 / 5.2;
}

.offer-item--wide img {
  aspect-ratio: 16 / 9;
}

.offer-item h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.offer-item p {
  max-width: 52ch;
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .offer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-item--tall img {
    aspect-ratio: 4 / 3;
    object-position: 50% 30%;
  }
}

/* ---------- Prices: the blue drinks board of the Kate ---------- */

.prices {
  background: var(--kate-blue);
  color: #fff;
}

.prices .heading {
  color: #fff;
}

.prices .lead {
  color: rgba(255, 255, 255, 0.84);
}

.prices__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(40px, 7vw, 104px);
  margin-top: clamp(36px, 5vw, 56px);
}

.prices__group h3 {
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.price-list {
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.price-list__name {
  font-weight: 500;
  line-height: 1.35;
}

.price-list__name small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.74);
}

/* Dotted leader between name and price, like on a menu board. */
.price-list li::after {
  content: '';
  order: 1;
  flex: 1 1 auto;
  min-width: 16px;
  height: 4px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1.5px);
  background-size: 7px 4px;
  background-repeat: repeat-x;
}

.price-list .plate {
  order: 2;
  min-width: 4.3em;
  font-size: 17px;
}

.price-list__note {
  order: 2;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .prices__board {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Partners ---------- */

.partners {
  padding: clamp(44px, 6vw, 64px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.partners__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.partners h2 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
}

.partners ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(32px, 5vw, 64px);
  padding: 0;
  list-style: none;
}

.partners img {
  width: auto;
  height: var(--logo-height, 32px);
  opacity: 0.85;
}

@media (max-width: 520px) {
  .partners ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
  }

  .partners img {
    height: calc(var(--logo-height, 32px) * 0.8);
  }
}

/* ---------- Directions ---------- */

.directions {
  background: var(--sky);
}

.directions__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.directions__address {
  margin-top: 28px;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
  color: var(--navy);
}

.directions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hours {
  margin-top: 40px;
}

.hours h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
}

.hours dl {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

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

.hours__row dt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours__row dd {
  font-variant-numeric: tabular-nums;
}

.hours__row.is-today {
  font-weight: 600;
  color: var(--navy);
}

.hours__today {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--kate-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe9ee;
}

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

.map__consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(255, 255, 255, 0.9) 44% 45.2%, transparent 45.2%),
    linear-gradient(28deg, transparent 0 61%, rgba(255, 255, 255, 0.9) 61% 61.9%, transparent 61.9%),
    linear-gradient(172deg, transparent 0 72%, rgba(255, 255, 255, 0.7) 72% 72.7%, transparent 72.7%),
    linear-gradient(160deg, #cfe2ec 0 36%, #edf1e6 36% 100%);
  text-align: center;
}

.map__pin {
  width: 32px;
  height: 42px;
  color: var(--signal);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}

.map__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.map__consent p {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 860px) {
  .directions__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .map {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- FAQ ---------- */

.faq__list {
  max-width: 860px;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.3;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}

.faq__item[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.faq__answer {
  max-width: 64ch;
  padding-bottom: 24px;
  color: var(--muted);
}

.faq__answer a {
  color: var(--kate-blue);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(56px, 8vw, 88px) var(--gutter) 32px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 36px 40px;
}

.site-footer__brand {
  display: inline-block;
  color: #fff;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  text-decoration: none;
}

.site-footer__tagline {
  max-width: 30ch;
  margin-top: 12px;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.site-footer address {
  font-style: normal;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

/* Legal pages only carry the bottom row. */
.site-footer__inner > .site-footer__bottom:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.site-footer__legal {
  display: flex;
  gap: 24px;
}

.site-footer .site-footer__legal li + li {
  margin-top: 0;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

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

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) var(--gutter) clamp(72px, 10vw, 120px);
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal h2 {
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}

.legal h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}

.legal p,
.legal ul,
.legal address {
  margin-top: 12px;
  line-height: 1.65;
}

.legal__intro {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
}

.legal address {
  font-style: normal;
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--kate-blue);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal__updated {
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
}
