/* TadaBox's site: one stylesheet for every page. The app icon's coral on the plum inside of a box,
   rounded type, and a gold satin ribbon where sections meet. */

:root {
  color-scheme: dark;
  --deep: #1c0716;
  --deeper: #12040e;
  --coral: #ff5a64;
  --pink: #f2559a;
  --gold: #ffe27a;
  --gold-2: #e09a12;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.74);
  --ink-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 226, 122, 0.18);
  --radius: 28px;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font: 600 17px/1.6 var(--rounded);
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 900; }

a { color: var(--gold); }

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

picture { display: block; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* A satin ribbon across the page: the signature divider. */
.ribbon {
  height: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), transparent 35%, transparent 70%, rgba(0, 0, 0, 0.25)),
    linear-gradient(90deg, var(--gold-2), var(--gold) 30%, var(--gold-2) 55%, var(--gold) 80%, var(--gold-2));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */

header.site { background: var(--deeper); }

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

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }

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

header.site nav { display: flex; gap: 22px; font-size: 15px; font-weight: 750; }

header.site nav a { color: var(--ink-2); text-decoration: none; }

header.site nav a:hover { color: var(--ink); }

/* ---------- Home ---------- */

/* The hero is the App Store header, its night carried up behind the words: the page is the header's
   navy-to-plum, and the words sit on its top row, teal in the middle, so the picture has no edge. */
.hero { text-align: center; background: linear-gradient(#071a33, #071a33 55%, #21204a 78%, #391852); }

.hero-inner { max-width: 1600px; margin: 0 auto; }

.hero .wrap {
  max-width: none;
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(#071a33, rgba(7, 26, 51, 0) 85%),
    linear-gradient(90deg, #071a33, #0b2942 10%, #12425d 30%, #164f6a 50%, #12425d 70%, #0a2841 90%, #071a34);
}

/* On a phone the picture is the header's middle, so the words sit on the middle of its top row. */
@media (max-width: 699px) {
  .hero .wrap {
    background:
      linear-gradient(#071a33, rgba(7, 26, 51, 0) 85%),
      linear-gradient(90deg, #0f354f, #113d58 10%, #154a65 30%, #164f6a 50%, #144963 70%, #103c55 90%, #0f354f);
  }
}

.hero h1 { font-size: clamp(52px, 11vw, 116px); letter-spacing: -0.04em; }

.hero h1 span { color: var(--coral); }

.hero .tagline { font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; margin: 12px 0 0; }

.hero .sub { color: var(--ink-2); max-width: 600px; margin: 14px auto 0; font-size: clamp(17px, 2vw, 19px); }

.soon {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--coral);
  font-weight: 900;
  box-shadow: 0 10px 0 #b02a3c;
}

.hero-art { margin-top: -1px; }

.hero-art img { width: 100%; height: auto; }

/* Wider than the picture, its sides melt into the page. */
@media (min-width: 1600px) {
  .hero-art img {
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
}

section.band { padding: clamp(64px, 10vw, 120px) 0; }

section.band h2 { font-size: clamp(36px, 6vw, 60px); }

.center { text-align: center; }

.lede { text-align: center; color: var(--ink-2); max-width: 620px; margin: 16px auto 0; font-size: clamp(17px, 2vw, 20px); }

/* One box per band, in its own colours. */
.split { display: grid; gap: 40px; align-items: center; }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip .copy { order: 2; }
}

.copy .kind { display: block; font-size: 13px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

.copy p { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); margin: 18px 0 0; max-width: 480px; }

.box-art { max-width: 440px; width: 100%; margin: 0 auto; }

.box-art img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

.box-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); max-width: 560px; width: 100%; margin: 0 auto; }

.box-pair figure { margin: 0; text-align: center; }

.box-pair img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }

.box-pair figcaption { color: var(--ink-2); font-size: 15px; margin-top: 12px; }

.ring { background: radial-gradient(80% 70% at 70% 50%, #5c0f24, var(--deep) 75%); }

.gift { background: radial-gradient(80% 70% at 30% 50%, #6e3a06, var(--deep) 75%); }

.surprise { background: radial-gradient(80% 70% at 70% 50%, #6b1048, var(--deep) 75%); }

.cat { background: radial-gradient(80% 70% at 30% 50%, #5a3a1c, var(--deep) 75%); }

/* Wrap it: the setup. */
.wrapping { background: var(--deeper); }

/* Opening it: the fold, or a pull. */
.opening { background: linear-gradient(var(--deep), #3a0c2c); }

.open-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(16px, 5vw, 56px); align-items: end; max-width: 860px; margin: 48px auto 0; }

.open-row figure { margin: 0; text-align: center; }

.open-row img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

.open-row .pull img { max-width: 240px; margin: 0 auto; }

.open-row figcaption { color: var(--ink-2); margin-top: 18px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.45; }

.open-row figcaption b { display: block; color: var(--ink); font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; margin-bottom: 4px; }

/* Closing. */
.closing { text-align: center; padding: clamp(72px, 10vw, 112px) 0; background: radial-gradient(50% 60% at 50% 40%, rgba(255, 90, 100, 0.26), transparent 70%); }

.closing .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 22px; }

.closing h2 { font-size: clamp(44px, 8vw, 80px); letter-spacing: -0.04em; }

.closing h2 span { color: var(--coral); }

.closing p { color: var(--ink-2); font-size: 19px; margin: 12px auto 0; max-width: 620px; }

.closing p.small { font-size: 16px; color: var(--ink-3); }

/* ---------- Text pages ---------- */

.prose { max-width: 720px; margin: 0 auto; padding: 56px 16px 88px; }

.prose h1 { font-size: clamp(40px, 6vw, 56px); margin: 0 0 10px; }

.prose h2 { font-size: 22px; margin: 38px 0 10px; }

.prose p { color: var(--ink-2); margin: 0 0 14px; }

.prose strong { color: var(--ink); }

.prose .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 26px; }

.prose .lead { font-size: 20px; color: var(--ink); }

.note { background: rgba(255, 90, 100, 0.14); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }

.note p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

footer.site { background: var(--deeper); color: var(--ink-3); font-size: 14px; }

footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; }

footer.site nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

footer.site a { color: var(--ink-3); text-decoration: none; }

footer.site a:hover { color: var(--ink); }
