/* Inner pages v2: the home page look on Websites, Business Agents, Personal Agent, About, Contact, Shadow Day
   and the two legal pages. Loaded after pages.css and each page's own styles, and wins by using the page id. */
/* The home page font names, so the shared deck styles resolve here too. */
#atlasPages { --line: #00f0ff24; --dim: #9fb4bd; --soft: #9af6ff; --font-d: AtlasArchivo, Archivo, Arial, sans-serif; --sans: AtlasInter, Inter, Arial, sans-serif; --font-s: AtlasSerif, "Cormorant Garamond", Georgia, serif; background: #05070c; }
#atlasPages::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 520px at 80% -8%, #00f0ff1c, transparent 62%), radial-gradient(720px 480px at 4% 42%, #00f0ff0d, transparent 60%), linear-gradient(#00f0ff09 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, #00f0ff09 1px, transparent 1px) 0 0 / 56px 56px, #05070c; }

/* ---------- header ---------- */
#atlasPages .ap-header { background: #05070cd1; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid #00f0ff1f; }
#atlasPages .ap-header-row { height: 84px; }
#atlasPages .ap-brand { position: relative; display: block; width: 164px; height: 48px; }
#atlasPages .ap-brand .ap-logo-still { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 9px #00f0ff55); }
#atlasPages .ap-brand canvas { position: absolute; inset: 0; width: 164px; height: 48px; opacity: 0; filter: drop-shadow(0 0 9px #00f0ff55); }
#atlasPages .ap-brand.ready .ap-logo-still { opacity: 0; }
#atlasPages .ap-brand.ready canvas { opacity: 1; }
#atlasPages .ap-nav { gap: 26px; }
#atlasPages .ap-nav a { position: relative; font-size: 0.93rem; font-weight: 600; color: #c5d6dc; transition: color 0.2s ease; }
#atlasPages .ap-nav a:hover { color: #fff; }
#atlasPages .ap-nav a[aria-current] { color: #fff; }
#atlasPages .ap-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: #00f0ff; box-shadow: 0 0 12px #00f0ff; }

/* ---------- type ---------- */
#atlasPages h1, #atlasPages h2, #atlasPages h3 { font-weight: 800; letter-spacing: -0.015em; }
#atlasPages h1, #atlasPages .ap-hero h1, #atlasPages .ap-heading h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.03; letter-spacing: -0.02em; }
#atlasPages h2 { font-size: clamp(1.95rem, 3.7vw, 3rem); }
#atlasPages .ap-close h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
#atlasPages .ap-contact-info h2, #atlasPages .ap-form h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
#atlasPages h3 { font-weight: 750; letter-spacing: -0.01em; }
#atlasPages .ap-footer-h { font: 700 12px/1.3 AtlasInter, Arial, sans-serif; letter-spacing: 0.16em; }
#atlasPages .ap-legal-copy h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
#atlasPages h1 em, #atlasPages h2 em { color: var(--soft); font-weight: 500; letter-spacing: 0; }
#atlasPages .ap-kicker { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--soft); }
#atlasPages .ap-kicker::before { width: 34px; height: 1px; background: #00f0ff; box-shadow: 0 0 12px #00f0ff99; }
#atlasPages .ap-lead { color: #c3d4da; }

/* ---------- buttons ---------- */
#atlasPages .ap-btn { border-radius: 12px; font-family: AtlasArchivo, Arial, sans-serif; font-weight: 750; font-size: 0.95rem; box-shadow: 0 0 26px #00f0ff38; transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
#atlasPages .ap-btn:hover { box-shadow: 0 0 40px #00f0ff66; }
#atlasPages .ap-btn.ap-outline { border-color: #00f0ff59; background: #060c1699; box-shadow: none; }
#atlasPages .ap-btn.ap-outline:hover { border-color: #00f0ff; background: #00f0ff14; box-shadow: 0 0 26px #00f0ff26; }
#atlasPages .ap-header-cta { min-height: 44px; padding: 10px 18px; }

