/* ==========================================================================
   Naples Elves: base styles
   Tokens, typography, layout, shared components. Class names are a contract
   (see SPEC.md section 4). Color tokens are overridden from theme settings
   by a <style> block in layout/theme.liquid.
   ========================================================================== */

:root {
  --c-cream: #FBF6EC;
  --c-ivory: #FFFDF8;
  --c-parchment: #F3E9D8;
  --c-ink: #2A211C;
  --c-ink-soft: #5E5148;
  --c-green: #0F5A36;
  --c-green-deep: #0A3D25;
  --c-red: #B3141F;
  --c-red-deep: #8A1019;
  --c-gold: #B8862B;
  --c-gold-ribbon: #A77A22;
  --c-gold-text: #8C6414;
  --c-gold-light: #E6CF94;
  --c-white: #FFFFFF;
  --c-glow: #FFF4DC;
  --c-field-border: #9A8458; /* SPEC 4.3 says #D9C8A6; darkened to meet WCAG 1.4.11 (3:1) */

  --shadow-card: 0 1px 2px rgba(42, 33, 28, .06), 0 12px 32px -12px rgba(42, 33, 28, .18);
  --shadow-lift: 0 2px 4px rgba(42, 33, 28, .06), 0 24px 48px -20px rgba(42, 33, 28, .3);
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-media: 22px;
  --radius-field: 12px;

  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-caps: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --page-width: 1240px;
  --gutter: 20px;
  --section-space: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(.22, .8, .26, 1);
  --header-height: 76px;
  --focus-ring: 3px solid var(--c-gold);

  --accent: var(--c-green);
}

@media (min-width: 750px) {
  :root { --gutter: 32px; }
}

/* Package accents. --accent-text is the color for text in the accent (AA on ivory). */
.accent-green { --accent: var(--c-green); --accent-text: var(--c-green); }
.accent-red { --accent: var(--c-red); --accent-text: var(--c-red); }
.accent-gold { --accent: var(--c-gold-ribbon); --accent-text: var(--c-gold-text); }
.accent-burgundy { --accent: var(--c-red-deep); --accent-text: var(--c-red-deep); }

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-ink);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

main { display: block; flex: 1 0 auto; }
main:focus { outline: none; }

img, picture, video, canvas, svg { max-width: 100%; }
img { height: auto; display: block; border: 0; }
svg { flex-shrink: 0; }
.icon { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--c-green);
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2, .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3, .h3 { font-size: 1.6rem; }
h4, .h4 { font-size: 1.3rem; }
h5, h6 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
small { font-size: .85em; }
strong, b { font-weight: 700; }

