/* Phemia public pages (landing, preview, access ended): the shop window.
   One editorial system drawn from the product itself: the app's warm paper, ink and brown
   accent, and the brand's cyan and deep teal. Light by default, dark when the visitor chose
   dark in the app (localStorage 'phemia-theme'), like the app.
   Typography is set through "type roles" (display, text, numerals, labels, quote, ticker):
   every headline, figure and label reads the --f- and --w- variables below, so a typeface is
   one block of values. The logo is the only thing that keeps its own font (Plus Jakarta Sans
   800, tracked capitals) so it always stands apart from the headlines. */

:root {
  --paper: #fbfaf8; --paper-2: #f5f2ed; --paper-3: #efe9e0; --card: #ffffff;
  --ink: #1a1614; --ink-2: #4a423c; --muted: #8c8179; --rule: #e6e0d6; --rule-2: #d8cfc2;
  --accent: #9d7c62; --accent-ink: #7b5d46; --brand: #0891b2;
  --night: #0b2027; --night-2: #102b33; --night-3: #17363f; --cyan: #00c5ff; --cream: #f3ebdd;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sora: 'Sora', 'Plus Jakarta Sans', -apple-system, sans-serif;
  /* Type roles. Defaults = Sora (chosen 6 Oct 2026). Emphasis inside a heading is colour only:
     never italic, never a different weight. */
  --f-display: var(--sora); --w-display: 300; --t-display: -.05em; --lh-display: 1.04; --case-display: none; --s-display: .9;
  --w-drop: 400;
  --f-text: var(--sora); --w-text: 300; --t-text: -.015em; --text-soft: normal; --w-soft: 300;
  --f-quote: var(--f-display); --w-quote: 300; --case-quote: var(--case-display); --s-quote: 1; --quote-style: normal;
  --t-quote: -.03em;
  --f-num: var(--f-display); --w-num: 100; --t-num: -.06em; --s-num: .94;
  --f-label: var(--sans); --w-label: 800; --t-label: .16em; --s-label: 1;
  --f-marquee: var(--f-display); --w-marquee: 300; --case-marquee: var(--case-display); --s-marquee: 1; --marquee-style: var(--text-soft);
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 30px 60px -20px rgba(26, 22, 20, .28), 0 10px 20px -10px rgba(26, 22, 20, .18);
}
:root[data-theme="dark"] {
  --paper: #0c1018; --paper-2: #10141f; --paper-3: #151b29; --card: #1a2235;
  --ink: #e8dcc8; --ink-2: #c9bda9; --muted: #8a9ab5; --rule: #243046; --rule-2: #2d3a50;
  --accent: #f26e3c; --accent-ink: #f58a60; --brand: #4dd8ec;
  --night: #070b11; --night-2: #0c1321; --night-3: #132034;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 10px 20px -10px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px;
       line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- type */
.kicker { font-family: var(--f-label); font-size: calc(12px * var(--s-label)); font-weight: var(--w-label); letter-spacing: var(--t-label);
          text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker.plain::before { display: none; }
/* Display role: every headline on the public pages. */
.display, .h2, .feature h3, .tile h3, .pv-head h2, .closing-card h2, .plain-page h1, .cover-art .tag b, .contents a b {
  font-family: var(--f-display); font-weight: var(--w-display); letter-spacing: var(--t-display); line-height: var(--lh-display);
  text-transform: var(--case-display); font-optical-sizing: auto; text-wrap: balance; }
.display em, .h2 em, .feature h3 em, .closing-card h2 em { font-style: normal; font-weight: inherit; color: var(--accent); }
.display { margin: 0; }
.h2 { font-size: calc(clamp(34px, 4.6vw, 64px) * var(--s-display)); margin: 14px 0 0; }
/* Numeral role: the big figures and section numbers. */
.num-n, .feature .meta div b, .pv-stats b, .steps li::before, .pv-head .no, .contents a::before {
  font-family: var(--f-num); font-weight: var(--w-num); letter-spacing: var(--t-num); font-variant-numeric: tabular-nums lining-nums; }
/* Text role: the lede, standfirsts and other display-size reading text. */
.standfirst { font-family: var(--f-text); font-style: var(--text-soft); font-weight: var(--w-soft); letter-spacing: var(--t-text);
              font-size: clamp(18px, 1.75vw, 22.5px); line-height: 1.42; color: var(--ink-2); margin: 18px 0 0; max-width: 34em; }
.lede { font-family: var(--f-text); font-weight: var(--w-text); letter-spacing: var(--t-text); font-size: clamp(18px, 1.6vw, 21.5px);
        line-height: 1.55; color: var(--ink); margin: 0; }
.lede.dropcap::first-letter { float: left; font-family: var(--f-display); font-weight: var(--w-drop); text-transform: none;
                              font-size: 4.2em; line-height: .8; padding: .06em .1em 0 0; color: var(--accent); }
.body-copy { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin: 18px 0 0; }
.smallcaps { font-family: var(--f-label); font-size: calc(11.5px * var(--s-label)); font-weight: 700; letter-spacing: calc(var(--t-label) * .85);
             text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700;
       font-size: 15px; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
       transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; cursor: pointer; }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { box-shadow: 0 12px 24px -10px rgba(26, 22, 20, .55); transform: translateY(-1px); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-cyan { background: var(--cyan); border-color: var(--cyan); color: var(--night); }
.btn-cyan:hover { box-shadow: 0 12px 30px -10px rgba(0, 197, 255, .6); transform: translateY(-1px); }
.btn-line-light { border-color: rgba(243, 235, 221, .45); color: var(--cream); }
.btn-line-light:hover { background: var(--cream); color: var(--night); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink);
            border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: gap .2s ease, color .2s ease; }
.textlink:hover { gap: 14px; color: var(--accent-ink); }
.textlink svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- masthead */
.edition { border-bottom: 1px solid var(--rule); font-family: var(--f-label); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
           color: var(--muted); }
.edition .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.edition .live { display: inline-flex; align-items: center; gap: 8px; }
.edition .live i { width: 7px; height: 7px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 0 rgba(63,178,127,.5);
                   animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,178,127,.55); } 70% { box-shadow: 0 0 0 9px rgba(63,178,127,0); } 100% { box-shadow: 0 0 0 0 rgba(63,178,127,0); } }
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent);
             backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
             border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.site-head.scrolled { border-bottom-color: var(--rule); box-shadow: 0 8px 30px -22px rgba(0,0,0,.35); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* The logo: the app's own mark (cyan tile, white P, broadcast dot) and wordmark, never re-typeset. */
.brand .brand-mark { width: 38px; height: 38px; flex: none; display: block; }
.brand-word { font-family: var(--sans); font-weight: 800; letter-spacing: .2em; font-size: 17px; line-height: 1; color: var(--brand); }
.brand-sub { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.head-nav { display: flex; align-items: center; gap: 6px; }
.head-nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; color: var(--ink-2);
              transition: background .2s ease, color .2s ease; }
.head-nav a:hover { background: var(--paper-3); color: var(--ink); }
.head-nav a.is-current { color: var(--ink); }
.head-nav a.signin { background: var(--ink); color: var(--paper); padding: 10px 18px; margin-left: 6px; }
.head-nav a.signin:hover { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- landing: cover */
.cover { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
                 background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
                 pointer-events: none; }
.cover-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cover h1.display { font-size: calc(clamp(50px, 7.4vw, 108px) * var(--s-display)); margin-top: 22px; }
.cover .lede { margin-top: 34px; max-width: 31em; }
.cover .body-copy { max-width: 36em; }
.cover-art { position: relative; aspect-ratio: 1 / 1.12; width: 100%; max-height: 660px; }
.cover-art .sheet { position: absolute; display: block; width: 63%; border-radius: 4px; box-shadow: var(--shadow); background: #fff;
                    transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.cover-art .sheet img { width: 100%; height: auto; border-radius: 4px; }
.cover-art .s1 { left: 0; top: 12%; transform: rotate(-7deg); }
.cover-art .s2 { right: 0; top: 2%; transform: rotate(4deg); z-index: 2; }
.cover-art .s3 { left: 10%; bottom: 0; width: 46%; transform: rotate(-2deg); z-index: 3; }
.cover-art:hover .s1 { transform: rotate(-10deg) translate(-14px, 6px); }
.cover-art:hover .s2 { transform: rotate(6deg) translate(12px, -8px); }
.cover-art:hover .s3 { transform: rotate(-.5deg) translateY(-12px); }
.cover-art .tag { position: absolute; display: block; z-index: 4; right: -1%; bottom: 10%; background: var(--night); color: var(--cream);
                  border-radius: 14px; padding: 14px 18px; max-width: 230px; box-shadow: var(--shadow); text-decoration: none; }
.cover-art .tag b { display: block; font-size: calc(21px * var(--s-display)); line-height: 1.12; margin-top: 4px; }
.cover-art .tag span { font-family: var(--f-label); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }

/* ---------------------------------------------------------------- numbers */
.numbers { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.numbers .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.num { padding: clamp(22px, 3vw, 36px) clamp(10px, 2vw, 28px); border-left: 1px solid var(--rule); }
.num:first-child { border-left: 0; padding-left: 0; }
.num-n { font-size: calc(clamp(46px, 6.4vw, 96px) * var(--s-num)); line-height: 1; }
.num-l { margin-top: 10px; }
.num-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------------------------------------------------------------- marquee */
.marquee { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: 22px 0 24px; overflow: hidden; text-align: center; }
.marquee-label { margin-bottom: 12px; }
.marquee-label b { color: var(--ink); }
.marquee-window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
                  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 110s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-marquee); font-weight: var(--w-marquee); font-style: var(--marquee-style);
                      text-transform: var(--case-marquee); letter-spacing: -.01em; font-size: calc(clamp(20px, 2.2vw, 28px) * var(--s-marquee));
                      color: var(--ink-2); padding: 0 18px; }
.marquee-track span::after { content: "\2022"; color: var(--accent); font-style: normal; margin-left: 36px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- pull quote */
.quote { padding: clamp(70px, 10vw, 150px) 0; text-align: center; position: relative; }
.quote blockquote { margin: 0 auto; max-width: 18em; font-family: var(--f-quote); font-weight: var(--w-quote); font-style: var(--quote-style);
                    text-transform: var(--case-quote); font-size: calc(clamp(36px, 5.6vw, 82px) * var(--s-quote));
                    line-height: calc(var(--lh-display) + .06); letter-spacing: var(--t-quote); text-wrap: balance; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--f-display); font-weight: var(--w-display); font-size: 1.9em;
                            line-height: .5; color: var(--accent); font-style: normal; margin-bottom: .2em; }
.quote figcaption { margin-top: 30px; }

/* ---------------------------------------------------------------- investigations (report features) */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.section-head .count { font-family: var(--f-text); font-style: var(--text-soft); font-weight: var(--w-soft); color: var(--muted); font-size: 17px; }
.features { padding: clamp(60px, 8vw, 110px) 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center;
           padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.feature:last-child { border-bottom: 0; }
.feature.flip .feature-art { order: 2; }
.feature-art { position: relative; display: block; aspect-ratio: 1 / 1.05; width: 100%; }
.feature-art .page { position: absolute; display: block; width: 60%; box-shadow: var(--shadow); border-radius: 3px; background: #fff;
                     transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature-art .page img { width: 100%; height: auto; border-radius: 3px; }
.feature-art .p-cover { left: 4%; top: 4%; transform: rotate(-3deg); z-index: 2; }
.feature-art .p-inside { right: 2%; bottom: 2%; transform: rotate(3deg); }
.feature:hover .p-cover { transform: rotate(-5deg) translate(-8px, -6px); }
.feature:hover .p-inside { transform: rotate(5deg) translate(8px, 6px); }
.feature-art .badge { position: absolute; z-index: 3; left: 0; bottom: 8%; background: var(--accent); color: #fff; border-radius: 999px;
                      padding: 8px 14px; font-family: var(--f-label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.feature h3 { font-size: calc(clamp(38px, 4.8vw, 70px) * var(--s-display)); margin: 16px 0 0; }
.feature .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.feature .meta div b { display: block; font-weight: min(calc(var(--w-num) + 200), 900); font-size: calc(30px * var(--s-num)); line-height: 1; }
.feature .meta div span { font-size: 12px; color: var(--muted); }
.feature .textlink { margin-top: 30px; }

/* ---------------------------------------------------------------- night band (inside the platform) */
.night { background: var(--night); color: var(--cream); position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
                 background-image: radial-gradient(rgba(0, 197, 255, .22) 1px, transparent 1.3px); background-size: 26px 26px;
                 mask-image: radial-gradient(ellipse at 85% 10%, #000 0%, transparent 60%);
                 -webkit-mask-image: radial-gradient(ellipse at 85% 10%, #000 0%, transparent 60%); }
.night .wrap { position: relative; padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(70px, 9vw, 130px); }
.night .kicker { color: var(--cyan); }
.night .h2 { color: var(--cream); }
.night .h2 em { color: var(--cyan); }
.night-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.night p.sub { color: rgba(243, 235, 221, .72); font-size: 17px; margin: 22px 0 0; max-width: 30em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: baseline;
            padding: 28px 0; border-top: 1px solid rgba(243, 235, 221, .16); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.steps li:last-child { border-bottom: 1px solid rgba(243, 235, 221, .16); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: calc(52px * var(--s-num)); line-height: .8; color: var(--cyan); }
.night .textlink { color: var(--cream); border-bottom-color: var(--cyan); margin-top: 34px; }
.night .textlink:hover { color: var(--cyan); }

/* ---------------------------------------------------------------- access / closing */
.closing { padding: clamp(70px, 10vw, 140px) 0; }
.closing-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center;
                padding: clamp(28px, 4vw, 52px); border: 1px solid var(--rule-2); border-radius: 28px; background: var(--card);
                box-shadow: 0 40px 80px -60px rgba(26, 22, 20, .5); }
.closing-card .brand-mark { width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); display: block;
                            filter: drop-shadow(0 18px 28px rgba(8, 145, 178, .28)); }
.closing-card h2 { font-size: calc(clamp(34px, 4.2vw, 58px) * var(--s-display)); margin: 10px 0 12px; }
.closing-card p { margin: 0; color: var(--ink-2); max-width: 40em; }
.closing-card p a { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--night); color: rgba(243, 235, 221, .75); font-size: 14px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-foot .brand { color: var(--cream); }
.site-foot .brand-word { color: var(--cream); }
.site-foot .brand-sub { color: rgba(243, 235, 221, .55); }
.site-foot p { margin: 18px 0 0; max-width: 34em; line-height: 1.65; }
.site-foot h4 { margin: 4px 0 14px; font-family: var(--f-label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot a { color: var(--cream); text-decoration: none; }
.site-foot a:hover { color: var(--cyan); }
.site-foot .base { grid-column: 1 / -1; border-top: 1px solid rgba(243, 235, 221, .14); padding-top: 22px; margin-top: 14px;
                   font-size: 12.5px; color: rgba(243, 235, 221, .5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- preview page */
.pv-cover { padding: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 60px); position: relative; overflow: hidden; }
.pv-cover::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
                   background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%); pointer-events: none; }
.pv-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.pv-cover h1.display { font-size: calc(clamp(50px, 7.6vw, 112px) * var(--s-display)); margin-top: 20px; }
.pv-cover .lede { margin-top: 28px; max-width: 30em; }
.pv-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-bottom: 30px; }
.pv-stats b { display: block; font-weight: min(calc(var(--w-num) + 100), 900); font-size: calc(clamp(30px, 3vw, 44px) * var(--s-num)); line-height: 1; }
.pv-stats span { display: block; margin-top: 6px; }
.contents { border-top: 2px solid var(--ink); }
.contents h2 { margin: 14px 0 6px; }
.contents ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.contents li { counter-increment: c; border-bottom: 1px solid var(--rule); }
.contents a { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.contents a::before { content: counter(c, decimal-leading-zero); color: var(--accent); font-size: calc(19px * var(--s-num)); }
.contents a b { font-size: calc(24px * var(--s-display)); line-height: 1.1; }
.contents a span { font-size: 13px; color: var(--muted); }
.contents a:hover b { color: var(--accent-ink); }
.pv-section { padding: clamp(46px, 6vw, 90px) 0 0; scroll-margin-top: 90px; }
.pv-section:last-of-type { padding-bottom: clamp(60px, 8vw, 110px); }
.pv-head { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.pv-head .no { font-size: calc(clamp(64px, 8vw, 120px) * var(--s-num)); line-height: .8; color: var(--accent); }
.pv-head h2 { font-size: calc(clamp(32px, 4vw, 54px) * var(--s-display)); margin: 0; }
.pv-head p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 26px 26px 24px; border-radius: 22px;
        background: var(--card); border: 1px solid var(--rule); overflow: hidden; isolation: isolate;
        transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(26, 22, 20, .45); border-color: var(--rule-2); }
.tile.wide { grid-column: span 2; }
.tile.dark { background: var(--night); border-color: var(--night); color: var(--cream); }
.tile.dark .tile-blurb { color: rgba(243, 235, 221, .72); }
.tile.dark .chip { background: rgba(0, 197, 255, .12); color: var(--cyan); border-color: rgba(0, 197, 255, .25); }
.tile.dark .lockpill { color: rgba(243, 235, 221, .75); border-color: rgba(243, 235, 221, .22); }
.tile.warm { background: var(--paper-3); border-color: var(--paper-3); }
.tile-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.chip { font-family: var(--f-label); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
        border: 1px solid var(--rule-2); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.lockpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted);
            border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px; }
.lockpill svg { width: 12px; height: 12px; }
.tile-art { flex: 1; display: flex; align-items: center; justify-content: center; margin: 18px 0 10px; min-height: 110px; color: var(--accent); }
.tile.dark .tile-art { color: var(--cyan); }
.tile-art svg { width: 100%; max-width: 240px; height: auto; max-height: 150px; overflow: visible; }
.tile.wide .tile-art svg { max-width: 360px; }
.tile h3 { font-size: calc(clamp(26px, 2.4vw, 34px) * var(--s-display)); line-height: calc(var(--lh-display) + .06); margin: 0; }
.tile.wide h3 { font-size: calc(clamp(32px, 3.2vw, 44px) * var(--s-display)); }
.tile-blurb { margin: 10px 0 0; font-size: 15px; line-height: 1.58; color: var(--ink-2); }
.tile-veil { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-decoration: none;
             background: color-mix(in srgb, var(--paper) 55%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
             opacity: 0; transition: opacity .3s ease; }
.tile.dark .tile-veil { background: rgba(11, 32, 39, .55); }
.tile-veil span { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14.5px;
                  padding: 12px 20px; border-radius: 999px; transform: translateY(8px); transition: transform .3s ease; }
.tile.dark .tile-veil span { background: var(--cyan); color: var(--night); }
.tile-veil svg { width: 15px; height: 15px; }
.tile:hover .tile-veil, .tile:focus-within .tile-veil { opacity: 1; }
.tile:hover .tile-veil span, .tile:focus-within .tile-veil span { transform: none; }
.tile-art .draw { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s ease .2s; }
.in .tile-art .draw, .tile.in .draw { stroke-dashoffset: 0; }
.tile-art .grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.08); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tile.in .grow { transform: scaleY(1); }

/* ---------------------------------------------------------------- simple pages (access ended) */
.plain-page { padding: clamp(50px, 8vw, 110px) 0; max-width: 760px; }
.plain-page h1 { font-size: calc(clamp(40px, 6vw, 72px) * var(--s-display)); margin: 14px 0 22px; }
.plain-page p { font-size: 18px; color: var(--ink-2); }
.plain-page a { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tile-art .draw { stroke-dashoffset: 0; } .tile-art .grow { transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-card { grid-template-columns: auto 1fr; }
  .closing-card .cta-row { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 860px) {
  .cover-grid, .pv-grid, .feature, .night-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
  .cover-art { max-width: 520px; margin: 10px auto 0; }
  .feature-art { max-width: 480px; width: 100%; margin: 0 auto; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .site-foot .wrap > div:first-child { grid-column: 1 / -1; }
  .edition .hide-sm, .head-nav .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .numbers .wrap { grid-template-columns: 1fr; }
  .num { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .num:first-child { border-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .closing-card { grid-template-columns: 1fr; text-align: left; }
  .cover-art { max-width: 400px; }
  .steps li { grid-template-columns: 60px 1fr; }
  .steps li::before { font-size: calc(40px * var(--s-num)); }
  .site-head .wrap { height: 64px; }
  .brand-sub { display: none; }
  .tile-veil { display: none; }
}
