/* Rolling final build: home page sign-off (see js/final-foot.js). data-foot = 1 sign-off card, 2 kitchen receipt, 3 plum band. */
.ff { --plum: #4a1942; --gold: #d4a843; --cream: #fbf6ee; --ink: #33202d; --muted: #6d5a63; --line: #e6d9c6;
  width: 100vw; margin: 48px calc(50% - 50vw) 0; box-sizing: border-box; padding: 44px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(246, 236, 220, 0) 0, #f6ecdc 120px); color: var(--ink); font-size: 15px; line-height: 1.45; }
.ff *, .ff *::before, .ff *::after { box-sizing: border-box; }
.ff-in { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ff-top { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ff-mark { position: relative; display: block; width: 168px; aspect-ratio: 847 / 449; text-decoration: none; }
.ff-letters { position: absolute; inset: 0; background: var(--plum); -webkit-mask: url("/assets/glaze/core/glaze-wordmark-letters.png") center / contain no-repeat; mask: url("/assets/glaze/core/glaze-wordmark-letters.png") center / contain no-repeat; }
.ff-mbon { position: absolute; left: 74%; top: -3%; width: 25%; height: auto; transform-origin: 50% 92%; filter: drop-shadow(0 3px 4px rgba(74, 25, 66, 0.2)); }
.ff.is-in .ff-mbon { animation: ffBonWave 4.8s ease-in-out 0.8s infinite; }
@keyframes ffBonWave { 0%, 100% { rotate: 0deg; } 30% { rotate: -5deg; } 60% { rotate: 4deg; } }
.ff-sign { display: none; }
.ff-tag { margin: 0; font-family: var(--ff-display, Georgia, serif); font-style: italic; font-size: 17px; color: var(--plum); text-wrap: balance; }
.ff-bon { display: flex; align-items: flex-end; gap: 8px; text-align: left; max-width: 380px; }
.ff-bon img { flex: none; width: 52px; height: 52px; object-fit: contain; }
.ff.is-in .ff-bon img { animation: ffBob 3.4s ease-in-out infinite; }
@keyframes ffBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.ff-bub { margin: 0; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #fffaf2; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(74, 25, 66, 0.08); color: var(--plum); font-weight: 500; }
.ff-hours { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border: 0; border-radius: 0; background: none; overflow: visible; padding: 4px 0; border-top: 1px solid transparent; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, rgba(212, 168, 67, 0), rgba(212, 168, 67, 0.7), rgba(212, 168, 67, 0)) 1; }
.ff-hours-4 { grid-template-columns: repeat(4, 1fr); }
.ff-hours div { padding: 12px 6px; display: flex; flex-direction: column; gap: 2px; }
.ff-hours div + div { border-left: 1px solid rgba(212, 168, 67, 0.35); }
.ff-curb { text-wrap: balance; }
.ff-hours b { font-size: 10px; letter-spacing: 0.12em; white-space: nowrap; text-transform: uppercase; color: #9a7420; font-weight: 700; }
.ff-hours span { font-family: var(--ff-display, Georgia, serif); color: var(--plum); font-size: 15px; line-height: 1.2; }
.ff-curb { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.ff-cols { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
.ff-col { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ff-col h3 { flex: 0 0 100%; margin: 0 0 2px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #9a7420; font-weight: 700; font-family: inherit; }
.ff-col a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fffaf2; color: var(--plum); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s; }
.ff-col a:hover { border-color: var(--gold); box-shadow: 0 6px 16px rgba(212, 168, 67, 0.22); transform: translateY(-1px); }
.ff-col a:active { transform: scale(0.97); }
/* Loops, Nov 15: the tagline breaks only after "rolls," and "brought to your car." stays together even where text-wrap: balance is not supported (older iOS),
   so "car." is never left alone. The tour chip sits in the chip rows with the same 8px gap (no extra top margin). On
   phones each chip row fills the column width, so rows read as even blocks instead of 2, 1, 3, 1 ragged rows. */
.ff-nw { white-space: nowrap; }
.ff-col > .bbt-chipwrap.is-foot { margin: 0; }
@media (max-width: 599px) {
  .ff:not([data-foot="2"]) .ff-col > a, .ff:not([data-foot="2"]) .ff-col > .bbt-chipwrap { flex: 1 1 40%; justify-content: center; white-space: nowrap; }
  .ff:not([data-foot="2"]) .ff-col > .bbt-chipwrap .bbt-chip { flex: 1; justify-content: center; }
}
.ff-act { display: flex; gap: 10px; width: 100%; }
.ff-act > * { flex: 1; min-height: 52px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; transition: transform 0.15s; }
.ff-act > *:active { transform: scale(0.97); }
.ff-text { border: 1.5px solid var(--plum); color: var(--plum); background: transparent; }
.ff-build { border: 0; color: #2c1226; background: linear-gradient(180deg, #ecd28a, var(--gold)); box-shadow: 0 8px 20px rgba(212, 168, 67, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.ff-soc { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.ff-soc a { min-height: 44px; display: inline-flex; align-items: center; color: var(--plum); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ff-legal { margin: 0; font-size: 12.5px; color: var(--muted); }
.ff a:focus-visible, .ff button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* gentle rise as it comes into view */
.ff .ff-in > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ff.is-in .ff-in > * { opacity: 1; transform: none; }
.ff.is-in .ff-in > *:nth-child(2) { transition-delay: 0.08s; } .ff.is-in .ff-in > *:nth-child(3) { transition-delay: 0.14s; } .ff.is-in .ff-in > *:nth-child(4) { transition-delay: 0.18s; }
.ff.is-in .ff-in > *:nth-child(5) { transition-delay: 0.24s; } .ff.is-in .ff-in > *:nth-child(6) { transition-delay: 0.3s; } .ff.is-in .ff-in > *:nth-child(n+7) { transition-delay: 0.36s; }

/* 2. Kitchen receipt: one paper slip, rows with dotted leaders */
.ff[data-foot="2"] .ff-in { max-width: 420px; gap: 0; padding: 26px 20px 30px; background: #fffdf8; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(74, 25, 66, 0.12); position: relative;
  -webkit-mask: radial-gradient(circle 7px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100%; mask: radial-gradient(circle 7px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100%; }
.ff[data-foot="2"] .ff-in > * { width: 100%; padding: 14px 0; }
.ff[data-foot="2"] .ff-in > * + * { border-top: 1px dashed #d9c9ae; }
.ff[data-foot="2"] .ff-mark { font-size: 44px; }
.ff[data-foot="2"] .ff-bon { max-width: none; justify-content: center; }
.ff[data-foot="2"] .ff-hours { border: 0; border-radius: 0; background: transparent; border-top: 1px dashed #d9c9ae; }
.ff[data-foot="2"] .ff-curb { margin: 0; }
.ff[data-foot="2"] .ff-cols { gap: 0; }
.ff[data-foot="2"] .ff-col { display: block; text-align: left; }
.ff[data-foot="2"] .ff-col + .ff-col { margin-top: 12px; }
.ff[data-foot="2"] .ff-col a { display: flex; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; font-weight: 500; }
.ff[data-foot="2"] .ff-col a i { flex: 1; margin: 0 8px; border-bottom: 2px dotted #cdb98f; transform: translateY(4px); }
.ff[data-foot="2"] .ff-col a::after { content: "\2192"; color: #9a7420; font-weight: 700; }
.ff[data-foot="2"] .ff-col a:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ff[data-foot="2"] .ff-legal { padding-bottom: 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }

/* 3. Curbside sign: a porcelain sign with a gold frame, like the one at the pickup spot */
.ff[data-foot="3"] .ff-in { max-width: 440px; padding: 30px 22px 26px; border-radius: 28px; background: linear-gradient(180deg, #fffdf8, #fbf1e1); box-shadow: 0 0 0 1px var(--line), 0 0 0 7px #fffaf2, 0 0 0 8.5px rgba(212, 168, 67, 0.75), 0 30px 50px -30px rgba(74, 25, 66, 0.5); position: relative; }
.ff[data-foot="3"] .ff-in::before, .ff[data-foot="3"] .ff-in::after { content: ''; position: absolute; top: -26px; width: 2px; height: 26px; background: linear-gradient(180deg, rgba(212, 168, 67, 0), var(--gold)); }
.ff[data-foot="3"] .ff-in::before { left: 22%; } .ff[data-foot="3"] .ff-in::after { right: 22%; }
.ff[data-foot="3"] .ff-sign { display: block; order: -1; margin: 0; font: 700 11px/1 "DM Sans", sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: #9a7420; }
.ff[data-foot="3"] .ff-top { order: -1; }

.ff[data-foot="3"] .ff-curb { font-family: "Glaze Display", Georgia, serif; font-style: italic; font-size: 16px; color: var(--plum); }
.ff[data-foot="3"] .ff-col a { background: #fff; }
.ff[data-foot="3"] .ff-text { background: #fff; }

@media (min-width: 900px) {
  .ff { padding-bottom: 56px; }
  .ff:not([data-foot="2"]) .ff-in { max-width: 860px; }
  .ff:not([data-foot="2"]) .ff-cols { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .ff:not([data-foot="2"]) .ff-hours, .ff:not([data-foot="2"]) .ff-act { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .ff .ff-in > * { opacity: 1; transform: none; transition: none; } .ff-mark i, .ff-bon img, .ff-mbon { animation: none !important; } }