/* ---------- sections ---------- */
#atlasPages .ap-heading { position: relative; padding: clamp(52px, 9vh, 100px) 0 clamp(44px, 8vh, 84px); background: transparent; border-bottom: 1px solid #00f0ff1f; }
#atlasPages .ap-heading h1 { max-width: 15em; }
#atlasPages .ap-hero { background: #0a0e1a; border-bottom: 1px solid #00f0ff1f; }
#atlasPages .ap-hero::after { background: linear-gradient(90deg, #0a0e1a 8%, #0a0e1aee 31%, #0a0e1a55 60%, transparent 76%); }
#atlasPages .ap-hero-media { background: #0a0e1a; }
#atlasPages .ap-section { background: transparent; border-bottom: 1px solid #00f0ff14; }
/* The pale sections join the rest of the site: dark glass, same ink. */
#atlasPages .ap-light { --line: #00f0ff24; --dim: #9fb4bd; --fg: #eaf6f8; --cyan: #00f0ff; color: #eaf6f8; background: linear-gradient(180deg, #0a0e1acc, #070b14cc); }
#atlasPages .ap-light .ap-callout { border-color: #00f0ff59; background: #00f0ff0d; color: #eaf6f8; }
#atlasPages .ap-light .ap-trades, #atlasPages .ap-light .ap-body-links a:not(.ap-btn) { color: #eaf6f8; }
#atlasPages .ap-light .ap-body-links a:not(.ap-btn) { color: #79f7ff; }
#atlasPages .ap-section-head > p { color: var(--dim); }
#atlasPages .ap-story p { color: #b3c6cd; }

/* ---------- cards ---------- */
#atlasPages .ap-site, #atlasPages .ap-agent, #atlasPages .ap-feature, #atlasPages .ap-person, #atlasPages .ap-check li, #atlasPages .ap-callout { position: relative; border: 1px solid #00f0ff26; border-radius: 18px; background: linear-gradient(180deg, #0d1424d9, #0a0e1a99); transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
#atlasPages .ap-check li { border-radius: 14px; }
#atlasPages .ap-callout { border-color: #00f0ff59; background: #00f0ff0d; box-shadow: 0 0 34px #00f0ff14; }
#atlasPages .ap-site:hover, #atlasPages .ap-agent:hover, #atlasPages .ap-feature:hover, #atlasPages .ap-person:hover, #atlasPages .ap-check li:hover { border-color: #00f0ff8c; box-shadow: 0 0 36px #00f0ff24, inset 0 0 22px #00f0ff0d; }
#atlasPages .ap-agent { padding: 26px 24px 28px; }
#atlasPages .ap-agent h3 { font-size: 1.22rem; }
#atlasPages .ap-agent .ap-tag { color: var(--soft); letter-spacing: 0.18em; font-weight: 700; }
#atlasPages .ap-agent::before, #atlasPages .ap-feature::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #00f0ff, transparent); opacity: 0.55; }
#atlasPages .ap-features { gap: 16px; }
#atlasPages .ap-feature { padding: 28px 24px 30px; border-top: 1px solid #00f0ff26; }
#atlasPages .ap-people { gap: 20px; }
#atlasPages .ap-person { padding: 30px 28px 32px; border-top: 1px solid #00f0ff26; }
#atlasPages .ap-person .ap-role { color: var(--soft); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; font-size: 0.72rem; }
#atlasPages .ap-site { background: #0a101e; }
#atlasPages .ap-site img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
#atlasPages a.ap-site:hover img { transform: scale(1.04); }
#atlasPages .ap-site-body b { font-family: AtlasArchivo, Arial, sans-serif; font-weight: 750; font-size: 1.16rem; }
#atlasPages .ap-site-body .ap-visit { color: var(--soft); }
#atlasPages .ap-about-photo { border: 1px solid #00f0ff33; border-radius: 22px; box-shadow: 0 0 60px #00f0ff14; }
#atlasPages .ap-trades { padding: 0; list-style: none; columns: auto; display: flex; flex-wrap: wrap; gap: 10px; }
#atlasPages .ap-trades li { margin: 0; padding: 9px 15px; border: 1px solid #00f0ff33; border-radius: 99px; background: #060c1699; font-size: 0.92rem; font-weight: 600; color: #d9e8ec; }
#atlasPages .ap-list li { border-bottom-color: #00f0ff1f; }