a {
  color: var(--c-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-gold);
  text-underline-offset: .22em;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
a:hover { color: var(--c-red); text-decoration-color: currentColor; }

button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
button, [role="button"], summary, label[for] { cursor: pointer; }

hr {
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
  background: linear-gradient(90deg, rgba(184, 134, 43, 0), var(--c-gold-light) 15%, var(--c-gold-light) 85%, rgba(184, 134, 43, 0));
}

::selection { background: var(--c-gold-light); color: var(--c-ink); }

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Accessibility helpers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  background: var(--c-green-deep);
  color: var(--c-cream);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  color: var(--c-cream);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.page-width {
  width: 100%;
  max-width: calc(var(--page-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-width--narrow { max-width: calc(820px + var(--gutter) * 2); }
.page-width--wide { max-width: calc(1440px + var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--section-space);
}
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section--parchment {
  background-color: var(--c-parchment);
  background-image:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(255, 244, 220, .85), rgba(255, 244, 220, 0) 70%),
    radial-gradient(ellipse 50% 50% at 95% 100%, rgba(255, 244, 220, .6), rgba(255, 244, 220, 0) 70%);
}

.section--glow {
  background-image:
    radial-gradient(ellipse 55% 60% at 20% 30%, var(--c-glow), rgba(255, 244, 220, 0) 70%),
    radial-gradient(ellipse 45% 50% at 85% 70%, rgba(255, 244, 220, .7), rgba(255, 244, 220, 0) 70%);
}

.section--green {
  background-color: var(--c-green-deep);
  background-image:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(15, 90, 54, .9), rgba(15, 90, 54, 0) 70%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(184, 134, 43, .12), rgba(184, 134, 43, 0) 70%);
  color: var(--c-cream);
}
.section--green h1, .section--green h2, .section--green h3, .section--green h4,
.section--green .script-title, .section--green .lede { color: var(--c-cream); }
.section--green .eyebrow { color: var(--c-gold-light); }
.section--green a:not(.btn) { color: var(--c-cream); text-decoration-color: var(--c-gold-light); }
.section--green a:not(.btn):hover { color: var(--c-gold-light); }
.section--green .muted, .section--green .text-soft { color: rgba(251, 246, 236, .82); }
.section--green .btn--secondary { color: var(--c-cream); border-color: var(--c-cream); }
.section--green .btn--secondary:hover { background: var(--c-cream); color: var(--c-green-deep); }
.section--green :focus-visible { outline-color: var(--c-gold-light); }

.has-sparkles { position: relative; }

/* Section heading stack: eyebrow, title, lede, rule */
.section-heading {
  position: relative;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-heading > * + * { margin-top: 16px; }
.section-heading .script-title + * { margin-top: 22px; }
.section-heading h2, .section-heading h1 { margin-bottom: 0; }
.section-heading .ornament-rule { margin-inline: auto; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-heading--left .ornament-rule { margin-inline: 0; }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.muted, .text-soft { color: var(--c-ink-soft); }
.no-margin { margin: 0 !important; }
.flow > * + * { margin-top: var(--flow-space, 1em); }
.flow > * { margin-bottom: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 12px 16px); }
.cluster--center { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }
.grid { display: grid; gap: var(--grid-gap, clamp(20px, 3vw, 36px)); }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
.grid--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 750px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 990px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.glow { position: relative; }
.glow::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--c-glow) 0%, rgba(255, 244, 220, .55) 38%, rgba(255, 244, 220, 0) 70%);
}

/* --------------------------------------------------------------------------
   Type components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-red);
  text-wrap: balance;
}
.eyebrow--green { color: var(--c-green); }
.eyebrow--gold { color: var(--c-gold-text); }

.script-title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-green);
  text-wrap: balance;
}
.script-title--red { color: var(--c-red); }

.caps-title {
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 700;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--c-red);
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: var(--c-green);
  text-wrap: balance;
}
/* .lede resets its margin, so restore the heading stack gap (sections may override locally) */
.section-heading > * + .lede { margin-top: 16px; }

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--c-green);
}

.text-link, .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green);
  text-decoration: underline;
  text-decoration-color: var(--c-gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: .45em;
}
.text-link:hover, .link-arrow:hover { color: var(--c-red); text-decoration-color: currentColor; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Script wordmark: first word crimson, the rest green */
.wordmark {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .24em;
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  color: var(--c-green);
  text-decoration: none;
  white-space: nowrap;
}
a.wordmark:hover { color: var(--c-green); }
.wordmark__first { position: relative; color: var(--c-red); }
.wordmark__rest { color: var(--c-green); }
/* Santa hat worn on the first letter (the flyer's hat on the S; now the Great Vibes N of "Naples").
   The brim's bottom centre (the transform origin) is seated on the rising top curve of the N's entry
   loop, tilted 24deg to follow it and resting a hair into the stroke, so the hat reads as worn while
   the loop stays closed (the N never reads as a U); the crown leans back and the pom flops to the
   upper left. Placed by dropping a model of this SVG onto pixel probes of the N and ranked against
   the flyer; all values are in em of the word. */
.wordmark__hat {
  position: absolute;
  left: .068em;
  top: -.381em;
  width: .48em;
  height: auto;
  overflow: visible;
  transform: rotate(-24deg);
  transform-origin: 58.75% 91.9%;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(42, 33, 28, .2));
}
/* White fur with a warm outline on every surface, so the brim and pom read on cream and across the
   red letter even at small sizes */
