/* CSS Overrides Top Start */
@import url('/Styles/styles-v2/icons/fontawesome-icon.css?v=4232385967');
@import url('/Styles/styles-v2/icons/fontawesome-solid.css?v=4137481333');
@import url('/Styles/styles-v2/icons/tabler-icon.css?v=116410291');
/* CSS Overrides Top End */

/* Source: https://github.com/TFH-Web/mobile-tfh-org/blob/main/theme-nextgen/Styles/tfh-christmas.css */
/*
   Christmas 2026 landing page. Tokens and textures come from the TFH design system artifact
   (project/tokens.json, README Part 1). Class prefix tfh-xmas-. Only opacity and transform animate.
   Gold is never text on a light ground.
*/

/* 0. Self-hosted font for the Train Days split-flap tiles: Barlow Condensed 600, latin subset (SIL Open Font
   License 1.1, from Google Fonts; see christmas-2026/README.md). Served from Themes/MobileNextGen/Assets/Fonts. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../Assets/Fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens */
:root {
  --xmas-parchment: #ECE0D5;
  --xmas-snow: #F0EAE0;
  --xmas-linen: #E6DDD1;
  --xmas-stone: #BCB3A7;
  --xmas-sage: #8D8C7C;
  --xmas-evergreen: #313F34;
  --xmas-walnut: #5B4833;
  --xmas-night: #242423;
  --xmas-star: #D8B48A;
  --xmas-font-heading: "ivypresto-display", Georgia, "Times New Roman", serif;
  --xmas-font-body: "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --xmas-font-eyebrow: "neue-haas-grotesk-display", "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 2. Base */
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--xmas-parchment);
  color: var(--xmas-evergreen);
  font-family: var(--xmas-font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* The Rock layout's body also carries .tfh-mobile, whose tfh-mobile.css sets the page background, text colour and
   (at 0,1,2) every anchor colour. Match its specificity here (this file loads later) so Christmas keeps its own. */
html body.tfh-mobile {
  background-color: var(--xmas-parchment);
  color: var(--xmas-evergreen);
  font-family: var(--xmas-font-body);
}
.tfh-xmas-feature, .tfh-xmas-main { display: block; padding: 0; margin: 0; }
#tfh-xmas-hero, #tfh-xmas-services, #tfh-xmas-photos, #tfh-xmas-train, #tfh-xmas-album, #tfh-xmas-footer {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
.tfh-xmas-feature h1, .tfh-xmas-feature h2, .tfh-xmas-feature h3,
.tfh-xmas-main h1, .tfh-xmas-main h2, .tfh-xmas-main h3 {
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: left;
  text-transform: none;
}
.tfh-xmas-feature em, .tfh-xmas-main em { font-style: italic; }
.tfh-xmas-placeholder {
  margin: 0;
  padding: 48px 16px;
  font-family: var(--xmas-font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--xmas-evergreen);
}

/* 3. Utilities */
/* Visually hidden, still read by screen readers. */
.tfh-xmas-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Eyebrow: Neue Haas Grotesk Display 700 caps, +0.2em. */
.tfh-xmas-eyebrow {
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Grain wash over photography (screen blend, 18%). Put on a positioned wrapper around the photo. */
.tfh-xmas-grain { position: relative; isolation: isolate; }
.tfh-xmas-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/Images/christmas-2026/film-grain.jpg") center / cover;
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
}

/* 4. Hero scroll scene (#tfh-xmas-hero)
   Default (no JS, or reduced motion): the door and the living room stack as two full-height sections,
   title over the door, story line over the room. Enhanced (html.tfh-xmas-js and motion allowed): a 250svh
   wrapper pins a 100svh stage, and --xmas-p (0 to 1, written by tfh-christmas.js) drives every change.
   Each phase maps p to a 0..1 ramp with clamp(), then eases it with smoothstep t*t*(3-2t). */
.tfh-xmas-hero { background: var(--xmas-night); color: var(--xmas-snow); }
.tfh-xmas-hero__stage {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: minmax(100vh, auto) minmax(100vh, auto);
  grid-template-rows: minmax(100svh, auto) minmax(100svh, auto);
  grid-template-areas: "door" "room";
}
.tfh-xmas-hero__layer, .tfh-xmas-hero__intro { grid-area: door; position: relative; }
.tfh-xmas-hero__layer--room, .tfh-xmas-hero__scrim, .tfh-xmas-hero__story { grid-area: room; position: relative; }
.tfh-xmas-hero__layer { z-index: 0; overflow: hidden; }
.tfh-xmas-hero__layer--room { z-index: 1; }
.tfh-xmas-hero__scrim { z-index: 2; }
.tfh-xmas-hero__intro { z-index: 3; }
.tfh-xmas-hero__story { z-index: 4; }
/* The story lies over the whole stage, above the intro. It is text only, so it never takes clicks: without this it
   covered the ad card's form (invisible at the top of the page) and no field could be used (found 2026-11-20). */
.tfh-xmas-hero__story { pointer-events: none; }

.tfh-xmas-hero__layer picture { display: contents; }
.tfh-xmas-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.tfh-xmas-hero__layer--door .tfh-xmas-hero__img { object-position: 51% 55%; }

/* Deepen the dark areas the title and sign-off sit on (portrait: top and bottom). Pure black, not the warm night
   grey, which read as a light haze over the dark photo (Tim, 2026-11-19). */
.tfh-xmas-hero__layer--door::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 22%);
  pointer-events: none;
}

.tfh-xmas-hero__scrim { background: var(--xmas-night); opacity: 0.45; pointer-events: none; }

/* Title block: top of the frame on phones, over the dark porch roof and window. */
.tfh-xmas-hero__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding:
    max(56px, calc(env(safe-area-inset-top) + 40px))
    max(24px, env(safe-area-inset-right))
    max(32px, calc(env(safe-area-inset-bottom) + 24px))
    max(24px, env(safe-area-inset-left));
  text-align: center;
}
.tfh-xmas-feature .tfh-xmas-hero__title {
  margin: 0;
  /* The accent line is about 4.4em wide: the min() keeps "come home" on one line down to 320px. */
  font-size: clamp(56px, min(9vw + 38px, (100vw - 48px) / 4.5), 164px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--xmas-snow);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
/* Two flat palette colours over the dark photo: snow for the upright lead, star for the italic accent. */
.tfh-xmas-hero__lead {
  display: block;
  font-size: 0.56em;
  letter-spacing: -0.01em;
  color: var(--xmas-snow);
}
.tfh-xmas-feature .tfh-xmas-hero__accent {
  display: block;
  margin-top: 0.04em;
  padding-bottom: 0.04em;
  font-weight: 300;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--xmas-star);
}
.tfh-xmas-hero__signoff {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0.24em;
  color: var(--xmas-star);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
/* Two set lines on phones (CHRISTMAS AT / THE FATHER'S HOUSE), one line from 700px. */
.tfh-xmas-hero__signoff span { display: block; }
.tfh-xmas-hero__foot { display: flex; flex-direction: column; align-items: center; }
/* Scroll cue: a small SCROLL label over a hairline with a light running down it. Shown only with JS and motion
   allowed (section 4's motion block); hidden in the stacked fallback. */
.tfh-xmas-hero__cue { display: none; }
.tfh-xmas-hero__timer { display: none; }
@media (min-width: 700px) {
  .tfh-xmas-hero__signoff { font-size: 20px; }
  .tfh-xmas-hero__signoff span { display: inline; }
}

/* Story line over the room. */
.tfh-xmas-hero__story {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 72px max(24px, env(safe-area-inset-right)) 72px max(24px, env(safe-area-inset-left));
}
.tfh-xmas-hero__line {
  max-width: 19em;
  margin: 0;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(26px, 1.5vw + 1.6vh + 8px, 56px);
  font-size: clamp(26px, 1.5vw + 1.6svh + 8px, 56px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  text-align: center;
  text-wrap: balance;
  color: var(--xmas-snow);
  text-shadow: 0 1px 24px rgba(36, 36, 35, 0.55);
}
.tfh-xmas-hero__word { display: inline-block; }
/* Phones: the story line a little larger (Tim, 2026-11-19). */
@media (max-width: 699px) {
  .tfh-xmas-hero__line { font-size: clamp(30px, 6vw + 1.2vh, 40px); font-size: clamp(30px, 6vw + 1.2svh, 40px); line-height: 1.16; }
}

/* Left-aligned hero: any window 900px or wider, whatever its shape (Tim, 2026-11-19: stay left until tablet width),
   and landscape phones by aspect ratio. Below that the hero is centred. */
/* Wide frames (by aspect ratio, so a small landscape phone gets the landscape door too): landscape door, doorway centre-right, title in the dark tree and porch on the left. */
@media (min-aspect-ratio: 5/4), (min-width: 900px) {
  /* The photo stays centred on the doorway at every width (Tim, 2026-11-19). It used to be drawn 115% wide from
     the left edge to push the doorway right of the title, which let the door slide off as the window narrowed. */
  .tfh-xmas-hero__layer--door .tfh-xmas-hero__img { width: 100%; object-position: 50% 58%; }
  .tfh-xmas-hero__layer--door::after {
    background:
      linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0) 46%),
      linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 24%);
  }
  .tfh-xmas-hero__intro {
    padding-left: max(5.5vw, env(safe-area-inset-left));
    padding-right: 5.5vw;
    text-align: left;
  }
  .tfh-xmas-hero__intro::before { content: ""; } /* pushes the title to centre under space-between */
  /* Three lines on wide frames (A season to / come / home), about 2.6em wide, so the doorway stays clear. */
  .tfh-xmas-feature .tfh-xmas-hero__title {
    font-size: clamp(48px, min(10vw, 25vh), 150px);
    font-size: clamp(48px, min(10vw, 25svh), 150px);
    text-align: left;
  }
  .tfh-xmas-hero__lead { white-space: nowrap; }
  .tfh-xmas-feature .tfh-xmas-hero__accent { max-width: 2.7em; white-space: normal; }
  .tfh-xmas-hero__foot { align-items: flex-start; }
}
/* Short landscape phones: a smaller sign-off so it stays in the dark porch, left of the doorway. */
@media (min-aspect-ratio: 5/4) and (max-height: 480px) {
  .tfh-xmas-feature .tfh-xmas-hero__title { font-size: clamp(44px, 15vh, 64px); font-size: clamp(44px, 15svh, 64px); }
  .tfh-xmas-hero__signoff { font-size: 14px; letter-spacing: 0.2em; }
}

