/* ── Flowers by Tavi ──────────────────────────────────────────── */

:root {
  --cream: #FDF8F2;
  --cream-card: #FFFDFB;
  --blush: #F7E4DF;
  --blush-light: #FBEDE8;
  --blush-deep: #EFCFC8;
  --rose: #C98B93;
  --rose-dark: #A96A74;
  --gold: #B99668;
  --ink: #43383A;
  --text: #75625E;
  --error: #B0524A;
  --line: #E7D3CD;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

ul { list-style: none; }

section[id] { scroll-margin-top: 90px; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); line-height: 1.15; }

.script { font-family: var(--font-script); font-weight: 400; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

::selection { background: var(--blush-deep); color: var(--ink); }

/* ── Announcement bar ─────────────────────────────────────────── */

.announcement {
  background: var(--rose);
  color: var(--cream);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.55em 1em;
}

/* ── Header / navigation ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(185, 150, 104, 0.18);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-sub {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--gold);
  margin-top: 0.05em;
}

.nav-menu { display: none; }

.nav-menu.open {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  padding: 0.9rem 0 0.4rem;
  gap: 0.15rem;
}

.nav-menu a {
  display: block;
  padding: 0.55em 0.2em;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}

.nav-menu a:hover { color: var(--rose-dark); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 760px) {
  .nav {
    flex-direction: column;
    padding: 1.1rem 1.25rem 0;
    gap: 0.35rem;
  }
  .brand { align-items: center; }
  .brand-name { font-size: 1.7rem; }
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    gap: 2.6rem;
    padding: 0.35rem 0 0;
  }
  .nav-menu a { padding: 0.55em 0; }
}

/* ── Buttons ──────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--rose);
  color: var(--cream);
  border: 1px solid var(--rose);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.4em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); }

.btn-outline {
  background: transparent;
  color: var(--rose-dark);
  border-color: var(--rose);
  padding: 0.85em 2em;
}

.btn-outline:hover { background: var(--rose); color: var(--cream); }

/* ── Scalloped edges ──────────────────────────────────────────── */

.scallop {
  height: 22px;
  background-repeat: repeat-x;
  background-size: 38px 22px;
}

.scallop-bottom {
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  background-image: radial-gradient(circle at 50% 0, var(--blush) 64%, transparent 65.5%);
}

.scallop-top {
  position: absolute;
  left: 0; right: 0;
  top: -22px;
  background-image: radial-gradient(circle at 50% 100%, var(--blush) 64%, transparent 65.5%);
}

/* ── Sections (shared) ────────────────────────────────────────── */

.section { padding: 4.5rem 1.25rem; }

.kicker {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-sub {
  text-align: center;
  max-width: 34rem;
  margin: -1.7rem auto 2.6rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blush-light), var(--blush));
  padding: 3.5rem 1.25rem 4rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.8rem;
  align-items: center;
}

.hero-text { text-align: center; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
}

.hero h1 .script {
  display: block;
  font-size: clamp(2.9rem, 6.5vw, 4.4rem);
  color: var(--gold);
  margin-top: 0.08em;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  max-width: 26rem;
  margin: 1.6rem auto 2.2rem;
  line-height: 2;
}

.hero-image {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.hero-image img {
  border-radius: 260px 260px 6px 6px;
  box-shadow: 0 24px 48px -24px rgba(169, 106, 116, 0.45);
}

@media (min-width: 820px) {
  .hero { padding: 5rem 1.25rem 5.5rem; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; }
  .hero-text { text-align: left; }
  .hero-tagline { margin-left: 0; }
}

/* ── Bouquets ─────────────────────────────────────────────────── */

.bouquets { padding-top: 5.5rem; }

.bouquet-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.2rem;
}

.bouquet-card { text-align: center; }

.bouquet-card img {
  border-radius: 4px;
  box-shadow: 0 14px 30px -18px rgba(169, 106, 116, 0.4);
}

.bouquet-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.1rem 0 0.15rem;
}

.bouquet-card .price {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

@media (min-width: 560px) {
  .bouquet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .bouquet-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Occasions ────────────────────────────────────────────────── */

.occasions {
  position: relative;
  background: var(--blush);
  margin-top: 3rem;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.occasion-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.occasion-tile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.7rem 0.5rem 1.25rem;
  background: var(--cream-card);
  border: 1px solid rgba(185, 150, 104, 0.28);
  border-radius: 999px 999px 10px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.occasion-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 26px -16px rgba(169, 106, 116, 0.5);
}

.occasion-tile svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.occasion-tile span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 640px) {
  .occasion-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .occasion-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ── Story ────────────────────────────────────────────────────── */

.story { padding-top: 6rem; padding-bottom: 5.5rem; }

.story-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.story-image {
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 40px -22px rgba(67, 56, 58, 0.35);
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.story .kicker { text-align: center; }

.story h2 { text-align: center; margin-bottom: 1.4rem; }

.story-text p:not(.kicker) { line-height: 1.9; max-width: 34rem; margin: 0 auto; text-align: center; }

@media (min-width: 820px) {
  .story-inner { grid-template-columns: 1fr 1.15fr; }
  .story .kicker, .story h2, .story-text p:not(.kicker) { text-align: left; margin-left: 0; }
}

/* ── Enquiry form ─────────────────────────────────────────────── */

.enquiry {
  position: relative;
  background: var(--blush);
  margin-top: 3rem;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

.enquiry-form, .form-success {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream-card);
  border: 1px solid rgba(185, 150, 104, 0.2);
  border-radius: 6px;
  padding: 2rem 1.4rem;
  box-shadow: 0 24px 50px -30px rgba(169, 106, 116, 0.5);
}

.form-row { display: grid; gap: 1.2rem; }

.field { margin-bottom: 1.2rem; }

.field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field .optional { color: var(--text); text-transform: none; letter-spacing: 0.04em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.75em 0.9em;
}

.field textarea { resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 0;
  border-color: var(--rose);
}

.field [aria-invalid="true"] { border-color: var(--error); }

.field-error {
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 0.4rem;
}

.enquiry-form .btn { width: 100%; }

.form-status {
  margin-top: 1.1rem;
  text-align: center;
  font-weight: 400;
  color: var(--ink);
}

.form-status.error { color: var(--error); }

.form-success { text-align: center; }

.form-success-flourish {
  font-size: 3rem;
  color: var(--rose);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

@media (min-width: 640px) {
  .enquiry-form, .form-success { padding: 2.8rem 3rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .enquiry-form .btn { width: auto; }
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--blush-deep);
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.trust-line li + li::before { content: "\00B7"; margin: 0 1.1rem; color: var(--gold); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.footer-contact a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(67, 56, 58, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover { color: var(--rose-dark); border-color: var(--rose-dark); }

.copyright { font-size: 0.78rem; opacity: 0.7; }

@media (min-width: 640px) {
  .footer-contact { flex-direction: row; justify-content: center; gap: 2.2rem; }
}

/* ── Motion preferences ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
