/*
 * Heath: gifts, photography and events, Kempton Park.
 * Styled after Jade's own flyer: eucalyptus-leaf wallpaper, dark slate
 * "tables" for the gifts to sit on, outlined illustrated panels, bold
 * condensed capitals with "for" in brush script, a blush highlighter
 * behind titles, plum from her scarf, and little white sparkles.
 */

:root {
  --paper: #f3f6f1;      /* the leaf wallpaper's ground */
  --card: #fffefb;
  --slate: #3a3f3e;      /* the table the gifts sit on */
  --slate-deep: #2c302f;
  --outline: #2f3432;    /* the drawn outline around each panel */
  --line: #dde4d8;       /* quiet dividers */
  --well: #e6ede2;       /* sage wash */
  --ink: #1f2321;
  --ink-soft: #505a53;
  --plum: #6b3a7a;       /* Jade's scarf: actions */
  --plum-dark: #522a5e;
  --blush: #f6d3d8;      /* the highlighter behind the flyer's title */
  --rose: #d4668b;       /* hearts and pink pouches */
  --range: #efc3cf;
  --white: #fff;

  --display: "Oswald", "Arial Narrow", sans-serif;
  --script: "Caveat Brush", "Segoe Script", cursive;
  --sans: "Figtree", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 8px;
  --radius-panel: 18px;
  --panel-border: 2px solid var(--outline);
  --panel-shadow: 0 10px 24px -18px rgba(31, 35, 33, .6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: url("/assets/leaves-06da6e64.svg") 0 0 / 260px repeat, var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

/* The flyer's headings: heavy condensed capitals */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 65ch; }

/* "for" in brush script, as in "GIFTS for PRAYER" */
.script {
  font-family: var(--script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.12em;
  padding-inline: .06em;
}

/* The blush highlighter stroke behind a title */
.brush {
  background: linear-gradient(100deg, transparent .2em, var(--blush) .5em, var(--blush) calc(100% - .5em), transparent calc(100% - .2em));
  background-size: 100% 72%;
  background-position: 0 70%;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: .25em;
  margin-inline: -.25em;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.center, .center p { margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 10; background: var(--white); padding: .5rem 1rem; }
.skip-link:focus { left: .5rem; }

.label { font: 400 1.35rem/1.1 var(--script); color: var(--plum); margin-bottom: .3rem; }
.hint { font-size: .92rem; color: var(--ink-soft); margin: 0 0 .75rem; }
.note { font-size: .88rem; color: var(--ink-soft); text-align: center; margin: .75rem auto 0; }
.empty { color: var(--ink-soft); }

/* Buttons and links */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 2.9rem; padding: .6rem 1.5rem;
  background: var(--plum); color: var(--white);
  border: 2px solid var(--plum); border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.button:hover { background: var(--plum-dark); border-color: var(--plum-dark); }
.button--quiet { background: var(--card); color: var(--plum); }
.button--quiet:hover { background: var(--white); color: var(--plum-dark); }
.button--small { min-height: 2.4rem; padding: .4rem 1.1rem; font-size: .9rem; }
.button--wide, .button--whatsapp { width: 100%; }

.text-link { color: var(--plum); font-weight: 600; text-underline-offset: .2em; }
.text-link:hover { color: var(--plum-dark); }

.link-button {
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
  font: 500 .95rem var(--sans); color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: .2em;
}
.link-button:hover { color: var(--ink); }
.link-button--danger { color: #9b2c2c; margin-top: 2rem; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--outline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  min-height: 4.25rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand__name { font: 700 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.brand__tagline { font: 400 1.2rem/1 var(--script); color: var(--plum); }
.site-nav { display: flex; align-items: center; gap: .25rem 1.25rem; font-weight: 600; flex-wrap: wrap; }
.site-nav a { text-decoration: none; padding-block: .3rem; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: .35em; }
.order-link { display: inline-flex; align-items: center; gap: .4rem; }
.order-link__count {
  display: inline-grid; place-items: center;
  min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem;
  border-radius: 1rem; background: var(--rose); color: var(--white);
  font-size: .8rem; font-weight: 700;
}

@media (max-width: 44rem) {
  .brand__tagline { display: none; }
  .site-header__inner { padding-block: .6rem; }
  .site-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 1.1rem; scrollbar-width: none; font-size: .95rem; }
  .site-nav a { flex: none; }
}

/* Flash */

.flash { padding: .75rem 0; font-weight: 600; border-bottom: 2px solid var(--outline); }
.flash--notice { background: var(--blush); color: var(--ink); }
.flash--alert { background: #f6d0c8; color: #7a2419; }

/* Photo frames: an outlined panel with the dark table behind the photo */

.arch {
  aspect-ratio: 4 / 5; overflow: hidden;
  border: var(--panel-border); border-radius: var(--radius-panel);
  background: var(--slate);
  box-shadow: var(--panel-shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch__empty {
  display: grid; place-items: center; height: 100%; color: var(--white);
  background: url("/assets/sparkles-0ae31307.svg") center / 480px, linear-gradient(var(--slate), var(--slate-deep));
}
.arch__empty .line-icon { width: 28%; max-width: 4.5rem; opacity: .9; }
.arch--small { width: 5.25rem; flex: none; aspect-ratio: 5 / 6; border-radius: 12px; }
.arch--small .line-icon { width: 55%; }

/* Hero: like a flyer panel, leaf wallpaper above and the slate table below */

.hero, .page-intro {
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 2px solid var(--outline);
  background:
    url("/assets/sparkles-0ae31307.svg") 0 100% / 480px repeat-x,
    linear-gradient(to bottom, transparent 72%, var(--slate) 72%);
}
.hero__inner, .page-intro__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (min-width: 52rem) {
  .hero__inner, .page-intro__inner { grid-template-columns: 1.15fr .85fr; }
}
.hero__text, .page-intro__inner > div:first-child { align-self: start; }
.hero__lede, .hero__lede p { font-size: 1.15rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__arch { width: min(100%, 24rem); justify-self: center; rotate: 1.5deg; }
/* Pages without a photo beside the title don't get the table. */
.page-intro:not(:has(.flyer, .hero__arch)) { background: none; }
@media (max-width: 52rem) {
  .hero, .page-intro { background: linear-gradient(to bottom, transparent 82%, var(--slate) 82%); }
  .hero__arch { width: min(80%, 18rem); }
  .hero__arch:has(.arch__empty) { display: none; }
  .page-intro:not(:has(.flyer, .hero__arch img)) { background: none; }
}

.flyer {
  margin: 0; justify-self: center; max-width: 22rem;
  padding: .6rem; background: var(--white);
  border: var(--panel-border); border-radius: 12px;
  box-shadow: var(--panel-shadow);
  rotate: 2deg;
}
.flyer img { border-radius: 6px; }

/* What Jade offers */

.offerings {
  display: grid; gap: clamp(1rem, 3vw, 2rem); padding-top: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.offering {
  display: flex; flex-direction: column; text-decoration: none;
  padding: .75rem .75rem 1.25rem; background: var(--card);
  border: var(--panel-border); border-radius: var(--radius-panel);
  box-shadow: var(--panel-shadow);
}
.offering .arch { aspect-ratio: 5 / 4; margin-bottom: 1rem; border-width: 0; border-radius: 12px; box-shadow: none; }
.offering h2 { font-size: 1.7rem; margin: 0 .25rem .25rem; }
.offering p { color: var(--ink-soft); margin: 0 .25rem; }
.offering .offering__price { color: var(--plum); font: 400 1.35rem var(--script); margin-top: .35rem; }
.offering:hover h2 { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: .15em; }

/* Category jump links */

.category-nav {
  position: sticky; top: 4.35rem; z-index: 4;
  background: var(--slate); border-bottom: 2px solid var(--outline);
}
.category-nav__inner { display: flex; gap: .5rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.category-nav a {
  flex: none; padding: .35rem 1rem; border-radius: 999px;
  text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.category-nav a:hover { background: var(--white); color: var(--ink); }
@media (max-width: 44rem) { .category-nav { top: 6.5rem; } }

/* Shelves */

.shelf { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.shelf--page { padding-bottom: 4rem; }
.shelf-end { height: 4rem; }
.shelf__header { margin-bottom: 1.5rem; }
.shelf__header h2 a, .shelf__header h1 a { text-decoration: none; }
.shelf__header h2 a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.shelf__header p { color: var(--ink-soft); margin: 0; }

.grid {
  display: grid; gap: clamp(1rem, 3vw, 2rem) clamp(.75rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
}
@media (max-width: 30rem) { .grid { grid-template-columns: 1fr 1fr; } }

/* Gift cards: the photo sits on the slate table inside an outlined panel */

.card {
  position: relative; display: flex; flex-direction: column;
  padding: .5rem .5rem .9rem; background: var(--card);
  border: var(--panel-border); border-radius: var(--radius-panel);
  box-shadow: var(--panel-shadow);
}
.card__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--slate); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: .7rem .3rem 0; flex: 1; }
.card__name { font: 600 1rem/1.35 var(--sans); color: var(--ink); margin: 0; text-transform: none; letter-spacing: 0; }
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; text-underline-offset: .2em; }
.card__add { margin: .6rem .3rem 0; }
.card .tag { position: absolute; top: .9rem; right: -.6rem; }
.card--sold-out .card__photo img { filter: grayscale(.8); opacity: .6; }

.stock-note { margin: .2rem 0 0; font: 400 1.2rem/1.2 var(--script); color: #b3406a; }

/* Price: a blush sticker written in brush script */

.tag {
  display: inline-block;
  padding: .1rem .75rem 0;
  background: var(--blush);
  border: 2px solid var(--outline); border-radius: 999px;
  color: var(--ink);
  font: 400 1.35rem/1.3 var(--script);
  rotate: -5deg;
  box-shadow: 0 3px 0 var(--outline);
}
.tag--large { font-size: 2rem; padding-inline: 1rem; margin-bottom: 1rem; }

/* Product page */

.product { padding-block: 2rem 1rem; }
.crumbs { font-size: .95rem; margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.product__inner { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); }
@media (min-width: 48rem) { .product__inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.product__photo { margin: 0; }
.product__photo img { width: 100%; border: var(--panel-border); border-radius: var(--radius-panel); box-shadow: var(--panel-shadow); }
.product__description { font-size: 1.1rem; }
.product__ask { margin-top: 1rem; }

.add-form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.add-form label { font-weight: 600; }

.qty {
  width: 4.5rem; min-height: 2.6rem; padding: .3rem .6rem;
  font: 500 1rem var(--sans); color: var(--ink);
  border: 2px solid var(--outline); border-radius: var(--radius); background: var(--white);
}

/* Gallery */

.portfolio { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.portfolio img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--panel-border); border-radius: 12px; }
.portfolio__item { display: block; border-radius: 12px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 70rem); }
.lightbox::backdrop { background: rgba(44, 48, 47, .9); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__close { display: block; margin: .75rem auto 0; background: none; border: 0; color: var(--white); font: 600 1rem var(--sans); text-decoration: underline; cursor: pointer; }

/* Packages */

.packages { display: grid; gap: clamp(1rem, 3vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.package {
  display: flex; flex-direction: column; gap: 1rem;
  padding: .75rem .75rem 1.25rem; background: var(--card);
  border: var(--panel-border); border-radius: var(--radius-panel);
  box-shadow: var(--panel-shadow);
}
.package .arch { aspect-ratio: 5 / 4; border-width: 0; border-radius: 12px; box-shadow: none; }
.package .arch:has(.arch__empty) { aspect-ratio: 5 / 2; }
.package__body { flex: 1; padding-inline: .25rem; }
.package h3 { margin-bottom: .3rem; }
.package__facts, .summary__facts { margin: 0 0 .5rem; }
.package__facts span, .summary__facts span { color: var(--ink-soft); }
.package__facts span::before, .summary__facts span::before { content: "·"; margin: 0 .4rem; }
.package__description p { color: var(--ink-soft); font-size: .98rem; }

/* How booking works: a real sequence, so the steps are numbered */

.how { padding-block: clamp(2.5rem, 6vw, 4rem); }
.how h2 { font-size: 1.7rem; }
.how__steps { list-style: none; counter-reset: how; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.how__steps li { counter-increment: how; color: var(--ink-soft); padding-left: 2.8rem; position: relative; }
.how__steps li::before {
  content: counter(how); position: absolute; left: 0; top: .1rem;
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--blush); border: 2px solid var(--outline); color: var(--ink); font: 600 1rem var(--display);
}
.how__steps strong { display: block; font: 600 1.15rem var(--display); text-transform: uppercase; color: var(--ink); }

/* Booking page: one centred column of panels */

.booking-col { max-width: 40rem; margin-inline: auto; padding: 2rem var(--gutter) 1rem; }
.booking-col .how { padding-inline: 0; }
.panel {
  background: var(--card); border: var(--panel-border);
  border-radius: var(--radius-panel); padding: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: 1rem; box-shadow: var(--panel-shadow);
}
.panel--center { text-align: center; }
.panel--center p { margin-inline: auto; }
.summary {
  display: flex; gap: 1rem; align-items: center;
  background: var(--card); border: var(--panel-border);
  border-radius: var(--radius-panel); padding: 1rem; margin-bottom: 1rem;
  box-shadow: var(--panel-shadow);
}
.summary h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 .2rem; }
.summary .label { margin: 0; }
.summary__change { margin-left: auto; align-self: flex-start; font-size: .9rem; color: var(--plum); font-weight: 600; white-space: nowrap; }
@media (max-width: 30rem) {
  .summary { flex-wrap: wrap; }
  .summary__change { margin-left: 0; }
}

fieldset.step { min-width: 0; }
/* A legend normally sits on the fieldset's border; float it inside like the other step titles. */
legend.step__title { float: left; width: 100%; font: 600 1.35rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
legend.step__title + * { clear: both; }
.step__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.step__title { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin: 0 0 .75rem; padding: 0; }
.step__head .step__title { margin: 0; }
.step__num {
  display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: none;
  border-radius: 50%; background: var(--blush); border: 2px solid var(--outline); color: var(--ink); font: 600 .95rem var(--display);
}

.month-nav { display: flex; align-items: center; gap: .25rem; }
.month-nav__label { min-width: 8.5rem; text-align: center; font-weight: 600; }
.month-nav__arrow {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; text-decoration: none; font-size: 1.3rem; color: var(--plum);
}
a.month-nav__arrow:hover { background: var(--well); }

.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { font-size: .75rem; font-weight: 700; color: var(--ink-soft); padding-bottom: .25rem; }
.cal__day { padding: 0; text-align: center; }
.cal__day a, .cal__day span { display: grid; place-items: center; min-height: 2.6rem; border-radius: 10px; text-decoration: none; font-size: .95rem; }
.cal__day--open a { background: var(--well); font-weight: 600; }
.cal__day--open a:hover, .cal__day--end_option a:hover { background: var(--range); }
.cal__day--closed span { color: #8d978f; text-decoration: line-through; }
.cal__day--selected a, .cal__day--selected span { background: var(--plum); color: var(--white); font-weight: 700; }
.cal__day--range a, .cal__day--range span { background: var(--range); border-radius: 0; }
.cal__day--end_option a { background: var(--well); outline: 2px dashed var(--rose); outline-offset: -2px; font-weight: 600; }

.chosen {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: .75rem; padding: .6rem .9rem; background: var(--blush); border-radius: 10px; font-size: .95rem;
}
.chosen a { color: var(--plum); font-weight: 600; }

.times { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr)); }
.time input { position: absolute; opacity: 0; pointer-events: none; }
.time span {
  display: grid; place-items: center; min-height: 2.6rem; border-radius: 999px;
  background: var(--well); cursor: pointer; font-weight: 600;
}
.time span:hover { background: var(--range); }
.time input:checked + span { background: var(--plum); color: var(--white); }
.time input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 2px; }

/* Order page */

.order { padding-block: 2.5rem 4rem; max-width: 46rem; }
.order__lines { list-style: none; padding: 0; margin: 0 0 1rem; background: var(--card); border: var(--panel-border); border-radius: var(--radius-panel); }
.order__line {
  display: grid; align-items: center; gap: .5rem 1rem;
  grid-template-columns: 4rem 1fr auto auto;
  grid-template-areas: "thumb item qty total" "thumb remove . .";
  padding: 1rem; border-bottom: 1px solid var(--line);
}
.order__line:last-child { border-bottom: 0; }
.order__thumb { grid-area: thumb; width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--radius); }
.order__item { grid-area: item; display: flex; flex-direction: column; }
.order__name { font-weight: 600; text-decoration: none; }
.order__name:hover { text-decoration: underline; }
.order__each { font-size: .9rem; color: var(--ink-soft); }
.order__qty { grid-area: qty; }
.order__total { grid-area: total; font-weight: 700; min-width: 4rem; text-align: right; }
.order__remove { grid-area: remove; }
.order__sum { text-align: right; font-size: 1.2rem; font-weight: 600; }
.order__sum strong { font: 400 2rem var(--script); color: var(--plum); margin-left: .5rem; }
.order__send { margin-top: 2rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--card); border: var(--panel-border); border-radius: var(--radius-panel); box-shadow: var(--panel-shadow); }
.order__send > p { color: var(--ink-soft); }

/* Forms */

.stack-form { display: grid; gap: 1.1rem; max-width: 36rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; align-content: start; }
.stack-form .field { margin-bottom: 0; }
.field label, .field > span { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]):not([type="file"]):not([type="radio"]), .field textarea, .field select {
  width: 100%; padding: .65rem .8rem;
  font: 400 1rem var(--sans); color: var(--ink);
  border: 1.5px solid #8d978f; border-radius: var(--radius); background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--plum); }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.stack-form .field-row { gap: 1.1rem; }
.checks { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--plum); }
.form-actions { display: flex; align-items: center; gap: 1.25rem; }
.form-errors { background: #f6d0c8; color: #7a2419; padding: 1rem 1.25rem; border-radius: var(--radius); border: 2px solid #7a2419; margin-bottom: 1rem; }
.form-errors p { font-weight: 700; margin-bottom: .25rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }

/* Meet Jade: her portrait from the flyer */

.meet { margin-top: clamp(3rem, 8vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--blush); border-block: 2px solid var(--outline); }
.meet__inner { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
@media (min-width: 40rem) { .meet__inner { grid-template-columns: auto 1fr; } }
.meet__portrait { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--outline); background: var(--white); box-shadow: 0 0 0 6px var(--white); }

/* Footer: the flyer's sign-off, on the slate table */

.site-footer { background: url("/assets/sparkles-0ae31307.svg") right top / 480px no-repeat, var(--slate); color: #dfe5de; padding-block: 2.5rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.site-footer p { margin: 0; }
.site-footer__call { font: 600 clamp(1.6rem, 4vw, 2.4rem)/1.1 var(--display); color: var(--white); text-decoration: none; }
.site-footer__call:hover { text-decoration: underline; text-decoration-color: var(--rose); }
.site-footer__order { display: inline-block; font: 400 1.6rem/1 var(--script); color: var(--blush); margin-left: .5rem; rotate: -4deg; white-space: nowrap; }
.site-footer__meta { margin-top: .4rem; }
.site-footer__contact { display: flex; gap: 1.25rem; align-items: center; font-weight: 600; }

/* Sign in and admin */

.signin { padding-block: 3rem 5rem; max-width: 30rem; }
.admin-main { padding-block: 2rem 4rem; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-head h1 { margin: 0; font-size: 2.2rem; }
.admin-section { margin-top: 2rem; }
.admin-section h2 { font-size: 1.5rem; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: var(--panel-border); border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:last-child td, .admin-table tbody tr:last-child th { border-bottom: 0; }
.admin-table th { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.admin-table td a { color: var(--plum); font-weight: 600; }
.admin-thumb { width: 3rem; height: 3rem; object-fit: cover; border-radius: 6px; }
.admin-preview { width: 10rem; border-radius: var(--radius); margin-bottom: .5rem; }
.badge {
  display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem;
  border-radius: 1rem; background: var(--rose); color: var(--white); font-size: .78rem; font-weight: 700;
}
@media (max-width: 40rem) {
  .admin-table th:nth-child(5), .admin-table td:nth-child(5) { display: none; }
}

.admin-split { display: grid; gap: 1rem 1.5rem; align-items: start; margin-bottom: 1.5rem; }
@media (min-width: 48rem) { .admin-split { grid-template-columns: 1fr 1fr; } }
.admin-section > summary { cursor: pointer; }
.admin-section > summary h2 { display: inline; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
.details dt { font-weight: 700; color: var(--ink-soft); }
.details dd { margin: 0; }
.details dd p { margin: 0; }
.status { padding: .2rem .8rem; border-radius: 1rem; font-weight: 700; font-size: .9rem; background: var(--well); border: 2px solid var(--outline); }
.status--pending { background: #f7e1b5; }
.status--confirmed { background: #d3e8cd; }
.status-form { margin-top: 1rem; }
.status-form .field { margin-bottom: .75rem; }
.pick-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.pick-list a { color: var(--plum); font-weight: 600; }
.inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; }
.inline-form input[type="time"] { padding: .35rem .5rem; border: 1.5px solid #8d978f; border-radius: var(--radius); font: inherit; }
.range-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem .75rem; margin: .15rem .3rem .15rem 0; background: var(--well); border-radius: 1rem; font-weight: 600; }
.hours-table th[scope="row"] { width: 8rem; color: var(--ink); }
.gallery-admin { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.gallery-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: var(--panel-border); }