/* Depth: with a mouse the card leans to the pointer and a light follows it; on a phone the site cards lean as they pass. */
#atlasPages .pv-hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
#atlasPages .pv-hover.live { transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.08s linear; }
#atlasPages .pv-hover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 50%), #eaf6f822, #00f0ff12 36%, transparent 62%); }
#atlasPages .pv-hover.live::after { opacity: 1; }
#atlasPages .ap-site-grid { perspective: 1000px; }
#atlasPages .pv-tilt { transform: rotateX(var(--tilt, 0deg)) scale(var(--sink, 1)); transition: none; will-change: transform; }

/* Things rise into place as they scroll in (only when the script has marked them). */
#atlasPages .pv-reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s ease var(--pv-d, 0ms), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--pv-d, 0ms), border-color 0.35s ease, box-shadow 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
#atlasPages .pv-reveal.in { opacity: 1; translate: 0 0; }

/* ---------- forms ---------- */
#atlasPages .ap-form { padding: clamp(22px, 3vw, 36px); border: 1px solid #00f0ff33; border-radius: 22px; background: linear-gradient(180deg, #0d1424d9, #0a0e1ab3); box-shadow: 0 0 60px #00f0ff12; }
#atlasPages .ap-field input, #atlasPages .ap-field select, #atlasPages .ap-field textarea { border: 1px solid #00f0ff38; border-radius: 12px; background: #05070c; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
#atlasPages .ap-field input:focus, #atlasPages .ap-field select:focus, #atlasPages .ap-field textarea:focus { border-color: #00f0ff; box-shadow: 0 0 0 3px #00f0ff26; outline: none; }
#atlasPages .ap-contact-info > a:not(.ap-btn) { color: #79f7ff; }

/* ---------- closing invitation ---------- */
#atlasPages .ap-close { padding: clamp(48px, 8vh, 88px) 0; background: transparent; border-bottom: 1px solid #00f0ff14; }
#atlasPages .ap-close .ap-wrap { position: relative; padding: clamp(24px, 4vw, 44px); border: 1px solid #00f0ff40; border-radius: 24px; background: radial-gradient(620px 300px at 82% 0, #00f0ff1a, transparent 70%), #0a0e1ad9; box-shadow: 0 0 60px #00f0ff14, inset 0 0 40px #00f0ff08; }
#atlasPages .ap-close .ap-wrap.pv-has-stage { display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; column-gap: clamp(20px, 3vw, 40px); align-items: center; }
#atlasPages .ap-close .ap-wrap.pv-has-stage > .pv-stage { grid-column: 1; grid-row: 1 / span 2; height: 230px; }
#atlasPages .ap-close .ap-wrap.pv-has-stage > :not(.pv-stage):not(.ap-btn) { grid-column: 2; align-self: start; margin-top: 14px; }
#atlasPages .ap-close .ap-wrap.pv-has-stage > h2 { grid-row: 1; align-self: end; margin-top: 0; }
#atlasPages .ap-close .ap-lead { margin-inline: 0 !important; }
#atlasPages .ap-close .ap-wrap.pv-has-stage > h2:only-of-type:nth-last-child(2) { grid-row: 1 / span 2; align-self: center; }
#atlasPages .ap-close .ap-wrap.pv-has-stage > .ap-btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

