/* Nineteen × PBN pitch page. Phone-first. Sections carry their own register on <section
   data-register>, so tokens flip per section: night for the hero, the prototype and the range
   section; day for everything that is business. Only tokens are used for colour; the one literal
   is the scrim over their aerial, which is a brand-navy alpha the tokens do not carry. */
html, body { margin: 0; background: var(--bg); color: var(--text-primary); font-family: var(--font-body); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
section[data-register] { background: var(--bg); color: var(--text-primary); }
.in { max-width: 1040px; margin: 0 auto; padding: 64px 20px; }
@media (min-width: 900px) { .in { padding: 96px 32px; } }
.ov { font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-primary); margin: 0 0 12px; }
[data-register="night"] .ov { color: var(--brand-secondary); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(28px, 5vw, 44px); line-height: 1.05; margin-bottom: 14px; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.2; }
.lede { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.5; color: var(--text-secondary); max-width: 58ch; margin: 0 0 28px; }
.lede strong { color: var(--text-primary); }
p { line-height: 1.55; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--text-secondary); }
.card p strong { color: var(--text-primary); }
.chip { display: inline-block; font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-primary); vertical-align: middle; margin-left: 6px; }
[data-register="night"] .chip { color: var(--brand-secondary); background: rgba(255,255,255,.08); }
.callout { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--brand-tint); font-size: 15.5px; line-height: 1.5; max-width: 70ch; }
.callout strong { display: block; margin-bottom: 4px; }
[data-register="night"] .callout { background: rgba(255,255,255,.07); }
.callout.warn { border-left: 4px solid var(--brand-accent); }
.label { font-size: 12px; color: var(--text-secondary); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--border); background: var(--surface-card); color: var(--text-primary); }
.btn.primary { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--text-on-brand); }
.btn.accent { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-on-accent); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* Embedded pages: one iframe per section, sized by the height the page posts back. */
.embed { width: 100%; border: 0; display: block; height: 900px; border-radius: 18px; overflow: hidden; background: var(--surface-card); }
.embed-wrap { margin-top: 28px; }
.embed-wrap .more { margin-top: 10px; font-size: 13px; }

/* §1 hero: their aerial under a navy scrim, never black. */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 60px); display: flex; align-items: center; }
.hero .bg { position: absolute; inset: 0; z-index: -2; background: url(img/pbn-aerial-800.jpg) center / cover no-repeat; }
@media (min-width: 820px) { .hero .bg { background-image: url(img/pbn-aerial.jpg); } }
.hero .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,27,64,.68) 0%, rgba(11,27,64,.70) 52%, rgba(11,27,64,.93) 100%); }
/* second pass darkens only behind the headline column so the aerial keeps its detail on the phone side */
.hero .scrim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,27,64,.34) 0%, rgba(11,27,64,.18) 46%, rgba(11,27,64,0) 72%); }
.hero .in { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 900px) { .hero .in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { font-size: clamp(36px, 7vw, 68px); line-height: .98; letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; }
.hero .sub { font-size: clamp(17px, 2.3vw, 21px); color: var(--text-secondary); max-width: 40ch; margin: 18px 0 0; }
.hero .label { margin-top: 26px; }
.phone { position: relative; width: min(340px, 82vw); aspect-ratio: 390 / 844; margin: 0 auto; border-radius: 40px; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 10px #0a0f1e, 0 0 0 11px rgba(255,255,255,.12); overflow: hidden; }
.phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; }
.phone .still { position: absolute; inset: 0; background: url(img/g22-still.jpg) top / cover no-repeat; }
/* the supplied lockup is a dark asset and smudges on navy; the hero uses a light type lockup instead */
.brandrow { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.brandrow .lock { font-family: var(--font-display, var(--font-core)); font-size: clamp(15px, 2.2vw, 18px); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #FFFFFF; line-height: 1; }
.brandrow span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.brandrow .x { color: rgba(255,255,255,.5); }

/* §2 cards get their screen chips; the fourth beat is its own band. */
.beat { margin-top: 28px; padding: 26px; border-radius: 18px; background: var(--brand-primary); color: var(--text-on-brand); }
.beat h3 { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 8px; }
.beat p { margin: 0; opacity: .92; max-width: 60ch; }

/* §5 the loop. */
.loop { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: stretch; margin-top: 8px; }
@media (min-width: 720px) { .loop { grid-template-columns: 1fr auto 1fr; } }
.loop .side { background: var(--surface-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.loop .side h3 { margin-bottom: 6px; }
.loop .side p { margin: 0 0 12px; color: var(--text-secondary); font-size: 15px; }
.loop .proof { font-family: var(--font-display); font-size: 28px; letter-spacing: -.01em; }
.loop .proof small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin-top: 4px; }
.loop .arrows { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--brand-secondary); padding: 6px; }
@media (min-width: 720px) { .loop .arrows { flex-direction: column; } }

/* §6 before / after. */
.ba { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15.5px; }
.ba th { text-align: left; font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); padding: 0 12px 10px 0; }
.ba td { vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--border); line-height: 1.45; }
.ba td:last-child { font-weight: 600; }
@media (max-width: 560px) { .ba, .ba tbody, .ba tr, .ba td, .ba thead, .ba th { display: block; } .ba thead { display: none; } .ba td { padding: 8px 0; border: 0; } .ba td:first-child { border-top: 1px solid var(--border); padding-top: 14px; color: var(--text-secondary); } .ba td:first-child::before { content: 'Today · '; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; } .ba td:last-child::before { content: 'After · '; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; } .ba td:last-child { padding-bottom: 14px; } }

/* §8 doors and phases. */
.door { position: relative; }
.door .num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--brand-secondary); margin-bottom: 8px; }
.door .caveat { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 14px; color: var(--text-secondary); }
.door .caveat strong { color: var(--text-primary); }
.onerecord { margin-top: 22px; padding: 24px; border-radius: 18px; background: var(--brand-primary); color: var(--text-on-brand); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; }
.onerecord strong { font-family: var(--font-display); font-size: 1.35em; display: block; margin-bottom: 6px; letter-spacing: -.01em; }
.sub-h { margin-top: 56px; }
.phase .n { font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 8px; }
.releases { margin-top: 14px; display: grid; gap: 6px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .releases { grid-template-columns: repeat(5, 1fr); } }
.rel { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-card); font-size: 13.5px; line-height: 1.4; }
.rel b { display: block; font-family: var(--font-display); font-size: 16px; }
.rel .chip { margin: 6px 4px 0 0; }
.caption { margin-top: 12px; font-size: 14px; color: var(--text-secondary); max-width: 70ch; }

