/* Site skin. Component dimensions, native dialog mechanics and the course print sheet stay with their owners. */
:root {
  --atlas-night:#06171a;
  --atlas-depth:#0b2529;
  --atlas-surface:#113238;
  --atlas-raised:#19464a;
  --atlas-edge:#497478;
  --atlas-text:#edf6f6;
  --atlas-soft:#ccdcdc;
  --atlas-muted:#a8c3c6;
  --atlas-mint:#81e3dd;
  --atlas-tangerine:#ffa260;
  --atlas-amber:#ffb980;
  --atlas-paper:var(--atlas-night);
  --atlas-paper-ink:var(--atlas-text);
  --atlas-paper-soft:var(--atlas-muted);
  --atlas-paper-link:var(--atlas-mint);
  --atlas-rule:rgba(131,204,206,.28);
  --atlas-glass:linear-gradient(125deg,#153b40,#0e2c30 77%);
  --atlas-display:Asul,Georgia,serif;
  --atlas-ui:Barlow,Arial,sans-serif;
  --atlas-notation:'Space Mono',ui-monospace,monospace;
}

@media screen {
  html:has(body[data-ppw-family]) { background:var(--atlas-night); }
  body[data-ppw-family] {
    --bg:var(--atlas-depth); --bg-2:var(--atlas-surface); --deep:var(--atlas-night);
    --ink:var(--atlas-text); --ink-dim:var(--atlas-muted); --warm:var(--atlas-text);
    --muted:var(--atlas-muted); --soft:var(--atlas-soft); --muted2:var(--atlas-soft);
    --line:var(--atlas-rule); --line-m:var(--atlas-edge);
    --accent:var(--atlas-tangerine); --accent2:var(--atlas-amber); --accent-2:var(--atlas-amber);
    --card:var(--atlas-surface); --card-hover:var(--atlas-raised); --panel:var(--atlas-surface);
    --font-serif:var(--atlas-display); --serif:var(--atlas-display);
    --font-sans:var(--atlas-ui); --font:var(--atlas-ui); --sans:var(--atlas-ui);
    --navy:var(--atlas-depth); --navy-deep:var(--atlas-night); --cream:var(--atlas-text); --gold:var(--atlas-tangerine);
    --front-navy:var(--atlas-depth); --front-deeper:var(--atlas-night); --front-night:var(--atlas-night);
    --front-cream:var(--atlas-text); --front-muted:var(--atlas-muted); --front-gold:var(--atlas-tangerine);
    --front-hair:var(--atlas-rule); --front-serif:var(--atlas-display); --front-sans:var(--atlas-ui);
    --display:var(--atlas-display); --ui:var(--atlas-ui);
    color:var(--atlas-text); background-color:var(--atlas-depth); font-family:var(--atlas-ui);
    accent-color:var(--atlas-tangerine); -webkit-font-smoothing:antialiased;
  }
  body[data-ppw-family] :is(h1,h2,h3,h4) {
    font-family:var(--atlas-display); font-weight:400; font-synthesis:none;
  }
  body[data-ppw-family] :is(h1,h2) { letter-spacing:-.025em; }
  body[data-ppw-family] :is(.ppw-hero-sm,.rooms-intro,.blog-index__header,.article-header) {
    border-bottom:1px solid var(--atlas-edge);
    padding-bottom:clamp(20px,3.5vw,42px);
    background:linear-gradient(90deg,var(--atlas-mint),var(--atlas-mint)) left bottom/3.5rem 2px no-repeat;
  }
  body[data-ppw-family] :is(.blog-article,.blog-index,.ppw-hero-sm,.rooms-intro) h1 {
    font-size:clamp(2.35rem,5.4vw,4.7rem);line-height:1.04;letter-spacing:-.045em;
  }
  body[data-ppw-family] :is(input,select,textarea,button) { font-family:var(--atlas-ui); }
  body[data-ppw-family] a { text-underline-offset:.22em; }
  body[data-ppw-family] :is(code,kbd,samp) { font-family:var(--atlas-notation); }
  body[data-ppw-family] :focus-visible { outline:2px solid var(--atlas-amber); outline-offset:3px; }
  body[data-ppw-family] ::selection { background:#81e3dd; color:#051518; }
  body[data-ppw-family] :is(.eyebrow,.mono-label,.hero-kicker,.place,.front-k,.motion-kicker,.lesson-kicker,.stack-disclosure-label) {
    color:var(--atlas-mint); font-family:var(--atlas-notation); font-weight:400; letter-spacing:.09em;
  }
  body[data-ppw-family] :is(.eyebrow,.mono-label,.place,.front-k,.motion-kicker) { font-size:max(.75rem,12px); }
  body[data-ppw-family] :is(.em,.accent,.stars,.tier-label,.poster-meta,.ow-tag) { color:var(--atlas-amber); }
  body[data-ppw-family] :is(.price,.amt,.card-price,.v-price,.price-row,.cart-total,.cc-key) { font-variant-numeric:tabular-nums; }

  body[data-ppw-family]>footer {
    color:var(--atlas-soft); background:#0b2529; border-top:1px solid var(--atlas-rule);
    font-family:var(--atlas-ui);
  }
  body[data-ppw-family]>footer :is(a,.brand,h3,h4) { color:var(--atlas-text); }
  body[data-ppw-family]>footer :is(.brand b,.footer-mark) { color:var(--atlas-tangerine); }

  /* Shared programmes, operations, booking, products and opinion cards. */
  body[data-ppw-family] :is(.path,.wf-card,.found-card,.bd-card,.stat-card,.testimonial,.review,.step-card,.hold-card,
    .shop-card,.p-card,.pab-card,.v-card,.inside-card,.receipt,.cart-panel,.summary,.callout-box,.poster-body) {
    background:var(--atlas-glass);color:var(--atlas-text);border-color:var(--atlas-rule);border-radius:4px;
    box-shadow:inset 0 1px 0 rgba(135,216,218,.065);
  }
  body[data-ppw-family] :is(.cta-band,.creds-band,.toc-band,.faq-block,.verify-band,.pab-wrap,.creds-block,.email-band,.contact-box,.pay) {
    background-color:var(--atlas-depth); border-color:var(--atlas-rule);
  }
  body[data-ppw-family] :is(.three-paths,.booking,.tiers-band,.notes-band,.stats-band,.reviews,.victor,.stack-page) {
    background-color:var(--atlas-depth); border-color:var(--atlas-rule);
  }
  body[data-ppw-family] :is(.creds,.cal-frame,footer.site) { background-color:var(--atlas-night); }
  body[data-ppw-family] :is(.foundations,.fallback-form) { background:linear-gradient(180deg,var(--atlas-night),var(--atlas-depth)); }
  body[data-ppw-family] :is(.faq-block .q,.book-form,.sc) { background-color:var(--atlas-surface); border-color:var(--atlas-rule); }
  body[data-ppw-family] :is(.rating-row,.creds-chip,.hero-pill,.badge,.kicker-chip,.tag,.p-tag,.price-sub,.hint,.small) {
    font-family:var(--atlas-ui);
  }
  body[data-ppw-family] :is(.creds-chip,.hero-pill,.tag,.p-tag,.pick-opt,.filter) { border-color:var(--atlas-edge); }
  body[data-ppw-family] :is(.cine-hero,.workplace-hero,.training-hero) { background-color:var(--atlas-night); }
  body[data-ppw-family] :is(.btn-primary,.cta-btn.primary,.hero-cta,.tier-cta,.submit-btn,.v-buy,.checkout-btn,.book,.motion-action) {
    background:var(--atlas-tangerine); color:#051518; border-color:transparent;
    border-radius:999px; font-family:var(--atlas-ui); font-weight:650;
  }
  body[data-ppw-family] :is(.btn-ghost,.cta-btn.ghost,.btn.ghost,.hbtn-ghost,.sheet-link,.motion-secondary) {
    color:var(--atlas-amber); border-color:var(--atlas-edge);
  }
  body[data-ppw-family] :is(.btn-ghost,.cta-btn.ghost,.btn.ghost,.hbtn-ghost) { background:transparent; }
  body[data-ppw-family] :is(.filter.is-active,.filter[aria-pressed=true],.pick-opt[aria-pressed=true]) {
    background:#81e3dd;color:#051518;border-color:#81e3dd;
  }
  body[data-ppw-family] :is(.mtile,.door,.poster,.pcard,.offer,.front-door,.ps-tool,.pab-card,.reading-story) {
    border-color:var(--atlas-edge);box-shadow:inset 0 1px 0 rgba(135,216,218,.07);
  }
  @media(hover:hover) {
    body[data-ppw-family] :is(.mtile,.door,.offer,.ps-tool,.pab-card,.p-card,.blog-card,.shop-card):hover { border-color:var(--atlas-amber); }
    body[data-ppw-family] :is(.btn-primary,.cta-btn.primary,.hero-cta,.book,.motion-action):hover { background:#ffb980; }
  }

  /* Programme sheets, maps, the course and the seminar player. Canvas, media and printing retain their own colours. */
  body[data-ppw-family] :is(.sh-card,.front-area-dialog .front-dialog-card,.details,.gate,.xcard,.lcard,.frame-item,.film-shelf,.check) {
    background:var(--atlas-glass); color:var(--atlas-text); border-color:var(--atlas-edge);
  }
  body[data-ppw-family] :is(.sh-head,.sh-body,.sh-x,.dismiss,.rail,.media-controls,.room .controls,.course-tools) {
    border-color:var(--atlas-rule);
  }
  body[data-ppw-family] :is(.sh-x,.dismiss) { background:#082b30; color:var(--atlas-text); }
  body[data-ppw-family] .sh-head h2 { color:var(--atlas-text); }
  body[data-ppw-family] :is(.sh-card .quote,.room .rail button,.room .controls button,.cform,.check .opt) { border-color:var(--atlas-edge); }
  body[data-ppw-family] .room .rail button[aria-current=true] { background:#81e3dd; color:#051518; }
  body[data-ppw-family] dialog::backdrop { background:rgba(3,18,20,.74); }
  body[data-ppw-family] .paper { background:var(--atlas-paper); color:var(--atlas-paper-ink); }
  body[data-ppw-family] .paper :is(h1,h2,h3,h4) { color:var(--atlas-paper-ink); }
  body[data-ppw-family] .paper a { color:var(--atlas-paper-link); }
  body[data-ppw-family] .paper :focus-visible { outline-color:var(--atlas-paper-link); }
  body[data-ppw-family]:has(#seminar-title) { --ink:var(--atlas-depth); --paper:var(--atlas-text); }
  body[data-ppw-family] .profession { background:var(--atlas-surface); color:var(--atlas-text); }
  body[data-ppw-family] :is(.topic,.tier,.delivered-pricing,.pain-step,.outcome) {
    background:var(--atlas-glass); color:var(--atlas-text); border-color:var(--atlas-rule);
  }
  body[data-ppw-family] :is(.tier-label,.topic .plus,.creds-name,.sec-head .k,.f-title,.starline) { color:var(--atlas-amber); }
  body[data-ppw-family] :is(.source,.rail-hint,.topic-detail,.creds-line,.footnote) { color:var(--atlas-muted); }

  /* Reading plates share the dark field used by the interactive atlas. */
  body[data-ppw-family] :is(.blog-index,.blog-article) {
    --ink:var(--atlas-paper-ink);--muted:var(--atlas-paper-soft);--accent:var(--atlas-paper-link);
    box-sizing:border-box;color:var(--atlas-paper-ink);
    background:radial-gradient(ellipse at 100% 0,rgba(29,94,97,.28),transparent 27rem),var(--atlas-paper);
    border:1px solid var(--atlas-rule);border-radius:2px;
    margin-block:clamp(76px,8vw,110px) clamp(28px,5vw,70px);
    padding:clamp(22px,4vw,60px); box-shadow:0 16px 42px #02191a38;
  }
  body[data-ppw-family] :is(.blog-article,.blog-index) :is(h1,h2,h3,h4,p,li,figcaption,.article-meta,.article-byline,.blog-card__meta,.blog-card__excerpt,.mono-label) { color:var(--atlas-paper-ink); }
  body[data-ppw-family] :is(.blog-article,.blog-index) :is(.article-meta,.article-byline,.blog-card__meta,figcaption,.mono-label) { color:var(--atlas-paper-soft); }
  body[data-ppw-family] :is(.blog-article,.blog-index) a { color:var(--atlas-paper-link); }
  body[data-ppw-family] :is(.blog-article,.blog-index) :focus-visible { outline-color:var(--atlas-paper-link); }
  body[data-ppw-family] .blog-article :is(.callout-box,.article-cta,.article-footer,blockquote),body[data-ppw-family] .blog-card {
    background:var(--atlas-surface);color:var(--atlas-text);border-color:var(--atlas-rule);border-radius:3px;
  }
  body[data-ppw-family] .blog-card { box-shadow:inset 0 1px 0 var(--atlas-edge); }
  body[data-ppw-family] :is(.article-meta,.blog-card__meta,.article-hero figcaption,.reading-list time,.front-cap) {
    font-family:var(--atlas-notation);font-size:max(.75rem,12px);line-height:1.55;
  }
  body[data-ppw-family] .blog-article blockquote {
    border-left:2px solid var(--atlas-tangerine);padding-inline:clamp(15px,3vw,28px);
  }
  body[data-ppw-family] .article-header { border-color:#6c9a9e; }
  body[data-ppw-family] .blog-article p { line-height:1.67; }
  body[data-ppw-family] .blog-article :is(img,iframe) { max-width:100%; }
  body[data-ppw-family="science"] :is(.pg,.pg.ghost,.backlink) { border-color:var(--atlas-edge); }
  body[data-ppw-family="science"] :is(.pg.ghost,.backlink) { color:var(--atlas-mint); }
  body[data-ppw-family="science"] :is(blockquote,.card,.callout,.source-box) { border-color:var(--atlas-edge); }
  body[data-ppw-family="science"] :is(article,main) > :is(h2,h3) { color:var(--atlas-text); }
  body[data-ppw-family] .ppw-app-excerpt .app-waitlist { background:var(--atlas-depth); color:var(--atlas-text); }

  /* Booking, product groups, the basket, prices and form controls. Never change native control display states. */
  body[data-ppw-family="shop"] :is(.card,.shop-card,.p-card,.stack-card,.cart-panel,.poster,.v-card),
  body[data-ppw-family="booking"] :is(.path,.calendar,.fallback-form,.book-form,.tier,.testimonial) {
    background-color:var(--atlas-surface);border-color:var(--atlas-edge);
  }
  body[data-ppw-family="shop"] :is(.card-body,.poster-body,.v-body,.stack-card__body),
  body[data-ppw-family="booking"] :is(.path-body,.cal-head) { color:var(--atlas-text); }
  body[data-ppw-family] :is(.modal,.share-modal .modal,.gate,.book-form,.corp-form,.replyForm,.ppwe-form,.cform) {
    --accent:var(--atlas-tangerine);--line:var(--atlas-rule);
  }
  body[data-ppw-family] :is(.book-form,.corp-form,.ppwe-form,.cform,.reply-form,.gate,.cart-panel,.v-card,#replyForm)
    :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea) {
    color:var(--atlas-text);background-color:#082b30;border-color:#6c9a9e;caret-color:var(--atlas-amber);
  }
  body[data-ppw-family] :is(.book-form,.corp-form,.ppwe-form,.cform,.reply-form,.gate,#replyForm) :is(input,textarea)::placeholder { color:#a8c3c6;opacity:1; }
  body[data-ppw-family] :is(.book-form,.corp-form,.ppwe-form,.cform,.reply-form,.gate,#replyForm) label { color:var(--atlas-text); }
  body[data-ppw-family] :is(.ppw-enquiry-ui,#ppw-enquiry,.ppwe-card,.ppw-enquiry-page) { background:var(--atlas-surface);color:var(--atlas-text);border-color:var(--atlas-edge); }
  body[data-ppw-family] #ppw-enquiry .ppwe-top { border-color:var(--atlas-rule); }
  body[data-ppw-family] .ppw-enquiry-ui :is(h1,h2) { font-family:var(--atlas-display);color:var(--atlas-text); }
  body[data-ppw-family] :is(.ppwe-send,.book-form button[type=submit],.corp-form button[type=submit]) {
    background:var(--atlas-tangerine);color:#051518;border-color:transparent;
  }
  body[data-ppw-family] .ppw-enquiry-ui button[data-enquiry-close] { color:var(--atlas-text);background:#082b30;border-color:var(--atlas-edge); }

  /* Retained home-page content, below the atlas. These selectors do not size or cover map targets. */
  body[data-ppw-family="home"] :is(.front-section,.reading-section,.workplace-section,.motion-home,.ps-tools,.front-articles) {
    background-color:var(--atlas-depth); color:var(--atlas-text);border-color:var(--atlas-rule);
  }
  body[data-ppw-family="home"] :is(.front-inner,.work-wrap) { border-color:var(--atlas-rule); }
  body[data-ppw-family="home"] :is(.reading-panel,.work-card,.front-quote,.ps-tool) { background-color:var(--atlas-surface);border-color:var(--atlas-edge); }
  body[data-ppw-family="home"] :is(.reading-title,.reading-title a,.front-quote p) { color:var(--atlas-text); }
  body[data-ppw-family="home"] :is(.reading-author,.reading-source,.front-cap,.ps-label) { color:var(--atlas-soft); }
  body[data-ppw-family="home"] :is(.motion-credit,.work-choices,.reading-source) { border-color:var(--atlas-rule); }
  body[data-ppw-family="home"] :is(.front-section h2,.reading-title,.front-quote p) { font-family:var(--atlas-display);font-weight:400; }
  body[data-ppw-family] :is(table,hr,fieldset,.legal .divider,.sticky,.sticky-bar) { border-color:var(--atlas-rule); }
  body[data-ppw-family] :is(.sticky,.sticky-bar) { background-color:var(--atlas-night); }
  @media(max-width:550px) {
    body[data-ppw-family] :is(.blog-index,.blog-article) { border-radius:2px;padding-inline:clamp(14px,4.5vw,24px); }
  }
  @media(prefers-reduced-motion:reduce) {
    body[data-ppw-family] :is(.mtile,.door,.blog-card,.p-card,.shop-card,.btn-primary) { transition:none; }
  }
}

body[data-ppw-family="atlas"]{margin:0;background:#0b2529}
.front-area-dialog article>p:last-child>a{display:inline-block;color:#ffb980;text-decoration:underline;text-underline-offset:3px}
.km-example .motion-credit{margin-bottom:12px}
body[data-ppw-family="app"] .hold:has(>.km-context){flex-direction:column;gap:26px}
body[data-ppw-family="app"] .hold>.km-context{align-self:stretch;order:2}
@media(max-width:740px){
  body[data-ppw-family] footer .foot-grid{grid-template-columns:minmax(0,1fr)}
  body[data-ppw-family] footer .foot-grid>div{min-width:0;overflow-wrap:anywhere}
}