/* ---------- 3D windows ---------- */
#atlasPages .pv-stage { position: relative; overflow: hidden; border: 1px solid #00f0ff3d; border-radius: 22px; background: #0a0e1a; box-shadow: 0 0 60px #00f0ff14, inset 0 0 40px #00f0ff0a; cursor: pointer; }
#atlasPages .pv-stage.pv-off { display: none; }
#atlasPages .pv-stage canvas { display: block; width: 100%; height: 100%; }
#atlasPages .pv-c { position: absolute; width: 16px; height: 16px; border: 0 solid #00f0ffb3; pointer-events: none; }
#atlasPages .pv-c.tl { left: 12px; top: 12px; border-width: 1.5px 0 0 1.5px; }
#atlasPages .pv-c.tr { right: 12px; top: 12px; border-width: 1.5px 1.5px 0 0; }
#atlasPages .pv-c.bl { left: 12px; bottom: 12px; border-width: 0 0 1.5px 1.5px; }
#atlasPages .pv-c.br { right: 12px; bottom: 12px; border-width: 0 1.5px 1.5px 0; }
#atlasPages .pv-tag { position: absolute; left: 38px; top: 17px; margin: 0; display: flex; align-items: center; gap: 8px; font: 700 0.66rem/1 AtlasInter, Arial, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); pointer-events: none; }
#atlasPages .pv-tag i { width: 6px; height: 6px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 10px #00f0ff; animation: pvBlink 1.6s ease-in-out infinite; }
@keyframes pvBlink { 50% { opacity: 0.35; } }
@media (min-width: 901px) {
  #atlasPages .ap-heading.pv-has-stage .ap-wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-content: center; }
  #atlasPages .ap-heading.pv-has-stage .ap-wrap > * { grid-column: 1; }
  #atlasPages .ap-heading.pv-has-stage .ap-wrap > .pv-stage { grid-column: 2; grid-row: 1 / span 8; align-self: center; height: clamp(320px, 46vh, 430px); }
}
@media (max-width: 900px) {
  #atlasPages .ap-heading.pv-has-stage .ap-wrap { display: flex; flex-direction: column; }
  #atlasPages .ap-heading.pv-has-stage .ap-wrap > .pv-stage { order: -1; height: 270px; margin: 0 0 30px; }
  #atlasPages .ap-heading.pv-has-stage { padding-top: 26px; }
  #atlasPages .ap-close .ap-wrap.pv-has-stage { display: block; }
  #atlasPages .ap-close .ap-wrap.pv-has-stage > .pv-stage { height: 230px; margin: 0 0 24px; }
  #atlasPages .ap-features { grid-template-columns: 1fr; }
}

