/* Playa Mamey — every chapter is a painted house front on the malecón. */
:root {
  --paper: #ebedee;
  --ink: #161311;
  --ink-soft: #3d342c;
  --sky: #bcdcec;
  --sand: #efe0c4;
  --mint: #c4e5d0;
  --night: #0f3640;
  --night-2: #144450;
  --bus: #f4c430;
  --pink: #f7c3d3;
  --coral: #f5b49b;
  --coral-2: #f1a386;
  --turq: #0d7375;
  --turq-light: #84d4d3;
  --red: #b9291f;
  --hot-pink: #ff9cc3;

  --m: clamp(18px, 2.4vw, 36px);
  --gap: 12px;
  --radius: 12px;
  --chapter-pad: clamp(96px, 11vw, 176px);

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
  --step-head: clamp(2.125rem, 1.4rem + 3vw, 4.25rem);
  --step-display: clamp(2.875rem, 0.4rem + 13vw, 15rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bus); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }

/* fields */
.f-sky { background: var(--sky); color: var(--ink); }
.f-sand { background: var(--sand); color: var(--ink); }
.f-mint { background: var(--mint); color: var(--ink); }
.f-night { background: var(--night); color: var(--paper); }
.f-bus { background: var(--bus); color: var(--ink); }
.f-pink { background: var(--pink); color: var(--ink); }
.f-coral { background: var(--coral); color: var(--ink); }

/* type */
.h-display, .hero-title, .drop-title, .kid-head, .h-head, .cat-head h3, .tile-main h3 {
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.9;
}
.h-display { font-size: var(--step-display); line-height: 0.86; }
.h-head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.3; }

