/* Linger Art: the landing page and press kit.
   A gallery at night: the paintings carry the colour, the page stays dark and
   warm around them. The type is the app's (a serif that names things, a plain
   sans for reading), the accents its terracotta wall and gilt frame. */

:root {
  --night: #0D0B0A;
  --night-2: #15120F;
  --panel: #1C1814;
  --line: rgba(255, 240, 220, 0.10);
  --text: #F3EDE4;
  --text-2: #BCB3A6;
  --text-3: #8C8478;
  --terracotta: #D2764F;
  --gilt: #D9AF63;
  --gilt-deep: #A7802F;

  --serif: "Newsreader", ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 24px;
  --max: 1200px;
  --radius: 22px;

  color-scheme: dark;
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --radius: 16px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: var(--gilt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gilt);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.serif { font-family: var(--serif); }

/* The bar. */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 11, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand img { width: 32px; height: 32px; border-radius: 7px; }

.bar nav { display: flex; gap: 22px; font-size: 15px; }
.bar nav a { color: var(--text-2); text-decoration: none; }
.bar nav a:hover { color: var(--text); }

@media (max-width: 560px) {
  .bar nav { gap: 16px; font-size: 14px; }
  .bar nav .wide-only { display: none; }
}

/* The opening: the promise, then the film. */

.hero {
  position: relative;
  padding: 88px 0 0;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  /* A warm wash of light from above, like a gallery's ceiling. */
  content: "";
  position: absolute;
  inset: -60px 0 auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(210, 118, 79, 0.22), transparent 70%),
    radial-gradient(40% 40% at 50% 30%, rgba(217, 175, 99, 0.08), transparent 70%);
  pointer-events: none;
}

.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gilt);
}

.hero h1 {
  margin: 0 auto 22px;
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero h1 em { font-style: italic; color: var(--gilt); }

.hero .lede {
  margin: 0 auto 34px;
  max-width: 40ch;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.5;
  color: var(--text-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 56px;
}

.download-actions { margin: 32px 0 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.pill.gilt {
  color: #1B140A;
  background: linear-gradient(180deg, #ECC77E, var(--gilt) 55%, #C3973F);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px rgba(217, 175, 99, 0.18);
}

.pill .apple-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* The film. */

.film {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 0 0 1px rgba(255, 240, 220, 0.08),
    0 40px 120px -20px rgba(210, 118, 79, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.6);
}

.film video { width: 100%; height: 100%; object-fit: cover; }

.film .sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.film .sound:hover { background: rgba(0, 0, 0, 0.6); }
.film .sound svg { width: 22px; height: 22px; }
.film .sound .on, .film .sound.is-on .off { display: none; }
.film .sound.is-on .on { display: block; }

/* The numbers. */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 72px auto 0;
  max-width: var(--max);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.numbers div { background: var(--night-2); padding: 26px 22px; text-align: left; }

.numbers strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.numbers span { font-size: 15px; color: var(--text-2); line-height: 1.4; display: block; }

@media (max-width: 820px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
}

/* Features: big picture, few words. */

.features { padding: 120px 0 40px; }

.section-head { max-width: 760px; margin: 0 0 64px; }

.section-head h2, .feature h2, .band h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.section-head h2 { font-size: clamp(36px, 5.4vw, 64px); }
.section-head p { font-size: 19px; color: var(--text-2); margin: 0; }

.feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: center;
  gap: 56px;
  margin: 0 0 120px;
}

.feature.flip { grid-template-columns: 1fr 1.55fr; }
.feature.flip .media { order: 2; }

.feature h2 { font-size: clamp(32px, 4.2vw, 48px); }

.feature p { color: var(--text-2); font-size: 18px; margin: 0 0 14px; }
.feature p strong { color: var(--text); font-weight: 600; }

.feature .tag {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 240, 220, 0.07), 0 30px 80px rgba(0, 0, 0, 0.55);
}

.media video, .media > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* A phone, standing in the frame: the screenshot on a soft stage. */
.media.stage {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(210, 118, 79, 0.20), transparent 70%),
    var(--panel);
}

.media.stage img {
  width: auto;
  max-width: 44%;
  max-height: 560px;
  aspect-ratio: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 26px; margin-bottom: 88px; }
  .feature.flip .media { order: 0; }
}

/* Rooms. */

.band { padding: 40px 0 120px; }
.band h2 { font-size: clamp(36px, 5.4vw, 64px); }

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

.rooms li {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 240, 220, 0.07);
}

.rooms img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease; }
.rooms li:hover img { transform: scale(1.04); }

.rooms .label {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(8, 6, 5, 0.86));
}

.rooms strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; }
.rooms span { display: block; font-size: 13.5px; color: rgba(243, 237, 228, 0.78); line-height: 1.35; margin-top: 2px; }

@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rooms { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .rooms img { transition: none; }
  .rooms li:hover img { transform: none; }
}

/* Free, and the passes. */

.plans {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.plan {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.plan.free {
  background: linear-gradient(160deg, rgba(210, 118, 79, 0.18), rgba(210, 118, 79, 0.04));
  border-color: rgba(210, 118, 79, 0.35);
}

.plan h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 23px; }
.plan .price { margin: 0 0 12px; font-size: 15px; color: var(--gilt); font-weight: 600; }
.plan p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.5; }

@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* Press kit. */

.press { padding: 96px 0 60px; border-top: 1px solid var(--line); }

.press h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.08; }

.press h3 {
  margin: 64px 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.press .intro { color: var(--text-2); font-size: 19px; max-width: 60ch; margin: 0; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 0;
}

.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--text-3); font-size: 15px; }
.facts dd { margin: 0; font-size: 16px; }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 120px 1fr; }
}

.downloads {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.downloads a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--night-2);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.downloads a:hover { border-color: var(--gilt-deep); }
.downloads strong { display: block; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.downloads span { font-size: 14px; color: var(--text-3); }

@media (max-width: 900px) { .downloads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .downloads { grid-template-columns: 1fr; } }

.shots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.shots.wide { grid-template-columns: repeat(4, 1fr); }
.shots.tall { grid-template-columns: repeat(9, 1fr); }
.shots a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 240, 220, 0.08); }
.shots img { width: 100%; height: auto; }
.shots a:hover { box-shadow: 0 0 0 2px var(--gilt-deep); }

@media (max-width: 900px) {
  .shots.wide { grid-template-columns: repeat(2, 1fr); }
  .shots.tall { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 480px) { .shots.tall { grid-template-columns: repeat(3, 1fr); } }

.access { columns: 2; column-gap: 40px; padding-left: 1.2em; margin: 0; color: var(--text-2); }
.access li { break-inside: avoid; margin-bottom: 10px; }
.access li::marker { color: var(--terracotta); }
.access strong { color: var(--text); font-weight: 600; }

@media (max-width: 700px) { .access { columns: 1; } }

.contact-line { margin-top: 64px; font-size: 18px; color: var(--text-2); }
.contact-line a { font-family: var(--serif); font-size: 26px; }

/* Footer. */

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 14px;
  color: var(--text-3);
}

footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--text-3); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .spacer { flex: 1; }

.quiet { color: var(--text-3); }
