/* =========================================================================
   Delight Studio — Photobooth · Houston, Texas
   Brand system: Midnight Plum / Royal Amethyst / Champagne Gold / Emerald / Ivory
   Display: Cormorant Garamond Italic · Body: system sans (per brand guidelines)
   ========================================================================= */

:root {
  /* Brand palette */
  --plum:      #1C0A2E;   /* Midnight Plum — anchor */
  --plum-2:    #2a123f;   /* lifted plum for panels */
  --plum-3:    #140720;   /* deepest plum for vignettes */
  --amethyst:  #7B4FA6;   /* Royal Amethyst — accent */
  --amethyst-soft: #a982cf;
  --gold:      #C9A96E;   /* Champagne Gold — primary accent */
  --gold-soft: #e3cd9e;
  --emerald:   #2C6B4F;   /* secondary accent */
  --ivory:     #F9F5FF;   /* Soft Ivory — light bg */
  --ivory-dim: #ece3f5;

  /* Semantic */
  --bg:        var(--plum);
  --ink:       var(--ivory);
  --ink-dim:   #cbb9dc;

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Helvetica Neue", sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Type helpers ---------- */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: .005em;
}
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--amethyst-soft);
}
.script-accent { font-family: var(--display); font-style: italic; }

/* ---------- The Bloom mark ---------- */
.bloom { display: block; }
.bloom--gold  { color: var(--gold); }
.bloom--plum  { color: var(--plum); }
.bloom--amethyst { color: var(--amethyst); }

/* gentle idle breathing for the hero mark */
@keyframes bloom-breathe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(6deg) scale(1.015); }
}
.bloom--animate { animation: bloom-breathe 14s var(--ease) infinite; transform-origin: 50% 50%; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--gold);
  --_fg: var(--plum);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.9em;
  background: var(--_bg); color: var(--_fg);
  font-family: var(--sans); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--_bg); border-radius: 2px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 8px 30px -14px rgba(201,169,110,.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(201,169,110,.85); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--gold);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: none;
}
.btn--ghost:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); box-shadow: none; }
.btn--on-light { --_fg: var(--ivory); }

/* ---------- Site nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.1rem, 2.6vw, 1.9rem) var(--gutter);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__brand .bloom { width: 34px; height: 34px; }
.nav__brand-name {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 1.35rem; color: var(--gold); letter-spacing: .01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.4rem); }
.nav__links a {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .22em;
  font-weight: 500; color: var(--ink-dim);
  position: relative; padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

/* On light pages */
/* 3-column grid so the center links stay aligned to the dome apex (viewport center) */
.nav--light { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav--light .nav__left { justify-self: start; grid-column: 1; }
.nav--light .nav__links { justify-self: center; grid-column: 2; }
.nav--light .nav__cta { justify-self: end; grid-column: 3; }
.nav--light .nav__brand-name { color: var(--plum); }
.nav--light .nav__links a { color: color-mix(in srgb, var(--plum) 74%, transparent); }
.nav--light .nav__links a:hover,
.nav--light .nav__links a[aria-current="page"] { color: var(--plum); }
.nav--light .nav__links a::after { background: var(--amethyst); }

/* ---------- Social row ---------- */
.social { display: inline-flex; align-items: center; gap: 1.1rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social a:hover { transform: translateY(-3px); background: var(--gold); color: var(--plum); border-color: var(--gold); }
.social svg { width: 19px; height: 19px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   COMING SOON (index)
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 9rem) var(--gutter) clamp(2.5rem, 8vh, 4rem);
  background:
    radial-gradient(120% 90% at 50% -10%, #35174d 0%, var(--plum) 46%, var(--plum-3) 100%);
  overflow: hidden;
}
/* subtle grain + vignette */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(10,3,18,.55) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 5; max-width: 760px; }

.hero__mark { width: clamp(120px, 20vw, 180px); height: clamp(120px, 20vw, 180px); margin: 0 auto clamp(1.6rem, 4vh, 2.6rem); }

.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
  font-size: clamp(3.4rem, 12vw, 7rem);
  color: var(--gold);
  margin-bottom: .35rem;
}
.hero__place {
  text-transform: uppercase; letter-spacing: .42em;
  font-size: clamp(.7rem, 1.6vw, .85rem); font-weight: 600;
  color: var(--amethyst-soft); margin-bottom: 2rem;
  padding-left: .42em; /* optical balance for tracking */
}
.hero__rule {
  width: 66px; height: 1px; margin: 0 auto 2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__tagline {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2.15rem);
  color: var(--ivory); line-height: 1.3; margin-bottom: 1.1rem;
}
.hero__blurb {
  max-width: 34rem; margin: 0 auto 2.4rem;
  color: var(--ink-dim); font-size: 1.02rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }

.hero__foot {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.hero__catch {
  font-family: var(--display); font-style: italic;
  color: var(--gold-soft); font-size: 1.15rem; opacity: .9;
}

/* floating champagne shimmer dots */
.spark {
  position: absolute; border-radius: 50%; pointer-events: none;
  z-index: 3; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #fbf1d8 0%, var(--gold) 55%, rgba(201,169,110,0) 100%);
  box-shadow: 0 0 9px 1.5px rgba(201,169,110,.7);
}
@keyframes drift {
  0%   { transform: translateY(26px) scale(.35); opacity: 0; }
  16%  { opacity: 1; }
  50%  { opacity: .7; }
  80%  { opacity: .85; }
  100% { transform: translateY(-150px) scale(1); opacity: 0; }
}

/* =========================================================================
   LIGHT COMING-SOON  (reference-matched: sunrise dome on ivory)
   ========================================================================= */
.landing {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--plum);
  /* Soft Ivory base with a whisper of Royal Amethyst for brand depth */
  background-color: #efeaf6; /* solid fallback so contrast tools resolve the real bg */
  background:
    radial-gradient(58% 46% at 50% 4%, rgba(123,79,166,.12), transparent 62%),
    radial-gradient(120% 88% at 50% 122%, #f7f2fb 0%, #efeaf6 48%, #e7e1f0 100%),
    #efeaf6;
}

/* the rising arc + warm glow */
.landing__dome {
  position: absolute; left: 50%; top: 15vh; bottom: auto; transform: translate(-50%, 0);
  width: min(150vw, 1700px); aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1px solid rgba(123,79,166,.5);
  background: radial-gradient(56% 46% at 50% 8%,
              rgba(123,79,166,.09), transparent 58%);
  z-index: 1;
}
.landing__sun {
  position: absolute; left: 50%; top: 37%; transform: translate(-50%, -50%);
  width: clamp(340px, 46vw, 660px); aspect-ratio: 1 / 1; border-radius: 50%;
  z-index: 2; pointer-events: none; filter: blur(4px);
  /* Option C — Champagne Gold glow framed by the plum dome ring */
  background: radial-gradient(circle at 50% 50%,
              rgba(201,169,110,.55) 0%, rgba(201,169,110,.36) 26%,
              rgba(201,169,110,.17) 48%, rgba(201,169,110,.05) 64%, transparent 78%);
}
@keyframes sun-pulse { 0%,100%{ opacity:.85; transform:translate(-50%,-50%) scale(1);} 50%{ opacity:1; transform:translate(-50%,-50%) scale(1.06);} }
.landing__sun { animation: sun-pulse 9s var(--ease) infinite; }

.landing__inner {
  position: relative; z-index: 5; flex: 1;
  display: grid; place-content: center; justify-items: center; text-align: center;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter) 2rem;
}
.landing__emblem { width: clamp(52px, 8vw, 68px); height: clamp(52px, 8vw, 68px); margin-bottom: 1.6rem; opacity: .95; }
.landing__title {
  font-size: clamp(3.2rem, 11vw, 6.4rem);
  color: var(--plum); line-height: .98; margin-bottom: 1rem;
}
.landing__sub {
  color: color-mix(in srgb, var(--amethyst) 82%, var(--plum));
  font-size: clamp(1rem, 2vw, 1.15rem); letter-spacing: .02em; max-width: 32rem;
}
.landing__divider {
  width: 1px; height: clamp(40px, 7vh, 60px);
  background: linear-gradient(var(--amethyst), transparent);
  margin: clamp(1.6rem, 4vh, 2.6rem) 0;
}
.landing__loop { font-weight: 500; color: var(--plum); margin-bottom: 1.4rem; font-size: 1.02rem; }