/* ---------- menu: nine dot key and a full glass sheet, the same as the home page ---------- */
@media (max-width: 1000px) {
  #atlasPages .ap-header-row { height: 64px; justify-content: center; }
  #atlasPages .ap-brand { margin: 0 auto; width: 137px; height: 40px; }
  #atlasPages .ap-brand canvas { width: 137px; height: 40px; }
  #atlasPages .pv-key { position: fixed; right: 14px; top: max(10px, env(safe-area-inset-top)); z-index: 120; width: 44px; height: 44px; border-radius: 14px; border: 1px solid #00f0ff59; background: linear-gradient(160deg, #0b1a2acc, #060c16b3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 18px #00f0ff26, inset 0 0 12px #00f0ff14; padding: 0; display: grid; grid-template-columns: repeat(3, 5px); gap: 5px; place-content: center; -webkit-tap-highlight-color: transparent; }
  #atlasPages .pv-key i { width: 5px; height: 5px; border-radius: 50%; background: #00f0ff; opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s ease; }
  #atlasPages .pv-key i.gm { background: #eaf6f8; opacity: 1; box-shadow: 0 0 10px #00f0ff; animation: pvGm 2.4s ease-in-out infinite; }
  @keyframes pvGm { 50% { transform: scale(1.35); } }
  #atlasPages .pv-key::before, #atlasPages .pv-key::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 2px; margin: -1px 0 0 -12px; border-radius: 2px; background: #00f0ff; box-shadow: 0 0 8px #00f0ffaa; opacity: 0; transform: rotate(0deg) scaleX(0.2); transition: transform 0.35s ease, opacity 0.25s ease; }
  #atlasPages .pv-key[aria-expanded="true"]::before { opacity: 1; transform: rotate(45deg); }
  #atlasPages .pv-key[aria-expanded="true"]::after { opacity: 1; transform: rotate(-45deg); }
  #atlasPages .pv-key[aria-expanded="true"] i { opacity: 0; transform: scale(0); animation: none; }
  #atlasPages .pv-sheet { position: fixed; inset: 0; z-index: 110; max-height: none; padding: calc(max(10px, env(safe-area-inset-top)) + 62px) 22px 110px; overflow-y: auto; border: 0; background: #060c16f2; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: pvSheet 0.3s ease both; }
  @keyframes pvSheet { from { opacity: 0; transform: translateY(-8px); } }
  #atlasPages .pv-sheet a:not(.ap-btn) { padding: 13px 0; font: 750 1.25rem/1.2 AtlasArchivo, Arial, sans-serif; color: #eaf6f8; border-bottom: 1px solid #00f0ff1f; }
  #atlasPages .pv-sheet a[aria-current] { color: #00f0ff; }
  #atlasPages .pv-sheet .ap-btn { margin-top: 22px; width: 100%; }
}
@media (max-width: 700px) {
  #atlasPages .ap-wrap { width: min(1240px, 100% - 40px); }
  #atlasPages .ap-section { padding: 56px 0; }
  #atlasPages .ap-people { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #atlasPages .pv-key i.gm, #atlasPages .pv-tag i { animation: none; }
  #atlasPages .pv-reveal { opacity: 1; translate: 0 0; }
}

#atlasPages .pv-topics { margin: 26px 0 0; font-size: 0.8rem; line-height: 1.9; letter-spacing: 0.02em; color: #6fa9b3; word-spacing: 0.35em; }
#atlasPages .ap-footer img { width: 170px; height: auto; filter: drop-shadow(0 0 9px #00f0ff40); }