/* Load: the title rises in once. */
@keyframes tfh-xmas-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes tfh-xmas-cue-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes tfh-xmas-timer-fill {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
@keyframes tfh-xmas-cue-run {
  0% { transform: translate3d(0, -26px, 0); }
  70%, 100% { transform: translate3d(0, 72px, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-hero__lead,
  .tfh-xmas-hero__accent,
  .tfh-xmas-hero__signoff {
    animation: tfh-xmas-rise 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  }
  .tfh-xmas-hero__accent { animation-delay: 0.45s; }
  .tfh-xmas-hero__signoff { animation-delay: 0.9s; }

  /* Pinned scene. */
  .tfh-xmas-js .tfh-xmas-hero {
    --p: var(--xmas-p, 0);
    /* door to room crossfade and push-in, p 0.15 to 0.55 */
    --x: clamp(0, (var(--p) - 0.15) / 0.4, 1);
    --xe: calc(var(--x) * var(--x) * (3 - 2 * var(--x)));
    /* title and sign-off out, p 0.04 to 0.3 */
    --t: clamp(0, (var(--p) - 0.04) / 0.26, 1);
    --te: calc(var(--t) * var(--t) * (3 - 2 * var(--t)));
    /* night scrim, p 0.3 to 0.6 */
    --s: clamp(0, (var(--p) - 0.3) / 0.3, 1);
    --se: calc(var(--s) * var(--s) * (3 - 2 * var(--s)));
    height: 250vh;
    height: 250lvh;
  }
  .tfh-xmas-js .tfh-xmas-hero__stage {
    position: sticky;
    top: 0;
    /* lvh: the stage fills the screen once the iOS toolbar collapses, so no night band shows under the photo. */
    height: 100vh;
    height: 100lvh;
    overflow: hidden;
    grid-template-rows: 100%;
    grid-template-areas: "stage";
  }
  .tfh-xmas-js .tfh-xmas-hero__layer,
  .tfh-xmas-js .tfh-xmas-hero__intro,
  .tfh-xmas-js .tfh-xmas-hero__scrim,
  .tfh-xmas-js .tfh-xmas-hero__story { grid-area: stage; }
  /* Text stays inside the small viewport (toolbar showing), top-aligned, so it never sits under the toolbar. */
  .tfh-xmas-js .tfh-xmas-hero__intro,
  .tfh-xmas-js .tfh-xmas-hero__story {
    align-self: start;
    height: 100vh;
    height: 100svh;
  }

  /* Walking in: the door pushes in toward the doorway, and the room keeps pushing in the same
     direction (never back out) for the rest of the scroll, so it reads as stepping through the doors. */
  .tfh-xmas-js .tfh-xmas-hero__layer--door {
    /* door push-in starts a little before the crossfade, p 0.05 to 0.55 (the fade itself is 0.15 to 0.55) */
    --z: clamp(0, (var(--p) - 0.05) / 0.5, 1);
    --ze: calc(var(--z) * var(--z) * (3 - 2 * var(--z)));
    opacity: calc(1 - var(--xe));
    transform-origin: var(--xmas-door-origin, 50% 52%);
    transform: scale(calc(1 + 0.3 * var(--ze)));
    will-change: opacity, transform;
  }
  .tfh-xmas-js .tfh-xmas-hero__layer--room {
    /* room push-in runs from the start of the crossfade to the end of the scene, p 0.15 to 1 */
    --r: clamp(0, (var(--p) - 0.15) / 0.85, 1);
    opacity: var(--xe);
    transform: scale(calc(1 + 0.12 * var(--r)));
    will-change: opacity, transform;
  }
  @media (min-aspect-ratio: 5/4), (min-width: 900px) {
    .tfh-xmas-js .tfh-xmas-hero__layer--door { --xmas-door-origin: 50% 54%; }
  }
  .tfh-xmas-js .tfh-xmas-hero__intro {
    opacity: calc(1 - var(--te));
    transform: translate3d(0, calc(var(--te) * -28px), 0);
  }
  .tfh-xmas-js .tfh-xmas-hero__scrim { opacity: calc(0.45 * var(--se)); }

  /* Scroll cue: draws down once after the sign-off lands, then a light runs down the line. Gone by p 0.1. */
  .tfh-xmas-js .tfh-xmas-hero__cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    opacity: calc(1 - clamp(0, var(--p) / 0.1, 1));
  }
  .tfh-xmas-js .tfh-xmas-hero__cue-label {
    font-family: var(--xmas-font-eyebrow);
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.32em;
    margin-right: -0.32em; /* centre the tracked caps over the line */
    text-transform: uppercase;
    color: var(--xmas-snow);
    animation: tfh-xmas-rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
  }
  .tfh-xmas-js .tfh-xmas-hero__cue-line {
    position: relative;
    display: block;
    width: 2px;
    height: 72px;
    border-radius: 1px;
    overflow: hidden;
    background: rgba(216, 180, 138, 0.32);
    transform-origin: 50% 0;
    animation: tfh-xmas-cue-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both;
  }
  .tfh-xmas-js .tfh-xmas-hero__cue-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 26px;
    background: linear-gradient(to bottom, rgba(216, 180, 138, 0), var(--xmas-star));
    transform: translate3d(0, -26px, 0);
    animation: tfh-xmas-cue-run 2.6s cubic-bezier(0.65, 0, 0.35, 1) 2.4s infinite;
  }
  /* Short landscape phones: a shorter line so the title keeps its room. */
  @media (max-height: 480px) {
    .tfh-xmas-js .tfh-xmas-hero__cue { margin-top: 14px; gap: 8px; }
    .tfh-xmas-js .tfh-xmas-hero__cue-line { height: 44px; }
  }
  @media (min-aspect-ratio: 5/4), (min-width: 900px) {
    .tfh-xmas-js .tfh-xmas-hero__cue { align-items: flex-start; }
  }
  /* Second cue at the foot of the living room: same mark, labelled for what comes next. It fades in once the
     story line has landed (p 0.86 to 0.96) and stays centred at every width. */
  .tfh-xmas-js .tfh-xmas-hero__story { position: relative; }
  .tfh-xmas-js .tfh-xmas-hero__cue.tfh-xmas-hero__cue--next {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
    margin-top: 0;
    align-items: center;
    opacity: clamp(0, (var(--p) - 0.86) / 0.1, 1);
  }
  /* Wide frames: left-justified like the hero's own cue, on the same left edge as the title. */
  @media (min-aspect-ratio: 5/4), (min-width: 900px) {
    .tfh-xmas-js .tfh-xmas-hero__cue.tfh-xmas-hero__cue--next {
      left: max(5.5vw, env(safe-area-inset-left));
      right: auto;
      align-items: flex-start;
    }
  }

  /* Auto-advance timer: a ring in the lower right that fills clockwise over 5 seconds (tfh-christmas.js adds .is-running
     and glides to the living room when it completes). Any scroll, tap or key cancels it (.is-off). */
  .tfh-xmas-js .tfh-xmas-hero__timer {
    position: absolute;
    right: max(24px, calc(env(safe-area-inset-right) + 16px));
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
    display: block;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 2px solid rgba(216, 180, 138, 0.32);
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .tfh-xmas-js .tfh-xmas-hero__timer.is-running { opacity: 1; }
  .tfh-xmas-js .tfh-xmas-hero__timer.is-off { opacity: 0; }
  /* The fill sweeps round like a clock hand, starting at 12 o'clock: a circle of radius 8 with a 16-wide stroke
     is a solid pie, and drawing its stroke from 0 to 100 (pathLength) fills the wedge clockwise. This is the one
     place the page animates something other than opacity or transform; it is a 28px element. */
  .tfh-xmas-js .tfh-xmas-hero__timer svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  .tfh-xmas-js .tfh-xmas-hero__timer-fill {
    fill: none;
    stroke: var(--xmas-star);
    stroke-width: 16;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  .tfh-xmas-js .tfh-xmas-hero__timer.is-running .tfh-xmas-hero__timer-fill {
    animation: tfh-xmas-timer-fill var(--xmas-auto-ms, 5000ms) linear both;
  }

  /* Words: each fades and lifts over 0.1 of p; starts spread across p 0.6 to 0.8, so the last lands at 0.9. */
  .tfh-xmas-js .tfh-xmas-hero__word {
    --w: clamp(0, (var(--p) - (0.6 + 0.2 * var(--i) / (var(--n) - 1))) / 0.1, 1);
    --we: calc(var(--w) * var(--w) * (3 - 2 * var(--w)));
    opacity: var(--we);
    transform: translate3d(0, calc((1 - var(--we)) * 0.42em), 0);
  }

  /* Sections below reveal once (tfh-christmas.js adds .is-in). */
  .tfh-xmas-js [data-xmas-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .tfh-xmas-js [data-xmas-reveal].is-in { opacity: 1; transform: none; }
}

/* 4b. Ad visitors (html.tfh-xmas-ad, set by tfh-christmas.js when the address names an ad): a "Join us for
   Christmas" card in the hero with the response form. Phones: under a smaller title. Wide frames: on the right.
   The card rides with the title, so it fades and lifts away as the scroll scene starts. */
.tfh-xmas-join[hidden] { display: none; }
.tfh-xmas-join {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 18px 16px;
  border-radius: 22px;
  background: var(--xmas-snow);
  color: var(--xmas-evergreen);
  text-align: left;
  /* A star-coloured edge and a warm glow lift the card off the dark photo (more prominent: Tim, 2026-11-19). */
  box-shadow: 0 0 0 2px var(--xmas-star), 0 0 70px rgba(216, 180, 138, 0.38), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.tfh-xmas-join__eyebrow {
  margin: 0 0 6px;
  font-family: var(--xmas-font-eyebrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xmas-walnut);
}
.tfh-xmas-join.is-away { visibility: hidden; pointer-events: none; }
.tfh-xmas-feature .tfh-xmas-join__title {
  margin: 0;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--xmas-evergreen);
}
.tfh-xmas-join__title em { font-style: italic; }
.tfh-xmas-join__lede { margin: 6px 0 12px; font-size: 14px; line-height: 1.4; color: var(--xmas-walnut); }
.tfh-xmas-join .tfh-xmas-form { gap: 8px; padding: 0; animation: none; }
.tfh-xmas-join .tfh-xmas-form__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.tfh-xmas-join .tfh-xmas-field { gap: 3px; }
/* Labels are kept for screen readers; the placeholder carries the word on screen to keep the card short. */
.tfh-xmas-join .tfh-xmas-field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tfh-xmas-join .tfh-xmas-field__control { min-height: 44px; padding: 8px 12px; border-radius: 10px; }
.tfh-xmas-join .tfh-xmas-field__control::placeholder { color: #6f675c; opacity: 1; }
.tfh-xmas-join select.tfh-xmas-field__control:invalid, .tfh-xmas-join select.tfh-xmas-field__control.is-empty { color: #6f675c; }
.tfh-xmas-join .tfh-xmas-field__error { font-size: 12px; }
.tfh-xmas-join .tfh-xmas-btn { width: 100%; min-height: 52px; margin-top: 2px; font-size: 17px; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(49, 63, 52, 0.7); }
.tfh-xmas-join__fine { margin: 2px 0 0; font-size: 12px; line-height: 1.4; text-align: center; color: var(--xmas-walnut); }
.tfh-xmas-join__done { margin: 4px 0 2px; }
.tfh-xmas-join__done strong { display: block; font-family: var(--xmas-font-heading); font-weight: 300; font-size: 26px; line-height: 1.1; color: var(--xmas-evergreen); outline: 0; }
.tfh-xmas-join__done span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--xmas-walnut); }
/* With the card showing: no auto-advance ring, and on phones a smaller title with the sign-off and cue left out
   so the title and the whole card fit one screen. */
.tfh-xmas-ad .tfh-xmas-hero__timer { display: none !important; }
@media (max-aspect-ratio: 1249/1000) and (max-width: 899.98px) {
  /* The card sits at the bottom of the screen; the title takes the space left above it and centres there. Its
     size follows the room available: 520px is about the card plus the paddings. */
  .tfh-xmas-ad .tfh-xmas-hero__intro {
    justify-content: flex-start;
    gap: 0;
    padding-top: max(20px, calc(env(safe-area-inset-top) + 12px));
    padding-bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  }
  .tfh-xmas-ad .tfh-xmas-feature .tfh-xmas-hero__title {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    font-size: clamp(34px, min(17vw, (100vh - 520px) / 1.7), 96px);
    font-size: clamp(34px, min(17vw, (100svh - 520px) / 1.7), 96px);
  }
  .tfh-xmas-ad .tfh-xmas-join { flex: none; }
  .tfh-xmas-ad .tfh-xmas-hero__foot { display: none; }
}
/* Short phones: drop the card's label and lede so the title keeps some room. */
@media (max-aspect-ratio: 1249/1000) and (max-width: 899.98px) {
  @media (max-height: 640px) {
    .tfh-xmas-ad .tfh-xmas-join__eyebrow, .tfh-xmas-ad .tfh-xmas-join__lede { display: none; }
    .tfh-xmas-ad .tfh-xmas-feature .tfh-xmas-join__title { margin-bottom: 10px; font-size: 28px; }
  }
}
@media (min-aspect-ratio: 5/4), (min-width: 900px) {
  .tfh-xmas-ad .tfh-xmas-join {
    position: absolute;
    top: 50%;
    right: max(4vw, env(safe-area-inset-right));
    width: min(480px, 46vw);
    max-width: none;
    margin: 0;
    padding: 32px 30px 26px;
    transform: translate3d(0, -50%, 0);
  }
  /* Headline and card may come close together: each takes close to half the width, with a narrower side margin
     than the plain hero, so neither has to shrink early (Tim, 2026-11-19). */
  .tfh-xmas-ad .tfh-xmas-hero__intro { padding-left: max(4vw, env(safe-area-inset-left)); padding-right: 4vw; }
  .tfh-xmas-ad .tfh-xmas-feature .tfh-xmas-hero__title {
    font-size: clamp(48px, min(13.5vw, 25vh), 150px);
    font-size: clamp(48px, min(13.5vw, 25svh), 150px);
  }
  .tfh-xmas-ad .tfh-xmas-feature .tfh-xmas-join__title { font-size: 46px; }
  .tfh-xmas-ad .tfh-xmas-join__eyebrow { font-size: 12px; margin-bottom: 10px; }
  .tfh-xmas-ad .tfh-xmas-join__lede { margin: 10px 0 18px; font-size: 16px; }
  .tfh-xmas-ad .tfh-xmas-join .tfh-xmas-field__control { min-height: 50px; }
  .tfh-xmas-ad .tfh-xmas-join .tfh-xmas-btn { min-height: 56px; }
  .tfh-xmas-ad .tfh-xmas-join .tfh-xmas-form, .tfh-xmas-ad .tfh-xmas-join .tfh-xmas-form__grid { gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-ad .tfh-xmas-join { animation: tfh-xmas-join-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
  @keyframes tfh-xmas-join-in { from { opacity: 0; } to { opacity: 1; } }
}

/* 5. Service times (#tfh-xmas-services). Two states, swapped by tfh-christmas.js:
   - the picker: photo cards in the manner of the tfh.org/visit campus picker, set in the Christmas type;
   - the times: one campus's services inline, its name large on the left and the rows on a snow card.
   The swap fades and rises (opacity and transform only). Without JS the picker intro and the noscript line show. */
.tfh-xmas-services {
  padding: 88px max(16px, env(safe-area-inset-right)) 96px max(16px, env(safe-area-inset-left));
  background: var(--xmas-parchment);
  overflow-x: clip;
}
.tfh-xmas-services__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.tfh-xmas-services__eyebrow, .tfh-xmas-times__eyebrow { margin: 0 0 16px; color: var(--xmas-walnut); }
.tfh-xmas-feature .tfh-xmas-services__title {
  margin: 0;
  font-size: clamp(44px, 6vw + 12px, 84px);
  line-height: 0.98;
  color: var(--xmas-evergreen);
}
.tfh-xmas-times__title:focus { outline: none; }
.tfh-xmas-services__lede {
  max-width: 28em;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--xmas-walnut);
}
.tfh-xmas-athome {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(91, 72, 51, 0.25);
  font-family: var(--xmas-font-heading);
  font-size: clamp(20px, 1vw + 16px, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--xmas-evergreen);
}
.tfh-xmas-picker[hidden], .tfh-xmas-times[hidden] { display: none; }
@media (min-width: 900px) {
  .tfh-xmas-services { padding: 128px max(32px, env(safe-area-inset-right)) 128px max(32px, env(safe-area-inset-left)); }
  .tfh-xmas-services__intro {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 64px;
    align-items: end;
  }
  .tfh-xmas-services__eyebrow { grid-column: 1; }
  .tfh-xmas-services__title { grid-column: 1; }
  .tfh-xmas-services__lede { grid-column: 2; grid-row: 2; margin: 0 0 6px; justify-self: end; }
  .tfh-xmas-athome { margin-top: 64px; }
}

/* Picker: portrait photo cards (3:4, 20px corners, 16px gaps), the campus at the bottom left over a night gradient.
   Phones: two across (an odd last card sits centred). From 700px three across, from 1100px four across, the
   tfh.org/visit rhythm; a list of exactly five goes five across from 1180px rather than leaving one card alone. */
.tfh-xmas-campuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  --cols: 2;
  --gap: 12px;
}
.tfh-xmas-campuses > li {
  flex: 0 0 auto;
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  margin: 0;
  padding: 0;
}
@media (min-width: 700px) { .tfh-xmas-campuses { --cols: 3; --gap: 16px; gap: 16px; } }
@media (min-width: 1100px) { .tfh-xmas-campuses { --cols: 4; margin-top: 56px; } }
@media (min-width: 1180px) {
  .tfh-xmas-campuses:has(> li:first-child:nth-last-child(5)) { --cols: 5; }
}

.tfh-xmas-campus {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--xmas-evergreen);
  color: var(--xmas-snow);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
/* The lift shadow fades in on a pseudo-element so only opacity animates. */
.tfh-xmas-campus::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 26px 48px -22px rgba(36, 36, 35, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
/* The photo is clipped by its own box, so the shadow above is not. */
.tfh-xmas-campus__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--xmas-evergreen);
  isolation: isolate;
}
.tfh-xmas-campus__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.tfh-xmas-campus.is-photo-missing .tfh-xmas-campus__media img { display: none; }
/* Campus photo crops. Each photo fills its card from the centre; nudge one here if its subject is cut off
   (x% y%: lower y shows more of the top). Cards carry data-campus-slug from the campus short code. */
.tfh-xmas-campus[data-campus-slug="vv"] img { object-position: 50% 50%; }
.tfh-xmas-campus[data-campus-slug="eb"] img { object-position: 50% 50%; }
.tfh-xmas-campus[data-campus-slug="np"] img { object-position: 50% 50%; }
.tfh-xmas-campus[data-campus-slug="rv"] img { object-position: 50% 50%; }
.tfh-xmas-campus[data-campus-slug="ca"] img { object-position: 50% 50%; }
/* Black rising from the bottom, so the snow type reads on any photo. */
.tfh-xmas-campus__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* The broad wash: black rising through the lower half, clear by three quarters up. The text block adds its own
     scrim on top (below), so the type holds 4.5:1 even over stage lights and candle flames. */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.62) 30%, rgba(0, 0, 0, 0.26) 55%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}
.tfh-xmas-campus.is-photo-missing .tfh-xmas-campus__media::after { opacity: 0.4; }
.tfh-xmas-campus__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 56px 14px 16px 16px;
  border-radius: 0 0 20px 20px;
  /* Text scrim: fades in over the 40px above the eyebrow, then holds at 58% black behind every line
     (Tim asked for black, a little more transparent than the earlier 72% night, 2026-11-18). */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.58) 40px, rgba(0, 0, 0, 0.58) 100%);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.tfh-xmas-campus__eyebrow {
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.9);
}
.tfh-xmas-campus__name {
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(28px, 2vw + 20px, 48px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--xmas-snow);
  overflow-wrap: anywhere;
}
/* The campus showing before Switch campus was pressed. */
.tfh-xmas-campus__current {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: rgba(240, 234, 224, 0.92);
  color: var(--xmas-evergreen);
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tfh-xmas-campus:not([aria-current="true"]) .tfh-xmas-campus__current { display: none; }
@media (min-width: 700px) {
  .tfh-xmas-campus__text { gap: 8px; padding: 68px 28px 28px; }
  .tfh-xmas-campus__eyebrow { font-size: 13px; }
  .tfh-xmas-campus__current { top: 18px; left: 18px; }
}
@media (min-width: 1100px) {
  .tfh-xmas-campus__text { padding: 80px 40px 40px; }
}
@media (min-width: 1180px) {
  .tfh-xmas-campuses:has(> li:first-child:nth-last-child(5)) .tfh-xmas-campus__text { padding: 66px 26px 26px; }
  .tfh-xmas-campuses:has(> li:first-child:nth-last-child(5)) .tfh-xmas-campus__name { font-size: clamp(36px, 1.6vw + 18px, 46px); }
}
@media (min-width: 1400px) {
  .tfh-xmas-campuses:not(:has(> li:first-child:nth-last-child(5))) .tfh-xmas-campus__text { padding: 88px 48px 48px; }
}
@media (hover: hover) {
  .tfh-xmas-campus:hover { transform: translate3d(0, -6px, 0); }
  .tfh-xmas-campus:hover::after { opacity: 1; }
  .tfh-xmas-campus:hover .tfh-xmas-campus__media img { transform: scale(1.06); }
}
.tfh-xmas-campus:focus-visible { transform: translate3d(0, -6px, 0); }
.tfh-xmas-campus:focus-visible::after { opacity: 1; }
.tfh-xmas-campus:focus-visible .tfh-xmas-campus__media img { transform: scale(1.06); }
.tfh-xmas-campus:active { transform: translate3d(0, -2px, 0) scale(0.985); }
.tfh-xmas-campus:focus-visible, .tfh-xmas-btn:focus-visible,
.tfh-xmas-switch:focus-visible {
  outline: 2px solid var(--xmas-evergreen);
  outline-offset: 4px;
}

/* Times: the campus name large, Switch campus under it, the rows on a snow card. Side by side from 900px. */
.tfh-xmas-times {
  display: grid;
  gap: 28px;
}
.tfh-xmas-feature .tfh-xmas-times__title {
  margin: 0;
  font-size: clamp(56px, 7vw + 16px, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--xmas-evergreen);
  overflow-wrap: anywhere;
}
.tfh-xmas-times__note {
  margin: 14px 0 0;
  font-family: var(--xmas-font-heading);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--xmas-walnut);
}
.tfh-xmas-times__note[hidden] { display: none; }
/* Shown to ad visitors only. */
.tfh-xmas-adonly { display: none; }
.tfh-xmas-ad .tfh-xmas-adonly { display: block; }
.tfh-xmas-times__welcome {
  max-width: 26em;
  margin: 26px 0 0;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(19px, 0.6vw + 15px, 23px);
  line-height: 1.4;
  color: var(--xmas-evergreen);
}
.tfh-xmas-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 20px 10px 16px;
  border: 1px solid rgba(49, 63, 52, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--xmas-evergreen);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-switch svg { flex: none; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) {
  .tfh-xmas-switch:hover { transform: translate3d(0, -1px, 0); }
  .tfh-xmas-switch:hover svg { transform: rotate(180deg); }
}
.tfh-xmas-switch:active { transform: scale(0.98); }
.tfh-xmas-times__body {
  padding: 4px 22px 22px;
  border-radius: 26px;
  background: var(--xmas-snow);
  box-shadow: 0 1px 0 rgba(91, 72, 51, 0.08), 0 24px 48px -32px rgba(49, 63, 52, 0.4);
}
@media (min-width: 900px) {
  .tfh-xmas-times { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .tfh-xmas-times__head { position: sticky; top: 48px; padding-top: 18px; }
  .tfh-xmas-times__body { padding: 8px 36px 32px; }
}

/* The state swap: the outgoing pane fades up and out, the incoming one rises in; its date groups follow in turn. */
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-picker, .tfh-xmas-times {
    transition: opacity 0.42s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .tfh-xmas-picker.is-out, .tfh-xmas-times.is-out {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition-duration: 0.24s, 0.24s;
    transition-timing-function: ease-in, ease-in;
  }
  .tfh-xmas-picker.is-pre, .tfh-xmas-times.is-pre { opacity: 0; transform: translate3d(0, 18px, 0); transition: none; }
  .tfh-xmas-times.is-entering .tfh-xmas-group,
  .tfh-xmas-times.is-entering .tfh-xmas-switch,
  .tfh-xmas-times.is-entering .tfh-xmas-times__note {
    animation: tfh-xmas-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms + 120ms) backwards;
  }
  .tfh-xmas-js .tfh-xmas-services__inner:not(.is-in) .tfh-xmas-campuses > li { opacity: 0; }
  .tfh-xmas-js .tfh-xmas-services__inner.is-in .tfh-xmas-campuses > li {
    animation: tfh-xmas-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 80ms + 120ms) backwards;
  }
}

