/* ═══════════════════════════════════════════════════════════════════════
   events.fressocafe.com/fall2026 – the app's Fresso Fall pieces
   (fall2026-card.js: the ground, the Home card, the drink cards, the
   landing page).

   Every size and position is written by the script, which measures the
   faces the way the app does – from the INK – and multiplies the owner's
   artboard numbers by k. What lives here is only what does not move with k:
   the faces, the fills, the stacking, and the few transitions the app plays
   the same way at every size. Class prefix ff-.

   This page loads no site.css, so the faces are declared here, exactly as
   menu.css and site.css declare them, plus two of this file's own:
     · 'FF Seramonde' – the same Seramonde file with the DIGITS left out of
       its unicode-range. The web cut is a TRIAL whose 2, 5 and 8 draw as a
       watermark, so a digit in any server string set in the display face
       falls through to Hanken instead of ever being drawn in Seramonde.
     · 'FF Shantell' – the Regulars strip's label face (SeasonalHomeCard
       stripRow: Shantell Sans Regular), a woff2 of the app's own file.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Seramonde'; src: url('../fonts/Seramonde.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'New Spirit'; src: url('../fonts/NewSpirit-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'FF Seramonde'; src: url('../fonts/Seramonde.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: 'FF Shantell'; src: url('../fonts/ShantellSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ─── Shared ───────────────────────────────────────────────────────────── */

