:root {
  --cream: #faf3e7;
  --cream-2: #f2e6d3;
  --ink: #2c261f;
  --forest: #33452f;
  --forest-2: #23301f;
  --sage: #8fa583;
  --sage-light: #cddac2;
  --terracotta: #c56a4b;
  --terracotta-dark: #a8532f;
  --blush: #f0d3bd;
  --line: rgba(44, 38, 31, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", Georgia, serif;
  --font-script: "Caveat", cursive;

  --radius: 18px;
  --shadow-soft: 0 20px 45px rgba(44, 38, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

section[id] { scroll-margin-top: 96px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--forest-2);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Floating petal decoration ---------- */
.petal-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 26px;
  height: auto;
  opacity: 0.3;
  animation: drift 24s linear infinite;
}

.p1 { top: -10%; left: 8%;  width: 22px; color: var(--terracotta); animation-duration: 26s; animation-delay: 0s; }
.p2 { top: -10%; left: 30%; width: 34px; color: var(--sage); animation-duration: 32s; animation-delay: -6s; }
.p3 { top: -10%; left: 56%; width: 28px; color: var(--blush); animation-duration: 24s; animation-delay: -12s; }
.p4 { top: -10%; left: 76%; width: 20px; color: var(--terracotta); animation-duration: 30s; animation-delay: -3s; }
.p5 { top: -10%; left: 90%; width: 30px; color: var(--sage-light); animation-duration: 28s; animation-delay: -18s; }
.p6 { top: -10%; left: 44%; width: 18px; color: var(--blush); animation-duration: 22s; animation-delay: -9s; }

@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-24px, 60vh) rotate(180deg); }
  100% { transform: translate(12px, 120vh) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; opacity: 0.12; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 243, 231, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo-mark {
  color: var(--terracotta);
  width: 22px;
  height: 22px;
}

.logo-mark-center { fill: var(--cream); }

.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--forest-2);
  transform: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active { transform: translateY(0); }

.btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 12px 24px rgba(197, 106, 75, 0.35);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(197, 106, 75, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 26px;
  color: var(--forest-2);
  font-weight: 500;
}

.hero h1 .script {
  font-family: var(--font-script);
  font-size: 1.25em;
  color: var(--terracotta);
  font-weight: 600;
}

.hero-copy {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(44, 38, 31, 0.78);
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-2);
  background: var(--sage-light);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-art {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  z-index: 1;
  opacity: 0.9;
}

.hero-tag {
  position: absolute;
  top: 6%;
  left: 2%;
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--cream);
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-6deg);
  z-index: 3;
}

.bloom { width: 100%; height: 100%; animation: sway 9s ease-in-out infinite; transform-origin: center; }

@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.bloom-ring { fill: none; stroke: var(--sage-light); stroke-width: 1.5; stroke-dasharray: 4 10; }
.bloom-petals ellipse { fill: var(--blush); opacity: 0.8; }
.bloom-center { fill: var(--terracotta); }

@media (prefers-reduced-motion: reduce) {
  .bloom { animation: none; }
}

/* ---------- Reveal-on-scroll (progressive enhancement, JS-gated) ---------- */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  z-index: 1;
  background: var(--forest-2);
  color: var(--cream);
  padding: 100px 0;
  border-radius: 48px 48px 0 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact .eyebrow { color: var(--blush); }

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sprig {
  width: 40px;
  height: auto;
  color: var(--sage-light);
  flex-shrink: 0;
}

.contact-copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250, 243, 231, 0.78);
  margin: 0 0 36px;
  max-width: 460px;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(250, 243, 231, 0.15);
  font-size: 1.05rem;
}

.contact-details a {
  text-decoration: none;
  color: var(--cream);
  font-weight: 500;
}

.contact-details a:hover { color: var(--blush); }

.detail-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--sage-light);
  font-weight: 600;
}

.detail-link {
  font-size: 0.9rem;
  color: var(--blush) !important;
  margin-top: 2px;
}

.contact-form {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 20px;
  transition: box-shadow 0.3s ease;
}

.contact-form:focus-within {
  box-shadow: 0 26px 55px rgba(44, 38, 31, 0.2);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-2);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--terracotta);
}

.field-error {
  display: block;
  min-height: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta-dark);
}

.form-note {
  min-height: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0;
}

.form-note.error { color: var(--terracotta-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-2);
  color: rgba(250, 243, 231, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 40px;
  font-size: 0.88rem;
}

.footer-mark { color: var(--terracotta); width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-art { right: -140px; width: 420px; height: 420px; opacity: 0.6; }
}

@media (max-width: 860px) {
  .hero-art { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact { border-radius: 32px 32px 0 0; padding: 72px 0; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .contact-form { padding: 26px; }
  .contact h2 { flex-wrap: wrap; }
}