/* The press kit page (/press/). Its own file so site.css stays the shared
   look; it only uses the tokens site.css sets on :root, so Light, Dark and
   Auto all work, and it adds no colours of its own. */

/* Links use the strong blue (7.6:1 on white). On the dark page that blue is
   too deep, so it lifts toward the page's ink, keeping 4.5:1 or better on
   every dark surface here. */
.press { display: block; --press-link: var(--site-blue-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .press { --press-link: color-mix(in srgb, var(--site-blue) 75%, var(--dk-ink)); } }
:root[data-theme="dark"] .press { --press-link: color-mix(in srgb, var(--site-blue) 75%, var(--dk-ink)); }
.press h2 { font-size: var(--t-head); line-height: var(--lh-head); letter-spacing: var(--tr-head); font-weight: 600; }
.press-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.press-section { padding-block: clamp(56px, 8vw, 96px); }
.press-section--band { background: none; }
.press-intro { margin-top: 14px; font-size: var(--t-intro); line-height: var(--lh-intro); letter-spacing: var(--tr-intro); color: var(--site-subtle); max-width: 640px; }
.press-more { margin-top: 28px; font-size: 17px; }
.press-more a, .press-files a, .press-facts a { color: var(--press-link); text-decoration: none; }
@media (hover: hover) { .press-more a:hover, .press-files a:hover, .press-facts a:hover { text-decoration: underline; } }
.press-size-inline { color: var(--site-subtle); margin-left: 6px; white-space: nowrap; }

/* Hero */
/* Hero: the home page's Tell Pali band, white words on Pali's colours. */
.press-hero { width: min(1240px, 100% - 2 * var(--gutter)); margin-top: clamp(10px, 1.6vw, 20px); padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 72px); border-radius: clamp(28px, 4vw, 48px); text-align: center; background: var(--brand-scrim), var(--brand-wash); color: var(--on-brand); }
.press-hero :is(.lede, .press-size) { color: var(--on-brand); }
.press-hero .pill { max-width: 100%; padding-block: 6px; line-height: 1.2; text-align: center; background: var(--on-brand); color: var(--lt-ink); }
.press-hero .pill--quiet { background: var(--on-brand-tint); color: var(--on-brand); box-shadow: inset 0 0 0 1px var(--on-brand-line); }
/* Hover never lays a lighter fill behind white words; focus rings are white, like the words. */
@media (hover: hover) { .press-hero .pill:hover { background: var(--lt-card); } .press-hero .pill--quiet:hover { background: var(--on-brand-tint); box-shadow: inset 0 0 0 1.5px var(--on-brand); } }
.press-hero :focus-visible { outline-color: var(--on-brand); }
.press-icon { width: 108px; height: 108px; margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 0 0 1px var(--site-hairline); }
.press-hero h1 { font-size: clamp(40px, 8vw, 80px); }
.press-hero .lede { margin-inline: auto; }
.press-size { margin-top: 14px; font-size: 14px; color: var(--site-subtle); }
.press-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.press-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pl-radius-pill); box-shadow: inset 0 0 0 1px var(--on-brand-line); color: var(--on-brand); font-size: 15px; font-weight: 500; text-decoration: none; transition: box-shadow .2s; }
@media (hover: hover) { .press-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--on-brand); } }

/* Story */
.press-tagline { margin-top: 12px; font-size: var(--t-intro); line-height: var(--lh-intro); font-weight: 600; letter-spacing: var(--tr-intro); color: var(--site-subtle); }
#story p:not(.press-tagline) { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--pl-ink-2); }

/* Fact sheet */
.press-facts { margin: 28px 0 0; border-top: 1px solid var(--site-hairline); }
.press-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--site-hairline); }
.press-facts dt { font-weight: 600; font-size: 15px; color: var(--site-subtle); }
.press-facts dd { margin: 0; font-size: 17px; color: var(--pl-ink); }
@media (min-width: 640px) {
  .press-facts > div { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .press-facts dt { font-size: 17px; }
}

/* Highlights */
.press-highlights { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.press-highlights li { background: var(--sub-card); box-shadow: inset 0 0 0 1px var(--site-hairline); border-radius: var(--pl-radius-card); padding: 24px; }
.press-highlights h3 { font-size: 19px; line-height: 1.3; letter-spacing: var(--tr-tile); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.press-highlights p { margin-top: 8px; color: var(--pl-ink-2); }
@media (min-width: 640px) { .press-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1069px) { .press-highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Logos: black art always sits on white and white art on black, in either
   appearance, so each one shows as it will be used. */
.press-logos { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .press-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.press-logo { background: var(--sub-card); box-shadow: inset 0 0 0 1px var(--site-hairline); border-radius: var(--pl-radius-card); padding: 16px 16px 22px; }
.press-logo h3 { margin: 18px 8px 0; font-size: 19px; letter-spacing: var(--tr-tile); }
.press-files { margin: 6px 8px 0; font-size: 15px; line-height: 1.9; color: var(--site-subtle); }
.press-files a { display: inline-flex; align-items: center; min-height: 32px; margin-left: 6px; font-weight: 500; }
.press-files a:first-child { margin-left: 0; }
.press-logo-art { height: 168px; border-radius: 16px; overflow: hidden; }
.press-logo-art--icon { display: grid; place-items: center; background: var(--lt-card); }
.press-logo-art--icon img { width: 108px; height: 108px; border-radius: 24px; }
.press-logo-art--pair { display: grid; grid-template-columns: 1fr 1fr; }
.press-logo-light, .press-logo-dark { display: grid; place-items: center; padding: 20px; }
.press-logo-light { background: var(--lt-canvas); box-shadow: inset 0 0 0 1px var(--site-hairline); border-radius: 16px 0 0 16px; }
.press-logo-dark { background: var(--dk-canvas); }
.press-logo-light img, .press-logo-dark img { width: auto; height: auto; max-width: 100%; max-height: 72px; }
.press-logo-art--pair img[src*="wordmark"] { width: 100%; max-height: none; }

/* Screenshots */
.press-device { margin-top: 40px; font-size: 19px; letter-spacing: var(--tr-tile); }
.press-shots { margin-top: 16px; display: grid; gap: 20px 16px; }
.press-shots--iphone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.press-shots--ipad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 735px) { .press-shots--ipad { grid-template-columns: repeat(2, minmax(0, 360px)); } }
.press-shots--watch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 735px) {
  .press-shots--iphone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .press-shots--watch { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1069px) { .press-shots--iphone { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.press-shot { margin: 0; }
.press-shot a { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--site-hairline); transition: transform .25s var(--site-ease); }
.press-shot--ipad a { border-radius: 14px; }
.press-shot--watch a { border-radius: 22%; max-width: 208px; }
.press-shot a img { width: 100%; height: auto; }
@media (hover: hover) { .press-shot a:hover { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .press-shot a { transition: none; } .press-shot a:hover { transform: none; } }
.press-shot figcaption { margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--pl-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Contact */
.press-contact { text-align: center; }
.press-contact > p { margin-top: 14px; font-size: var(--t-intro); line-height: var(--lh-intro); color: var(--site-subtle); }
.press-contact .actions { margin-top: 24px; }
.press-address { margin-top: 24px; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--site-subtle); }