.ff-vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* One line of type, placed by its ink. The script sets the face, the size,
   the line box and the tracking inline, so the measurement and the drawing
   can never disagree; the rest is pinned here so a page's own h2 or p rules
   cannot move a glyph the layout has already measured. White unless the
   script says otherwise (the blurb, the footer's burnt, the note). */
.ff-card .ff-t, .ff-landing .ff-t {
  position: absolute; left: 0; top: 0; z-index: 1; margin: 0; padding: 0; border: 0;
  color: #fff; white-space: nowrap; pointer-events: none;
  font-style: normal; font-synthesis: none; text-transform: none; text-align: left;
  text-shadow: none; text-decoration: none;
  -webkit-font-smoothing: antialiased;
}
/* The app's italic, which it builds from the upright New Spirit Light with a
   font matrix: an 8° shear and a 2.3% squeeze about the baseline (the script
   puts the transform origin on it). An emoji inside the line is not New
   Spirit and the app draws it upright, so it wears the inverse. */
.ff-it { transform: matrix(.977, 0, -.1405, 1, 0, 0); }
.ff-it .ff-emoji { display: inline-block; transform: matrix(1.02354, 0, .14381, 1, 0, 0); }

/* ─── The ground (SeasonalFallGround) ──────────────────────────────────── */

.ff-ground {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #964222, #873a1d);
}
.ff-ground-leaves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

/* ─── The Home card (SeasonalHomeCard) ─────────────────────────────────── */

.ff-card {
  --k: 1;
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 auto; color: #fff;
  border-radius: calc(23px * var(--k));
  background: var(--ff-card-ground, linear-gradient(180deg, #964222, #873a1d));
  opacity: 0;
  transition: opacity .3s cubic-bezier(.22, .61, .2, 1);
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ff-card.is-ready { opacity: 1; }
.ff-card-leaves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ff-strip { position: absolute; left: 0; top: 0; right: 0; z-index: 1; background: rgba(255, 255, 255, .19); }
.ff-strip[hidden], .ff-card .ff-t[hidden], .ff-replay[hidden], .ff-drink[hidden], .ff-pl[hidden] { display: none; }

/* The pill: solid white when it acts, white @ 0.47 when it refuses, the
   burnt word centred on its ink either way. The shared 0.85 press dim. */
.ff-pill {
  position: absolute; z-index: 2; margin: 0; padding: 0; border: 0;
  border-radius: 999px; background: #fff; color: #9c4524;
  font: inherit; cursor: pointer; overflow: hidden;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .1s ease-out;
}
.ff-pill.is-locked { background: rgba(255, 255, 255, .47); }
.ff-pill:active { opacity: .85; }
.ff-pill:focus { outline: none; }
.ff-pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ff-pill.is-hidden, .ff-pill.is-hidden:active { opacity: 0; transition: none; }
.ff-pl {
  position: absolute; left: 0; top: 0; pointer-events: none;
  transition: opacity .24s ease-in-out, filter .24s ease-in-out, transform .24s ease-in-out;
}
.ff-pl-t {
  position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap;
  font-family: 'FF Seramonde', 'Hanken Grotesk', sans-serif; font-weight: 400;
  color: #9c4524; -webkit-text-stroke-color: #9c4524;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
/* The refusal (§3.3): the pill's word leaves (opacity 0, blur 4, scale .92)
   while the locked word arrives, overlapping by a third. The way back is a
   third slower, and the delay always belongs to the word ARRIVING. */
.ff-pl-a { transition-delay: .16s; }
.ff-pl-b { opacity: 0; filter: blur(4px); transform: scale(.92); transition-delay: 0s; }
.ff-pill.is-refused .ff-pl-a {
  opacity: 0; filter: blur(4px); transform: scale(.92);
  transition-duration: .18s; transition-delay: 0s;
}
.ff-pill.is-refused .ff-pl-b {
  opacity: 1; filter: blur(0); transform: none;
  transition-duration: .18s; transition-delay: .12s;
}

/* "Replay the reveal": its 44-point band is the target, the words sit on it. */
.ff-replay {
  position: absolute; z-index: 2; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .1s ease-out;
}
.ff-replay:active { opacity: .85; }
.ff-replay:focus { outline: none; }
.ff-replay:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 12px; }

/* ─── The drink card (SeasonalDrinkCard) ───────────────────────────────── */

.ff-drink { position: absolute; z-index: 1; }
.ff-plate {
  position: absolute; inset: 0; overflow: hidden;
  background: rgba(255, 255, 255, .19);
}
/* The tile's fallback is innerFill (never a hole). On the scrambled card it
   sits INSIDE the blurred layer with the picture, as the app's does, so the
   softened edge fades to the plate and not to a second fill. */
.ff-tile { position: absolute; left: 0; top: 0; overflow: hidden; }
.ff-tile--real, .ff-tile-img { background: rgba(255, 255, 255, .19); }
.ff-tile-blur { position: absolute; inset: 0; }
.ff-tile-img { position: absolute; inset: 0; overflow: hidden; }
.ff-tile img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .3s ease-out;
}
.ff-tile img.is-in { opacity: 1; }
.ff-scr { position: absolute; left: 0; top: 0; pointer-events: none; }
.ff-foot { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: #9c4524; }
.ff-lock { position: absolute; left: 0; top: 0; display: block; fill: #9c4524; stroke: #9c4524; overflow: visible; }
.ff-border { position: absolute; inset: 0; z-index: 3; border-style: solid; border-color: #fff; pointer-events: none; }

/* ─── The landing page (SeasonalExperienceView) ────────────────────────── */

.ff-landing {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  color: #fff; outline: none;
  -webkit-tap-highlight-color: transparent;
}
.ff-land-scroll {
  position: relative; flex: 1 1 auto; min-height: 0;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.ff-land-scroll::-webkit-scrollbar { display: none; }
/* R10's veil: once the page scrolls, its top edge dissolves into the ground
   rather than cutting the words on a line. */
.ff-land-scroll.is-scrolled {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, var(--ff-veil-a, 1)) 0, rgba(0, 0, 0, var(--ff-veil-a, 1)) var(--ff-veil-top, 0px), #000 var(--ff-veil-end, 14px));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, var(--ff-veil-a, 1)) 0, rgba(0, 0, 0, var(--ff-veil-a, 1)) var(--ff-veil-top, 0px), #000 var(--ff-veil-end, 14px));
}
.ff-land-col { position: relative; margin: 0 auto; }
.ff-para { position: absolute; left: 0; top: 0; width: 100%; }
.ff-land-el { will-change: transform, opacity; }
.ff-land-foot { position: relative; flex: 0 0 auto; }
.ff-land-rule { height: .5px; background: #969696; }
.ff-land-foot-in { position: relative; margin: 0 auto; }
.ff-land-foot .ff-pill { position: relative; display: block; }
.ff-close {
  position: absolute; z-index: 2; width: 44px; height: 44px; margin: 0; padding: 0; border: 0;
  background: none; color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .1s ease-out;
}
.ff-close:active { opacity: .85; }
.ff-close:focus { outline: none; }
.ff-close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 10px; }
.ff-close svg { position: absolute; right: 0; top: 14.75px; width: 14.5px; height: 14.5px; overflow: visible; }
.ff-drink--real { cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .ff-tile img { transition: none; }
}