.tfh-xmas-group { margin: 0; padding: 22px 0 6px; }
.tfh-xmas-group + .tfh-xmas-group { border-top: 1px solid rgba(91, 72, 51, 0.16); }
.tfh-xmas-feature .tfh-xmas-group__heading {
  margin: 0 0 6px;
  font-size: 22px;
  font-style: italic;
  line-height: 1.15;
  color: var(--xmas-walnut);
}
.tfh-xmas-rows { margin: 0; padding: 0; list-style: none; }
.tfh-xmas-row { margin: 0; padding: 14px 0; }
.tfh-xmas-row + .tfh-xmas-row { border-top: 1px solid rgba(91, 72, 51, 0.1); }
.tfh-xmas-row__main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tfh-xmas-row__time {
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
}
/* Capacity beside the time: five small segments that fill as responses come in, with a word or two after them.
   Shape, count and wording carry the meaning, not colour. */
.tfh-xmas-row__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--xmas-walnut);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.tfh-xmas-row__label[hidden] { display: none; }
.tfh-xmas-row__seg { display: inline-flex; gap: 3px; }
.tfh-xmas-row__seg b { width: 14px; height: 6px; border-radius: 2px; background: rgba(49, 63, 52, 0.16); }
.tfh-xmas-row__seg b.is-on { background: var(--xmas-evergreen); }
.tfh-xmas-row[data-state="full"] .tfh-xmas-row__seg b.is-on { background: #64605A; }
.tfh-xmas-row__captext:empty { display: none; }
/* Full rows are dimmed: time, segments and note drop to a warm grey (#64605A, 5.2:1 on snow), so they still
   read. A full row has no button. */
.tfh-xmas-row[data-state="full"] .tfh-xmas-row__time,
.tfh-xmas-row[data-state="full"] .tfh-xmas-row__label,
.tfh-xmas-row[data-state="full"] .tfh-xmas-row__note { color: #64605A; }
.tfh-xmas-row__action { flex: 1 0 100%; display: flex; }
.tfh-xmas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--xmas-evergreen);
  color: var(--xmas-snow);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-btn:hover { transform: translate3d(0, -1px, 0); }
.tfh-xmas-btn:active { transform: scale(0.98); }
.tfh-xmas-btn[hidden], .tfh-xmas-row__note[hidden] { display: none; }
.tfh-xmas-row__note { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--xmas-walnut); }
/* "Service full" sits where the button would be. */
.tfh-xmas-row__full {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 500;
  color: #64605A;
}
.tfh-xmas-row__full[hidden] { display: none; }
/* Staff note under the time, from the service's ServiceNote attribute. */
.tfh-xmas-row__hint { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--xmas-walnut); }
/* Response form. It appears with an opacity and transform keyframe only; nothing animates layout. */
.tfh-xmas-row__form:empty { display: none; }
.tfh-xmas-form { display: flex; flex-direction: column; gap: 18px; padding: 22px 0 6px; }
.tfh-xmas-form__intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--xmas-walnut); }
.tfh-xmas-form__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tfh-xmas-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tfh-xmas-field__label { font-size: 14px; font-weight: 500; color: var(--xmas-evergreen); }
.tfh-xmas-field__control {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--xmas-stone);
  border-radius: 12px;
  background: #fff;
  color: var(--xmas-evergreen);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}
