/*
 * Sipmate in Berlin (D-075): /berlin and /berlin/de, on top of styles.css and
 * landing.css. The hero is the brand's Spritz orange as a dusk sky over the
 * Oberbaumbrücke, the bridge that joins Friedrichshain and Kreuzberg; the
 * skyline and the two "why" diagrams are SVG partials drawn by
 * scripts/render-berlin-art.mjs and inlined by site/build.mjs, so every
 * colour and every bit of motion for them lives here.
 *
 * Same rules as landing.css: only transform and opacity are animated, and
 * nothing depends on motion or JavaScript to be readable. styles.css switches
 * time-based animation off for `prefers-reduced-motion: reduce`; the train is
 * also parked out of sight then (see the end of this file).
 */

.berlin {
  --night: #16111a; /* the brand ink: the bridge, the river, the dark bands */
  --bvg: #ffd23f; /* the U-Bahn's yellow */
  --lamp: #ffd98a; /* lit windows */
  --lilac-soft: #a48fff; /* lilac on the dark bands: the "found each other" colour */
  --sky-h: clamp(240px, 25vw, 400px);
}

/* Header: the other language, next to the download pill. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.site-header--hero .lang-link {
  color: var(--ink);
}

.site-header--hero.is-scrolled .lang-link {
  color: var(--text);
}

.lang-link:hover,
.lang-link:focus-visible {
  text-decoration: underline;
}

/* Follows the header as it turns solid on scroll, like the brand word does
   (landing.css binds the same keyframes to the same scroll range). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .site-header--hero .lang-link {
      animation: header-solidify-text linear both;
      animation-timeline: scroll(root);
      animation-range: 0 320px;
    }
  }
}

@media (max-width: 420px) {
  .lang-link {
    padding: 9px 8px;
  }
}

/* ---------------------------------------------------------------------- */
/* 1. Hero                                                                 */
/* ---------------------------------------------------------------------- */

.berlin-hero {
  /* Dusk: the Spritz gradient with the light low on the right, where the
     sun sits behind the TV tower. */
  background:
    radial-gradient(
      ellipse 70% 60% at 74% 78%,
      rgb(255 214 138 / 55%) 0%,
      rgb(255 138 61 / 0%) 62%
    ),
    linear-gradient(180deg, var(--spritz) 0%, var(--spritz-light) 58%, #ffa55c 100%);
  /* Room for the skyline, so the copy and its buttons never sit on the bridge. */
  padding-bottom: calc(var(--sky-h) * 0.5);
}

.berlin-hero .hero-inner {
  padding-top: 100px;
  padding-bottom: 20px;
}

.berlin-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--sky-h);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.skyline-art {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.sky-sun {
  fill: var(--cream);
  opacity: 0.42;
}

.sky-far {
  fill: var(--night);
  opacity: 0.2;
}

.sky-tower {
  fill: var(--night);
  opacity: 0.4;
}

.sky-near {
  fill: var(--night);
  opacity: 0.62;
}

.sky-bridge,
.sky-water {
  fill: var(--night);
}

.sky-window {
  fill: var(--lamp);
  animation: window-flicker 7s ease-in-out infinite;
}

.sky-lamp {
  fill: var(--lamp);
  animation: window-flicker 6s ease-in-out infinite;
}

.sky-lamp.w2 {
  animation-delay: -2s;
}

.sky-lamp.w3 {
  animation-delay: -4s;
}

.sky-window.w2 {
  animation-delay: -2.4s;
  animation-duration: 9s;
}

.sky-window.w3 {
  animation-delay: -5.1s;
  animation-duration: 11s;
}

@keyframes window-flicker {
  0%,
  100% {
    opacity: 0.95;
  }
  46% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.25;
  }
  58% {
    opacity: 0.95;
  }
}

.sky-glint {
  fill: var(--spritz-light);
  opacity: 0.5;
  animation: glint 5s ease-in-out infinite;
}

.sky-glint.g2 {
  fill: var(--lamp);
  animation-delay: -1.7s;
}

.sky-glint.g3 {
  fill: var(--cream);
  opacity: 0.3;
  animation-delay: -3.3s;
}

@keyframes glint {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(0);
  }
  50% {
    opacity: 0.6;
    transform: translateX(6px);
  }
}

/* The U1 crosses every 24 seconds and slips behind the two towers. The
   distances are the drawing's own units (its viewBox is 1600 wide). */
.train-body {
  fill: var(--bvg);
}

.train-window {
  fill: var(--night);
}

