@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Flyer palette */
  --paper: #ffffff;
  --wave: #e6f6ff;
  --cream: #fff7d7;
  --sage: #e6efdb;
  --pink-flyer: #fc6da3;
  --navy: #2f4f72;
  --yarn: #2a63c9;
  /* Flyer hues deepened just enough to read on white and on the waves */
  --pink: #fb458a;      /* display text, ≥3:1 */
  --pink-deep: #c8105c; /* small text, ≥4.5:1 */
  --coral: #e65663;     /* display figures, ≥3:1 */
  --cyan: #0a9ab3;      /* large labels, ≥3:1 */
  --cyan-deep: #08798d; /* small labels, ≥4.5:1 */
  --cta: #d42a72;

  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --text: "Lexend", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --thread-lane: clamp(2.75rem, 6vw, 4.5rem);
  --measure: 38rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 350;
  overflow-x: clip;
}

::selection { background: var(--pink-flyer); color: #fff; }
:focus-visible {
  outline: 3px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

a { color: var(--pink-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--solid { fill: currentColor; stroke: none; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Page frame ---------- */

.page {
  position: relative;
  isolation: isolate;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("onde.svg") center top / max(1440px, 100%) auto repeat-y;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

/* Thread lane: content steps aside so the yarn never crosses text */
.laned { padding-left: var(--thread-lane); }

.thread {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.thread svg { width: 100%; height: 100%; overflow: visible; }
.thread .yarn { stroke: var(--yarn); stroke-width: 6; fill: none; stroke-linecap: round; }
.thread .ply  { stroke: #fff; stroke-width: 1.6; fill: none; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0.85; }

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.brand {
  display: grid;
  line-height: 1.2;
  color: var(--navy);
  text-decoration: none;
}
.brand strong { font-weight: 600; font-size: 1rem; color: var(--pink-deep); }
.brand span { font-size: 0.875rem; }
.top__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px -2px rgb(47 79 114 / 0.25);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.top__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgb(47 79 114 / 0.3); }
.top__cta .icon { color: #1fa855; }

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

.display {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  color: var(--pink);
  letter-spacing: -0.01em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "art" "close" "offer";
  align-items: start;
  padding-block: clamp(1rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.hero__title {
  grid-area: title;
  font-size: clamp(2.35rem, 1.2rem + 5.4vw, 5.6rem);
}
.hero__art {
  grid-area: art;
  margin: clamp(1rem, 3vw, 2rem) 0 0;
  position: relative;
}
.hero__art { margin-right: calc(-1 * var(--gutter)); }
.hero__art img { width: 100%; max-width: 40rem; margin-left: auto; }
.hero__close {
  grid-area: close;
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.75rem);
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
}

.offer {
  grid-area: offer;
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}
.offer__free {
  margin: 0;
  font-weight: 650;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pink-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.offer__day,
.offer__where {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.4rem);
  color: var(--cyan);
}
.offer__hours {
  margin: 0.1rem 0;
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.05;
  color: var(--coral);
  font-variant-numeric: lining-nums;
}
.offer__hours span { display: inline-block; white-space: nowrap; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-family: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgb(200 16 92 / 0.6);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.2s;
}
.btn:hover { background: #c41f66; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(200 16 92 / 0.65); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.4rem; height: 1.4rem; }
.btn { white-space: nowrap; }
.plaque__when span { white-space: nowrap; }

/* Very narrow phones: the thread lane and button padding give way before the content does */
@media (max-width: 22rem) {
  :root { --thread-lane: 1.75rem; }
  .btn, .plaque .btn { white-space: normal; text-align: center; font-size: 1.1rem; padding-inline: 1rem; }
  .plaque { padding-inline: 1rem; }
  .plaque__when span { white-space: normal; }
}

/* One quiet line under every booking button: what happens when you tap */
.reassure {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--navy);
  max-width: 36ch;
  text-wrap: balance;
}
.offer .reassure { margin-inline: auto; }
.step-cta {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  display: grid;
  justify-items: start;
}
.plaque__reassure { margin-top: -1rem; }

/* Mobile booking dock */
.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgb(255 255 255 / 0.96) 70%, rgb(255 255 255 / 0));
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.dock.is-shown { transform: none; }
.dock .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section__title {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  max-width: 18ch;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.lead {
  max-width: var(--measure);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
}

/* Steps: three knots along the thread */
.steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
  max-width: 44rem;
}
.step { position: relative; }
.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.15;
  color: var(--navy);
}
.step p { margin: 0; max-width: var(--measure); }
.step,
.section__title,
.plaque__title { position: relative; }
[data-knot] {
  position: absolute;
  left: calc(-1 * var(--thread-lane) / 2);
  top: 0.6em;
  width: 1px;
  height: 1px;
}
.step [data-knot] { top: 0.95rem; }

/* Reasons: one tangled sentence, read like spoken words */
.reasons {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  max-width: 46rem;
  font-family: var(--display);
  font-weight: 550;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.45;
  color: var(--navy);
}
.reasons li { display: inline; }
.reasons li + li::before {
  content: "\2022\00a0";
  color: var(--pink-flyer);
  font-weight: 900;
}
.reasons li.reasons__last {
  display: block;
  margin-top: 0.6em;
  font-weight: 800;
  color: var(--pink);
  text-wrap: balance;
}
.reasons li.reasons__last::before { content: none; }
.note {
  margin: 1.75rem 0 0;
  max-width: var(--measure);
}

/* About */
.about {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.about p { margin: 0 0 1rem; max-width: var(--measure); }
.facts {
  margin: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.5rem 1.6rem;
  background: var(--wave);
  border-radius: 28px 28px 28px 6px;
}
.facts div { display: grid; gap: 0.1rem; }
.facts dt { font-size: 0.95rem; font-weight: 600; color: var(--cyan-deep); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- Contact plaque (the flyer's footer) ---------- */

.contact { padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 10vw, 7rem); }
.dots {
  height: 4px;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  background-image: radial-gradient(circle, var(--pink-flyer) 1.6px, transparent 2px);
  background-size: 10px 4px;
  background-repeat: repeat-x;
}
.plaque {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
}
.plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("onde-salvia.svg") right bottom / 70% auto no-repeat, var(--cream);
  clip-path: polygon(6% 0, 94% 0, 100% 9%, 100% 91%, 94% 100%, 6% 100%, 0 91%, 0 9%);
}
.plaque__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.plaque__when {
  margin: 0.75rem 0 0;
  font-weight: 600;
  color: var(--cyan-deep);
  font-size: 1.1rem;
}
.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.channels a,
.channels address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--pink-deep);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.channels a:hover span { text-decoration: underline; text-decoration-thickness: 2px; }
.channels__plain { color: var(--navy); }
.channels .icon { margin-top: 0.2em; color: var(--navy); }
.channels small { display: block; font-weight: 400; font-size: 0.9rem; color: var(--navy); }
.plaque .btn { justify-self: stretch; padding-inline: 1rem; }

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

.foot {
  padding-block: 2rem 2.5rem;
  font-size: 0.875rem;
  border-top: 1px solid rgb(47 79 114 / 0.12);
  background: #fff;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.foot p { margin: 0; }

@media (max-width: 55.99rem) and (max-height: 760px) {
  .hero__art img { max-height: 36svh; width: auto; }
  .hero__close { margin-top: 0.5rem; }
  .offer { margin-top: 1.25rem; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "offer art"
      "offer close";
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  .hero__title { max-width: 15ch; }
  .hero__art { margin-top: -1.5rem; margin-right: 0; }
  .hero__close { text-align: right; margin-top: 0; }
  .offer {
    margin-top: clamp(3rem, 6vw, 5rem);
    text-align: left;
    justify-items: start;
    align-self: start;
  }
  .actions { justify-content: flex-start; }
  .offer__hours { font-size: clamp(2rem, 0.9rem + 2vw, 2.7rem); white-space: nowrap; }
  .hero__close { font-size: clamp(2.5rem, 0.8rem + 3.6vw, 4.25rem); white-space: nowrap; }

  .about { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }

  .plaque { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .plaque .btn { grid-column: 1; justify-self: start; padding-inline: 1.6rem; }
  .plaque__reassure { grid-column: 1; }
  .offer .reassure { margin-inline: 0; }
  .dock { display: none; }
}

/* ---------- Privacy page ---------- */

.legal { padding-block: clamp(2rem, 6vw, 4rem) clamp(4rem, 10vw, 6rem); }
.legal__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); margin-bottom: 0.5rem; }
.legal__meta { margin: 0 0 2.5rem; color: var(--cyan-deep); font-weight: 600; }
.legal article {
  max-width: 44rem;
  background: rgb(255 255 255 / 0.92);
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 12px 40px -24px rgb(47 79 114 / 0.35);
}
.legal h2 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  color: var(--pink-deep);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  line-height: 1.2;
  margin: 2.25rem 0 0.6rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: 0.35rem; }
.placeholder { background: var(--cream); padding: 0 0.3em; border-radius: 4px; font-weight: 600; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 404: the lost thread ---------- */

.lost {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-block: clamp(1rem, 4vw, 3rem) clamp(4rem, 10vw, 7rem);
}
.lost__yarn {
  width: clamp(13rem, 60vw, 19rem);
  height: auto;
  overflow: visible;
}
.lost__ball {
  transform-box: fill-box;
  transform-origin: center;
  animation: lost-roll 1.3s var(--ease-out) both;
}
.lost__tail {
  stroke-dasharray: 1 1;
  animation: lost-unwind 1.6s var(--ease-out) 0.9s both;
}
.lost__tail--ply { stroke-dasharray: 0.004 0.012; animation-name: lost-fade; }
@keyframes lost-roll {
  from { transform: translateX(-140px) rotate(-320deg); }
  to { transform: none; }
}
@keyframes lost-unwind {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes lost-fade {
  from { opacity: 0; }
  to { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .lost__ball, .lost__tail { animation: none; }
}
.lost__title { font-size: clamp(2.3rem, 1.3rem + 4.5vw, 4.5rem); margin: -0.5rem 0 0.75rem; }
.page--full { min-height: 100svh; }
.lost .lead { margin-inline: auto; }
.lost__echo {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  color: var(--cyan-deep);
  text-wrap: balance;
}
.lost__actions { justify-content: center; }

@media (min-width: 56rem) {
  .lost {
    grid-template-columns: auto minmax(0, 34rem);
    justify-content: center;
    align-items: center;
    text-align: left;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .lost .lead { margin-inline: 0; }
  .lost__actions { justify-content: flex-start; }
  .lost__yarn { width: 22rem; }
}