/* Selects draw their own arrow: the browser's was small and sat tight against the edge (Tim, 2026-11-20).
   18px chevron, 14px from the right edge to match the left padding, centred top to bottom. */
select.tfh-xmas-field__control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23313f34' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  text-overflow: ellipsis;
}
.tfh-xmas-join select.tfh-xmas-field__control { padding-right: 40px; background-position: right 12px center; }
.tfh-xmas-field__control:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 2px; border-color: var(--xmas-evergreen); }
.tfh-xmas-field__control[aria-invalid="true"] { border-color: #8a2f25; }
.tfh-xmas-field__error, .tfh-xmas-form__status { margin: 0; font-size: 14px; line-height: 1.4; color: #8a2f25; }
.tfh-xmas-field__error[hidden], .tfh-xmas-form__status[hidden] { display: none; }
.tfh-xmas-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* While a row's form is open its "Let us know you're coming" button is hidden; the form's own button takes over. */
.tfh-xmas-row .tfh-xmas-btn[data-xmas-respond][aria-expanded="true"] { display: none; }
.tfh-xmas-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 2px; }
.tfh-xmas-form__cancel {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--xmas-walnut);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.tfh-xmas-form__cancel:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 2px; border-radius: 4px; }
.tfh-xmas-form__submit:disabled { opacity: 0.6; cursor: progress; }
.tfh-xmas-confirm {
  margin: 14px 0 4px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--xmas-linen);
  color: var(--xmas-evergreen);
  text-align: left;
}
/* Heading plus two short paragraphs (Tim's confirmation wording, 2026-11-21). */
.tfh-xmas-confirm__title {
  display: block;
  font-family: var(--xmas-font-heading);
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
}
.tfh-xmas-confirm__text { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--xmas-walnut); }
.tfh-xmas-confirm:focus { outline: none; }
.tfh-xmas-confirm:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 3px; }
@keyframes tfh-xmas-form-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-form, .tfh-xmas-confirm.is-new { animation: tfh-xmas-form-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
}

@media (min-width: 720px) {
  .tfh-xmas-row__action { flex: 0 0 auto; margin-left: auto; }
  .tfh-xmas-btn { width: auto; }
  .tfh-xmas-form__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tfh-xmas-campus, .tfh-xmas-campus::after, .tfh-xmas-campus__media img, .tfh-xmas-btn,
  .tfh-xmas-switch, .tfh-xmas-switch svg { transition: none; }
  .tfh-xmas-campus:hover, .tfh-xmas-campus:focus-visible, .tfh-xmas-campus:active, .tfh-xmas-btn:hover,
  .tfh-xmas-switch:hover, .tfh-xmas-switch:hover svg { transform: none; }
  .tfh-xmas-campus:hover .tfh-xmas-campus__media img, .tfh-xmas-campus:focus-visible .tfh-xmas-campus__media img { transform: none; }
}

/* 6. Photo strip (#tfh-xmas-photos): a table of keepsakes from Christmases past, laid on linen.
   Each <figure class="tfh-xmas-print"> takes one frame style by modifier: --polaroid, --film, --bare (add --wide to --bare for landscape).
   One texture per surface: linen on the table, paper on the paper prints, film grain on each photo.
   Default (no JS, or reduced motion): a scroll-snap row. With .is-drift (added by tfh-christmas.js when motion
   is allowed) the row is looped, drifts by transform and is dragged with pointer events. */
.tfh-xmas-photos {
  padding: 72px 0 24px;
  overflow: hidden;
  isolation: isolate;
  background: var(--xmas-linen);
}
/* The linen weave, kept faint so the prints carry the texture. */
.tfh-xmas-photos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../Assets/Images/christmas-2026/linen.jpg") 0 0 / 360px auto;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}
.tfh-xmas-photos__intro {
  box-sizing: border-box;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  text-align: center;
}
.tfh-xmas-photos__eyebrow { margin: 0 0 14px; font-size: 13px; color: var(--xmas-walnut); }
.tfh-xmas-feature .tfh-xmas-photos__title {
  margin: 0;
  font-size: clamp(40px, 4.4vw + 22px, 76px);
  line-height: 1;
  text-align: center;
  color: var(--xmas-evergreen);
}
.tfh-xmas-strip {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 72, 51, 0.35) transparent;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.tfh-xmas-strip:focus { outline: none; }
.tfh-xmas-strip:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: -4px; }
.tfh-xmas-strip__track {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 44px);
  width: max-content;
  padding: 40px 24px 48px; /* room for the tilts and the captions that sit under film and bare pieces */
}

