/* ==========================================================================
   The SweetBake Studio — Christmas 2026 campaign pages
   --------------------------------------------------------------------------
   Self-contained: nothing here loads from the main site, so christmas/ can be
   served as /christmas/ or copied to its own subdomain. Type and palette match
   the main site (Cormorant Garamond + Jost, ivory / espresso / gold) with two
   festive accents taken from the Christmas flyer: berry red and pine green.

   01 Fonts · 02 Tokens · 03 Base · 04 Type · 05 Buttons · 06 Header & strip
   07 Hero · 08 Products · 09 Order · 10 Reels · 11 Steps · 12 Bands
   13 FAQ · 14 Footer · 15 Order bar · 16 Forms · 17 Motion
   ========================================================================== */

/* 01 · Fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
}

/* 02 · Tokens */
:root {
  --ivory: #fbf7f1;
  --ivory-deep: #f3ebdf;
  --cream: #f7f0e6;
  --ink: #2a211c;
  --ink-soft: #5b4d45;
  --ink-mute: #8c7d72;
  --gold: #b58e4a;
  --gold-light: #d7bb85;
  --gold-pale: #ecdcbe;
  --espresso: #1d1815;
  --berry: #7a1e28;
  --berry-deep: #5c1219;
  --pine: #23402f;

  --line: rgba(42, 33, 28, 0.12);
  --line-gold: rgba(181, 142, 74, 0.35);

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur: 460ms;

  --shadow-sm: 0 1px 2px rgba(42, 33, 28, 0.05), 0 6px 18px -12px rgba(42, 33, 28, 0.28);
  --shadow: 0 2px 6px rgba(42, 33, 28, 0.06), 0 24px 48px -30px rgba(42, 33, 28, 0.42);
  --bar-h: 0px;
}

/* 03 · Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  font-variant-numeric: lining-nums;
  padding-bottom: var(--bar-h);
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: var(--gold-pale);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 300;
  padding: 0.7rem 1.4rem;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 0.8rem;
  transform: translate(-50%, -110%);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

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

.container {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2 * var(--gutter), 820px);
}

.section {
  padding-block: var(--section-y);
}

.section--cream {
  background: var(--cream);
}

/* 04 · Type */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--gold);
}

.display {
  font-size: clamp(3rem, 8.5vw, 6rem);
}

.title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.eyebrow {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 450;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ink-soft);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head .lede {
  margin-inline: auto;
}

.fine {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto 1.2rem;
  color: var(--gold);
}

.ornament::before,
.ornament::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.ornament span {
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}

/* 05 · Buttons */
.btn {
  --bg: var(--espresso);
  --fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--bg);
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: currentColor;
}

.btn--wa {
  --bg: #1f7a4d;
  --fg: #fff;
}

.btn--wa:hover,
.btn--wa:focus-visible {
  --bg: #17633e;
}

.btn--berry {
  --bg: var(--berry);
  --fg: #fff;
}

.btn--berry:hover,
.btn--berry:focus-visible {
  --bg: var(--berry-deep);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--espresso);
  border-color: rgba(42, 33, 28, 0.45);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--espresso);
}

.btn--on-dark {
  --bg: transparent;
  --fg: var(--ivory);
  border-color: rgba(251, 247, 241, 0.5);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link {
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.25em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* 06 · Header & announcement strip */
.strip {
  background: var(--berry);
  color: #fbeee9;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.strip p {
  margin: 0;
  padding: 0.6rem var(--gutter);
}

.strip strong {
  font-weight: 500;
  color: #fff;
}

@media (max-width: 560px) {
  .strip__extra {
    display: none;
  }
  .strip {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
  .strip__dot {
    margin: 0 0.4em;
  }
}

.strip__dot {
  display: inline-block;
  margin: 0 0.6em;
  opacity: 0.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--espresso);
  white-space: nowrap;
}

.brand__sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-header .btn {
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

@media (max-width: 460px) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 1.12rem;
  }
  .site-header .btn span {
    display: none;
  }
  .site-header .btn {
    width: 2.75rem;
    padding: 0;
  }
}

/* 07 · Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 5rem);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-gold);
}

.hero__price strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--berry);
}

.hero__price span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d9c9b4;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.95rem;
  border-radius: 100px;
  background: rgba(29, 24, 21, 0.82);
  color: var(--ivory);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* 08 · Products */
.products {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

@media (min-width: 640px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.product {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.product.is-in-order {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm);
}

.product__media {
  position: relative;
  margin: 0;
  background: var(--ivory-deep);
}

.product__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 640px) and (max-width: 999px) {
  .product--featured {
    grid-column: 1 / -1;
  }
  .product--featured .product__media img {
    aspect-ratio: 4 / 3;
  }
}

.product--featured .product__media img {
  aspect-ratio: 1;
}

@media (min-width: 1000px) {
  .product--featured .product__media img {
    height: 100%;
    min-height: 26rem;
  }
}

.product__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background: var(--berry);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product__body {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product--featured .product__body {
  align-content: center;
}

.product__name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.product--featured .product__name {
  font-size: clamp(2rem, 4vw, 3rem);
}

.product__desc {
  margin: 0;
  color: var(--ink-soft);
}

.product__includes {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.product__includes li {
  display: flex;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.product__includes li::before {
  content: '+';
  color: var(--gold);
  font-weight: 500;
}

.product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-gold);
}

.product__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--berry);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--espresso);
  border-radius: 100px;
  overflow: hidden;
}