.train-light {
  fill: var(--cream);
}

.sky-train {
  transform: translateX(-560px);
  animation: train-cross 24s linear 1.2s infinite;
}

@keyframes train-cross {
  0% {
    transform: translateX(-560px);
  }
  62%,
  100% {
    transform: translateX(1640px);
  }
}

/* The stamp on the phone's corner: the ring of words turns, the day stays. */
.stamp {
  position: absolute;
  left: -78px;
  bottom: -18px;
  width: 148px;
  height: 148px;
  z-index: 3;
  filter: drop-shadow(0 10px 22px rgb(22 17 26 / 35%));
  transform: rotate(-8deg);
}

.stamp-disc {
  fill: var(--night);
}

.stamp-core {
  fill: var(--bvg);
}

.stamp-text {
  fill: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.04em;
}

.stamp-day {
  fill: var(--night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.02em;
}

.stamp-time {
  fill: var(--night);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.stamp-spin {
  transform-origin: 100px 100px;
  animation: stamp-spin 26s linear infinite;
}

@keyframes stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .stamp {
    left: calc(50% - min(125px, 32vw) - 58px);
    bottom: -40px;
    width: 116px;
    height: 116px;
  }
}

/* Kick-off pill above the headline. */
.kickoff {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--night);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.6s ease 0.05s both;
}

.kickoff-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bvg);
  box-shadow: 0 0 0 0 rgb(255 210 63 / 70%);
  animation: kickoff-pulse 2.2s ease-out infinite;
}

@keyframes kickoff-pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  60% {
    transform: scale(1.25);
    opacity: 0.75;
  }
  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}

.kickoff-count {
  color: var(--bvg);
}

.kickoff-count:empty {
  display: none;
}

/* Headline: the city and the day as a poster line, the promise under it. */
.berlin-title {
  margin-bottom: 22px;
}

.berlin-title-city,
.berlin-title-line {
  display: block;
}

.berlin-title-city {
  font-size: clamp(3.1rem, 5.6vw + 1rem, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.berlin-title-line {
  margin-top: 0.28em;
  font-size: clamp(1.7rem, 2.5vw + 1rem, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.berlin-hero .hero-lede {
  max-width: 44ch;
  margin-bottom: 22px;
}

/* The week, with one night lit. */
.week {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 26px;
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.7s ease 0.62s both;
}

.week-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgb(22 17 26 / 26%);
  color: rgb(22 17 26 / 62%);
  font-weight: 700;
  font-size: 13px;
}

.week-day--on {
  width: 46px;
  height: 46px;
  border-color: var(--night);
  background: var(--night);
  color: var(--bvg);
  font-size: 15px;
  box-shadow: 0 8px 22px rgb(22 17 26 / 30%);
}

.week-note {
  margin-left: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* Buttons: a little bigger here, with "Free" under the main one. */
.btn-big {
  padding: 17px 34px;
  font-size: 17px;
}

.cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cta-note {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
}

.berlin-hero .hero-cta {
  align-items: flex-start;
  animation-delay: 0.74s;
}

@media (max-width: 900px) {
  .berlin {
    --sky-h: clamp(200px, 50vw, 320px);
  }

  /* The phone stands on the bank, clear of the towers behind it. */
  .berlin-hero {
    padding-bottom: calc(var(--sky-h) * 0.82);
  }

  .berlin-hero .hero-inner {
    padding-top: 96px;
    gap: 36px;
  }

  .berlin-hero .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .week {
    gap: 5px;
  }

  .week-day {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .week-day--on {
    width: 42px;
    height: 42px;
  }

  .week-note {
    flex-basis: 100%;
    margin: 4px 0 0;
  }

  .berlin-hero .hero-cta .btn-big {
    padding: 15px 26px;
  }
}

/* ---------------------------------------------------------------------- */
/* 2. The Kiez, by name                                                    */
/* ---------------------------------------------------------------------- */

/* Same band as the home page's marquee; it starts where the river ends, so
   the skyline rises straight out of it. */
.berlin-marquee {
  /* Tucked under the hero by a pixel so no seam shows between the two darks. */
  margin-top: -1px;
  padding: 30px 0 34px;
  gap: 26px;
}

/* A line strip: one yellow line with a ring at each stop. */
.line-track {
  align-items: flex-end;
  font-size: clamp(22px, 2.6vw + 12px, 44px);
  padding-bottom: 20px;
  border-bottom: 6px solid var(--bvg);
}

.stop {
  position: relative;
  padding: 0 clamp(26px, 3vw, 54px) 0 0;
}

.stop::after {
  content: '';
  position: absolute;
  left: 2px;
  bottom: -35px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--night);
  border: 5px solid var(--cream);
  box-sizing: border-box;
}

/* The second row sits back. (No outlined text here: this font's glyphs are
   built from overlapping shapes, and a text stroke shows every seam.) */
.berlin-marquee .marquee-row--right .marquee-track {
  color: rgb(255 247 240 / 34%);
  font-size: clamp(24px, 4.6vw, 52px);
  padding-right: 0.3em;
}

/* ---------------------------------------------------------------------- */
/* 3. How it works                                                         */
/* ---------------------------------------------------------------------- */

.bsection-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw + 1rem, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 44px;
  text-align: center;
}

.bsteps {
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 24px 96px;
}

.bsteps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bstep {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px 18px 30px;
  overflow: hidden;
}

.bstep h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 6px 10px 10px;
}

.bstep p {
  margin: 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.bstep-num {
  margin: 20px 10px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--link);
}

/* Each step's picture: a small scene on its own coloured tile. */
.bstep-art {
  position: relative;
  height: 190px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bstep-art--clock {
  background: var(--night);
  color: var(--cream);
  /* Keeps the tile's edge when the card around it is dark too. */
  box-shadow: inset 0 0 0 1px rgb(255 247 240 / 9%);
}

.clock-day {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bvg);
}

.clock-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.bstep-art--tap {
  background: var(--spritz-gradient);
}

.tap-button {
  position: relative;
  z-index: 1;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--night);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgb(22 17 26 / 32%);
  animation: tap-press 3.2s ease-in-out infinite;
}

.tap-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 2px solid rgb(255 247 240 / 85%);
  opacity: 0;
  animation: tap-ring 3.2s ease-out infinite;
}