/* ---------- the words he is saying on the Contact page ---------- */
#atlasPages .pv-say { position: absolute; right: 16px; top: 46px; margin: 0; display: flex; align-items: center; gap: 5px; max-width: 62%; padding: 9px 13px 9px 14px; border: 1px solid #00f0ff66; border-radius: 14px 14px 14px 4px; background: #060c16e6; font: 600 0.86rem/1.3 AtlasInter, Arial, sans-serif; color: #eaf6f8; box-shadow: 0 0 22px #00f0ff26; opacity: 0.55; transition: opacity 0.3s ease; pointer-events: none; }
#atlasPages .pv-say.on { opacity: 1; }
#atlasPages .pv-say i { flex: none; width: 4px; height: 4px; border-radius: 50%; background: #00f0ff; opacity: 0; }
#atlasPages .pv-say.on i { animation: pvType 0.9s ease-in-out infinite; }
#atlasPages .pv-say.on i:nth-of-type(2) { animation-delay: 0.15s; }
#atlasPages .pv-say.on i:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes pvType { 0%, 100% { opacity: 0.2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
/* The family photo: the whole picture, nobody cropped. */
#atlasPages .ap-about-photo.ap-new-family { width: min(560px, 100%); height: auto; max-height: none; aspect-ratio: 3 / 4; object-position: center 30%; margin-inline: auto; }
#atlasPages figure:has(.ap-new-family) figcaption { text-align: center; }
@media (min-width: 901px) { #atlasPages .ap-heading.pv-has-stage .ap-wrap > .pv-stage.pv-wide { height: clamp(340px, 50vh, 460px); } }

/* ---------- the robot deck as a page hero (Business Agents, Personal Agent) ---------- */
@font-face { font-family: Archivo; src: url(/assets/fonts/archivo-display.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/assets/fonts/cormorant-latin.woff2) format("woff2"); font-style: italic; font-weight: 400 500; font-display: swap; }
#atlasPages .deck { border-bottom: 1px solid #00f0ff1f; }
#atlasPages .pv-deck-intro { display: none; }
@media (min-width: 701px) {
  #atlasPages .deck { height: calc(100vh - 84px); height: calc(100svh - 84px); min-height: 600px; max-height: 920px; padding-top: 6px; }
  #atlasPages .deck-head .ap-kicker { margin-bottom: 18px; }
  #atlasPages h1.deck-title { max-width: none; font: 800 clamp(2.1rem, 4vw, 3.5rem)/1.04 AtlasArchivo, Archivo, Arial, sans-serif; letter-spacing: -0.02em; }
  #atlasPages h1.deck-title em { display: block; margin-top: 4px; font: italic 500 clamp(2.1rem, 4vw, 3.5rem)/1.08 AtlasSerif, "Cormorant Garamond", Georgia, serif; letter-spacing: 0; color: var(--soft); }
  #atlasPages .deck-lead { max-width: 30em; margin-top: 18px; }
  #atlasPages .deck-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; pointer-events: auto; }
  #atlasPages .deck-dots { margin-top: 22px; }
  #atlasPages .deck-dots button { min-height: 40px; }
}
@media (min-width: 701px) and (max-width: 1000px) { #atlasPages .deck { height: calc(100svh - 64px); } }
@media (min-width: 701px) and (max-height: 760px) { #atlasPages .deck-lead { display: none; } }
@media (max-width: 700px) {
  #atlasPages .deck { height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 520px; }
  #atlasPages .deck-head { padding-top: 14px; }
  #atlasPages .deck-head .ap-kicker, #atlasPages .deck-cta { display: none; }
  #atlasPages h1.deck-title { max-width: none; margin: 0; font: 800 1.66rem/1.05 AtlasArchivo, Archivo, Arial, sans-serif; letter-spacing: -0.01em; }
  #atlasPages h1.deck-title em { display: block; margin-top: 2px; font: italic 500 1.46rem/1.1 AtlasSerif, "Cormorant Garamond", Georgia, serif; letter-spacing: 0; color: var(--soft); }
  /* The two fixed buttons own the bottom band here, so the dots sit just above them. */
  #atlasPages .deck-foot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  #atlasPages .deck-dots { left: 16px; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom)); height: 32px; }
  #atlasPages .pv-deck-intro { display: block; padding: 30px 0 6px; }
  #atlasPages .pv-deck-intro .ap-lead { margin-top: 0; }
  #atlasPages .pv-deck-intro .ap-actions { margin-top: 22px; }
}

/* ---------- Websites page: the sites deck in the heading ---------- */
#atlasPages .ap-heading.pv-sites .ap-wrap > .sd { margin: 0; }
#atlasPages .ap-heading.pv-sites .sd-card { color: #eaf6f8; }
@media (min-width: 901px) {
  #atlasPages .ap-heading.pv-sites .ap-wrap { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  #atlasPages .ap-heading.pv-sites .ap-wrap > .sd { grid-column: 2; grid-row: 1 / span 8; align-self: center; }
  #atlasPages .ap-heading.pv-sites .s3d.sd-stage { height: clamp(400px, 56vh, 540px); }
}
@media (max-width: 900px) {
  #atlasPages .ap-heading.pv-sites .ap-wrap > .sd { order: -1; margin: 0 0 30px; }
}
#atlasPages .s3d-tag, #atlasPages .sd-cap, #atlasPages .deck-hint { letter-spacing: 0.18em; }
#atlasPages .deck-eyebrow { letter-spacing: 0.2em; }