.wordmark__hat rect,
.wordmark__hat circle { fill: #FFFFFF; stroke: #C9B083; stroke-width: 1.1px; vector-effect: non-scaling-stroke; }
/* Stacked lockup like the flyer: "Elves" a touch smaller, centred under "Naples" on one axis, its E
   tucked under the N's tail and clear of the p's descender. The hat pulls the top line's weight to
   the left, so when it is worn "Elves" follows by a hair to stay optically centred. */
.wordmark--stacked { flex-direction: column; align-items: center; }
.wordmark--stacked .wordmark__rest { position: relative; margin-top: .025em; font-size: .96em; }
.wordmark--stacked .wordmark__first:has(> .wordmark__hat) + .wordmark__rest { left: -.068em; }

/* Price with raised symbol */
.price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 1;
  white-space: nowrap;
}
.price sup {
  position: relative;
  top: -.7em;
  margin-right: .02em;
  font-size: .45em;
  line-height: 0;
  vertical-align: baseline;
}

/* Rich text */
.rte { overflow-wrap: break-word; }
.rte > *:first-child { margin-top: 0; }
.rte > *:last-child { margin-bottom: 0; }
.rte h2, .rte h3, .rte h4 { margin: 1.6em 0 .5em; }
.rte p { margin: 0 0 1.1em; }
.rte a { color: var(--c-green); }
.rte ul, .rte ol { margin: 0 0 1.2em; padding: 0; }
.rte ul { list-style: none; }
.rte ul li {
  position: relative;
  margin: 0 0 .55em;
  padding-left: 30px;
}
.rte ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  background-color: var(--accent-text, var(--accent, var(--c-green)));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 12.9c1.8-.7 3.7.7 5.6 3C12 11.4 15.6 7.4 20.4 4.6c.5-.3.9.3.5.7-4.3 4-7.7 8.6-10.3 13.8-.5 1-1.9 1-2.4.1-1.3-2.4-2.8-4.4-4.6-5.6-.4-.3-.4-.6 0-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 12.9c1.8-.7 3.7.7 5.6 3C12 11.4 15.6 7.4 20.4 4.6c.5-.3.9.3.5.7-4.3 4-7.7 8.6-10.3 13.8-.5 1-1.9 1-2.4.1-1.3-2.4-2.8-4.4-4.6-5.6-.4-.3-.4-.6 0-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rte ol { padding-left: 1.6em; }
.rte ol li { margin: 0 0 .55em; padding-left: .3em; }
.rte ol li::marker { font-family: var(--font-serif); font-weight: 700; color: var(--c-gold-text); }
.rte blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--c-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--c-green);
}
.rte img { border-radius: var(--radius-media); height: auto; }
.rte table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.rte th, .rte td { padding: 10px 12px; border-bottom: 1px solid var(--c-gold-light); text-align: left; }
.rte th { font-weight: 700; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 16px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn--primary {
  background-color: var(--c-red);
  color: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--c-gold-light);
}
.btn--primary:hover {
  background-color: var(--c-red-deep);
  color: var(--c-white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
}
.btn--secondary:hover {
  background-color: var(--c-green);
  color: var(--c-cream);
}

.btn--light {
  background-color: var(--c-cream);
  color: var(--c-green);
  box-shadow: inset 0 0 0 1px var(--c-gold-light);
}
.btn--light:hover {
  background-color: var(--c-ivory);
  color: var(--c-green-deep);
  box-shadow: inset 0 0 0 1px var(--c-gold);
}

.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 40px; padding: 11px 20px; font-size: .78rem; }

.btn[disabled], .btn[aria-disabled="true"], .btn.is-loading {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn.is-loading { cursor: progress; }

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-green);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-button:hover { background-color: rgba(230, 207, 148, .35); color: var(--c-red); }

/* --------------------------------------------------------------------------
   Ornament rule
   -------------------------------------------------------------------------- */
