/* On this day — shared page styles for /on-this-day/ and its child pages.
   Builds on /marketing/concepts/site/site.css; no tokens are redefined here. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--mute); }
.small { font-size: 14px; color: var(--faint); }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255,.5); }
.link:hover { border-color: var(--accent); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-bottom: 0; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--faint); padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; background-image:
  radial-gradient(1px 1px at 7% 18%, #fff8, transparent), radial-gradient(1px 1px at 84% 9%, #fff6, transparent),
  radial-gradient(1px 1px at 63% 82%, #fff4, transparent), radial-gradient(1px 1px at 24% 71%, #fff4, transparent),
  radial-gradient(1px 1px at 93% 54%, #fff6, transparent), radial-gradient(1px 1px at 41% 4%, #fff5, transparent),
  radial-gradient(1px 1px at 52% 38%, #fff3, transparent), radial-gradient(1px 1px at 3% 46%, #fff4, transparent),
  radial-gradient(1.5px 1.5px at 74% 31%, #fff5, transparent), radial-gradient(1px 1px at 33% 92%, #fff3, transparent); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 13em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .answer { margin: 28px 0 30px; }
.hero .answer h2 { font-size: 1.05rem; font-weight: 400; letter-spacing: .01em; color: var(--ink); margin: 0 0 8px; }
.hero .answer p { margin: 0; }
.hero .after-finder { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { order: 2; } }

/* Finder variants (date first). Uses .finder from site.css. */
.finder label { flex: 1 1 180px; display: flex; }
.finder label input { width: 100%; }
.finder .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .finder label { flex-basis: 100%; } .finder label + label { border-top: 1px solid var(--line); } }