.tap-chip {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(255 247 240 / 92%);
  color: var(--night);
  font-weight: 700;
  font-size: 12px;
}

@keyframes tap-press {
  0%,
  38%,
  100% {
    transform: scale(1);
  }
  44% {
    transform: scale(0.94);
  }
  52% {
    transform: scale(1.02);
  }
}

@keyframes tap-ring {
  0%,
  42% {
    opacity: 0;
    transform: scale(0.6);
  }
  48% {
    opacity: 0.9;
  }
  82%,
  100% {
    opacity: 0;
    transform: scale(2.3);
  }
}

.bstep-art--cheers {
  background: color-mix(in srgb, var(--lilac) 16%, var(--raised));
  align-items: stretch;
  gap: 10px;
  padding: 0 22px;
}

.bubble {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.bubble--out {
  align-self: flex-end;
  background: var(--lilac);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.bubble--in {
  align-self: flex-start;
  background: var(--bg);
  color: var(--text);
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 10px rgb(22 17 26 / 10%);
}

html.js-berlin .bstep {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}

html.js-berlin .bstep.is-in {
  opacity: 1;
  transform: none;
}

html.js-berlin .bstep.is-in .bubble--out {
  animation: bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

html.js-berlin .bstep.is-in .bubble--in {
  animation: bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
}

@media (max-width: 880px) {
  .bsteps {
    padding: 72px 20px 64px;
  }

  .bsteps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------------------------------------------------------------------- */
/* What Thursday could look like: four photos                              */
/* ---------------------------------------------------------------------- */

.scenes {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 104px;
}

.scenes .bsection-title {
  margin-bottom: 12px;
}

.scenes-sub {
  margin: 0 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(17px, 0.5vw + 15px, 20px);
}

/* One wide street scene, two smaller ones under it, and the tall close-up
   down the right-hand side. */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    'street street cheers'
    'bar canal cheers';
  gap: 18px;
}

.scene {
  position: relative;
  margin: 0;
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--raised);
}

.scene img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene:hover img {
  transform: scale(1.035);
}

.scene--street {
  grid-area: street;
  aspect-ratio: 3 / 2;
}

.scene--bar {
  grid-area: bar;
  aspect-ratio: 3 / 2;
}

.scene--canal {
  grid-area: canal;
  aspect-ratio: 3 / 2;
}

.scene--cheers {
  grid-area: cheers;
}

.scene--cheers img {
  position: absolute;
  inset: 0;
}

html.js-berlin .scene {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}

html.js-berlin .scene.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .scenes {
    padding: 0 20px 72px;
  }

  .scenes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'street street'
      'bar canal'
      'cheers cheers';
    gap: 12px;
  }

  .scene {
    border-radius: 20px;
  }

  .scene--bar,
  .scene--canal {
    aspect-ratio: 1 / 1;
  }

  /* The tall close-up becomes a wide one: keep the two glasses in frame. */
  .scene--cheers {
    aspect-ratio: 4 / 3;
  }

  .scene--cheers img {
    object-position: center 56%;
  }
}

