/* Hundestrand Haffkrug – static site for GitHub Pages. No build step: edit and push.
   Petrol from the round logo, sand and sea from the beach, one tennis-ball accent
   because the beach hut sells dog balls. Type: Fira Sans (Erik Spiekermann), the
   condensed cut echoes the lettering in the logo. */

@font-face {
  font-family: 'Fira Sans';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fira-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fira-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fira-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans Condensed';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fira-sans-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans Condensed';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fira-sans-condensed-700.woff2') format('woff2');
}

:root {
  --petrol: #245468;
  --petrol-deep: #16394a;
  --ink: #1c2e38;
  --muted: #566a74;
  --foam: #f3f8d6;
  --sand: #efe4cf;
  --sand-deep: #e2d1b0;
  --line: #d3e1e4;
  --ball: #d2ea3c;
  --ball-deep: #c0d82a;

  --font-text: 'Fira Sans', system-ui, sans-serif;
  --font-head: 'Fira Sans Condensed', 'Fira Sans', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1180px;
  --header-h: 68px;
  --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(--petrol);
  outline-offset: 3px;
}

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

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

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

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

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

.button svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.button--ball {
  background: var(--ball);
  color: var(--petrol-deep);
}

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

.button--dark {
  background: var(--petrol-deep);
  color: var(--ball);
}

.button--line {
  color: var(--petrol-deep);
  box-shadow: inset 0 0 0 1.5px #b5ccd2;
}

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

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

  .button--dark:hover {
    background: #0e2733;
  }

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

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

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

.heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--petrol-deep);
  text-wrap: balance;
}

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

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: '';
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%2316394a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 20px no-repeat,
    var(--ball);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: inset 0 -4px 0 var(--ball);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--petrol-deep);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

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

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

.site-nav a:not(.button) {
  font-weight: 500;
  font-size: 15px;
  color: var(--petrol-deep);
  text-decoration: none;
  text-underline-offset: 6px;
  white-space: nowrap;
}

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

.site-header .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
  white-space: nowrap;
}

.label-short {
  display: none;
}

@media (max-width: 520px) {
  .label-long {
    display: none;
  }

  .label-short {
    display: inline;
  }
}

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

@media (max-width: 420px) {
  .brand span {
    font-size: 17px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header .button {
    padding: 0 14px;
  }
}

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

.hero {
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: calc(100svh - var(--header-h));
  background: var(--ball);
  color: var(--petrol-deep);
}

.hero__text {
  position: relative;
  isolation: isolate;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%2316394a' stroke-opacity='0.12' stroke-width='1.2'%3E%3Cpath d='M-20 620c90-40 150 10 240-30s120-120 220-130 130 40 190 20'/%3E%3Cpath d='M-20 560c100-30 140 0 230-40s130-130 230-140 120 30 180 10'/%3E%3Cpath d='M-20 500c90-20 150-10 230-50s140-140 240-150 110 20 170 0'/%3E%3Cpath d='M-20 440c80-10 150-20 220-60s150-150 250-160 100 10 170-10'/%3E%3Cpath d='M-20 380c70 0 140-30 210-70s160-150 260-170 100 0 170-20'/%3E%3Cpath d='M-20 320c70 10 130-40 200-80s170-160 270-180 90-10 170-30'/%3E%3Cpath d='M-20 260c60 20 120-50 190-90s180-160 280-190 80-20 170-40'/%3E%3Cpath d='M-20 200c60 30 110-60 180-100s190-160 290-200'/%3E%3Cpath d='M-20 690c100-50 160 20 250-20s110-110 210-120 140 50 180 30'/%3E%3C/g%3E%3C/svg%3E")
      center / 100% 100% no-repeat,
    var(--ball);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.hero__kicker {
  display: block;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.3;
  color: var(--petrol);
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  container-type: inline-size;
}

/* Condensed capitals, like the lettering on the round logo. */
.hero__name {
  display: block;
  margin-top: 10px;
  /* "HUNDESTRAND" is ~6.1em wide: size it from the text column, so it never runs into the photo. */
  font-size: min(104px, 100cqi / 6.2);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 34ch;
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: rgba(22, 57, 74, 0.88);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__media {
  position: relative;
  min-height: 320px;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
}

/* Wavy seam between panel and photo: a petrol wave laid over the photo's edge. */
.hero__wave {
  position: absolute;
  z-index: 1;
  color: var(--ball);
  pointer-events: none;
}

.hero__wave--side {
  top: 0;
  left: -1px;
  width: clamp(28px, 3.4vw, 48px);
  height: 100%;
}

.hero__wave--bottom {
  display: none;
}

/* Round seal, after the customer's round logo, sitting on the seam. */
.hero__seal {
  position: absolute;
  z-index: 2;
  bottom: clamp(28px, 6vh, 64px);
  left: calc(clamp(128px, 12vw, 168px) / -2);
  width: clamp(128px, 12vw, 168px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(8, 28, 38, 0.35));
}

.hero__seal-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Faint paw trail walking towards the beach. */
.hero__paws {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(20px, 5vh, 48px);
  width: clamp(200px, 22vw, 320px);
  height: auto;
  fill: var(--petrol-deep);
  opacity: 0.13;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__lead,
  .hero__actions {
    animation: rise 700ms var(--ease-out) both;
  }

  .hero__seal {
    animation: seal-in 900ms var(--ease-out) 350ms both;
  }

  .hero__lead {
    animation-delay: 80ms;
  }

  .hero__actions {
    animation-delay: 160ms;
  }

  .hero__media img {
    animation: settle 1400ms var(--ease-out) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes seal-in {
  from {
    opacity: 0;
    transform: rotate(-35deg) scale(0.9);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}

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

  .hero__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero__text {
    padding: 72px var(--gutter) 56px;
  }

  .hero__wave--side {
    display: none;
  }

  .hero__wave--bottom {
    display: block;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 26px;
  }

  .hero__seal {
    left: auto;
    right: var(--gutter);
    bottom: -52px;
    width: 116px;
  }

  .hero__paws {
    display: none;
  }

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

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

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

.booking__head {
  max-width: 760px;
}

.booking__frame-wrap {
  margin-top: clamp(36px, 5vw, 56px);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 1px 0 var(--line),
    0 20px 48px -28px rgba(22, 57, 74, 0.35);
}

.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(--petrol);
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .booking__frame-wrap {
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    border-radius: 0;
  }
}

/* ---------- The dog beach ---------- */

.strand {
  background: var(--petrol-deep);
}

.strand .heading {
  color: #fff;
}

.strand .lead {
  color: rgba(255, 255, 255, 0.78);
}

.strand__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(32px, 4vw, 56px);
  margin: clamp(32px, 5vw, 56px) 0 0;
}

.strand__fact {
  padding: 24px 0 28px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.18);
}

.strand__fact dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ball);
}

.strand__fact dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

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

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

/* ---------- On the beach ---------- */

.beach__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(32px, 5vw, 56px);
}