/* Shared print. Each frame style sets its own default --tilt (rotation), --lift (vertical offset) and --overlap
   (how far it tucks over the piece before it); a figure can override any of them inline, for example
   style="--tilt: 2deg; --lift: -4px". Nothing depends on order, so pieces can be reordered or duplicated freely.
   --tilt-scale calms long pieces (film). */
.tfh-xmas-print {
  --tilt: 0deg;
  --lift: 0px;
  --overlap: 0px;
  --tilt-scale: 1;
  position: relative;
  isolation: isolate;
  flex: none;
  box-sizing: border-box;
  margin: 0 0 0 calc(-1 * var(--overlap));
  transform: translate3d(0, var(--lift), 0) rotate(calc(var(--tilt) * var(--tilt-scale)));
  scroll-snap-align: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Default lay of each frame style, so the table looks laid out by hand. */
.tfh-xmas-print--polaroid { --tilt: -3deg; --lift: 8px; }
.tfh-xmas-print--film { --tilt: -2deg; --lift: 10px; }
.tfh-xmas-print--bare { --tilt: 1.5deg; --lift: -6px; }
/* The first piece never tucks under the strip's edge. */
.tfh-xmas-strip__track > .tfh-xmas-print:first-child { margin-left: 0; }

.tfh-xmas-print__photo {
  position: relative;
  overflow: hidden;
  background: var(--xmas-night);
}
.tfh-xmas-print__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Faded amber print: a touch of sepia, softer contrast, lifted blacks come from the grain wash. */
  filter: sepia(0.24) saturate(0.9) contrast(0.92) brightness(1.04);
  -webkit-user-drag: none;
  user-select: none;
}
/* Print edge and a soft vignette, under the grain. */
.tfh-xmas-print__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(36, 36, 35, 0.14), inset 0 0 38px rgba(54, 34, 14, 0.38);
  pointer-events: none;
}
.tfh-xmas-print__photo.tfh-xmas-grain::after { z-index: 2; opacity: 0.22; }
.tfh-xmas-print__caption {
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--xmas-walnut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Paper style (polaroid): a snow sheet with a faint warm tooth, drawn on ::before. */
.tfh-xmas-print--polaroid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(rgba(240, 234, 224, 0.7), rgba(240, 234, 224, 0.7)),
    url("../Assets/Images/christmas-2026/paper.jpg") center / cover,
    var(--xmas-snow);
  pointer-events: none;
}
/* Styles whose caption sits on the table under the piece (film, bare). */
.tfh-xmas-print--film .tfh-xmas-print__caption,
.tfh-xmas-print--bare .tfh-xmas-print__caption {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding-top: 14px;
}

/* --polaroid: the instant print, square photo, caption on the wide white base. */
.tfh-xmas-print--polaroid {
  width: 204px;
  padding: 11px 11px 0;
  border-radius: 2px;
  box-shadow:
    0 1px 1px rgba(36, 36, 35, 0.1),
    0 3px 8px -2px rgba(36, 36, 35, 0.12),
    0 18px 30px -16px rgba(36, 36, 35, 0.45);
}
.tfh-xmas-print--polaroid .tfh-xmas-print__photo { aspect-ratio: 1 / 1; }
.tfh-xmas-print--polaroid .tfh-xmas-print__caption { padding: 15px 4px 17px; }

.tfh-xmas-print--film {
  --tilt-scale: 0.5;
  padding: 30px 10px;
  border-radius: 2px;
  background: #1D1A17;
  box-shadow: 0 2px 3px rgba(36, 36, 35, 0.2), 0 18px 26px -16px rgba(36, 36, 35, 0.5);
}
.tfh-xmas-print--film::before,
.tfh-xmas-print--film::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Crect x='4' y='1' width='8' height='8' rx='1.6' fill='%23E6DDD1'/%3E%3C/svg%3E") 0 0 / 16px 10px repeat-x;
  pointer-events: none;
}
.tfh-xmas-print--film::before { top: 8px; }
.tfh-xmas-print--film::after { bottom: 8px; }
.tfh-xmas-print__frames { position: relative; display: flex; gap: 8px; }
/* Edge printing between the frames and the lower holes. */
.tfh-xmas-print--film .tfh-xmas-print__frames::after {
  content: "TFH 400    \25B8 24    \25B8 24A    \25B8 25" / "";
  position: absolute;
  left: 4px;
  bottom: -14px;
  font: 600 8px/1 "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.16em;
  white-space: pre;
  color: rgba(226, 146, 72, 0.8);
  pointer-events: none;
}
.tfh-xmas-print--film .tfh-xmas-print__photo { width: 128px; aspect-ratio: 3 / 2; border-radius: 1px; }

/* --bare: no frame at all, rounded corners and a soft shadow, a little larger than the rest. */
.tfh-xmas-print--bare { width: 236px; }
.tfh-xmas-print--bare .tfh-xmas-print__photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(36, 36, 35, 0.14), 0 26px 40px -20px rgba(36, 36, 35, 0.55);
}
/* --bare --wide: the same borderless print, landscape. Replaced the scalloped and taped frames (Tim, 2026-11-19). */
.tfh-xmas-print--bare.tfh-xmas-print--wide { width: 248px; }
.tfh-xmas-print--bare.tfh-xmas-print--wide .tfh-xmas-print__photo { aspect-ratio: 5 / 4; }

/* Hover lifts and straightens a print (written as a whole transform so it wins over the tilt pinned inline by JS). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tfh-xmas-print:hover { z-index: 5; transform: translate3d(0, calc(var(--lift) - 8px), 0) rotate(0deg); }
}

/* Drifting row. */
.tfh-xmas-strip.is-drift {
  overflow: hidden;
  scroll-snap-type: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.tfh-xmas-strip.is-drift .tfh-xmas-strip__track { padding-left: 0; padding-right: 0; will-change: transform; }
.tfh-xmas-strip.is-dragging { cursor: grabbing; }
.tfh-xmas-strip.is-dragging .tfh-xmas-print { transition-duration: 0.3s; }

@media (min-width: 768px) {
  .tfh-xmas-photos { padding: 104px 0 48px; }
  .tfh-xmas-strip {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  .tfh-xmas-strip__track { padding-top: 56px; padding-bottom: 64px; }
  .tfh-xmas-print--polaroid { width: 256px; padding: 14px 14px 0; }
  .tfh-xmas-print--polaroid .tfh-xmas-print__caption { padding: 19px 4px 21px; }
  .tfh-xmas-print--film .tfh-xmas-print__photo { width: 164px; }
  .tfh-xmas-print--bare { width: 296px; }
  .tfh-xmas-print--bare.tfh-xmas-print--wide { width: 310px; }
  .tfh-xmas-print__caption { font-size: 11px; }
}

/* 7. Train Days (#tfh-xmas-train): an evergreen band with a brass departures sign. A split-flap board laid over
   the sign's main panel cycles through the invitation (tfh-christmas.js, initFlipBoard). Plain text above and
   below carries the real details. Every board measurement is in pixels of the 1672 x 941 artwork (container
   query units), so the tiles stay locked to the brass frame at any size. */
.tfh-xmas-train {
  overflow: hidden;
  padding: 96px 0 104px;
  background: var(--xmas-evergreen);
  color: var(--xmas-snow);
}
.tfh-xmas-train__inner {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.tfh-xmas-train__star {
  position: absolute;
  top: -64px;
  right: 16px;
  width: 64px;
  height: auto;
  pointer-events: none;
}
.tfh-xmas-train__text, .tfh-xmas-train__details {
  box-sizing: border-box;
  width: 100%;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  text-align: center;
}
/* Stone on evergreen is 5.4:1; snow on evergreen is 9.3:1. */
.tfh-xmas-train__eyebrow { margin: 0 0 18px; font-size: 13px; color: var(--xmas-stone); }
.tfh-xmas-feature .tfh-xmas-train__title {
  margin: 0;
  font-size: clamp(60px, 8vw + 24px, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--xmas-snow);
}
.tfh-xmas-train__when {
  margin: 0;
  font-size: clamp(18px, 0.6vw + 15px, 22px);
  line-height: 1.4;
  color: var(--xmas-snow);
}
/* Learn more: a quiet text link with a small arrow, part of the details rather than a button (Tim, 2026-11-18).
   Padding keeps a 44px tall hit area without drawing a box. The arrow is drawn in CSS (a masked SVG on ::after), so
   it is never read aloud and survives the script rewriting the link text. */
.tfh-xmas-train a.tfh-xmas-train__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 10px 2px;
  color: var(--xmas-snow);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(240, 234, 224, 0.45);
  text-underline-offset: 5px;
}
.tfh-xmas-train a.tfh-xmas-train__link::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-train a.tfh-xmas-train__link:hover,
.tfh-xmas-train a.tfh-xmas-train__link:focus-visible { text-decoration-color: var(--xmas-snow); }
.tfh-xmas-train a.tfh-xmas-train__link:hover::after,
.tfh-xmas-train a.tfh-xmas-train__link:focus-visible::after { transform: translate3d(4px, 0, 0); }
.tfh-xmas-train a.tfh-xmas-train__link[hidden] { display: none; }
.tfh-xmas-train a.tfh-xmas-train__link:focus-visible { outline: 2px solid var(--xmas-snow); outline-offset: 2px; border-radius: 4px; }

/* The sign spans the full width on phones. Under 360px wide it keeps 360px and scrolls sideways in its own box. */
.tfh-xmas-train__signwrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.tfh-xmas-train__signwrap::-webkit-scrollbar { display: none; }
.tfh-xmas-train__signwrap[hidden] { display: none; }
/* Without container query units the tiles cannot line up with the artwork, and the painted lower panel shows the wrong
   time, so the sign is hidden and the heading and details carry the section (tfh-christmas.js does the same). */
@supports not (width: 1cqw) {
  .tfh-xmas-train__signwrap { display: none; }
}
.tfh-xmas-train .tfh-xmas-sign {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 1000px, 160vh);
  width: min(100%, 1000px, 160svh); /* short landscape phones: the whole sign fits on screen */
  min-width: 360px;
  aspect-ratio: 1672 / 941;
  margin: 0 auto;
  container-type: inline-size;
}
.tfh-xmas-train .tfh-xmas-sign__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 1.1cqw 1.8cqw rgba(0, 0, 0, 0.42));
  -webkit-user-drag: none;
  user-select: none;
}
/* Covers the lettering painted into the artwork's main panel. */
.tfh-xmas-train .tfh-xmas-board {
  --px: calc(100cqw / 1672);
  position: absolute;
  left: calc(100% * 83 / 1672);
  top: calc(100% * 308 / 941);
  width: calc(100% * 1506 / 1672);
  height: calc(100% * 261 / 941);
  z-index: 1; /* above the blank lower-panel cover (.tfh-xmas-sign::after) */
  background: #141414;
  border-radius: calc(var(--px) * 6);
  box-shadow: inset 0 0 calc(var(--px) * 14) calc(var(--px) * 2) #000;
}
.tfh-xmas-train .tfh-xmas-board[hidden] { display: none; }
.tfh-xmas-train .tfh-xmas-board__row {
  position: absolute;
  left: calc(100% * 17 / 1506);
  width: calc(100% * 1475 / 1506);
  height: calc(100% * 106 / 261);
  display: grid;
  grid-template-columns: repeat(21, minmax(0, 1fr));
  column-gap: calc(var(--px) * 4);
}
.tfh-xmas-train .tfh-xmas-board__row--1 { top: calc(100% * 16 / 261); }
.tfh-xmas-train .tfh-xmas-board__row--2 { top: calc(100% * 139 / 261); }
/* The lower panel (artwork x 79 to 1592, y 657 to 788): one row of 31 narrower tiles over the painted values, so the
   departure time reads 9:00 AM. The painted STATUS / SERVICE / DEPARTS labels above it stay. */