.ornament-rule {
  --rule-line: var(--c-gold);
  --rule-ornament: var(--c-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  width: var(--rule-width, 220px);
  max-width: 100%;
  margin-inline: auto;
}
.ornament-rule__line {
  flex: 1 1 auto;
  height: 1px;
  min-width: 12px;
  background: linear-gradient(90deg, rgba(184, 134, 43, 0), var(--rule-line));
}
.ornament-rule__line:last-child { background: linear-gradient(90deg, var(--rule-line), rgba(184, 134, 43, 0)); }
.ornament-rule__ornament { display: inline-flex; color: var(--rule-ornament); line-height: 0; }
.ornament-rule--gold { --rule-ornament: var(--c-gold); }
.ornament-rule--red { --rule-ornament: var(--c-red); }
.ornament-rule--green { --rule-ornament: var(--c-green); }
.ornament-rule--accent { --rule-ornament: var(--accent, var(--c-gold)); }
.ornament-rule--light { --rule-line: var(--c-gold-light); --rule-ornament: var(--c-gold-light); }
.ornament-rule--diamond { gap: 8px; }
/* bow and heart rules: small gold diamond where each line meets the ornament */
.ornament-rule--bow .ornament-rule__line,
.ornament-rule--heart .ornament-rule__line { position: relative; }
.ornament-rule--bow .ornament-rule__line::after,
.ornament-rule--heart .ornament-rule__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--rule-line);
  transform: translateY(-50%) rotate(45deg);
}
.ornament-rule--bow .ornament-rule__line:first-child::after,
.ornament-rule--heart .ornament-rule__line:first-child::after { right: 0; }
.ornament-rule--bow .ornament-rule__line:last-child::after,
.ornament-rule--heart .ornament-rule__line:last-child::after { left: 0; }
.ornament-rule--bow { gap: 8px; }
.ornament-rule--bow .ornament-rule__ornament { transform: translateY(2px); }
.section--green .ornament-rule { --rule-line: var(--c-gold-light); }

/* --------------------------------------------------------------------------
   Checklist and cards
   -------------------------------------------------------------------------- */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0 0 9px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li > .icon {
  width: 18px;
  height: 18px;
  margin-top: .12em;
  color: var(--accent, var(--c-green));
}

.card {
  position: relative;
  background: var(--c-ivory);
  border: 1px solid var(--c-gold-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card--padded { padding: clamp(22px, 3vw, 36px); }
.card--double::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--c-gold-light);
  border-radius: calc(var(--radius-card) - 4px);
  pointer-events: none;
}

/* Photos */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow-card);
  background: var(--c-parchment);
}
.media img, img.media__img, .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
img.photo { border-radius: var(--radius-media); box-shadow: var(--shadow-card); height: auto; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 3 / 2; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--c-gold-light);
  border-radius: var(--radius-btn);
  background: var(--c-ivory);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
}
.field__label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.field__label .optional { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--c-ink-soft); }
.field__input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--c-field-border);
  border-radius: var(--radius-field);
  background-color: var(--c-ivory);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: #7A6B5F; opacity: 1; }
.field__input:hover { border-color: var(--c-gold-text); }
.field__input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(184, 134, 43, .28); }
.field__input:focus-visible { outline: var(--focus-ring); outline-offset: 2px; box-shadow: none; }
.field__input[aria-invalid="true"] { border-color: var(--c-red); }
textarea.field__input { min-height: 132px; resize: vertical; }
select.field__input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F5A36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
input[type="date"].field__input { min-height: 48px; }
input[type="date"].field__input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }
.field__help { margin: 0; font-size: .88rem; color: var(--c-ink-soft); }
.field__error { margin: 0; font-size: .9rem; font-weight: 700; color: var(--c-red); }
.field--inline { flex-direction: row; align-items: stretch; gap: 10px; }

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-field);
  font-size: .95rem;
  line-height: 1.45;
}
.form-message--success { background: rgba(15, 90, 54, .09); color: var(--c-green); border: 1px solid rgba(15, 90, 54, .25); }
.form-message--error { background: rgba(179, 20, 31, .07); color: var(--c-red-deep); border: 1px solid rgba(179, 20, 31, .25); }

