/* booking. — an unofficial concept by Buzy Digital. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url(fonts/bricolagegrotesque-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url(fonts/bricolagegrotesque-latin-ext.woff2) format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url(fonts/instrumentsans-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Instrument Sans";
  src: url(fonts/instrumentsans-latin-ext.woff2) format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0e1b3d;
  --blue: #1f4fd8;
  --sky: #e8eefc;
  --paper: #f6f7fa;
  --dot: #ffb800;
  --noise: #e5383b;
  --ink-soft: #4a5470;
  --line: rgb(14 27 61 / 0.12);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --max: 76rem;
  --radius: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.dark :focus-visible {
  outline-color: var(--dot);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--night);
  color: #fff;
  border-radius: 0.5rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 3rem + 6vw, 9rem);
}

.dark {
  background: var(--night);
  color: #fff;
  --line: rgb(255 255 255 / 0.14);
  --ink-soft: #b7c0d8;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 36rem;
}

.head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  max-width: 48rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: #1740b3;
}

.btn:active {
  transform: scale(0.98);
}

.btn.ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* ---- Logo ------------------------------------------------------------ */
.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.logo .d,
.d {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.03em;
  border-radius: 50%;
  background: var(--dot);
}

/* ---- Concept bar and header ----------------------------------------- */
.concept-bar {
  background: var(--night);
  color: #dfe5f5;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.65rem var(--gutter);
  text-align: center;
}