.tfh-xmas-train .tfh-xmas-board--lower {
  left: calc(100% * 79 / 1672);
  top: calc(100% * 657 / 941);
  width: calc(100% * 1514 / 1672);
  height: calc(100% * 131 / 941);
}
.tfh-xmas-train .tfh-xmas-board__row--lower {
  left: calc(100% * 10 / 1514);
  top: calc(100% * 9 / 131);
  width: calc(100% * 1494 / 1514);
  height: calc(100% * 113 / 131);
  grid-template-columns: repeat(31, minmax(0, 1fr));
  column-gap: calc(var(--px) * 3);
}
.tfh-xmas-train .tfh-xmas-board--lower .tfh-xmas-tile { --glyph-lift: 6; font-size: calc(var(--px) * 84); }
/* Before the tiles are built (or without JS) the lower panel is covered by blank tiles, so the painted 10:00 AM
   never shows. */
.tfh-xmas-train .tfh-xmas-sign::after {
  content: "";
  position: absolute;
  left: calc(100% * 79 / 1672);
  top: calc(100% * 657 / 941);
  width: calc(100% * 1514 / 1672);
  height: calc(100% * 131 / 941);
  border-radius: calc(100cqw / 1672 * 6);
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)) 0 50% / 100% max(1px, calc(100cqw / 1672 * 1.4)) no-repeat,
    repeating-linear-gradient(90deg, #232323 0 calc(100% / 31 - 100cqw / 1672 * 3), #141414 0 calc(100% / 31)) calc(100cqw / 1672 * 10) 0 / calc(100% - 100cqw / 1672 * 20) 100% no-repeat,
    #141414;
  box-shadow: inset 0 0 calc(100cqw / 1672 * 14) calc(100cqw / 1672 * 2) #000;
  pointer-events: none;
}

/* One split-flap tile: a fixed top and bottom half, plus two moving flaps. */
.tfh-xmas-train .tfh-xmas-tile {
  --glyph-lift: 9;
  position: relative;
  perspective: calc(var(--px) * 600);
  font: 600 calc(var(--px) * 90) / 1 "Barlow Condensed", "DIN Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  color: #F3F1EB;
}
.tfh-xmas-train .tfh-xmas-tile__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
}
.tfh-xmas-train .tfh-xmas-tile__half[hidden] { display: none; }
.tfh-xmas-train .tfh-xmas-tile__half--top {
  top: 0;
  background: linear-gradient(#262626, #202020);
  border-radius: calc(var(--px) * 7) calc(var(--px) * 7) 0 0;
}
.tfh-xmas-train .tfh-xmas-tile__half--bottom {
  bottom: 0;
  background: linear-gradient(#202020, #1B1B1B);
  border-radius: 0 0 calc(var(--px) * 7) calc(var(--px) * 7);
}
/* Each half holds a full-height letter and shows only its own part of it. */
.tfh-xmas-train .tfh-xmas-tile__glyph {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  box-sizing: border-box;
  padding-bottom: calc(var(--px) * var(--glyph-lift));
  display: grid;
  place-items: center;
  white-space: pre;
  transition: opacity 0.3s;
}
.tfh-xmas-train .tfh-xmas-tile__half--top .tfh-xmas-tile__glyph { top: 0; }
.tfh-xmas-train .tfh-xmas-tile__half--bottom .tfh-xmas-tile__glyph { bottom: 0; }
.tfh-xmas-train .tfh-xmas-board.is-fading .tfh-xmas-tile__glyph { opacity: 0; }
/* The two moving pieces: the top flap falls to the hinge, then its back lands below. */
.tfh-xmas-train .tfh-xmas-tile__flap { z-index: 2; will-change: transform; }
.tfh-xmas-train .tfh-xmas-tile__flap--front { transform-origin: 50% 100%; }
.tfh-xmas-train .tfh-xmas-tile__flap--back { transform-origin: 50% 0; }
.tfh-xmas-train .tfh-xmas-tile__flap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--shade, 0);
}
/* The hinge line across the middle of every tile. */
.tfh-xmas-train .tfh-xmas-tile::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  height: max(1px, calc(var(--px) * 1.4));
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 calc(-1 * max(1px, var(--px) * 1.4)) 0 rgba(0, 0, 0, 0.62);
}
/* The hinge pins between tiles. */
.tfh-xmas-train .tfh-xmas-tile::before,
.tfh-xmas-train .tfh-xmas-board__row::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 50%;
  width: calc(var(--px) * 9);
  height: calc(var(--px) * 26);
  margin-top: calc(var(--px) * -13);
  border-radius: calc(var(--px) * 4.5);
  background: linear-gradient(90deg, #040404, #2C2C2C 45%, #040404);
}
.tfh-xmas-train .tfh-xmas-tile::before { left: calc(var(--px) * -6.5); }
.tfh-xmas-train .tfh-xmas-board__row::after { right: calc(var(--px) * -6.5); }

@media (min-width: 900px) {
  .tfh-xmas-train { padding-top: 136px; padding-bottom: 144px; }
  .tfh-xmas-train__inner { gap: 36px; }
  .tfh-xmas-train__star { top: -88px; right: 24px; width: 84px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* The star settles in with the band. */
  .tfh-xmas-js .tfh-xmas-train__inner:not(.is-in) .tfh-xmas-train__star { opacity: 0; transform: rotate(-24deg) scale(0.8); }
  .tfh-xmas-js .tfh-xmas-train__star { transition: opacity 1.2s ease 0.4s, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; }
}

/* 7a. Campus events, in the same band (#tfh-xmas-train.tfh-xmas-events). A featured event on top (the Train Days
   board above, or a photo-led view for any other event) and a row of cards for the rest. tfh-christmas.js
   (initEvents) swaps the featured view with a fade and rise, opacity and transform only. Text never sits on a photo:
   card and featured words are on the evergreen ground (snow 9.3:1, stone 5.4:1, star 5.6:1). */
.tfh-xmas-events__stage { width: 100%; }
.tfh-xmas-event {
  display: grid;
  gap: 28px;
  justify-items: center;
  width: 100%;
}
.tfh-xmas-event[hidden] { display: none; }
.tfh-xmas-train__title:focus, .tfh-xmas-event__title:focus { outline: none; }
@media (min-width: 900px) { .tfh-xmas-event { gap: 36px; } }

/* Photo view: the photo on top on phones, words centred under it; side by side from 900px, words on the right. */
.tfh-xmas-event--photo {
  gap: 32px;
  box-sizing: border-box;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}
.tfh-xmas-event__media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 3 / 2;
  background: #3A4A3E;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
}
.tfh-xmas-event__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.tfh-xmas-event--photo.is-photo-missing .tfh-xmas-event__media img { display: none; }
/* A missing photo leaves a quiet evergreen panel with the star in it, rather than an empty box. */
.tfh-xmas-event--photo.is-photo-missing .tfh-xmas-event__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/Images/christmas-2026/ornament-star.svg") center / 64px auto no-repeat;
  opacity: 0.5;
}
.tfh-xmas-event__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34em;
  text-align: center;
}
.tfh-xmas-event__eyebrow { margin: 0 0 16px; font-size: 13px; color: var(--xmas-stone); }
.tfh-xmas-feature .tfh-xmas-event__title {
  margin: 0;
  font-size: clamp(48px, 5vw + 24px, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--xmas-snow);
  overflow-wrap: anywhere;
}
.tfh-xmas-event__soon {
  margin: 20px 0 0;
  padding: 6px 12px 5px;
  border: 1px solid rgba(216, 180, 138, 0.55);
  border-radius: 999px;
  color: var(--xmas-star);
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tfh-xmas-event__when { margin-top: 20px; }
/* A new photo stays hidden until it has loaded, so the previous event's photo never flashes. */
.tfh-xmas-event__media img { transition: opacity 0.4s ease; }
.tfh-xmas-event__media.is-loading img { opacity: 0; transition: none; }
.tfh-xmas-event__blurb {
  /* The calendar summary can run long; the featured view shows three lines and the details window shows it all. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(240, 234, 224, 0.82); /* 7.0:1 on evergreen */
}
.tfh-xmas-event__soon[hidden], .tfh-xmas-event__when[hidden], .tfh-xmas-event__blurb[hidden],
.tfh-xmas-event__eyebrow[hidden], .tfh-xmas-train a.tfh-xmas-event__link[hidden], .tfh-xmas-train__when[hidden] { display: none; }
@media (min-width: 900px) {
  .tfh-xmas-event--photo {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
    padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left));
  }
  .tfh-xmas-event__media { border-radius: 26px; }
  .tfh-xmas-event__text { align-items: flex-start; text-align: left; }
  .tfh-xmas-feature .tfh-xmas-event__title { text-align: left; font-size: clamp(56px, 3.6vw + 24px, 88px); }
}