/* Gold focus ring is only 2.69:1 on parchment; use the deeper gold there (4.42:1) */
.section--parchment :focus-visible { outline-color: var(--c-gold-text); }

/* --------------------------------------------------------------------------
   Sparkles
   -------------------------------------------------------------------------- */
.sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sparkle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--s, 14px);
  height: var(--s, 14px);
  color: var(--c-gold);
  opacity: .8;
  transform: translate(-50%, -50%);
  animation: ne-twinkle 4.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.sparkle svg { display: block; width: 100%; height: 100%; }
.sparkles--light .sparkle { color: var(--c-gold-light); }
@media (max-width: 749px) {
  /* phones: fewer, smaller sparkles so they stay decorative */
  .sparkle { width: calc(var(--s, 14px) * .75); height: calc(var(--s, 14px) * .75); opacity: .6; }
  .sparkle:nth-child(n+5) { display: none; }
}

@keyframes ne-twinkle {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.72) rotate(0deg); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(14deg); }
}

/* --------------------------------------------------------------------------
   Announcement bar (sections/announcement-bar.liquid)
   -------------------------------------------------------------------------- */
.announcement {
  position: relative;
  background: var(--c-green-deep);
  color: var(--c-cream);
}
.announcement--red { background: var(--c-red-deep); }
.announcement--parchment { background: var(--c-parchment); color: var(--c-green); border-bottom: 1px solid var(--c-gold-light); }
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding-block: 8px;
}
.announcement__text {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: inherit;
}
a.announcement__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
a.announcement__link:hover { color: var(--c-gold-light); }
.announcement--parchment a.announcement__link:hover { color: var(--c-red); }
.announcement__spark { width: 12px; height: 12px; color: var(--c-gold-light); flex: 0 0 auto; }
.announcement--parchment .announcement__spark { color: var(--c-gold); }
.announcement__close {
  position: absolute;
  right: max(8px, calc(var(--gutter) - 12px));
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transform: translateY(-50%);
}
.announcement__close:hover { background: rgba(255, 255, 255, .12); }
.announcement:has(.announcement__close) .announcement__inner { padding-inline: 48px; }
.announcement :focus-visible { outline-color: var(--c-gold-light); }
@media (max-width: 559px) {
  .announcement__spark { display: none; }
  .announcement__text { font-size: .68rem; letter-spacing: .1em; }
}

/* --------------------------------------------------------------------------
   Social links, toast
   -------------------------------------------------------------------------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ne-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1200;
  width: min(92vw, 440px);
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--c-green-deep);
  color: var(--c-cream);
  box-shadow: var(--shadow-lift);
  font-size: .95rem;
  line-height: 1.45;
  transform: translate(-50%, 0);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ne-toast--error { background: var(--c-red-deep); }
.ne-toast.is-hiding { opacity: 0; transform: translate(-50%, 12px); }

/* Scroll lock while a drawer is open */
html.ne-scroll-lock { overflow: hidden; }
html.ne-scroll-lock body { padding-right: var(--ne-scrollbar, 0px); }

/* Password layout */
.ne-password { background-image: radial-gradient(ellipse 70% 50% at 50% 0%, var(--c-glow), rgba(255, 244, 220, 0) 70%); }

/* Shopify's own policy pages (/policies/*) and /challenge render their markup straight into <main>;
   Shopify's CSS sets only width and side padding. Clear the header, and the footer wave
   (.site-footer__wave, clamp(30px, 5vw, 72px) tall) plus breathing room at the bottom. */
.shopify-policy__container,
.shopify-challenge__container {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: calc(clamp(30px, 5vw, 72px) + clamp(40px, 6vw, 72px));
}
.shopify-policy__title h1 { margin-bottom: .6em; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .sparkle { animation: none; opacity: .8; transform: translate(-50%, -50%); }
}

@media print {
  .site-header, .announcement, .cart-drawer, .nav-drawer, .sparkles, .site-footer__wave { display: none !important; }
}