.concept-bar a {
  color: #fff;
  text-underline-offset: 0.2em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(246 247 250 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-header .logo {
  font-size: 1.75rem;
  text-decoration: none;
}

.site-header nav ul {
  display: flex;
  gap: 0.25rem;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover {
  background: var(--sky);
}

@media (max-width: 47.99rem) {
  .site-header nav li:not(:first-child) {
    display: none;
  }
}

/* ---- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(52rem, calc(100svh - 6.5rem));
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 1.5rem + 9.5vw, 10.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.042em;
}

.hero h1 span {
  display: block;
}

.hero h1 .d {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.02em;
  transition: transform 500ms cubic-bezier(0.3, 1.6, 0.5, 1);
}

.hero h1 .d {
  transform-origin: 0 100%;
}

.hero.quiet h1 .d {
  transform: scale(1.3);
}

.hero .lead {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.hero-actions a:not(.btn) {
  font-weight: 600;
  text-underline-offset: 0.25em;
}

/* The noise: pressure badges scattered around the headline. */
.noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.badge {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--noise);
  color: #fff;
  font-size: clamp(0.75rem, 0.65rem + 0.35vw, 0.95rem);
  font-weight: 700;
  white-space: nowrap;
  transform: rotate(var(--r));
  box-shadow: 0 10px 24px -12px rgb(229 56 59 / 0.7);
  transition:
    transform 900ms cubic-bezier(0.55, 0, 0.75, 0.2) calc(var(--i) * 60ms),
    opacity 600ms ease calc(var(--i) * 60ms + 300ms);
}

.badge.alt {
  background: #fff;
  color: var(--noise);
  box-shadow: inset 0 0 0 2px var(--noise), 0 10px 24px -14px rgb(14 27 61 / 0.35);
}

.badge.warn {
  background: #ff8a00;
  color: var(--night);
}

.hero.quiet .badge {
  transform: translateY(110vh) rotate(calc(var(--r) * -6));
  opacity: 0;
}

.hero h1 .nw {
  display: inline;
  white-space: nowrap;
}

/* Phones: fewer badges, kept above the eyebrow and below the buttons. */
@media (max-width: 47.99rem) {
  .hero {
    min-height: 0;
    padding-block: 5.5rem 7.5rem;
  }

  .badge:nth-child(2),
  .badge:nth-child(n + 6) {
    display: none;
  }

  .badge:nth-child(1) { --x: 48%; --y: 1.5rem; }
  .badge:nth-child(3) { --x: 4%; --y: 1rem; }
  .badge:nth-child(4) { --x: 40%; top: auto; bottom: 1.2rem; }
  .badge:nth-child(5) { --x: 4%; top: auto; bottom: 3.6rem; }
}

/* ---- Try it: the prototype ----------------------------------------- */
.proto {
  display: grid;
  gap: 1.5rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.seg {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.seg button {
  min-height: 2.75rem;
  padding-inline: 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.seg button[aria-pressed="true"] {
  background: var(--night);
  color: #fff;
}

.seg.mode button[aria-pressed="true"][data-mode="today"] {
  background: var(--noise);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  min-height: 2.75rem;
  padding-inline: 1rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--sky);
  box-shadow: inset 0 0 0 1.5px var(--blue);
  color: var(--blue);
  font-weight: 600;
}

.proto-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.results {
  display: grid;
  gap: 1rem;
}

.stay {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgb(14 27 61 / 0.4);
  transition: box-shadow 300ms ease;
}

.stay[hidden] {
  display: none;
}

.stay-main {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.stay-place {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.stay h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.score {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.score b {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2rem;
  padding-inline: 0.4rem;
  border-radius: 0.5rem 0.5rem 0.5rem 0;
  background: var(--night);
  color: #fff;
  font-size: 0.9375rem;
}

.said {
  color: var(--ink-soft);
}

.stay-side {
  display: grid;
  gap: 0.5rem;
  align-content: end;
  justify-items: start;
}

.price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.cancel {
  font-size: 0.9375rem;
}

.cancel::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: var(--dot);
  vertical-align: 0.1em;
}

/* Only one of these is visible, depending on the mode. Specific enough to
   win over component display values such as .shout's grid. */
.results:not(.mode-today) .today-only,
.results.mode-today .quiet-only {
  display: none;
}

/* Today: the patterns, as loud as they usually are. */
.was {
  color: var(--noise);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

.shout {
  display: grid;
  gap: 0.35rem;
}

.shout span {
  justify-self: start;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: rgb(229 56 59 / 0.1);
  color: #c21d20;
  font-size: 0.8125rem;
  font-weight: 700;
}

.shout span.solid {
  background: var(--noise);
  color: #fff;
}

.mode-today .stay {
  box-shadow: inset 0 0 0 2px rgb(229 56 59 / 0.18), 0 18px 40px -32px rgb(14 27 61 / 0.4);
}

.mode-today .stay .btn {
  background: var(--noise);
}

.mode-today .stay .cancel {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.empty {
  padding: 2rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .stay {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .stay-side {
    justify-items: end;
    text-align: right;
  }

  .shout span {
    justify-self: end;
  }
}

/* ---- Rules ----------------------------------------------------------- */
.rules {
  display: grid;
  border-top: 1px solid var(--line);
}

.rule {
  display: grid;
  gap: 0.75rem 3rem;
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.rule h3 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
}

.rule p {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.rule .instead {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9375rem;
}

.rule .instead s {
  color: #ff9ea0;
}

@media (min-width: 56rem) {
  .rule {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

/* ---- Identity -------------------------------------------------------- */
.id-grid {
  display: grid;
  gap: 1rem;
}

.tile {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: space-between;
  min-height: 15rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.tile figcaption,
.tile .cap {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.tile.night {
  background: var(--night);
  color: #fff;
}

.tile.night figcaption {
  color: #b7c0d8;
}

.tile.blue {
  background: var(--blue);
  color: #fff;
}

.tile.blue figcaption {
  color: #dbe4ff;
}

.wordmark {
  font-size: clamp(3.5rem, 2rem + 8vw, 8rem);
  align-self: center;
}

.app-icons {
  display: flex;
  gap: 1rem;
  align-self: center;
}

.app-icon {
  display: grid;
  place-items: center;
  width: clamp(5rem, 4rem + 4vw, 7.5rem);
  aspect-ratio: 1;
  border-radius: 23%;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 2.7rem + 2.8vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.app-icon > span {
  margin-top: -0.12em;
}

.app-icon.n {
  background: var(--night);
}

.app-icon.p {
  background: var(--paper);
  color: var(--night);
  box-shadow: inset 0 0 0 1px var(--line);
}

.dot-story {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.dot-story p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dot-story .d {
  width: 0.28em;
  height: 0.28em;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.swatch {
  display: grid;
  align-content: end;
  min-height: 7rem;
  padding: 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.swatch b {
  display: block;
  font-size: 0.9375rem;
}

.type-spec {
  display: grid;
  gap: 1.25rem;
}

.type-spec .big {
  font-family: var(--display);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.type-spec .body {
  font-size: 1.125rem;
  max-width: 28rem;
}

@media (min-width: 48rem) {
  .id-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .span-6 {
    grid-column: span 6;
  }

  .span-4 {
    grid-column: span 4;
  }

  .span-3 {
    grid-column: span 3;
  }

  .span-2 {
    grid-column: span 2;
  }

  .swatches {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .swatch {
    min-height: 10rem;
  }
}

/* ---- Phones ---------------------------------------------------------- */
.phones {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
}

.phone-fig {
  width: 100%;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.phone-fig figcaption {
  max-width: 17rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.phone {
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 19.5;
  padding: 0.6rem;
  border-radius: 2.75rem;
  background: #050b1c;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6), inset 0 0 0 1.5px #2a3556;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  padding: 2.6rem 1.15rem 1.15rem;
  border-radius: 2.2rem;
  background: var(--paper);
  color: var(--night);
  overflow: hidden;
  text-align: left;
  font-size: 0.875rem;
}

.screen::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 5.5rem;
  height: 1.4rem;
  border-radius: 1rem;
  background: #050b1c;
  transform: translateX(-50%);
}

.screen .logo {
  font-size: 1.35rem;
}

.screen h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.field {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.field small {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.field b {
  font-weight: 600;
}

.screen .cta {
  margin-top: auto;
  display: grid;
  place-items: center;
  min-height: 3rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.mini-stay {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mini-stay .row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
}

.mini-stay small {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.total-lines {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.total-lines div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.total-lines .sum {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 1rem;
}

.screen.done {
  justify-content: center;
  background: var(--night);
  color: #fff;
}

.screen.done::before {
  background: #000;
}

.screen.done h4 {
  font-size: 3.6rem;
}

.screen.done h4 .d {
  width: 0.2em;
  height: 0.2em;
}

.screen.done p {
  color: #c6cee4;
  font-size: 0.95rem;
}

.screen.done .cta {
  margin-top: 1.25rem;
  background: #fff;
  color: var(--night);
}

@media (min-width: 60rem) {
  .phones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .phone-fig:nth-child(2) {
    margin-top: 4rem;
  }
}

/* ---- Social ---------------------------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.post {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  aspect-ratio: 4 / 5;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--night);
  color: #fff;
}

.post .logo {
  font-size: 1.3rem;
}

.post p {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
}

.post small {
  font-size: 0.875rem;
  color: #c6cee4;
}

.post.blue {
  background: var(--blue);
}

.post.blue small {
  color: #dbe4ff;
}

.post.paper {
  background: #fff;
  color: var(--night);
  box-shadow: inset 0 0 0 1px var(--line);
}

.post.paper small {
  color: var(--ink-soft);
}

.post .strike {
  text-decoration: line-through;
  text-decoration-color: var(--dot);
  text-decoration-thickness: 0.09em;
  color: #8d98b8;
}

/* ---- Brand world (photos) ------------------------------------------- */
.world {
  display: grid;
  gap: 1rem;
}

.world figure {
  display: grid;
  gap: 0.6rem;
}

.world img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.world figcaption {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .world {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world .wide {
    grid-column: 1 / -1;
  }
}

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
  padding-block: clamp(4rem, 3rem + 4vw, 7rem) 2.5rem;
}

.site-footer .wrap {
  display: grid;
  gap: 2.5rem;
}

.footer-big {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.038em;
  max-width: 14em;
}

.footer-meta {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer-meta p {
  max-width: 52rem;
}

/* ---- Motion preferences -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