/* social circles on light */
.social--ink a { border-color: rgba(28,10,46,.28); color: var(--plum); }
.social--ink a:hover { background: var(--gold); color: var(--plum); border-color: var(--gold); }
.social--ink svg { width: 17px; height: 17px; }
.social--ink a { width: 38px; height: 38px; }

/* corner utility bar */
.landing__foot {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.6rem var(--gutter) 1.8rem;
  font-size: .8rem; color: color-mix(in srgb, var(--plum) 70%, transparent);
  letter-spacing: .02em;
}
.landing__foot a { display: inline-flex; align-items: center; gap: .5em; color: color-mix(in srgb, var(--plum) 72%, transparent); transition: color .3s var(--ease); }
.landing__foot a:hover { color: var(--gold); }
.landing__foot .arrow { transition: transform .3s var(--ease); }
.landing__foot a:hover .arrow { transform: translateX(3px); }

/* nav "Let's talk" pill-link on light */
.nav__cta {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .82rem; font-weight: 600; color: var(--plum);
  border-bottom: 1px solid var(--plum); padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav__cta .up { color: var(--gold); transition: transform .3s var(--ease); }
.nav__cta:hover { color: var(--gold); border-color: var(--gold); }
.nav__cta:hover .up { transform: translate(2px,-2px); }
.nav__sep { color: rgba(28,10,46,.25); margin: 0 .2rem; }

/* left cluster: brand | divider | circular icon (reference-style) */
.nav__left { display: flex; align-items: center; gap: .95rem; }
.nav__divider { width: 1px; height: 22px; background: rgba(28,10,46,.18); }
.nav__icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--plum);
  border: 1px solid rgba(28,10,46,.2); background: transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.nav__icon:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.nav__icon svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .landing__foot { font-size: .72rem; }
  .nav--light .nav__links { display: none; }
  .nav__divider, .nav__icon { display: none; }
  /* raise + enlarge the arc so the sunrise crowns the headline on tall screens */
  .landing__dome { width: 168vw; bottom: auto; top: 12vh; transform: translate(-50%, 0); }
  .landing__sun { top: 32%; width: clamp(300px, 82vw, 460px); }
  .landing__inner { padding-top: clamp(6rem, 24vh, 11rem); }
}

/* =========================================================================
   Shared section shell (services / contact)
   ========================================================================= */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.section { padding: clamp(3.5rem, 9vh, 7rem) var(--gutter); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }

.page-head { text-align: center; position: relative; padding-top: clamp(6rem, 12vh, 8rem); }
.page-head .eyebrow { display: inline-block; margin-bottom: 1rem; }
.page-head__title { font-size: clamp(2.8rem, 8vw, 5rem); color: var(--gold); margin-bottom: 1rem; }
.page-head__sub { max-width: 40rem; margin: 0 auto; color: var(--ink-dim); font-size: 1.08rem; }
.page-head .hero__rule { margin-top: 1.8rem; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.pkg-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.pkg {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--plum-2), var(--plum));
  background-color: var(--plum-2); /* solid fallback for contrast tools */
  border: 1px solid color-mix(in srgb, var(--amethyst) 32%, transparent);
  border-radius: 6px;
  padding: 2.4rem 2rem 2.2rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }

/* featured (Gold) tier */
.pkg--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #33163f, var(--plum));
  background-color: #33163f; /* solid fallback for contrast tools */
  box-shadow: 0 24px 60px -30px rgba(201,169,110,.4);
}
.pkg__flag {
  position: absolute; top: -1px; right: 1.4rem;
  background: var(--gold); color: var(--plum);
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .45em .9em; border-radius: 0 0 4px 4px;
}
.pkg__mark { width: 40px; height: 40px; margin-bottom: 1.2rem; }
.pkg__name { font-family: var(--display); font-style: italic; font-size: 2.1rem; color: var(--gold); }
.pkg__hours { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--amethyst-soft); margin-top: .2rem; }
.pkg__desc { color: var(--ink-dim); font-size: .96rem; margin: 1rem 0 1.4rem; }
.pkg__divider { height: 1px; background: color-mix(in srgb, var(--amethyst) 30%, transparent); margin: 0 0 1.4rem; }
.pkg__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.pkg__list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .94rem; color: var(--ivory); }
.pkg__list .tick { flex: 0 0 auto; width: 16px; height: 16px; margin-top: .28rem; color: var(--gold); }
.pkg__foot { margin-top: 1.8rem; }
.pkg__price-note { display: block; margin-top: .9rem; font-size: .78rem; color: var(--ink-dim); text-align: center; }