/* §9. */
.who { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
.todo { border: 2px dashed var(--brand-accent); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--text-secondary); }
.todo b { color: var(--text-primary); display: block; margin-bottom: 4px; }
.ask { margin-top: 56px; padding: 28px; border-radius: 22px; background: var(--brand-primary); color: var(--text-on-brand); }
.ask h2 { color: inherit; }
.ask p { max-width: 62ch; opacity: .94; }
.ask .contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ask .contact a.btn { background: var(--surface-card); color: var(--text-primary); border-color: transparent; }
.ask .todo { border-color: rgba(255,255,255,.55); color: inherit; margin-top: 18px; }
.ask .todo b { color: inherit; }
footer { padding: 28px 20px 40px; text-align: center; font-size: 12.5px; color: var(--text-secondary); }
footer a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Four-page site chrome -------------------------------------------------------------------
   One sticky bar on desktop; on phones the four page links drop to a bottom tab bar, a shape a
   golf-app user already knows, and the ask button stays up top. */
.sitenav { position: sticky; top: 0; z-index: 50; background: rgba(10,20,40,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.sitenav .navin { max-width: 1040px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 18px; }
@media (min-width: 900px) { .sitenav .navin { padding: 0 32px; } }
.sitenav .brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; margin-right: auto; }
.sitenav .brand b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.sitenav .brand span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sitenav .links { display: flex; gap: 4px; }
.sitenav .links a { text-decoration: none; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); padding: 8px 12px; border-radius: 10px; }
.sitenav .links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.sitenav .links a.on { color: #fff; background: rgba(255,255,255,.14); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
@media (max-width: 899px) {
  .sitenav .links { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: rgba(10,20,40,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.1); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .sitenav .links a { text-align: center; font-size: 11.5px; letter-spacing: .02em; padding: 10px 2px; border-radius: 8px; min-height: 44px; display: grid; place-items: center; }
  .sitenav .brand span { display: none; }
  /* backdrop-filter makes the bar a containing block for fixed children, which would pin the tab
     bar to the top; on phones the bar is solid instead so the links can reach the bottom edge. */
  .sitenav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,20,40,.96); }
  body { padding-bottom: 68px; }
}
/* Page heads reuse the hero type without the aerial. */
.pagehead .in { padding-top: 56px; }
.h2 { font-size: clamp(30px, 5.4vw, 48px); line-height: 1.02; margin-bottom: 14px; max-width: 20ch; letter-spacing: -.015em; }
.h3x { font-size: clamp(24px, 3.6vw, 34px); }
/* Doors on the home page. */
.cards.paths .path { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.cards.paths .path .ov { margin: 0; }
.cards.paths .path p { flex: 1; }
.cards.paths .path .go { font-weight: 600; color: var(--brand-primary); }
.cards.paths .path:hover { box-shadow: 0 12px 30px -18px rgba(5,49,116,.5); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .cards.paths .path { transition: none; } }
/* Page foot: the next step, then the label. */
.pagefoot .in { padding-top: 32px; padding-bottom: 56px; }
.nextcard { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px; background: var(--surface-card); border: 1px solid var(--border); }
.nextcard .ov { margin-bottom: 6px; }
.nextcard h3 { font-size: clamp(20px, 3vw, 26px); }
.label.foot { margin-top: 22px; text-align: center; }
.ask.mini { margin-top: 0; }
.ask.mini h2 { font-size: clamp(24px, 4vw, 34px); }
.wallcard { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 22px; border-radius: 16px; background: var(--surface-card); border: 1px solid var(--border); margin-top: 8px; }
.wallcard .label { max-width: 60ch; margin: 0; }

/* ---- Night on the pitch pages is navy, not black ---------------------------------------------
   The kits' black is a sunlight decision inside the app. On a pitch page it reads as unfinished, so
   the night register here uses the night surface and raised tokens for the ground and the cards. */
body[data-register="night"], section[data-register="night"], .pagefoot[data-register="night"] { background: var(--night-surface); }
section[data-register="night"] .card, section[data-register="night"] .nextcard, section[data-register="night"] .loop .side, section[data-register="night"] .callout, .pagefoot[data-register="night"] .nextcard { background: var(--night-raised); border-color: rgba(255,255,255,.12); }
section[data-register="night"] .btn:not(.primary):not(.accent) { background: var(--night-raised); border-color: rgba(255,255,255,.18); }
