/* Romantics Only — Flowers · Objects · Rituals */

@font-face {
  font-family: "BodoniFLF";
  src: url("../fonts/BodoniflfRoman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BodoniFLF";
  src: url("../fonts/BodoniflfItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "BodoniFLF";
  src: url("../fonts/BodoniflfBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fdfcf7;
  --cream-deep: #f7f3ea;
  --mauve: #a985b5;
  --mauve-deep: #8a6699;
  --sun-soft: #ebe1ee;
  --line: #e2d6e6;
  --ink: #6e5878;

  --logo: "Lora", Georgia, serif;
  --serif: "BodoniFLF", "Bodoni 72", "Didot", "Bodoni MT", Georgia, serif;

  --wrap: 1080px;
  --gutter: clamp(16px, 5vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--mauve-deep); text-underline-offset: 3px; }
p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Sun (one SVG, recoloured through a mask) ---------- */
.sun {
  display: block;
  background-color: var(--mauve);
  -webkit-mask: url("../img/sun.svg") center / contain no-repeat;
          mask: url("../img/sun.svg") center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  padding: 28px 0 18px;
  text-align: center;
}
.logo {
  display: inline-block;
  text-decoration: none;
  color: var(--mauve);
}
.logo-name {
  display: block;
  font-family: var(--logo);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo-tag {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  word-spacing: 0.6em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 32px;
  margin: 22px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.nav a {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mauve);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--mauve); }

/* ---------- Hero with watermark sun (the flyer) ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 62vh, 560px);
  padding: 40px var(--gutter);
  text-align: center;
  overflow: hidden;
}
.hero .sun {
  position: absolute;
  width: min(440px, 100vw);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--sun-soft);
}
.hero-text { position: relative; }
.hero h1 {
  margin: 0;
  font-family: var(--logo);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--mauve);
  text-wrap: balance;
}
.hero p {
  margin: 18px auto 0;
  max-width: 40ch;
  font-style: italic;
  font-size: 1.25rem;
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--cream-deep); }

.kicker {
  margin: 0 0 6px;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--mauve);
  text-align: center;
}
h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mauve);
  text-align: center;
  text-wrap: balance;
}
h3 {
  margin: 0 0 10px;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mauve);
}
.lead {
  max-width: 40em;
  margin: 0 auto 40px;
  text-align: center;
}

.divider {
  width: 54px;
  aspect-ratio: 1;
  margin: 0 auto 26px;
}

/* ---------- Form: stuur een bloemschap ---------- */
.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
}
.field { margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-zip { grid-template-columns: 9rem 1fr; }

label {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
label .opt { font-style: italic; opacity: 0.75; }

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mauve) 50%),
                    linear-gradient(135deg, var(--mauve) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--mauve);
  box-shadow: 0 0 0 3px rgba(169, 133, 181, 0.18);
}
textarea { resize: vertical; min-height: 150px; }
.count { display: block; margin-top: 4px; font-size: 0.9rem; font-style: italic; text-align: right; }

.distance-note {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--mauve-deep);
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}
.distance-note.is-visible { max-height: 3em; margin: 2px 0 6px; opacity: 1; }
.distance-note::before { content: "\2600\FE0E  "; color: var(--mauve); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--mauve);
  border: 1px solid var(--mauve);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--mauve-deep); border-color: var(--mauve-deep); }
.btn-ghost { color: var(--mauve); background: transparent; }
.btn-ghost:hover { color: var(--cream); }

/* the card that goes with the bouquet */
.card-preview {
  position: sticky;
  top: 24px;
}
.card {
  position: relative;
  aspect-ratio: 5 / 7;
  padding: 14% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(110, 88, 120, 0.45);
  overflow: hidden;
  text-align: center;
}
.card .sun {
  position: absolute;
  inset: 8%;
  background-color: var(--sun-soft);
  opacity: 0.8;
}
.card-message {
  position: relative;
  margin: 0;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--mauve-deep);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.card-message.is-empty { opacity: 0.55; }
