@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --offwhite: #FEFDFB;
  --rose: #BF4066;
  --pink: #E48095;
  --ink: #111827;
  --muted: #5b6470;
  --line: #ece3e6;
  --card: #ffffff;
  --maxw: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

h1, h2, h3 { line-height: 1.2; overflow-wrap: break-word; }

a { color: inherit; }

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

/* Buttons */
.btn {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background .18s ease;
}
.btn:hover { background: #a63356; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
}
.header-nav { display: flex; gap: 22px; }
.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.header-nav a:hover { color: var(--rose); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
}
.hero-copy h1 .serif { font-style: italic; color: var(--rose); }
.lede { margin: 0 0 26px; font-size: 18px; color: var(--muted); max-width: 34em; }

.hero-media { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.media-frame {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(191, 64, 102, 0.4);
}
.media-video {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 576 / 1024;
  max-height: 500px;
}
.media-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.motion-toggle {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--rose); border-color: var(--pink); }

/* Strip */
.strip { padding: 20px 0 8px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.strip-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.strip-item h2 { margin: 0 0 6px; font-size: 17px; }
.strip-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* Section shared */
.section-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; }
.section-intro { margin: 0 0 28px; color: var(--muted); max-width: 60ch; }

.gallery { padding: 56px 0; }
.gallery.alt { background: #fbf4f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(17,24,39,.4); }
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
}
.card-label {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Features */
.features { padding: 56px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 16px; color: var(--rose); }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* Source-backed plans */
.plans { padding: 0 0 56px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan h3 { margin: 0 0 12px; font-size: 16px; color: var(--rose); }
.plan p { margin: 0; font-size: 14px; color: var(--muted); }
.plan .plan-price { margin: 0 0 10px; font-size: 24px; font-weight: 600; color: var(--ink); }
.plan-price span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.plans-note { margin: 18px 0 0; max-width: 80ch; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .plans { padding-bottom: 40px; }
  .plans-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* FAQ */
.faq { padding: 56px 0; background: #fbf4f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--rose); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* Closing */
.closing { padding: 60px 0; text-align: center; }
.closing-inner h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; }
.closing-inner p { margin: 0 0 22px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: var(--offwhite); }
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer-mark { text-decoration: none; font-size: 20px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--rose); }
.footer-note { margin: 0; font-size: 13px; color: var(--muted); width: 100%; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.legal .lead { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal p { color: #2c343f; margin: 0 0 14px; }
.legal a { color: var(--rose); }
.legal .back { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: none; color: var(--rose); }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
section[id] { scroll-margin-top: 90px; }
/* Responsive */
@media (max-width: 860px) {
  .media-video { max-width: 220px; max-height: 390px; }
  .card-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { min-width: 0; }
  .hero-media { order: 0; }
  .strip-grid { grid-template-columns: 1fr; }
  .btn { font-size: 14px; padding: 12px 18px; text-align: center; }
  .header-nav { gap: 14px; }
  .header-nav a { font-size: 13px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-label { font-size: 13px; }
  .hero { padding: 36px 0 28px; }
  .gallery, .features, .faq { padding: 40px 0; }
}

@media (max-width: 420px) {
  .header-nav { display: none; }
}

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

/* Regional text expansion and bounded keyboard navigation. */
.skip-link { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); z-index: 100; }
.skip-link:focus { position: fixed; width: auto; height: auto; overflow: visible; clip-path: none; background: #fff; padding: 12px; }
.footer-nav { flex-wrap: wrap; }
.header-inner > *, .hero-grid > *, .feature-grid > *, .strip-grid > * { min-width: 0; }
.header-nav { flex-wrap: wrap; }
p, .btn, .card-label, .footer-nav a, .brand-sub { overflow-wrap: anywhere; }
html[dir="rtl"] .faq summary::after { float: left; }
html[dir="rtl"] .plan-price { direction: ltr; text-align: right; }
html[dir="rtl"] .plan-price span { direction: rtl; }