/* The print: navy poster, mat line, square photo, text rows (after lib/poster-layout.js) */
.poster-card { --w: 300px; width: var(--w); max-width: 100%; aspect-ratio: 3 / 4; background: var(--poster); position: relative;
  container-type: inline-size; box-shadow: 0 0 0 10px #121212, 0 0 0 11px rgba(255,255,255,.06), 0 40px 80px rgba(0,0,0,.6); }
.poster-card .ml { position: absolute; inset: 4.5cqw; border: 1px solid rgba(255,255,255,.7); }
.poster-card .ph { position: absolute; left: 11cqw; right: 11cqw; top: 11cqw; aspect-ratio: 1; overflow: hidden; background: #1a2030; }
.poster-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.poster-card .rows { position: absolute; left: 6cqw; right: 6cqw; bottom: 9cqw; text-align: center; color: #fff; }
.poster-card .msg { font-style: italic; font-weight: 300; font-size: 3.6cqw; letter-spacing: .08em; opacity: .75; margin: 0 0 2.2cqw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; max-width: none; }
.poster-card .loc { font-weight: 400; font-size: 4.6cqw; letter-spacing: .24em; text-transform: uppercase; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; max-width: none; }
.poster-card .dv { width: 12cqw; height: 1px; background: rgba(255,255,255,.3); margin: 2.4cqw auto; }
.poster-card .dt { font-weight: 300; font-size: 3.2cqw; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin: 0; color: #fff; max-width: none; }
.poster-card .co { font-weight: 300; font-size: 2.6cqw; letter-spacing: .12em; opacity: .5; margin: 1.6cqw 0 0; color: #fff; max-width: none; }

/* The whole Earth (NASA EPIC). Gradient stands in until the photo arrives. */
.earth { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, #4d7fb8 0%, #1e3f6e 38%, #0a1a33 66%, #02050c 100%);
  box-shadow: 0 0 120px rgba(80,140,220,.14); }
.earth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); opacity: 0;
  transition: opacity 1.4s var(--ease); }
.earth.ready img { opacity: 1; }

/* Hero visual: the place + the whole Earth */
.hero-visual { position: relative; display: grid; justify-items: center; padding: 24px 0 8px; }
.hero-visual .poster-card { --w: min(340px, 74vw); }
.hero-visual .earth { position: absolute; width: clamp(96px, 30%, 150px); right: 2%; top: -4px; border: 6px solid var(--bg); }
.hero-visual figcaption { margin-top: 30px; font-size: 13px; color: var(--faint); text-align: center; max-width: 34em; }
@media (max-width: 900px) { .hero-visual .earth { right: 4%; } }

/* Gentle reveal; content is visible without JS and with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* Two photographs of one day */
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pair article { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start; }
.pair .thumb { width: 112px; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.pair .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pair .earth { width: 112px; }
.pair h3 { margin-bottom: 8px; }
.pair p { font-size: 16px; margin: 0 0 .6em; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .pair article { grid-template-columns: 1fr; } }

/* Occasions grid */
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.occasion { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 22px; text-decoration: none;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.occasion:hover { border-color: rgba(255, 255, 255,.55); transform: translateY(-2px); }
.occasion h3 { margin: 0; }
.occasion p { margin: 0; font-size: 15px; }
.occasion .line { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--faint); }
.occasion .line i { color: var(--ink); font-weight: 300; letter-spacing: .04em; }
.occasion .go { font-size: 13px; color: var(--accent); letter-spacing: .06em; }
.occasion.featured { background: linear-gradient(160deg, rgba(255, 255, 255,.08), transparent 55%), var(--bg-3); }
@media (max-width: 900px) { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .occasions { grid-template-columns: 1fr; } }

/* Fair comparison (light section) */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.compare article { background: #fff; border: 1px solid #dde3ee; border-radius: var(--radius); padding: 22px 20px; }
.compare article.ours { background: var(--poster); color: #fff; border-color: var(--poster); }
.compare article.ours p, .compare article.ours dd { color: rgba(255,255,255,.72); }
.compare article.ours .tag { color: var(--accent); }
.compare .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #2b4a86; margin: 0 0 10px; }
.compare h3 { font-size: 1.15rem; margin-bottom: 12px; }
.compare dl { margin: 0; display: grid; gap: 12px; }
.compare dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: inherit; opacity: .7; }
.compare dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: #50535c; }
.verdict { margin-top: 28px; max-width: 54rem; }
.section.paper .verdict p { color: var(--paper-ink); }
.section.paper .link { color: var(--paper-ink); border-color: rgba(27,29,36,.3); }
@media (max-width: 1000px) { .compare { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }

/* How far back: timeline */
.timeline { position: relative; margin: 8px 0 0; padding: 0; list-style: none; display: grid;
  grid-template-columns: 28fr 1.6fr 2fr 12fr; gap: 0; }
.timeline li { position: relative; padding: 34px 14px 0 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 2px; top: 12px; height: 4px; border-radius: 2px; background: rgba(238,241,246,.35); }
.timeline li.s2::before { background: var(--accent); }
.timeline li.gap::before { background: repeating-linear-gradient(90deg, rgba(238,241,246,.35) 0 3px, transparent 3px 7px); }
.timeline .yr { display: block; font-size: 13px; letter-spacing: .14em; color: var(--ink); }
.timeline .what { display: block; font-size: 14px; color: var(--mute); margin-top: 4px; line-height: 1.45; }
.timeline .epic-band { grid-column: 4; position: relative; padding: 18px 0 0; font-size: 13px; color: var(--faint); }
.timeline .epic-band::before { content: ""; position: absolute; left: 4%; right: 2px; top: 6px; height: 2px; background: rgba(120,170,230,.7); }
.timeline .epic-band::after { display: none; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline li { padding: 0 0 0 26px; }
  .timeline li::before { left: 0; right: auto; top: 4px; bottom: 4px; width: 4px; height: auto; }
  .timeline li.gap::before { background: repeating-linear-gradient(180deg, rgba(238,241,246,.35) 0 3px, transparent 3px 7px); }
  .timeline .epic-band { grid-column: 1; padding: 0 0 0 26px; }
  .timeline .epic-band::before { left: 0; right: auto; top: 2px; bottom: 2px; width: 4px; height: auto; border-radius: 2px; }
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts b { display: block; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.facts p { font-size: 15px; margin: 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Product row thumbnails, drawn in CSS (after hero-motion/b-many-hands.html) */
.products .product { color: var(--ink); transition: border-color .25s var(--ease); }
.products .product:hover { border-color: rgba(255, 255, 255,.5); }
.products .product h3 { margin: 10px 0 0; font-size: 1.05rem; }
.products .product span { font-size: 14px; color: var(--mute); }
.pt { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 35%, rgba(150,175,215,.10), transparent 70%), #0d1119; }
.pt-frame { width: 54%; aspect-ratio: 3 / 4; background: var(--poster); position: relative; box-shadow: 0 0 0 5px #161514, 0 14px 30px rgba(0,0,0,.6); }
.pt-frame::before { content: ""; position: absolute; left: 12%; right: 12%; top: 10%; aspect-ratio: 1; background: url(/business/sf-sentinel2.jpg) center / cover; }
.pt-frame::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 13%; height: 2px; background: rgba(255,255,255,.55);
  box-shadow: 0 -7px 0 -0.5px rgba(255,255,255,.3), 0 6px 0 rgba(255,255,255,.25); }
.pt-globe { width: 56%; position: relative; aspect-ratio: 1 / 1.12; }
.pt-globe .sph { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: url(/business/sf-sentinel2.jpg) center / 150% no-repeat;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), inset -8px -12px 26px rgba(0,0,0,.45); }
.pt-globe .sph::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(ellipse 34% 22% at 34% 24%, rgba(255,255,255,.4), transparent 72%); }
.pt-globe .bs { position: absolute; left: 14%; right: 14%; bottom: 0; height: 22%; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #1f1712, #5a4430 46%, #1a130f); }
.pt-case { width: 38%; aspect-ratio: 1 / 2; border-radius: 16% / 8%; position: relative; overflow: hidden;
  background: url(/business/sf-sentinel2.jpg) 60% center / cover; box-shadow: 0 0 0 3px #1c1d20, 10px 16px 26px rgba(0,0,0,.55); }
.pt-case::before { content: ""; position: absolute; left: 8%; top: 4%; width: 42%; aspect-ratio: 1; border-radius: 26%;
  background: linear-gradient(140deg, #2b2c30, #101114); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pt-digital { width: 50%; aspect-ratio: 1; border-radius: 4px; background: url(/business/sf-sentinel2.jpg) center / cover; position: relative;
  box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.pt-digital::after { content: "PNG"; position: absolute; right: -10%; bottom: -10%; font-size: 11px; letter-spacing: .16em; color: var(--accent-ink);
  background: var(--accent); border-radius: 999px; padding: 4px 9px; }
.placeholder-price { font-size: 12px; color: var(--faint); }
@media (max-width: 440px) { .products { gap: 10px; } .products .product { padding: 12px; } }

/* FAQ width */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 18px; }
details summary { display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--accent); flex: 0 0 auto; }
details[open] summary::after { content: "\2013"; }

/* Closing invitation */
.closing { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(77,127,184,.2), transparent 60%); }
.closing h2 { margin-inline: auto; max-width: 18em; }
.closing p { margin: 0 auto 28px; }
.closing .finder { margin: 0 auto; }
.related { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 44px; font-size: 15px; }
.related a { color: var(--mute); text-decoration: none; border-bottom: 1px solid var(--line); }
.related a:hover { color: var(--ink); }