.beach-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.beach-item h3 {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  color: var(--petrol-deep);
}

.beach-item p {
  max-width: 50ch;
  margin-top: 8px;
  color: var(--muted);
}

.beach__team {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--foam);
}

.beach__team img {
  width: 72px;
  height: 72px;
  flex: none;
}

.beach__team p {
  color: var(--ink);
}

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

  .beach__team {
    align-items: flex-start;
  }

  .beach__team img {
    width: 56px;
    height: 56px;
  }
}

/* ---------- Beach chairs for home ---------- */

.home {
  background: var(--sand);
}

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

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

.home .heading {
  color: var(--petrol-deep);
}

.home .lead {
  color: #5d5343;
}

.home__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1.5px solid var(--sand-deep);
}

.home__offers h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  color: var(--petrol-deep);
}

.home__offers p {
  margin-top: 8px;
  color: #5d5343;
}

.home__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(32px, 5vw, 48px);
}

.home__cta p {
  font-size: 15px;
  color: #6b5a3c;
}

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

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

.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-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--petrol-deep);
}

.directions__address small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
}

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

.directions__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.directions__links a {
  color: var(--petrol);
  text-underline-offset: 4px;
}

.directions__sunset {
  margin-top: 36px;
}

.directions__sunset img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: 20px;
  background: #dfe9ea;
}

.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(112deg, transparent 0 46%, rgba(255, 255, 255, 0.9) 46% 47.2%, transparent 47.2%),
    linear-gradient(32deg, transparent 0 63%, rgba(255, 255, 255, 0.85) 63% 63.9%, transparent 63.9%),
    linear-gradient(165deg, #c9e0e6 0 40%, var(--sand) 40% 100%);
  text-align: center;
}

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

.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 {
  background: var(--foam);
}

.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-head);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.3;
  color: var(--petrol-deep);
  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(--petrol);
  font-weight: 600;
  text-underline-offset: 3px;
}

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

.site-footer {
  padding: clamp(56px, 8vw, 88px) var(--gutter) 32px;
  background: var(--petrol-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  box-shadow: inset 0 8px 0 var(--ball);
}

.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: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.site-footer__brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
}

.site-footer__brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ball);
}

.site-footer__tagline {
  max-width: 32ch;
  margin-top: 16px;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ball);
}

.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;
}

.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.8);
  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 (content kept from the previous site) ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(72px, 10vw, 120px);
  overflow-wrap: break-word;
}

.legal h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  color: var(--petrol-deep);
  hyphens: auto;
}

.legal h2,
.legal h3,
.legal h4 {
  margin: 36px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--petrol-deep);
}

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

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