/* add-ons strip */
.addons { margin-top: 3.5rem; text-align: center; }
.addons__title { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--gold); margin-bottom: 1.6rem; }
.addons__grid { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.addons__chip {
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  color: var(--ivory); border-radius: 100px;
  padding: .6em 1.3em; font-size: .86rem;
}
.addons__chip span { color: var(--gold-soft); }

/* CTA band */
.cta-band {
  text-align: center; padding: clamp(3.5rem, 8vh, 6rem) var(--gutter);
  background: radial-gradient(90% 130% at 50% 0%, #2a123f, var(--plum));
  background-color: #2a123f; /* solid fallback for contrast tools */
  border-top: 1px solid color-mix(in srgb, var(--amethyst) 25%, transparent);
}
.cta-band__title { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); margin-bottom: 1rem; }
.cta-band__sub { color: var(--ink-dim); max-width: 32rem; margin: 0 auto 2rem; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-aside .eyebrow { margin-bottom: 1rem; display: inline-block; }
.contact-aside__title { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--gold); margin-bottom: 1.2rem; }
.contact-aside__text { color: var(--ink-dim); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.contact-detail .ico { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
.contact-detail a, .contact-detail span { color: var(--ivory); font-size: .98rem; }
.contact-detail a:hover { color: var(--gold); }

form.card {
  background: linear-gradient(180deg, #ffffff, var(--ivory));
  background-color: var(--ivory); /* solid fallback for contrast tools */
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 8px; padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 30px 70px -35px rgba(10,3,20,.65);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--amethyst); margin-bottom: .5rem; font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em;
  background: #fdfbff; color: var(--plum);
  border: 1px solid color-mix(in srgb, var(--amethyst) 72%, transparent); /* >=3:1 boundary (WCAG 1.4.11) */
  border-radius: 4px; font-family: var(--sans); font-size: .98rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--plum) 60%, transparent); } /* >=4.5:1 */
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A96E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.4em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-note { font-size: .8rem; color: color-mix(in srgb, var(--plum) 62%, transparent); margin-top: 1rem; text-align: center; }
.form-note.is-success { color: var(--emerald); font-weight: 600; }
.form-note.is-error { color: #a12d2d; }
.form-note.is-error a { color: #a12d2d; text-decoration: underline; }

/* honeypot: present in the DOM (bots fill it) but hidden from people */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   Accessibility — focus visibility (WCAG 2.4.7 / 2.4.13) & skip link (2.4.1)
   ========================================================================= */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* light surfaces: use plum so the ring keeps >=3:1 */
.landing :focus-visible, form.card :focus-visible { outline-color: var(--plum); }
/* buttons: contrast the ring against the button fill / its surface */
.btn:focus-visible { outline-color: var(--plum); }
.btn--ghost:focus-visible { outline-color: var(--gold); }
.cta-band .btn:focus-visible { outline-color: var(--ivory); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--plum); color: var(--ivory);
  padding: .7em 1.2em; border-radius: 4px;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* keep a keyboard-focused element visible even if its reveal hasn't fired */
.reveal:focus-within { opacity: 1; transform: none; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  margin-top: auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter) 2.5rem;
  background: var(--plum-3);
  border-top: 1px solid color-mix(in srgb, var(--amethyst) 22%, transparent);
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-bottom: 1.6rem; }
.footer__brand .bloom { width: 44px; height: 44px; }
.footer__name { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.footer__tag { color: var(--amethyst-soft); font-size: .82rem; letter-spacing: .1em; }
.footer .social { margin-bottom: 1.6rem; }
.footer__meta { color: color-mix(in srgb, var(--ink-dim) 78%, transparent); font-size: .8rem; line-height: 1.8; }
.footer__meta a:hover { color: var(--gold); }

/* =========================================================================
   Responsive
   ========================================================================= */
/* stack the package cards + contact columns before they get cramped */
@media (max-width: 1040px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav__links { gap: 1.1rem; }
}
@media (max-width: 560px) {
  .nav { padding-inline: var(--gutter); }
  .nav__brand-name { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