.qty button {
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.qty button:hover {
  background: var(--ivory-deep);
}

.qty output {
  min-width: 2.2rem;
  font-weight: 500;
  text-align: center;
}

/* 09 · Order */
.order {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .order {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.summary {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: #fff;
}

@media (min-width: 900px) {
  .summary {
    position: sticky;
    top: 6rem;
  }
}

.summary h3 {
  font-size: 1.7rem;
}

.summary__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.summary__list li span:last-child {
  white-space: nowrap;
}

.summary__empty {
  margin: 1rem 0 0;
  color: var(--ink-mute);
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.summary__total span:last-child {
  color: var(--berry);
}

.summary__note {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.send {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.send__or {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-mute);
  text-align: center;
}

/* 10 · Reels */
.reels {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reel {
  margin: 0;
}

/* The reels are 720x1280; keep the box at exactly 9:16 and never crop them. */
.reel video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: var(--espresso);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.reel figcaption {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.reel figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--espresso);
}

/* 11 · Steps */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.step {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-top: 2px solid var(--gold);
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  counter-increment: step;
}

.step::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
}

.step h3 {
  font-size: 1.5rem;
}

.step p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

/* 12 · Bands */
.band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--pine);
  color: rgba(251, 247, 241, 0.86);
}

.band--berry {
  background: var(--berry);
}

.band h2 {
  color: var(--ivory);
}

.band h2 em {
  color: var(--gold-light);
}

.band .eyebrow {
  color: var(--gold-light);
}

.band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}

.band__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.band__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.band--center .cta-row {
  justify-content: center;
}

.band .lede {
  color: rgba(251, 247, 241, 0.8);
}

.band--center .lede {
  margin-inline: auto;
}

.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 800px) {
  .more {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.more img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 13 · FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--espresso);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
}

/* 14 · Footer */
.site-footer {
  padding-block: 3rem;
  background: var(--espresso);
  color: rgba(251, 247, 241, 0.7);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.site-footer img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--ivory);
  text-decoration-color: rgba(215, 187, 133, 0.5);
  text-underline-offset: 0.25em;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(251, 247, 241, 0.3);
  border-radius: 50%;
}

.socials svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.site-footer__legal {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 247, 241, 0.12);
  font-size: 0.78rem;
  color: rgba(251, 247, 241, 0.5);
}

/* 15 · Sticky order bar */
.order-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 120;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(29, 24, 21, 0.97);
  color: var(--ivory);
  box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease-out);
}

.order-bar.is-visible {
  transform: translateY(0);
}

.order-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.order-bar__text {
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.order-bar__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.order-bar .btn {
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  flex: none;
}

/* 16 · Forms */
.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.form h3 {
  font-size: 1.7rem;
}

.form__row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.72rem;
  font-weight: 450;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(42, 33, 28, 0.22);
  border-radius: var(--radius);
  background: var(--ivory);
  font-size: 1rem;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 142, 74, 0.2);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(42, 33, 28, 0.25);
  border-radius: 100px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}

.choice input:checked + span {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--ivory);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.field__hint {
  font-size: 0.8rem;
  color: var(--ink-mute);
}

/* Thank-you page */
.thanks {
  min-height: 70vh;
  display: grid;
  align-items: center;
  text-align: center;
}

.thanks .lede {
  margin-inline: auto;
}

.thanks .cta-row {
  justify-content: center;
}

.thanks .steps {
  margin-top: 3rem;
  text-align: left;
}

/* 17 · Motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

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

/* 18 · Phones & installed app */
a,
button,
summary,
label,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.container {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-header {
  padding-top: env(safe-area-inset-top);
}

.site-footer {
  padding-bottom: calc(3rem + env(safe-area-inset-bottom));
}

.site-header .btn {
  min-height: 2.75rem;
}

@media (pointer: coarse) {
  .site-footer ul {
    gap: 0;
  }
  .site-footer ul a {
    display: inline-block;
    padding-block: 0.7rem;
  }
  .site-footer li:not(:has(a)) {
    padding-block: 0.7rem;
  }
}

.site-footer__install {
  margin: 2rem 0 0;
}

.install-hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

/* Offline notice (christmas.js) — sits above the order bar */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom));
  z-index: 130;
  width: min(calc(100% - 2rem), 28rem);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--espresso);
  color: var(--ivory);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}