/* The swap: the outgoing view fades up and out, the incoming one rises in. */
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-events__stage { transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .tfh-xmas-events__stage.is-out {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition-duration: 0.22s, 0.22s;
    transition-timing-function: ease-in, ease-in;
  }
  .tfh-xmas-events__stage.is-pre { opacity: 0; transform: translate3d(0, 22px, 0); transition: none; }
  /* The photo settles from a slight zoom as it arrives. */
  .tfh-xmas-events__stage:not(.is-pre):not(.is-out) .tfh-xmas-event__media img { animation: tfh-xmas-settle 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes tfh-xmas-settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}

/* More events: a heading with previous / next on the right, then a row of cards that snaps one card at a time. */
.tfh-xmas-events__more {
  box-sizing: border-box;
  width: 100%;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 234, 224, 0.16);
}
.tfh-xmas-events__more[hidden] { display: none; }
.tfh-xmas-events__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}
.tfh-xmas-feature .tfh-xmas-events__heading {
  margin: 0;
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xmas-stone);
}
@media (max-width: 420px) {
  .tfh-xmas-feature .tfh-xmas-events__heading { font-size: 12px; letter-spacing: 0.16em; }
}
.tfh-xmas-events__nav { display: flex; flex: none; gap: 8px; }
.tfh-xmas-events__nav[hidden] { display: none; }
.tfh-xmas-events__arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(240, 234, 224, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--xmas-snow);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.tfh-xmas-events__arrow[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.tfh-xmas-events__arrow:focus-visible { outline: 2px solid var(--xmas-snow); outline-offset: 3px; }
@media (hover: hover) {
  .tfh-xmas-events__arrow:not([aria-disabled="true"]):hover { transform: scale(1.06); }
}
.tfh-xmas-events__arrow:not([aria-disabled="true"]):active { transform: scale(0.95); }

.tfh-xmas-events__rail {
  --gap: 14px;
  display: flex;
  gap: var(--gap);
  margin: 20px 0 0;
  padding: 6px max(24px, env(safe-area-inset-right)) 18px max(24px, env(safe-area-inset-left));
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, env(safe-area-inset-left));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tfh-xmas-events__rail::-webkit-scrollbar { display: none; }
/* Too few cards to fill the row: centre them rather than leave a gap on the right. */
.tfh-xmas-events__more:not(.is-overflowing) .tfh-xmas-events__rail { justify-content: center; }
.tfh-xmas-events__item {
  flex: 0 0 auto;
  width: min(74%, 300px);
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .tfh-xmas-events__item { width: calc((100% - 2 * var(--gap)) / 2.4); }
}
@media (min-width: 900px) {
  .tfh-xmas-events__more { margin-top: 72px; padding-top: 40px; }
  .tfh-xmas-events__head, .tfh-xmas-events__rail {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  .tfh-xmas-events__rail { --gap: 24px; margin-top: 24px; scroll-padding-inline: max(32px, env(safe-area-inset-left)); }
  /* Three across fills the row exactly; a fourth card or more scrolls. */
  .tfh-xmas-events__item { width: calc((100% - 2 * var(--gap)) / 3); }
}

/* One card: the event photo (3:2) with a small arrow, then the campus and the event name on the evergreen. */
.tfh-xmas-ecard {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xmas-snow);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-ecard__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  background: #3A4A3E;
  isolation: isolate;
}
.tfh-xmas-ecard__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-user-drag: none;
}
.tfh-xmas-ecard.is-photo-missing .tfh-xmas-ecard__media img { display: none; }
.tfh-xmas-ecard.is-photo-missing .tfh-xmas-ecard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/Images/christmas-2026/ornament-star.svg") center / 40px auto no-repeat;
  opacity: 0.5;
}
/* The Train Days card shows the sign rising from the bottom edge; keep that edge in frame. */
.tfh-xmas-ecard--board .tfh-xmas-ecard__media img { object-position: 50% 50%; }
/* A warm lamp-glow behind the sign, so the Train Days card does not read as an empty panel. */
.tfh-xmas-ecard--board .tfh-xmas-ecard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(70% 70% at 50% 78%, rgba(216, 180, 138, 0.26), rgba(216, 180, 138, 0) 70%);
  border-radius: inherit;
  mix-blend-mode: screen;
  pointer-events: none;
}
/* The Train Days card, once its cut-out has loaded: the panel keeps its glow and the brass sign stands in front of it,
   about 3% wider on each side and dropping a little below the panel's edge (Tim, 2026-11-18). The event-vv.jpg
   photo shows behind it. */
.tfh-xmas-ecard--board.has-cutout .tfh-xmas-ecard__media { overflow: visible; }
/* The Train Days photo sits behind the sign (Tim, 2026-11-19). The panel no longer clips, so the photo rounds itself. */
.tfh-xmas-ecard--board .tfh-xmas-ecard__media > img:not(.tfh-xmas-ecard__cutout) { border-radius: inherit; }
.tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout {
  position: absolute;
  z-index: 1;
  left: -3.2%;
  bottom: -4%;
  width: 106.4%;
  height: auto;
  max-width: none;
  object-fit: fill;
  opacity: 0;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.42)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.tfh-xmas-ecard--board.has-cutout .tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout { opacity: 1; }
.tfh-xmas-ecard--board .tfh-xmas-ecard__text { padding-top: 22px; }
/* A thin inner edge, so a dark photo still reads as a card on the evergreen. */
.tfh-xmas-ecard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(240, 234, 224, 0.12);
  pointer-events: none;
}
.tfh-xmas-ecard__go {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(240, 234, 224, 0.94);
  color: var(--xmas-evergreen);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-ecard__soon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 9px 4px;
  border-radius: 999px;
  background: rgba(240, 234, 224, 0.94);
  color: var(--xmas-evergreen);
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tfh-xmas-ecard__text { display: flex; flex-direction: column; gap: 6px; padding: 16px 4px 0; }
.tfh-xmas-ecard__eyebrow {
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xmas-stone);
}
.tfh-xmas-ecard__title {
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(24px, 1vw + 18px, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--xmas-snow);
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  .tfh-xmas-ecard__media { border-radius: 18px; }
  .tfh-xmas-ecard__go { top: 14px; right: 14px; width: 40px; height: 40px; }
  .tfh-xmas-ecard__soon { top: 14px; left: 14px; }
}
@media (hover: hover) {
  .tfh-xmas-ecard:hover { transform: translate3d(0, -4px, 0); }
  .tfh-xmas-ecard:hover .tfh-xmas-ecard__media img { transform: scale(1.05); }
  .tfh-xmas-ecard:hover .tfh-xmas-ecard__go { transform: translate3d(3px, 0, 0); }
  /* The board card's panel does not clip (the sign overhangs it), so its photo must not zoom past the frame. */
  .tfh-xmas-ecard--board:hover .tfh-xmas-ecard__media > img:not(.tfh-xmas-ecard__cutout) { transform: none; }
  .tfh-xmas-ecard--board:hover .tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout { transform: translate3d(0, -3px, 0) scale(1.025); }
}
.tfh-xmas-ecard--board:focus-visible .tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout { transform: translate3d(0, -3px, 0) scale(1.025); }
.tfh-xmas-ecard:focus-visible { outline: 2px solid var(--xmas-snow); outline-offset: 4px; border-radius: 18px; }
.tfh-xmas-ecard:active { transform: scale(0.985); }

/* Cards rise in with the band, and again (one after another) whenever the row is rebuilt. */
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-js .tfh-xmas-train__inner:not(.is-in) .tfh-xmas-events__item { opacity: 0; }
  .tfh-xmas-js .tfh-xmas-train__inner.is-in .tfh-xmas-events__item,
  .tfh-xmas-events__more.is-fresh .tfh-xmas-events__item {
    animation: tfh-xmas-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 80ms + 120ms) backwards;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tfh-xmas-ecard, .tfh-xmas-ecard__media img, .tfh-xmas-ecard__go, .tfh-xmas-events__arrow { transition: none; }
  .tfh-xmas-ecard--board:hover .tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout,
  .tfh-xmas-ecard--board:focus-visible .tfh-xmas-ecard__media img.tfh-xmas-ecard__cutout { transform: none; }
  .tfh-xmas-ecard:hover, .tfh-xmas-ecard:active, .tfh-xmas-ecard:hover .tfh-xmas-ecard__media img,
  .tfh-xmas-ecard:hover .tfh-xmas-ecard__go { transform: none; }
}

/* 7b. Album (#tfh-xmas-album): the TFH Worship Christmas EP on a snow band. The sleeve sits on a record that
   slides out and turns once when the band is revealed (transform only). Links open the release on each service. */
.tfh-xmas-album {
  overflow: hidden;
  padding: 88px max(24px, env(safe-area-inset-right)) 96px max(24px, env(safe-area-inset-left));
  background: var(--xmas-snow);
  color: var(--xmas-evergreen);
}
.tfh-xmas-album__inner {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.tfh-xmas-album__art {
  position: relative;
  width: min(70%, 340px);
  margin: 0 auto;
  transform: translate3d(-14%, 0, 0); /* room on the right for the record */
}
.tfh-xmas-album__cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(36, 36, 35, 0.22), 0 26px 44px -22px rgba(36, 36, 35, 0.6);
}
.tfh-xmas-album__disc {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #141413 0 1.6%, transparent 1.9%),
    radial-gradient(circle, var(--xmas-star) 0 15%, #171716 15.4% 16.4%, transparent 16.6%),
    conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, 0.1) 13%, transparent 20% 50%, rgba(255, 255, 255, 0.07) 63%, transparent 70%),
    repeating-radial-gradient(circle, #191918 0 2px, #232322 2px 3px);
  box-shadow: 0 18px 30px -16px rgba(36, 36, 35, 0.55);
  transform: translate3d(34%, 0, 0) rotate(0deg);
}
.tfh-xmas-album__eyebrow { margin: 0 0 16px; color: var(--xmas-walnut); }
.tfh-xmas-feature .tfh-xmas-album__title {
  margin: 0;
  font-size: clamp(42px, 3.8vw + 26px, 76px);
  line-height: 0.98;
  color: var(--xmas-evergreen);
}
.tfh-xmas-album__title em { display: block; }
.tfh-xmas-album__lede {
  max-width: 26em;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--xmas-walnut);
}
.tfh-xmas-album__listen {
  margin: 32px 0 12px;
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xmas-walnut);
}
.tfh-xmas-album__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tfh-xmas-album a.tfh-xmas-listen {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 22px 12px 18px;
  border: 1px solid rgba(49, 63, 52, 0.3);
  border-radius: 999px;
  color: var(--xmas-evergreen);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tfh-xmas-album a.tfh-xmas-listen svg { flex: none; }
.tfh-xmas-album a.tfh-xmas-listen:hover { border-color: var(--xmas-evergreen); transform: translate3d(0, -1px, 0); }
.tfh-xmas-album a.tfh-xmas-listen:active { transform: scale(0.98); }
.tfh-xmas-album a.tfh-xmas-listen:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 3px; }
@media (min-width: 560px) {
  .tfh-xmas-album__links { display: flex; flex-wrap: wrap; }
  .tfh-xmas-album a.tfh-xmas-listen { display: inline-flex; }
}
@media (min-width: 640px) {
  .tfh-xmas-album__inner { grid-template-columns: 5fr 6fr; gap: 64px; }
  .tfh-xmas-album__art { width: 76%; margin: 0; transform: none; } /* the record runs into the column gap */
  .tfh-xmas-feature .tfh-xmas-album__title { font-size: clamp(36px, 4.6vw + 8px, 76px); }
}
@media (min-width: 900px) {
  .tfh-xmas-album { padding-top: 128px; padding-bottom: 136px; }
  .tfh-xmas-album__inner { gap: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tfh-xmas-js .tfh-xmas-album__inner:not(.is-in) .tfh-xmas-album__disc { transform: translate3d(0, 0, 0) rotate(-140deg); }
  .tfh-xmas-js .tfh-xmas-album__disc { transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s; }
  @media (hover: hover) {
    .tfh-xmas-js .tfh-xmas-album__inner.is-in .tfh-xmas-album__art:hover .tfh-xmas-album__disc {
      transform: translate3d(40%, 0, 0) rotate(40deg);
      transition-delay: 0s;
      transition-duration: 1.2s;
    }
  }
}

/* 7b. Event details window (#tfh-xmas-event-modal): a native <dialog> opened by "Learn more" or by ?event= in the
   address. A sheet rising from the bottom on phones, a centred card on wider screens. Only opacity and transform move. */
html.tfh-xmas-modal-open { overflow: hidden; }
dialog.tfh-xmas-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xmas-night);
  overflow: hidden;
}
dialog.tfh-xmas-modal:not([open]) { display: none; }
dialog.tfh-xmas-modal[open] { display: flex; align-items: flex-end; justify-content: center; }
dialog.tfh-xmas-modal::backdrop { background: rgba(20, 24, 21, 0.66); }
/* Browsers without showModal() get no ::backdrop: the dialog itself dims the page. */
dialog.tfh-xmas-modal[open]:not(:modal) { background: rgba(20, 24, 21, 0.66); }
.tfh-xmas-modal__panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* the window still scrolls; the bar itself is hidden (Tim, 2026-11-19) */
  -ms-overflow-style: none;
  border-radius: 22px 22px 0 0;
  background: var(--xmas-parchment);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.35);
  animation: tfh-xmas-modal-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tfh-xmas-modal__panel::-webkit-scrollbar { display: none; }