/* ---------------------------------------------------------------------- */
/* 4. Why one evening, one Kiez                                            */
/* ---------------------------------------------------------------------- */

.why {
  background: var(--night);
  color: var(--cream);
  padding: 104px 24px;
}

.why-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
}

.why h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw + 1rem, 4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.why p {
  margin: 0 0 16px;
  font-size: clamp(17px, 0.5vw + 15px, 20px);
  line-height: 1.55;
  color: rgb(255 247 240 / 86%);
  max-width: 34em;
}

.why .why-aside {
  color: var(--bvg);
  font-weight: 700;
  margin-bottom: 0;
}

.why-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-figure {
  margin: 0;
  padding: 16px 16px 18px;
  border-radius: 24px;
  background: rgb(255 247 240 / 5%);
  border: 1px solid rgb(255 247 240 / 10%);
}

.why-figure--on {
  background: rgb(255 90 31 / 10%);
  border-color: rgb(255 90 31 / 45%);
}

.why-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  color: rgb(255 247 240 / 50%);
}

/* Thursday gets four times the room, as in the drawing under it. */
.why-figure--on .why-days {
  grid-template-columns: 1fr 1fr 1fr 4fr 1fr 1fr 1fr;
}

.why-days .is-on {
  color: var(--bvg);
}

.why-art {
  display: block;
  width: 100%;
  height: auto;
}

.why-col {
  fill: rgb(255 247 240 / 6%);
}

.why-col--on {
  fill: rgb(255 90 31 / 34%);
}

.why-dot--alone {
  fill: rgb(255 247 240 / 38%);
  animation: dot-drift 6s ease-in-out infinite;
}

.why-dot--out {
  fill: var(--spritz-light);
  animation: dot-beat 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.why-dot.d2 {
  animation-delay: -0.7s;
}

.why-dot.d3 {
  animation-delay: -1.4s;
}

.why-dot.d4 {
  animation-delay: -2.1s;
}

.why-link {
  stroke: var(--lilac-soft);
  stroke-width: 3;
  stroke-linecap: round;
  animation: link-glow 2.6s ease-in-out infinite;
}

.why-link.l2 {
  animation-delay: -0.9s;
}

.why-link.l3 {
  animation-delay: -1.8s;
}

@keyframes dot-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes dot-beat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.22);
  }
}

@keyframes link-glow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.why-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: rgb(255 247 240 / 62%);
}

.why-figure--on figcaption {
  color: var(--cream);
}

@media (max-width: 900px) {
  .why {
    padding: 72px 20px;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 460px) {
  .why-figures {
    gap: 12px;
  }

  .why-figure {
    padding: 10px 10px 14px;
    border-radius: 18px;
  }

  .why-days {
    font-size: 10px;
  }

  .why-figure figcaption {
    font-size: 14px;
  }
}

/* ---------------------------------------------------------------------- */
/* 5. Ground rules, 6. final call                                          */
/* ---------------------------------------------------------------------- */

.berlin .values h2 {
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw + 1rem, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.values-more {
  margin: 34px 0 0;
  text-align: center;
  font-weight: 600;
}

.values-more a {
  color: var(--link);
  text-decoration: none;
}

.values-more a:hover,
.values-more a:focus-visible {
  text-decoration: underline;
}

.berlin .get-sub {
  margin-bottom: 28px;
}

/* The page ends where it began: on the bridge. */
.berlin .get {
  padding-bottom: calc(var(--sky-h) + 16px);
}

.berlin-skyline--end {
  z-index: 2;
}

.berlin-skyline--end .sky-sun {
  opacity: 0.25;
}

.berlin-skyline--end .sky-train {
  animation-delay: 9s;
}

.berlin .get .cta-stack {
  margin-bottom: 30px;
}

/* ---------------------------------------------------------------------- */
/* Reduced motion                                                          */
/* ---------------------------------------------------------------------- */

/* styles.css collapses every animation to its end state. The train's end
   state is off the right-hand edge, so it is parked on the bridge instead. */
@media (prefers-reduced-motion: reduce) {
  .sky-train {
    transform: translateX(170px);
    animation: none;
  }

  .kickoff,
  .week {
    opacity: 1;
    transform: none;
  }
}
