@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Nunito+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;

  /* Surfaces */
  --cream: #fcf8f5;
  --cream-2: #f6ede8;
  --card: #ffffff;
  --blush: #f9e7ee;
  --rose-soft: #f3d7e1;

  /* Ink */
  --ink: #2b2028;
  --ink-soft: #5d4b55;
  --muted: #93808a;

  /* Brand */
  --plum: #36202d;
  --rose: #c25d83;
  --rose-deep: #a8466b;
  --gold: #c39a55;

  /* Lines + shadow */
  --line: rgba(43, 32, 40, 0.10);
  --line-strong: rgba(43, 32, 40, 0.16);
  --shadow-sm: 0 2px 12px rgba(54, 32, 45, 0.06);
  --shadow: 0 22px 48px -22px rgba(54, 32, 45, 0.28);
  --shadow-lg: 0 36px 70px -28px rgba(54, 32, 45, 0.34);

  /* Geometry */
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --bar-h: 42px;

  /* Back-compat aliases (older rules / inline references) */
  --bg: var(--cream);
  --bg-2: var(--cream-2);
  --accent: var(--ink);
  --accent-2: var(--rose);
  --accent-3: var(--gold);
  --border: var(--line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rose);
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(40px, 5.2vw, 66px);
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Layout primitives ---------- */

.container {
  width: min(var(--maxw), 90vw);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

section,
header,
footer {
  scroll-margin-top: 88px;
}

.section.alt {
  background: var(--cream-2);
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Eyebrow: small uppercase gold label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
}

.eyebrow.center::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
}

/* Centered section header used across most sections */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.section-head h2 {
  margin: 0;
}

.section-head .muted {
  margin: 6px 0 0;
  font-size: 17px;
}

/* Small chip */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: var(--card);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn.primary {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  box-shadow: 0 14px 26px -10px rgba(194, 93, 131, 0.6);
}

.btn.primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -10px rgba(168, 70, 107, 0.65);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn.ghost:hover {
  background: var(--blush);
  border-color: var(--rose);
  color: var(--rose-deep);
  transform: translateY(-2px);
}

.btn.lg {
  padding: 16px 34px;
  font-size: 16px;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Responsive base ---------- */

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .btn { width: 100%; }
}
