/* ============================================================
   BASE — design tokens, reset, typography, layout primitives
   ============================================================ */

:root{
  /* palette */
  --bg:              #e9f3ee;
  --bg-deep:         #dfeee7;
  --grid:            rgba(18, 92, 80, .075);
  --surface:         #ffffff;
  --ink:             #12343b;
  --ink-soft:        #5c8b8c;
  --teal:            #0f6b5f;
  --teal-deep:       #0b5449;
  --teal-soft:       #a8cfc3;
  --mint:            #bfe0d6;
  --coral:           #ef6f4a;
  --amber:           #f2a25c;
  --purple:          #6d5df6;
  --purple-ink:      #8b7cff;
  --night:           #111315;

  /* type */
  --font-serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-sans:  "Quicksand", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-hand:  "Caveat", "Segoe Script", "Bradley Hand", cursive;

  /* space & shape */
  --wrap: 640px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 14px rgba(16, 71, 63, .07);
  --shadow-md: 0 10px 30px rgba(16, 71, 63, .10);
  --shadow-lg: 0 22px 50px rgba(16, 71, 63, .14);
  --ease: cubic-bezier(.22,.9,.28,1);
  --bar-h: 44px;
  --appbar-h: 58px;
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body,h1,h2,h3,h4,p,figure,ul,ol{ margin:0; }
ul,ol{ padding:0; list-style:none; }
img,svg{ display:block; max-width:100%; height:auto; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ color:inherit; text-decoration:none; }
:focus-visible{ outline:3px solid var(--coral); outline-offset:3px; border-radius:6px; }

body{
  font-family:var(--font-sans);
  font-weight:500;
  color:var(--ink);
  background-color:var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(120% 80% at 50% 0%, #f2f9f5 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  background-attachment: scroll, scroll, fixed;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x:hidden;
}
body[data-locked]{ overflow:hidden; height:100dvh; }

.skip-link{
  position:fixed; left:8px; top:-70px; z-index:200;
  background:var(--teal); color:#fff; padding:10px 16px; border-radius:10px;
  transition:top .2s var(--ease);
}
.skip-link:focus{ top:8px; }

/* ---------- layout ---------- */
.wrap{ width:min(100% - 32px, var(--wrap)); margin-inline:auto; }
.section{ padding:clamp(48px,9vw,86px) 0; }
.center{ text-align:center; }

/* ---------- typography ---------- */
.display{
  font-family:var(--font-serif);
  font-weight:800;
  font-size:clamp(2.1rem, 8.4vw, 3.4rem);
  line-height:1.08;
  letter-spacing:-.015em;
  text-align:center;
  color:var(--ink);
  text-wrap:balance;
}
.display--sm{ font-size:clamp(1.85rem, 7vw, 2.6rem); }

.eyebrow{
  text-align:center;
  color:var(--coral);
  font-weight:700;
  font-size:clamp(.72rem,3vw,.82rem);
  letter-spacing:.26em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.eyebrow span{ margin-right:6px; }

.script{
  font-family:var(--font-hand);
  font-size:clamp(1.25rem,5vw,1.5rem);
  line-height:1.6;
  text-align:center;
  color:var(--teal);
}
.script--xl{ font-size:clamp(1.9rem,7vw,2.3rem); font-weight:700; color:var(--ink); margin-bottom:6px; }
.script--teal{ color:var(--teal); font-weight:600; }
.script--sub{ margin-top:12px; color:var(--teal); }
.script--note{ margin:20px auto 26px; max-width:34ch; color:#2c6a63; }
.bloom{ color:#16a08e; }
.bloom--lead{ margin-right:6px; }

.tag{
  display:block; width:max-content; margin:16px auto 0;
  padding:12px 30px; border-radius:16px;
  background:var(--teal); color:#fff;
  font-family:var(--font-hand); font-size:1.22rem; font-weight:600;
  box-shadow:var(--shadow-sm);
}

.counter{
  margin-top:18px; text-align:center;
  font-size:.92rem; font-weight:600; color:#4f8079;
  font-style:italic;
}

.chip{
  display:block; width:max-content; margin:0 auto 22px;
  padding:9px 22px; border-radius:999px;
  border:1.6px solid var(--teal); color:var(--teal);
  font-size:.92rem; font-weight:600; letter-spacing:.04em;
}

.single-flower{ display:flex; justify-content:center; margin:18px 0 22px; }
.single-flower svg{ width:52px; }
.flowers{ width:64px; height:auto; }

/* ---------- responsive scale ---------- */
@media (min-width:768px){
  :root{ --wrap:720px; }
}
@media (min-width:1100px){
  :root{ --wrap:880px; }
  .display{ font-size:3.8rem; }
}