.card-name {
  position: relative;
  margin: 14px 0 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mauve-deep);
}
.card-name:empty { display: none; }
.card-name::before { content: "\2014\00A0"; }
.card-sign {
  position: absolute;
  left: 0; right: 0; bottom: 6%;
  font-family: var(--logo);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve);
}
.card-caption { margin-top: 12px; font-size: 0.95rem; font-style: italic; text-align: center; }

.notice {
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid var(--mauve);
  background: #fff;
  text-align: center;
}
.notice-error { border-color: #b86a7d; color: #8f4659; }

/* ---------- Subscriptions ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: center;
}
.plan-featured { border-color: var(--mauve); }
.plan .sun { width: 46px; aspect-ratio: 1; margin: 0 auto 18px; }
.plan-rhythm {
  margin: 0 0 16px;
  font-style: italic;
  color: var(--mauve);
}
.plan p:last-of-type { flex: 1; }
.plan .btn { align-self: center; margin-top: 10px; }

/* ---------- Subscription page ---------- */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  text-align: center;
}
.promises-4 { grid-template-columns: repeat(4, 1fr); gap: 24px 28px; }
.promise h3 { font-size: 1.1rem; letter-spacing: 0.05em; text-wrap: balance; }
.promise p { margin: 0; }

.form-narrow { max-width: 640px; margin: 0 auto; }

.choices { display: grid; gap: 12px; margin-bottom: 14px; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choice { margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: block;
  height: 100%;
  padding: 16px 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.choice strong {
  display: block;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mauve);
}
.choice em { display: block; margin-bottom: 6px; color: var(--mauve); }
.choice-small span { padding: 11px 14px; }
.choice:hover span { border-color: var(--mauve-soft, #c9b2d1); }
.choice input:checked + span {
  border-color: var(--mauve);
  box-shadow: inset 0 0 0 1px var(--mauve);
}
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(169, 133, 181, 0.25); }

/* ---------- Text + photo blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.split h2, .split .kicker { text-align: left; }
.split-reverse > :first-child { order: 2; }

.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}
.photo-wide { aspect-ratio: 16 / 10; }

.facts {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts li { margin-bottom: 6px; }
.facts strong {
  display: inline-block;
  min-width: 7.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--mauve);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-2 { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
.gallery-spaced { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Thank-you page ---------- */
.hero-short { min-height: clamp(300px, 46vh, 420px); }
.hero-short .sun { width: min(360px, 90vw); }

.summary {
  display: grid;
  grid-template-columns: 11rem 1fr;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
}
.summary dt, .summary dd {
  margin: 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.summary dt { font-style: italic; color: var(--mauve); }
.summary dt:last-of-type, .summary dd:last-of-type { border-bottom: 0; }
.summary-actions { margin: 32px 0 0; text-align: center; }

@media (max-width: 520px) {
  .summary { grid-template-columns: 1fr; }
  .summary dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Events ---------- */
.occasions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.occasions li {
  padding: 7px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}
.split .occasions { justify-content: flex-start; margin-top: 22px; }

.cta {
  max-width: 40em;
  margin: 0 auto;
  text-align: center;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.days {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 5vw, 48px);
  margin: 10px 0 32px;
}
.day {
  width: 10rem;
  padding: 26px 10px;
  border: 1px solid var(--mauve);
  text-align: center;
}
.day span {
  display: block;
  font-family: var(--logo);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--mauve);
}
.day em { font-size: 1rem; }

/* ---------- Footer (like the flyer's bottom block) ---------- */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 1rem;
  color: var(--mauve);
}
.site-footer .sun { width: 40px; aspect-ratio: 1; margin: 0 auto 18px; }
.site-footer p { margin: 0 0 4px; letter-spacing: 0.03em; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { margin-top: 18px; font-size: 0.85rem; opacity: 0.8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .order { grid-template-columns: 1fr; }
  .card-preview { position: static; max-width: 340px; margin: 0 auto; order: -1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .promises { grid-template-columns: 1fr 1fr; max-width: 560px; margin: 0 auto; }
  .choices-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .split h2, .split .kicker { text-align: center; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .row-zip { grid-template-columns: 7rem 1fr; gap: 14px; }
  .nav { gap: 6px 20px; }
  .nav a { font-size: 0.85rem; letter-spacing: 0.12em; }
  .day { width: 8.5rem; }
}