@keyframes tfh-xmas-modal-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}
.tfh-xmas-modal__close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 12px 12px -56px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--xmas-snow);
  color: var(--xmas-evergreen);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.tfh-xmas-modal__close:focus-visible, .tfh-xmas-modal__link:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 3px; }
.tfh-xmas-modal__media { margin: 0; aspect-ratio: 3 / 2; background: var(--xmas-evergreen); }
.tfh-xmas-modal__media[hidden] { display: none; }
.tfh-xmas-modal__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tfh-xmas-modal__body { padding: 26px 24px calc(32px + env(safe-area-inset-bottom, 0px)); }
.tfh-xmas-modal__eyebrow { margin: 0 0 10px; color: var(--xmas-walnut); }
/* With no photo the close button sits beside the words, so they keep clear of it. */
.tfh-xmas-modal__media[hidden] + .tfh-xmas-modal__body { padding-top: 34px; padding-right: 68px; }
.tfh-xmas-modal__title {
  margin: 0;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(32px, 4vw + 16px, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--xmas-evergreen);
  outline: 0;
}
.tfh-xmas-modal__title em { font-style: italic; }
.tfh-xmas-modal__when { margin: 14px 0 0; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--xmas-evergreen); }
.tfh-xmas-modal__text, .tfh-xmas-modal__extra { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--xmas-night); overflow-wrap: anywhere; }
.tfh-xmas-modal__extra { padding-top: 18px; border-top: 1px solid rgba(49, 63, 52, 0.18); }
.tfh-xmas-modal__eyebrow[hidden], .tfh-xmas-modal__when[hidden], .tfh-xmas-modal__extra[hidden], .tfh-xmas-modal__link[hidden] { display: none; }
/* The description is Rock's own HTML, so plain elements are styled here. */
.tfh-xmas-modal__text > :first-child, .tfh-xmas-modal__extra > :first-child { margin-top: 0; }
.tfh-xmas-modal__text > :last-child, .tfh-xmas-modal__extra > :last-child { margin-bottom: 0; }
.tfh-xmas-modal__text p, .tfh-xmas-modal__extra p { margin: 0 0 14px; }
.tfh-xmas-modal__text ul, .tfh-xmas-modal__text ol, .tfh-xmas-modal__extra ul, .tfh-xmas-modal__extra ol { margin: 0 0 14px; padding-left: 22px; }
.tfh-xmas-modal__text li, .tfh-xmas-modal__extra li { margin-bottom: 6px; }
.tfh-xmas-modal__text h2, .tfh-xmas-modal__text h3, .tfh-xmas-modal__text h4,
.tfh-xmas-modal__extra h2, .tfh-xmas-modal__extra h3, .tfh-xmas-modal__extra h4 {
  margin: 22px 0 8px;
  font-family: var(--xmas-font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: var(--xmas-evergreen);
}
.tfh-xmas-modal__text a, .tfh-xmas-modal__extra a { color: var(--xmas-evergreen); text-decoration: underline; text-underline-offset: 3px; }
.tfh-xmas-modal__text img, .tfh-xmas-modal__extra img { max-width: 100%; height: auto; border-radius: 10px; }
.tfh-xmas-modal__soon { color: var(--xmas-walnut); }
/* Train Days only: "What to expect" (a photo and a line each, the first one full width) and a plain photo grid. */
.tfh-xmas-modal__extra .tfh-xmas-todo__heading { margin: 4px 0 14px; font-family: var(--xmas-font-eyebrow); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--xmas-walnut); }
.tfh-xmas-modal__extra ul.tfh-xmas-todo, .tfh-xmas-modal__extra ul.tfh-xmas-collage { list-style: none; margin: 0; padding: 0; display: grid; }
.tfh-xmas-modal__extra ul.tfh-xmas-todo { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.tfh-xmas-modal__extra .tfh-xmas-todo__item { margin: 0; }
.tfh-xmas-modal__extra .tfh-xmas-todo__item--lead { grid-column: 1 / 3; }
.tfh-xmas-modal__extra .tfh-xmas-todo__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.tfh-xmas-modal__extra .tfh-xmas-todo__item--lead img { aspect-ratio: 16 / 9; }
.tfh-xmas-modal__extra .tfh-xmas-todo__label {
  display: block;
  margin-top: 9px;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.15;
  color: var(--xmas-evergreen);
}
.tfh-xmas-modal__extra .tfh-xmas-todo__item--lead .tfh-xmas-todo__label { font-size: 26px; }
.tfh-xmas-modal__extra ul.tfh-xmas-collage { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 28px; }
.tfh-xmas-modal__extra .tfh-xmas-collage__item { margin: 0; }
.tfh-xmas-modal__extra .tfh-xmas-collage__item--big { grid-column: span 2; grid-row: span 2; }
.tfh-xmas-modal__extra .tfh-xmas-collage__item img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.tfh-xmas-modal__link { margin-top: 24px; text-decoration: none; }
@media (min-width: 700px) {
  dialog.tfh-xmas-modal[open] { align-items: center; padding: 32px; }
  .tfh-xmas-modal__panel { max-height: 100%; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
  .tfh-xmas-modal__body { padding: 32px 36px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .tfh-xmas-modal__panel { animation: none; }
}

/* 8. Footer (#tfh-xmas-footer). The TFH name is set in type (no plain logo file in this theme). */
.tfh-xmas-footer {
  padding: 88px max(24px, env(safe-area-inset-right)) max(40px, calc(env(safe-area-inset-bottom) + 24px)) max(24px, env(safe-area-inset-left));
  background: var(--xmas-parchment);
  color: var(--xmas-evergreen);
}
.tfh-xmas-footer__inner { max-width: 1080px; margin: 0 auto; }
.tfh-xmas-footer__signoff {
  margin: 0 0 64px;
  font-family: var(--xmas-font-heading);
  font-weight: 300;
  font-size: clamp(40px, 4.4vw + 22px, 84px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--xmas-evergreen);
}
.tfh-xmas-footer__signoff em { display: block; }
.tfh-xmas-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 72, 51, 0.25);
}
.tfh-xmas-footer__mark {
  font-family: var(--xmas-font-eyebrow);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--xmas-evergreen);
}
.tfh-xmas-footer a.tfh-xmas-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--xmas-walnut);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.tfh-xmas-footer a.tfh-xmas-footer__link svg { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.tfh-xmas-footer a.tfh-xmas-footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tfh-xmas-footer a.tfh-xmas-footer__link:hover svg { transform: translate3d(2px, -2px, 0); }
.tfh-xmas-footer a.tfh-xmas-footer__link:focus-visible { outline: 2px solid var(--xmas-evergreen); outline-offset: 3px; }
@media (min-width: 900px) {
  .tfh-xmas-footer { padding-top: 128px; }
  .tfh-xmas-footer__signoff { margin-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .tfh-xmas-print, .tfh-xmas-train a.tfh-xmas-train__link::after, .tfh-xmas-album a.tfh-xmas-listen,
  .tfh-xmas-footer a.tfh-xmas-footer__link svg, .tfh-xmas-event__media img { transition: none; }
  .tfh-xmas-train a.tfh-xmas-train__link:hover::after, .tfh-xmas-train a.tfh-xmas-train__link:focus-visible::after,
  .tfh-xmas-album a.tfh-xmas-listen:hover, .tfh-xmas-album a.tfh-xmas-listen:active,
  .tfh-xmas-footer a.tfh-xmas-footer__link:hover svg { transform: none; }
}

/* CSS Overrides Bottom Start */
:root {
    --base-primary: #000000;
    --logo-image: url('/GetImage.ashx?guid=570cf07b-77fb-4343-badf-499c4720b0d2');
    --base-link: #2d5bff;
    --base-secondary: #707378;
    --base-critical: #ee7725;
    --base-danger: #d0342c;
    --base-info: #005DD7;
    --base-success: #01A11E;
    --base-warning: #E58600;
    --base-interface-strongest: #000000;
    --base-interface-stronger: #000000;
    --base-interface-strong: #3d444d;
    --base-interface-medium: #707378;
    --base-interface-soft: #c3c8cc;
    --base-interface-softer: #f1f1f1;
    --base-interface-softest: #ffffff;
    --font-size-xsmall: 12px;
    --font-size-small: 14px;
    --font-size-regular: 16px;
    --font-size-h1: 44px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
    --font-family-title: 'neue-haas-grotesk-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-body: 'neue-haas-grotesk-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-tiny: 4px;
    --spacing-xsmall: 8px;
    --spacing-small: 12px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-xlarge: 48px;
    --spacing-huge: 80px;
}
/* CSS Overrides Bottom End */