/* buttons: one shape, fully round */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: var(--step-body); text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-bus { background: var(--bus); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
@media (hover: hover) {
  .btn-paper:hover { background: var(--bus); }
  .btn-bus:hover { background: var(--paper); }
  .btn-ink:hover { background: var(--red); }
}

/* fixed bar: takes the colour of the chapter under it */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: 56px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--m);
  background: var(--paper); color: var(--ink);
  transform: translateY(-101%);
  transition: transform 420ms var(--ease-out), background-color 300ms ease, color 300ms ease;
}
.bar.is-shown { transform: none; }
.bar[data-on="sky"] { background: var(--sky); }
.bar[data-on="sand"] { background: var(--sand); }
.bar[data-on="mint"] { background: var(--mint); }
.bar[data-on="night"] { background: var(--night); color: var(--paper); }
.bar[data-on="bus"] { background: var(--bus); }
.bar[data-on="pink"] { background: var(--pink); }
.bar[data-on="coral"] { background: var(--coral); }
.bar-mark { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: var(--step-body); text-decoration: none; white-space: nowrap; }
.bar-links { display: none; gap: 24px; margin-left: auto; }
.bar-links a, .bar-lang { text-decoration: none; font-weight: 500; font-size: 1rem; }
.bar-links a { text-decoration: underline 2px transparent; text-underline-offset: 6px; transition: text-decoration-color 200ms ease, text-underline-offset 200ms var(--ease-out); }
.bar-links a:hover { text-decoration-color: currentColor; text-underline-offset: 4px; }
.bar-lang { margin-left: auto; display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.bar[data-on="night"] .bar-lang { background: var(--paper); color: var(--ink); }
@media (min-width: 1100px) { .bar-links { display: flex; } .bar-lang { margin-left: 8px; } }

/* hero: the view, and a column of house colours beside it */
.hero {
  display: grid; grid-template-columns: 1fr clamp(180px, 15vw, 260px);
  gap: 10px; padding: 10px; height: 100svh; min-height: 560px; background: var(--paper);
}
.hero-panel { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--paper); background: #2c4650; isolation: isolate; }
.hero-video, .hero-poster-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster-m { position: absolute; inset: 0; z-index: -2; }
.hero-video { z-index: -1; transform-origin: 50% 60%; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; inset-inline: 0; z-index: 0; pointer-events: none; }
.hero-panel::before { top: 0; height: 58%; background: linear-gradient(rgba(10, 20, 24, 0.42), rgba(10, 20, 24, 0)); } /* taste-skill-ignore: neutral scrim over the video */
.hero-panel::after { bottom: 0; height: 34%; background: linear-gradient(rgba(10, 20, 24, 0), rgba(10, 20, 24, 0.5)); } /* taste-skill-ignore: neutral scrim over the video */
.hero-panel > :not(video):not(picture) { position: relative; z-index: 1; }
.hero-top { position: absolute !important; top: 24px; right: 24px; }
.hero-lang { font-weight: 500; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: rgba(246, 239, 227, 0.92); color: var(--ink); transition: background-color 200ms; }
.hero-lang:hover { background: var(--bus); }
.hero-pause { width: 44px; height: 44px; border-radius: 50%; background: rgba(246, 239, 227, 0.92); color: var(--ink); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.hero-pause:active { transform: scale(0.94); }
.hero-pause span { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.hero-pause.is-paused span { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-block: 8px solid transparent; margin-left: 4px; }
.hero-title {
  position: absolute !important; left: 0; right: 0; top: 11%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  font-size: var(--step-display); font-weight: 800; line-height: 0.82; letter-spacing: -0.035em;
}
.ht-line { display: block; }
.hero-line { position: absolute !important; left: 28px; bottom: 34px; max-width: 34ch; font-size: var(--step-body); line-height: 1.4; font-weight: 500; }
.hero-cta { position: absolute !important; left: 50%; bottom: 30px; transform: translateX(-50%); }
.hero-cta:active { transform: translateX(-50%) scale(0.97); }
.swatches { display: grid; grid-template-rows: repeat(7, 1fr); border-radius: var(--radius); overflow: hidden; }
.swatch { padding: 18px 20px; text-decoration: none; font-weight: 500; font-size: 1rem; line-height: 1.2; transition: padding 260ms var(--ease-out); }
.swatch:hover { padding-left: 30px; }
.hero-line-m { display: none; }

@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; padding: 8px; gap: 8px; }
  .hero-panel { height: calc(76svh - 16px); min-height: 480px; }
  .hero-title { top: 12%; font-size: 23.5vw; }
  .hero-top { top: 16px; right: 16px; }
  .hero-line { display: none; }
  .hero-cta { bottom: 24px; white-space: nowrap; }
  .swatches { grid-template-rows: none; }
  .swatch { min-height: 52px; padding: 14px 18px; font-size: 1rem; }
  .hero-line-m { display: block; font-size: var(--step-lead); line-height: 1.3; font-weight: 500; margin-bottom: 48px; max-width: 24ch; }
}

/* chapters */
.chapter { position: relative; min-height: 90svh; padding: var(--chapter-pad) var(--m); }

/* about: the story set large, the facts painted over */
#about, #shop { display: flex; flex-direction: column; justify-content: center; }
#shop { min-height: 0; }
.story {
  font-size: var(--step-lead); line-height: 1.22; color: var(--ink-soft);
  columns: 2; column-gap: 40px; text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.story > :first-child { color: var(--ink); font-weight: 700; }
.hl { color: var(--ink); background: var(--c, var(--bus)); padding: 0 0.12em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-b { --c: var(--turq-light); }
.hl-y { --c: var(--bus); }
.hl-p { --c: var(--hot-pink); }
.hl-c { --c: var(--coral); }
.hl-r { --c: var(--red); color: var(--paper); }
.story-end { margin-top: 48px; font-size: var(--step-lead); line-height: 1.22; }
.story-end a { text-decoration: none; font-weight: 500; transition: background-color 200ms ease; }
.story-end a:hover { --c: var(--ink); }
@media (max-width: 767px) {
  .story { columns: 1; text-align: left; hyphens: manual; line-height: 1.28; }
  .story-end a { display: block; padding: 14px 16px; border-radius: var(--radius); }
}

/* the kids: a sun on the wall, the kid in front */
#kids { padding-bottom: 0; min-height: 100svh; overflow: hidden; }
.kids { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.2fr; gap: 24px; min-height: calc(100svh - var(--chapter-pad)); }
.kid-side { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: var(--chapter-pad); min-width: 0; }
.kid-stage { grid-column: 2; grid-row: 1; position: relative; min-height: 560px; }
.disc { position: absolute; left: 50%; top: 44%; width: min(64vh, 92%); aspect-ratio: 1; border-radius: 50%; background: var(--disc); transform: translate(-50%, -50%); transition: background-color 420ms ease; }
.kid-fig { position: absolute; left: 50%; bottom: 0; height: min(86vh, 100%); width: auto; aspect-ratio: 760 / 1220; transform: translateX(-50%); }
.kid-fig[hidden] { display: none; }
.kid-img { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; transition: opacity 300ms ease; }
.look-street { opacity: 0; }
.kids[data-look="street"] .look-street { opacity: 1; }
.kids[data-look="street"] .look-school { opacity: 0; }
.kid-head { font-size: var(--step-head); color: var(--ink-soft); margin-bottom: 8px; }
.kid-names { display: flex; flex-direction: column; }
.kid-name {
  display: inline-flex; align-items: center; gap: 0.3em;
  font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.04;
  color: #8a7a62; transition: color 200ms ease, transform 200ms var(--ease-out);
}
.kid-name::before { content: ""; width: 0.36em; height: 0.36em; border-radius: 50%; background: var(--dot, transparent); opacity: 0; transform: scale(0.6); transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.kid-name[aria-pressed="true"] { color: var(--ink); }
.kid-name[aria-pressed="true"]::before { opacity: 1; transform: none; }
.kid-name:hover { color: var(--ink); }
.kid-name:active { transform: scale(0.98); }
.kid-facts { margin-top: 28px; max-width: 40ch; min-height: 7.5em; }
.kid-tag { font-weight: 700; font-size: var(--step-lead); line-height: 1.2; margin-bottom: 6px; }
.look { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; background: #e2cfaa; }
.look-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 500; transition: background-color 200ms ease, color 200ms ease; }
.look-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 899px) {
  .kids { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .kid-stage { grid-column: 1; grid-row: 2; height: 118vw; min-height: 0; margin-inline: calc(-1 * var(--m)); }
  .kid-side { grid-row: 1; padding-bottom: 28px; }
  .disc { width: 86vw; top: 46%; }
  .kid-fig { height: 100%; }
  .kid-names { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .kid-name { font-size: 1.375rem; min-height: 44px; }
  .kid-facts { min-height: 9.5em; margin-top: 18px; }
}

/* everyone else: the town as a two-column cast list */
.town-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 24px; }
.town-intro .h-head { grid-column: 1 / span 7; }
.town-intro .lead { grid-column: 8 / span 5; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 88px 0 36px; }
.cat-head h3 { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.1; }
.cat-head span { font-size: 1rem; white-space: nowrap; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; transition: transform 300ms var(--ease-out); }
.person:hover img { transform: scale(1.06) rotate(-3deg); }
.person-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.person-top strong { font-size: var(--step-body); font-weight: 700; }
.person-top span { font-size: 1rem; color: #0a5557; font-weight: 500; }
.person-desc { margin-top: 4px; max-width: 44ch; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 899px) {
  .town-intro { display: block; }
  .town-intro .lead { margin-top: 20px; }
  .people { grid-template-columns: 1fr; gap: 28px; }
  .person { grid-template-columns: 68px 1fr; gap: 16px; }
  .person img { width: 68px; height: 68px; }
  .cat-head { margin: 64px 0 24px; }
}

/* episodes: the night sea, one band per season */
.ep-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: end; }
.ep-top .h-display { grid-column: 1 / -1; font-size: min(var(--step-display), 10.6vw); }
.ep-top .h-display span { display: block; white-space: nowrap; }
.ep-side { grid-column: 1 / span 7; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.ep-side .lead { max-width: 30ch; }
.seasons { margin: 96px calc(-1 * var(--m)) 0; }
.season { display: grid; grid-template-columns: minmax(150px, 16rem) 1fr auto; gap: 12px 32px; align-items: baseline; padding: 28px var(--m); }
.season:nth-child(odd) { background: var(--night-2); }
.season-n { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; }
.eps { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.eps li { font-size: var(--step-body); }
.season-soon { color: var(--bus); font-weight: 500; white-space: nowrap; }
.ep-note { margin-top: 28px; font-size: 1rem; color: #cfe0e2; }
@media (max-width: 899px) {
  .ep-top { display: block; }
  .ep-top .h-display { font-size: 12vw; }
  .ep-side { margin-top: 32px; }
  .season { grid-template-columns: 1fr auto; }
  .eps { grid-column: 1 / -1; grid-row: 2; gap: 4px 20px; }
  .seasons { margin-top: 64px; }
}

/* scenes: prints dropped on the headline */
#scenes { padding-inline: 0; overflow-x: clip; }
.drop { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; margin-top: calc(-1 * var(--chapter-pad)); }
.drop-title { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: var(--step-display); line-height: 0.84; letter-spacing: -0.04em; }
.print { position: absolute; background: var(--paper); padding: 8px; transition: rotate 220ms var(--ease-out), scale 220ms var(--ease-out); z-index: 1; cursor: default; }
.print img { width: 100%; height: 100%; object-fit: cover; }
.p1 { width: 17vw; aspect-ratio: 3 / 4; left: 3%; top: 6%; rotate: -8deg; }
.p2 { width: 26vw; aspect-ratio: 16 / 10; right: 3%; bottom: 4%; rotate: 5deg; }
.p3 { width: 14vw; aspect-ratio: 3 / 4; right: 6%; top: 4%; rotate: 6deg; }
.print:hover, .print.is-front { z-index: 3; rotate: 0deg; scale: 1.04; }
.drop-line { position: absolute; left: var(--m); bottom: 24px; max-width: 36ch; font-size: 1rem; font-weight: 500; }
.strip-wrap { padding: 0 0 0 var(--m); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--m); padding-right: var(--m); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.still { flex: 0 0 34vw; scroll-snap-align: start; }
.still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #d7a920; }
.still figcaption { margin-top: 10px; font-size: 1rem; font-weight: 500; }
.strip-ctl { display: flex; gap: 10px; margin-top: 24px; }
.round { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bus); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 200ms; }
.round:hover { background: var(--red); color: var(--paper); }
.round:active { transform: scale(0.93); }
@media (max-width: 767px) {
  .drop { min-height: 100svh; }
  .drop-title { font-size: 18vw; }
  .p1 { width: 40vw; left: 6%; top: 6%; rotate: -6deg; }
  .p2 { width: 66vw; right: 6%; left: auto; bottom: 11%; rotate: 4deg; }
  .p3 { width: 30vw; right: 8%; top: 9%; }
  .drop-line { bottom: 18px; }
  .still { flex-basis: 82vw; }
}

/* shop: the action tile, a row cropped from a longer one */
.shop-head { margin-bottom: 56px; }
.tiles { display: grid; grid-template-columns: 1fr 4fr 1fr; gap: var(--gap); margin-inline: calc(-1 * var(--m)); }
.tile { min-height: 380px; border-radius: var(--radius); overflow: hidden; }
.tile-photo { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-flat { background: var(--red); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.tile-main { background: var(--turq); color: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tile-main h3 { font-size: var(--step-head); }
.tile-main p { margin-top: 18px; max-width: 46ch; }
.notify { position: relative; margin-top: 32px; width: min(480px, 100%); }
.notify input { width: 100%; height: 60px; border: 0; border-radius: 999px; padding: 0 160px 0 24px; background: var(--paper); color: var(--ink); font-size: 1.0625rem; }
.notify input::placeholder { color: #6b5f52; }
.notify input:focus-visible { outline: 3px solid var(--bus); outline-offset: 3px; }
.notify .btn { position: absolute; right: 4px; top: 4px; min-height: 52px; }
@media (max-width: 767px) {
  .tiles { grid-template-columns: 1fr 1fr; margin-inline: 0; }
  .tile-main { grid-column: 1 / -1; grid-row: 1; min-height: 300px; }
  .tile-photo, .tile-flat { min-height: 120px; border-radius: var(--radius); }
  .notify input { padding-right: 24px; }
  .notify .btn { position: static; width: 100%; justify-content: center; margin-top: 10px; }
}

/* contact: the address painted in rows */
.contact { padding: 0; min-height: 0; }
.rows li { display: flex; align-items: flex-end; min-height: clamp(84px, 11vw, 150px); padding: 28px var(--m) 18px; font-size: var(--step-head); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.rows li:nth-child(even) { background: var(--coral-2); }
.rows a { text-decoration: underline 4px transparent; text-underline-offset: 10px; transition: text-decoration-color 200ms ease, text-underline-offset 240ms var(--ease-out); }
.rows a:hover { text-decoration-color: currentColor; text-underline-offset: 6px; }
.row-hello a { display: inline-flex; align-items: center; gap: 24px; text-decoration: none; }
.hello-btn { display: inline-grid; place-items: center; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--ink); color: var(--coral); transition: transform 240ms var(--ease-out); }
.row-hello a:hover .hello-btn { transform: translateX(8px) rotate(-12deg); }
.contact-note { padding: 28px var(--m) 72px; font-weight: 500; }
@media (max-width: 767px) {
  .rows li { font-size: 8.4vw; min-height: 84px; padding: 22px 16px 14px; }
  .row-hello { background: var(--turq) !important; color: var(--paper); }
  .row-hello a { width: 100%; justify-content: space-between; }
  .hello-btn { width: 56px; height: 56px; background: var(--paper); color: var(--turq); }
}

/* footer: the name, built from painted blocks */
.foot { padding: 56px var(--m) 28px; }
.mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; text-decoration: none; }
.blk { flex: 1; height: var(--h); display: grid; place-items: end center; border-radius: 6px; color: var(--night); font-weight: 800; font-size: min(9vw, 22svh); line-height: 0.78; padding-bottom: 0.04em; transition: height 420ms var(--ease-out); }
.blk.gap { margin-left: 2vw; }
.mark:hover .blk { height: 100%; }
.b-sky { background: var(--sky); } .b-bus { background: var(--bus); } .b-pink { background: var(--hot-pink); } .b-mint { background: var(--mint); }
.b-coral { background: var(--coral); } .b-red { background: var(--red); } .b-turq { background: var(--turq-light); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 56px; }
.foot-grid ul { grid-column: span 2; display: grid; gap: 8px; }
.foot-grid ul a, .foot-mail a { text-decoration: none; font-size: 1rem; }
.foot-grid ul a:hover, .foot-mail a:hover { color: var(--bus); }
.foot-mail { grid-column: 9 / span 4; font-size: var(--step-lead); font-weight: 500; }
.foot-mail a { font-size: inherit; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; font-size: var(--step-small); color: #cfe0e2; }
@media (max-width: 767px) {
  .mark { flex-wrap: wrap; height: auto; min-height: 0; row-gap: 4px; }
  .blk { flex: 0 0 calc(20% - 3.2px); height: calc(22svh * var(--h) / 200); min-height: 64px; font-size: 15vw; }
  .blk.gap { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid ul { grid-column: span 1; }
  .foot-grid ul:nth-child(3) { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 20px; }
  .foot-mail { grid-column: 1 / -1; }
  .foot-last { flex-direction: column; align-items: flex-start; }
}

/* motion: content stays visible unless the script is running */
.rise-ready [data-rise], .rise-ready .person, .rise-ready .season { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .rise-ready [data-rise], .rise-ready .person, .rise-ready .season { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
