/* Farrington Hosting additions. Everything here is built from the shared tokens
   (--mono, --paper, --line-2, --ink-2, --amber ...) in assets/styles.css.
   The copied source CSS/JS is untouched. */

/* 1. "Hosting" wordmark text beside the existing logo, set in the nav-link typography */
.brand-word {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  line-height: 1;
}

/* 2. The shared site.js injects Farrington Development's "Book demo" button and
   account menu into every nav. They post to / link to farringtondevelopment.com,
   so they are not shown on this site. */
.nav-links .book-demo-btn,
.nav-links .account-menu-wrap { display: none !important; }

/* 3. Hero without a media frame: keep the text block centred in the viewport panel */
.hp-hero .cc-hero-inner { justify-content: center; }

/* 3b. Link cards directly under a panel heading get the same gap the pillar grid has */
.cc-head + .cc-ways { margin-top: clamp(22px, 3.6vh, 40px); }
.cc-head + .cc-hero-actions { margin-top: clamp(22px, 3.6vh, 40px); }

/* 4. Plan cards (rendered from plans.js). Same card look as .cc-pkg. */
.hp-plan-group + .hp-plan-group { margin-top: clamp(16px, 2.4vh, 28px); }
.hp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: clamp(22px, 3.6vh, 40px);
}
.hp-plan {
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
  padding: clamp(16px, 2vh, 24px) clamp(16px, 1.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
  color: var(--paper);
  transition: border-color .25s, transform .25s;
}
.hp-plan:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hp-plan .name { font-size: clamp(17px, 1.2vw, 21px); font-weight: 500; letter-spacing: -.01em; }
.hp-plan .price { font-family: var(--mono); font-size: 13px; color: var(--amber); }
.hp-plan .hp-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hp-plan .hp-specs li { color: var(--paper-dim); font-size: clamp(13px, .95vw, 14.5px); line-height: 1.5; }
.hp-plan .btn { margin-top: auto; align-self: flex-start; }
.hp-fallback[hidden] { display: none; }
.hp-plans:empty { display: none; }

/* 5. Mobile fixes */
@media (max-width: 860px) {
  /* Open mobile menu: fully opaque, in the current theme's page colour */
  .nav-links {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Footer: columns may shrink, long links wrap instead of running off the edge */
  footer .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer .foot-col { min-width: 0; }
  footer .foot-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 560px) {
  footer .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
/* 6. A lone plan card: capped and centred on wide screens (full width on phones, as the cap exceeds the viewport) */
.hp-plans > .hp-plan:only-child {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
.hp-plan-group:has(> .hp-plans > .hp-plan:only-child) > .cc-sub { text-align: center; }
/* === Header brand: logo and "Hosting" word never overlap (both themes) === */
/* Cause: light-theme.css makes .brand a fixed-width, overflow:hidden box and absolutely
   positions the logo inside it, so the in-flow "Hosting" word sat at the box's left edge
   behind the logo. Here the light logo goes back in normal flow: it is cropped with
   clip-path and negative margins so its layout box is exactly the visible art (same
   geometry as before), and the brand becomes an auto-width flex row. */
:root[data-theme="light"] a.brand {
  --lw: clamp(96px, min(220px, 46vw, calc(100vw - 212px)), 220px);
  width: auto;
  aspect-ratio: auto;
  overflow: visible;
  min-width: 0;
  display: flex;
  align-items: center;
}
:root[data-theme="light"] .brand .brand-logo {
  position: static;
  flex: 0 1 auto;
  display: block;
  width: calc(var(--lw) * 1.048951);
  height: calc(var(--lw) * 0.397403);
  max-width: none;
  object-fit: fill;
  clip-path: inset(calc(var(--lw) * 0.066234) calc(var(--lw) * 0.013986) calc(var(--lw) * 0.085714) calc(var(--lw) * 0.034965));
  margin: calc(var(--lw) * -0.066234) calc(var(--lw) * -0.013986) calc(var(--lw) * -0.085714) calc(var(--lw) * -0.034965);
}
.brand-word { flex: 0 0 auto; white-space: nowrap; }
/* Dark theme at very narrow widths: keep the word clear of the menu buttons */
@media (max-width: 760px) {
  :root:not([data-theme="light"]) .brand-logo { max-width: min(46vw, calc(100vw - 212px)); }
}


/* === 7. Hero imagery and motion ===
   Reuses Farrington Development's own patterns: hero art with radial mask and
   ambient-drift (home hero), per-row art that brightens on hover (services rows),
   section backdrops (home clients / work evidence), spec strip and marquee.
   ambient-drift / ambient-drift-soft are defined in assets/pages.css.
   Art files are in assets/hosting/. Hero art is a CSS background under the active
   theme (one download per page, the left copy is the same file mirrored).
   Everything below the first panel is an <img loading="lazy">. */

/* 7.3 Spec strip under the hero text (reference markup), centred to match the hero */
.hp-hero > .spec-strip {
  width: 100%;
  max-width: var(--max);
  margin: clamp(14px, 2.6vh, 28px) auto 0;
  padding: clamp(14px, 2.4vh, 24px) 0;
  text-align: center;
  position: relative;
}
.hp-hero .spec { align-items: center; }
.hp-hero .spec b { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.15; }

/* 7.6 Marquee ticker (reference classes from styles.css) */
.marquee-track { will-change: transform; }

/* 7.7 Staggered rise for cards inside a revealed group (reference reveal timing) */
.cc-pillars.reveal.on .cc-pillar,
.cc-ways.reveal.on .cc-way {
  animation: hp-rise .8s cubic-bezier(.2,.7,.2,1) backwards;
}
.cc-pillars.reveal.on .cc-pillar:nth-child(2), .cc-ways.reveal.on .cc-way:nth-child(2) { animation-delay: .08s; }
.cc-pillars.reveal.on .cc-pillar:nth-child(3), .cc-ways.reveal.on .cc-way:nth-child(3) { animation-delay: .16s; }
.cc-pillars.reveal.on .cc-pillar:nth-child(4) { animation-delay: .24s; }
.cc-pillars.reveal.on .cc-pillar:nth-child(5) { animation-delay: .32s; }
.cc-pillars.reveal.on .cc-pillar:nth-child(6) { animation-delay: .40s; }
@keyframes hp-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 680px) {
  .hp-hero > .spec-strip { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .hp-hero .spec { gap: 3px; }
  .hp-hero .spec:last-child { grid-column: 1 / -1; }
  .hp-hero .spec .mono { font-size: 10px; }
  .hp-hero .spec b { font-size: 17px; }
}

/* 7.9 Reduced motion: every animation and art transition above is switched off */
@media (prefers-reduced-motion: reduce) {
  .hp-art, .hp-flank-img, .marquee-track { animation: none !important; }
  .hp-card-art { transition: none !important; }
  .cc-pillars.reveal.on .cc-pillar,
  .cc-ways.reveal.on .cc-way { animation: none !important; }
}

/* 7.10 Header buttons: text links, then Get Started (filled), theme toggle, Client Login (outlined).
   site.js appends the theme toggle after the last link, so flex order places it between the two buttons.
   Fill/outline treatment is the reference's header button (.book-demo-btn in assets/styles.css). */
.nav-links .nav-cta,
.nav-links .nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.nav-links .nav-cta {
  order: 1;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--accent-text, var(--ink));
  box-shadow: 0 10px 24px -20px color-mix(in oklab, var(--amber) 70%, #000);
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible {
  color: var(--accent-text, var(--ink));
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -22px color-mix(in oklab, var(--amber) 80%, #000);
}
.nav-links .theme-toggle { order: 2; }
.nav-links .nav-login {
  order: 3;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--paper);
}
.nav-links a.nav-login:hover,
.nav-links a.nav-login:focus-visible {
  color: var(--paper);
  border-color: var(--paper);
  transform: translateY(-1px);
}
@media (min-width: 1041px) and (max-width: 1260px) {
  .nav-links { gap: 12px; }
  .nav-links a { letter-spacing: .06em; font-size: 11px; }
  .nav-links .nav-cta, .nav-links .nav-login { padding: 0 12px; letter-spacing: .06em; font-size: 10.5px; }
}
@media (max-width: 860px) {
  .nav-links .nav-cta, .nav-links .nav-login {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 12px;
    border-bottom-width: 1px;
  }
  .nav-links .nav-cta { margin-top: 18px; }
  .nav-links .nav-login { margin-top: 10px; }
}

/* 7.11 Hamburger menu up to 1040px: the text links plus two buttons do not fit on one line below that,
   so the 860px mobile menu rules from assets/styles.css are repeated for 861-1040px. */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav { gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .nav-toggle { display: inline-flex; flex: 0 0 40px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; margin-right: 0; }
  .nav-theme-toggle {
    display: inline-flex; position: relative; z-index: 2;
    width: 40px; min-width: 40px; height: 40px; min-height: 40px; flex: 0 0 40px;
    margin-left: 0; margin-right: 0;
    border: 1px solid var(--line-2);
    background: color-mix(in oklab, var(--ink-2) 82%, transparent);
    color: var(--paper-dim);
  }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - 72px);
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) max(28px, env(safe-area-inset-bottom));
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
  }
  .nav.open .nav-links { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; transition: transform .25s ease, opacity .2s ease, visibility 0s; }
  .nav-links a { padding: 16px 0; font-size: 13px; letter-spacing: .1em; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .theme-toggle { display: none; }
  .nav-links .nav-cta, .nav-links .nav-login { width: 100%; min-height: 48px; padding: 0 16px; font-size: 12px; letter-spacing: .1em; border-bottom-width: 1px; }
  .nav-links .nav-cta { margin-top: 18px; }
  .nav-links .nav-login { margin-top: 10px; }
}

/* 7.12 No grid lines anywhere. The graph-paper grid layer (.grid-bg) is removed in both
   themes on every page and panel. Film grain and corner glow are separate layers and stay. */
.grid-bg,
:root[data-theme="light"] .grid-bg { display: none !important; background: none !important; }

/* 7.15 861-1040px: keep the theme toggle beside the menu button at the right */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav .brand { flex: 0 1 auto; }
  .nav .nav-theme-toggle { margin-left: auto; margin-right: 0; }
}


/* === 8. Stronger art, dark feature panels in the light theme, fades, rail labels ===
   Photographic art is never inverted or blended. Heroes and art-bearing panels (.hp-dark) keep the dark
   theme tokens in the light theme, so the art always sits on the dark field it was made for. */

/* 8.1 Hero art per page (same file in both themes) */
.hp-art-racks { --hp-img: url(assets/hosting/hero-racks-dark.webp); }
.hp-art-web { --hp-img: url(assets/hosting/page-web-v2.webp); }
.hp-art-vps { --hp-img: url(assets/hosting/page-vps-v2.webp); }
.hp-art-concierge { --hp-img: url(assets/hosting/page-concierge-v2.webp); }
.hp-art-support { --hp-img: url(assets/hosting/page-support-v2.webp); }
.hp-art-about { --hp-img: url(assets/hosting/page-about-v2.webp); }
.hp-art-contact { --hp-img: url(assets/hosting/page-contact-v2.webp); }
.hp-art-faq { --hp-img: url(assets/hosting/page-faq-v2.webp); }

/* 8.2 Hero: the art fills each side (right, and mirrored on the left), fading toward the centred text */
.hp-hero { overflow: hidden; }
.hp-art {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: min(48vw, 860px);
  pointer-events: none;
  background: var(--hp-img) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 26%, #000 64%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 26%, #000 64%);
  filter: brightness(1.12) saturate(1.1);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}
.hp-art-racks { filter: brightness(1.7) saturate(1.15) contrast(1.05); }
.hp-art-r { right: 0; }
.hp-art-l { left: 0; transform: scaleX(-1); animation-name: hp-drift-mirror; }
@keyframes hp-drift-mirror {
  from { transform: scaleX(-1) translate3d(0, 0, 0) scale(1); }
  to   { transform: scaleX(-1) translate3d(-18px, 10px, 0) scale(1.035); }
}
/* soft dark scrim behind the centred text */
.hp-hero .cc-hero-inner { position: relative; }
.hp-hero .cc-hero-inner::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -10% -12%;
  background: radial-gradient(ellipse 50% 58% at 50% 50%, color-mix(in oklab, var(--ink) 90%, transparent) 0%, color-mix(in oklab, var(--ink) 70%, transparent) 50%, transparent 100%);
}
@media (max-width: 860px) {
  .hp-art-l { display: none; }
  .hp-art-r {
    left: 0; right: 0; bottom: auto;
    width: auto;
    height: 250px;
    top: calc(var(--cc-nav) - 8px);
    background-position: 80% 38%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  }
  .hp-hero .cc-hero-inner::before { inset: -2% -4%; background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--ink) 70%, transparent) 30%, color-mix(in oklab, var(--ink) 55%, transparent) 100%); }
  .hp-hero > .spec-strip { margin-top: 18px; padding: 12px 0; }
}

/* 8.3 Panel backdrops (choose / order): art on both sides, behind the content */
.hp-flank { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hp-flank-img {
  position: absolute;
  top: 0; bottom: 0;
  height: 100%;
  width: min(46vw, 860px);
  object-fit: cover;
  object-position: right center;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 30%, #000 68%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 30%, #000 68%);
  animation: ambient-drift-soft 22s ease-in-out infinite alternate;
}
.hp-flank--top .hp-flank-img { height: 64%; }
.hp-flank-r { right: 0; }
.hp-flank-l { left: 0; transform: scaleX(-1); animation-name: hp-drift-mirror; }
@media (max-width: 860px) {
  .hp-flank-l { display: none; }
  .hp-flank-r {
    left: 0; right: 0; width: 100%; height: 44%; bottom: auto;
    object-position: 80% 40%;
    opacity: .7;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  }
}

/* 8.4 Card art: a clear masked picture on the right of the card */
.cc-pillar, .cc-way { position: relative; overflow: hidden; isolation: isolate; }
.hp-card-art {
  position: absolute;
  z-index: -1;
  top: 0; right: 0; bottom: 0; left: auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  opacity: .95;
  filter: brightness(1.05) saturate(1.05);
  transform: scale(1.01);
  transition: opacity .45s ease, transform .6s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 36%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 36%, #000 78%);
}
.cc-pillar:hover .hp-card-art, .cc-pillar:focus-within .hp-card-art,
.cc-way:hover .hp-card-art, .cc-way:focus-visible .hp-card-art { transform: scale(1.05); }
.cc-pillar p, .cc-pillar h3 { text-shadow: 0 1px 10px color-mix(in oklab, var(--ink) 90%, transparent); }

/* 8.5 Light theme: heroes and art-bearing panels stay dark feature panels */
:root[data-theme="light"] nav.nav { background: #faf7f0 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-theme="light"] .cc-panel.hp-dark {
  --ink: #0A0B0D; --ink-2: #111217; --ink-3: #1A1C22;
  --line: #24262E; --line-2: #33363F;
  --paper: #F5F1EA; --paper-dim: #C9C3B6; --mute: #6B6F78;
  --amber: #FFB547; --amber-glow: #FFB54733;
  background: #0A0B0D;
  color: #F5F1EA;
}
:root[data-theme="light"] .cc-panel.cc-alt.hp-dark { background: color-mix(in oklab, #111217 60%, #0A0B0D); }
:root[data-theme="light"] .hp-dark .eyebrow { color: #FFB547; }
:root[data-theme="light"] .hp-dark .eyebrow::before { background: #FFB547; box-shadow: 0 0 14px rgba(255, 181, 71, .45); }
:root[data-theme="light"] .hp-dark .btn { color: #0A0B0D; background: #F5F1EA; border-color: #F5F1EA; box-shadow: none; }
:root[data-theme="light"] .hp-dark .btn::before { background: #FFB547; }
:root[data-theme="light"] .hp-dark .btn.ghost { color: #F5F1EA; background: transparent; border-color: #33363F; }
:root[data-theme="light"] .hp-dark .btn.ghost::before { background: #F5F1EA; }
:root[data-theme="light"] .hp-dark .btn.ghost:hover { color: #0A0B0D; }
:root[data-theme="light"] .hp-dark .cc-pillar,
:root[data-theme="light"] .hp-dark .hp-plan { box-shadow: none; }

/* 8.6 Light theme, cards on the light surface: the art is a contained dark image band (top on pillars, side on link rows) */
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar { padding-top: calc(112px + 14px); }
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar .hp-card-art {
  left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: 112px;
  object-position: 82% 42%;
  -webkit-mask-image: none; mask-image: none;
  opacity: 1; filter: none; transform: none;
  border-bottom: 1px solid #ddd4c2;
}
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar p,
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar h3 { text-shadow: none; }
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-way { padding-left: 124px; min-height: 72px; }
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-way .hp-card-art {
  left: 0; right: auto; top: 0; bottom: 0; width: 104px; height: 100%;
  object-position: 80% 40%;
  -webkit-mask-image: none; mask-image: none;
  opacity: 1; filter: none; transform: none;
  border-right: 1px solid #ddd4c2;
}
@media (min-width: 1024px) and (max-height: 820px) {
  :root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar { padding-top: calc(76px + 12px); }
  :root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar .hp-card-art { height: 76px; }
}

/* 8.7 Section fades. A panel's content fades and rises in when it becomes the active panel and fades out as it
   leaves. hosting.js sets .is-active; the .hp-js gate is added in <head> and removed if the script does not run,
   so content is never left invisible. The panel's own .reveal children are not animated a second time. */
.hp-js .cc-panel > .hp-art, .hp-js .cc-panel > .hp-flank, .hp-js .cc-panel > .grid-bg { opacity: var(--hp-a, 0); }
.hp-js .cc-panel > :not(.hp-art):not(.hp-flank):not(.grid-bg) {
  opacity: var(--hp-c, 0);
  transform: translate3d(0, calc((1 - var(--hp-c, 0)) * 14px), 0);
}
.cc-panel [tabindex="-1"]:focus { outline: none; }
.hp-js .cc-panel .reveal, .hp-js .cc-panel .reveal.on { opacity: 1; transform: none; transition: none; }
.hp-js .cc-pillars.reveal.on .cc-pillar, .hp-js .cc-ways.reveal.on .cc-way { animation: none; }
.hp-js .cc-panel.is-active .cc-pillar, .hp-js .cc-panel.is-active .cc-way { animation: hp-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hp-js .cc-panel.is-active .cc-pillar:nth-child(2), .hp-js .cc-panel.is-active .cc-way:nth-child(2) { animation-delay: .07s; }
.hp-js .cc-panel.is-active .cc-pillar:nth-child(3), .hp-js .cc-panel.is-active .cc-way:nth-child(3) { animation-delay: .14s; }
.hp-js .cc-panel.is-active .cc-pillar:nth-child(4) { animation-delay: .21s; }
.hp-js .cc-panel.is-active .cc-pillar:nth-child(5) { animation-delay: .28s; }
.hp-js .cc-panel.is-active .cc-pillar:nth-child(6) { animation-delay: .35s; }

/* 8.8 Page transitions: cross-document View Transitions where supported, a fade fallback elsewhere */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: hp-vt-out .26s ease both; }
  ::view-transition-new(root) { animation: hp-vt-in .52s ease both; }
  .nav { view-transition-name: hp-nav; }
  ::view-transition-group(hp-nav) { animation-duration: 0s; }
}
@keyframes hp-vt-out { to { opacity: 0; } }
@keyframes hp-vt-in { from { opacity: 0; } }
.hp-nvt body > :not(.nav) { animation: hp-page-in .52s ease backwards; }
.hp-leaving body > :not(.nav) { opacity: 0; transition: opacity .26s ease; }
@keyframes hp-page-in { from { opacity: 0; } }

/* 8.9 Side rail: dots with labels on hover / keyboard focus, clear active marker */
.cc-dots a { padding: 5px 0; }
.cc-dots a .t,
.cc-dots:hover a .t { opacity: 0; transform: translateX(6px); pointer-events: none; }
.cc-dots a:hover .t, .cc-dots a:focus .t, .cc-dots a:focus-visible .t {
  opacity: 1; transform: none;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px;
  color: var(--paper); white-space: nowrap;
}
.cc-dots a:focus-visible { outline: none; }
.cc-dots a:focus-visible::after { outline: 2px solid var(--amber); outline-offset: 3px; }
.cc-dots a::after { width: 10px; height: 10px; }
.cc-dots a.on::after { transform: scale(1.35); }

/* 8.10 Reduced motion: everything in this block is switched off */
@media (prefers-reduced-motion: reduce) {
  .hp-art, .hp-flank-img { animation: none !important; }
  .hp-card-art { transition: none !important; }
  .hp-js .cc-panel > * { opacity: 1 !important; transform: none !important; transition: none; }
  .hp-js .cc-panel.is-active .cc-pillar, .hp-js .cc-panel.is-active .cc-way { animation: none; }
  .hp-nvt body > :not(.nav) { animation: none; }
  .hp-leaving body > :not(.nav) { opacity: 1; transition: none; }
}

/* 8.11 Home hero art is the older, darker file: lift it on phones so the band above the headline is clearly visible */
@media (max-width: 860px) {
  .hp-art-racks { filter: brightness(3.1) saturate(1.3) contrast(1.1); background-position: 72% 40%; }
}


/* === 9. Expanded content: long headlines, fact lists, FAQ grid, links === */
.hp-hero h1 {
  font-size: clamp(40px, 5.8vw, 92px);
  line-height: .98;
  max-width: 19ch;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
@media (min-width: 1024px) and (max-height: 820px) { .hp-hero h1 { font-size: clamp(38px, 5vw, 72px); } }
@media (max-width: 680px) { .hp-hero h1 { font-size: clamp(36px, 10.5vw, 52px); max-width: 100%; } }
.cc-head .lead a, .cc-pillar p a, .faq-item p a { color: var(--amber); text-underline-offset: 3px; }
.hp-dark .cc-head .lead { font-size: clamp(16px, 1.35vw, 21px); max-width: 62ch; }
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-head .lead a,
:root[data-theme="light"] .cc-panel:not(.hp-dark) .cc-pillar p a,
:root[data-theme="light"] .cc-panel:not(.hp-dark) .faq-item p a { color: #a94e2c; }
.hp-facts {
  list-style: none; margin: clamp(22px, 3.6vh, 40px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; max-width: 1120px;
}
.hp-facts li {
  position: relative; padding: 14px 16px 14px 42px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: color-mix(in oklab, var(--ink-2) 88%, transparent);
  color: var(--paper); font-size: 15px; line-height: 1.4; text-align: left;
}
.hp-facts li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.faq-item h3 { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; color: var(--paper); margin: 0 0 6px; letter-spacing: -.005em; }
.hp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; border-top: 0; margin-top: clamp(20px, 3vh, 32px); text-align: left; }
.hp-faq .faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: var(--ink-2); box-shadow: none; }
.hp-faq .faq-item p { margin: 0; font-size: clamp(13px, .95vw, 14.5px); line-height: 1.5; color: var(--paper-dim); max-width: none; }
@media (max-width: 860px) { .hp-faq { grid-template-columns: minmax(0, 1fr); } }
.hp-cta { margin-top: clamp(14px, 2.4vh, 24px); }

/* 9. Plan terms line and the guarantee note */
.hp-plan .hp-terms { margin: -2px 0 2px; font-family: var(--mono); font-size: 12.5px; color: var(--paper-dim); }
.hp-plan .hp-terms a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.hp-plan .hp-terms a:hover { text-decoration-color: var(--amber); }
.hp-note { margin: clamp(10px, 1.6vh, 16px) auto 0; max-width: 62ch; text-align: center; font-size: 13px; line-height: 1.5; color: var(--paper-dim); }
@media (max-width: 560px) {
  .hp-plan .hp-specs { gap: 2px; }
  .hp-plan .hp-specs li { font-size: 13px; line-height: 1.4; }
}
@media (min-width: 900px) {
  .hp-plans:has(> .hp-plan:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; }
}
/* Two cards on a phone: the feature list folds behind a toggle so both plans fit one screen */
.hp-plan .hp-spec-toggle { display: none; }
@media (max-width: 560px) {
  .hp-plans:has(> .hp-plan:nth-child(2)) .hp-spec-toggle {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 32px; padding: 0;
    background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 12.5px; color: var(--paper);
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2);
  }
  .hp-plans:has(> .hp-plan:nth-child(2)) .hp-spec-toggle::after { content: "+"; color: var(--amber); }
  .hp-plans:has(> .hp-plan:nth-child(2)) .hp-plan.open .hp-spec-toggle::after { content: "\2212"; }
  .hp-plans:has(> .hp-plan:nth-child(2)) .hp-plan:not(.open) .hp-specs { display: none; }
  .hp-plans:has(> .hp-plan:nth-child(2)) { gap: 10px; margin-top: 16px; }
}

/* === 10. Plan row: four cards at 900px and up, a snap-scroll row below that === */
.hp-row { margin-top: clamp(16px, 2.8vh, 32px); min-width: 0; }
.hp-track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch;
  text-align: left; min-width: 0;
}
.hp-row[data-n="1"] .hp-track { grid-template-columns: minmax(0, 440px); justify-content: center; }
.hp-row[data-n="5"] .hp-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hp-track:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 10px; }
.hp-rowcard { gap: 6px; padding: clamp(14px, 1.8vh, 22px) clamp(14px, 1.2vw, 20px); transition: border-color .25s; }
.hp-rowcard:hover { transform: none; }
.hp-rowcard .name { font-size: clamp(17px, 1.25vw, 21px); font-weight: 500; letter-spacing: -.01em; margin: 0; color: var(--paper); font-family: inherit; }
.hp-rowcard .for { margin: 0; color: var(--paper-dim); font-size: 13.5px; line-height: 1.4; }
.hp-rowcard .price { margin: 4px 0 0; font-family: inherit; font-size: inherit; color: var(--paper); display: flex; align-items: baseline; gap: 2px; }
.hp-rowcard .price .amt { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--amber); }
.hp-rowcard .price .per { font-family: var(--mono); font-size: 12px; color: var(--paper-dim); white-space: nowrap; }
.hp-rowcard .hp-terms { margin: 0 0 6px; font-size: 12px; line-height: 1.5; }
.hp-rowcard .hp-specs { flex: 1 1 auto; align-content: start; gap: 5px; margin-bottom: 10px; }
.hp-rowcard .hp-specs li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.4; }
.hp-rowcard .hp-specs li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hp-rowcard .btn { align-self: stretch; justify-content: center; margin-top: auto; }
@media (min-width: 900px) {
  .hp-row:not([data-n="1"]) .hp-rowcard .for { min-height: 2.8em; }
  .hp-row:not([data-n="1"]) .hp-rowcard .hp-terms { min-height: 3em; }
}
@media (min-width: 1280px) {
  .hp-row:not([data-n="1"]) .hp-rowcard .for { min-height: 1.4em; }
  .hp-row:not([data-n="1"]) .hp-rowcard .hp-terms { min-height: 1.5em; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .hp-row { margin-top: 12px; }
  .hp-rowcard { padding: 12px 14px; gap: 4px; }
  .hp-rowcard .hp-specs { gap: 3px; margin-bottom: 8px; }
  .hp-rowcard .hp-specs li { font-size: 13px; line-height: 1.35; }
  .hp-link-note, .hp-note { margin-top: 6px; }
}
/* Eleven rail dots must clear the bottom-right privacy button on short screens */
@media (max-height: 700px) { .cc-dots { gap: 6px; } }
@media (max-width: 560px) {
  .hp-faq { gap: 10px; }
  .hp-faq .faq-item { padding: 11px 16px; }
}
.hp-dots { display: none; }
@media (max-width: 899.98px) {
  .hp-track {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding: 2px 0 4px; touch-action: pan-x pan-y;
  }
  .hp-track::-webkit-scrollbar { display: none; }
  .hp-track > .hp-rowcard { flex: 0 0 min(86%, 360px); scroll-snap-align: start; scroll-snap-stop: always; }
  .hp-row[data-n="1"] .hp-track { display: flex; justify-content: center; }
  .hp-row[data-n="1"] .hp-track > .hp-rowcard { flex: 0 1 420px; }
  .hp-dots { display: flex; justify-content: center; gap: 0; margin-top: 6px; }
  .hp-dot {
    position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .hp-dot::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; transition: background .2s, border-color .2s;
  }
  .hp-dot[aria-current="true"]::before { background: var(--amber); border-color: var(--amber); }
  .hp-dot:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; border-radius: 50%; }
}
@media (max-width: 560px) {
  .hp-rowcard { padding: 14px 14px 14px; }
  .hp-rowcard .hp-specs li { font-size: 13px; }
}
.hp-link-note { margin: clamp(8px, 1.4vh, 14px) auto 0; text-align: center; font-size: 14px; color: var(--paper-dim); }
.hp-link-note a { color: var(--amber); text-underline-offset: 3px; }
:root[data-theme="light"] .cc-panel:not(.hp-dark) .hp-link-note a { color: #a94e2c; }
/* Add-ons */
.hp-extras {
  list-style: none; margin: clamp(18px, 3vh, 32px) auto 0; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left;
}
.hp-extras li {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2);
}
.hp-extras .x-name { color: var(--paper); font-size: 15px; font-weight: 500; }
.hp-extras .x-price { font-family: var(--mono); font-size: 14px; color: var(--amber); }
@media (max-width: 700px) {
  .hp-extras { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hp-extras li { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
}
/* 11. Guides, help library and business-type pages (hh-* classes) */
/* New pages: hero art per page (append to hosting.css). Same mechanism as 7.1 (--hp-img on .hp-art). */
:root[data-theme="dark"] .hh-art--business-email-hosting { --hp-img: url(assets/hosting/sec-email-v2.webp); }
:root[data-theme="light"] .hh-art--business-email-hosting { --hp-img: url(assets/hosting/sec-email-v2.webp); }
:root[data-theme="dark"] .hh-art--cpanel-hosting { --hp-img: url(assets/hosting/sec-cpanel-v2.webp); }
:root[data-theme="light"] .hh-art--cpanel-hosting { --hp-img: url(assets/hosting/sec-cpanel-v2.webp); }
:root[data-theme="dark"] .hh-art--ssl-certificates { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="light"] .hh-art--ssl-certificates { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="dark"] .hh-art--point-your-domain { --hp-img: url(assets/hosting/page-faq-v2.webp); }
:root[data-theme="light"] .hh-art--point-your-domain { --hp-img: url(assets/hosting/page-faq-v2.webp); }
:root[data-theme="dark"] .hh-art--30-years { --hp-img: url(assets/hosting/hero-racks-dark.webp); }
:root[data-theme="light"] .hh-art--30-years { --hp-img: url(assets/hosting/hero-racks-dark.webp); }
:root[data-theme="dark"] .hh-art--asheville-web-hosting { --hp-img: url(assets/hosting/page-about-v2.webp); }
:root[data-theme="light"] .hh-art--asheville-web-hosting { --hp-img: url(assets/hosting/page-about-v2.webp); }
:root[data-theme="dark"] .hh-art--guides { --hp-img: url(assets/hosting/page-web-v2.webp); }
:root[data-theme="light"] .hh-art--guides { --hp-img: url(assets/hosting/page-web-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-what-is-cpanel { --hp-img: url(assets/hosting/sec-cpanel-v2.webp); }
:root[data-theme="light"] .hh-art--guide-what-is-cpanel { --hp-img: url(assets/hosting/sec-cpanel-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-shared-hosting-vs-vps { --hp-img: url(assets/hosting/page-vps-v2.webp); }
:root[data-theme="light"] .hh-art--guide-shared-hosting-vs-vps { --hp-img: url(assets/hosting/page-vps-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-how-dns-and-nameservers-work { --hp-img: url(assets/hosting/page-faq-v2.webp); }
:root[data-theme="light"] .hh-art--guide-how-dns-and-nameservers-work { --hp-img: url(assets/hosting/page-faq-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-what-is-an-ssl-certificate { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="light"] .hh-art--guide-what-is-an-ssl-certificate { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-set-up-email { --hp-img: url(assets/hosting/sec-email-v2.webp); }
:root[data-theme="light"] .hh-art--guide-set-up-email { --hp-img: url(assets/hosting/sec-email-v2.webp); }
:root[data-theme="dark"] .hh-art--guide-moving-a-website-checklist { --hp-img: url(assets/hosting/order-dark.webp); }
:root[data-theme="light"] .hh-art--guide-moving-a-website-checklist { --hp-img: url(assets/hosting/order-dark.webp); }
:root[data-theme="dark"] .hh-art--wordpress-hosting { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="light"] .hh-art--wordpress-hosting { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="dark"] .hh-art--help { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="light"] .hh-art--help { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="dark"] .hh-art--do-i-need-web-hosting { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="light"] .hh-art--do-i-need-web-hosting { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="dark"] .hh-art--managed-hosting-vs-budget-hosting { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="light"] .hh-art--managed-hosting-vs-budget-hosting { --hp-img: url(assets/hosting/gap-guide-light.webp); }
:root[data-theme="dark"] .hh-art--hosting-for-restaurants { --hp-img: url(assets/hosting/biz-restaurant.webp); }
:root[data-theme="light"] .hh-art--hosting-for-restaurants { --hp-img: url(assets/hosting/biz-restaurant.webp); }
:root[data-theme="dark"] .hh-art--hosting-for-contractors-and-trades { --hp-img: url(assets/hosting/biz-contractor.webp); }
:root[data-theme="light"] .hh-art--hosting-for-contractors-and-trades { --hp-img: url(assets/hosting/biz-contractor.webp); }
:root[data-theme="dark"] .hh-art--hosting-for-law-and-accounting-offices { --hp-img: url(assets/hosting/biz-law-office.webp); }
:root[data-theme="light"] .hh-art--hosting-for-law-and-accounting-offices { --hp-img: url(assets/hosting/biz-law-office.webp); }
:root[data-theme="dark"] .hh-art--hosting-for-nonprofits { --hp-img: url(assets/hosting/biz-nonprofit.webp); }
:root[data-theme="light"] .hh-art--hosting-for-nonprofits { --hp-img: url(assets/hosting/biz-nonprofit.webp); }
:root[data-theme="dark"] .hh-art--hosting-for-local-shops { --hp-img: url(assets/hosting/biz-local-shop.webp); }
:root[data-theme="light"] .hh-art--hosting-for-local-shops { --hp-img: url(assets/hosting/biz-local-shop.webp); }
:root[data-theme="dark"] .hh-art--help-log-in-to-cpanel { --hp-img: url(assets/hosting/gap-getting-started.webp); }
:root[data-theme="light"] .hh-art--help-log-in-to-cpanel { --hp-img: url(assets/hosting/gap-getting-started.webp); }
:root[data-theme="dark"] .hh-art--help-find-account-details { --hp-img: url(assets/hosting/gap-getting-started.webp); }
:root[data-theme="light"] .hh-art--help-find-account-details { --hp-img: url(assets/hosting/gap-getting-started.webp); }
:root[data-theme="dark"] .hh-art--help-upload-website-files { --hp-img: url(assets/hosting/gap-files.webp); }
:root[data-theme="light"] .hh-art--help-upload-website-files { --hp-img: url(assets/hosting/gap-files.webp); }
:root[data-theme="dark"] .hh-art--help-publish-first-page { --hp-img: url(assets/hosting/gap-files.webp); }
:root[data-theme="light"] .hh-art--help-publish-first-page { --hp-img: url(assets/hosting/gap-files.webp); }
:root[data-theme="dark"] .hh-art--help-create-mailbox { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-create-mailbox { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-email-iphone { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-email-iphone { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-email-android { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-email-android { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-email-outlook { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-email-outlook { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-use-webmail { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-use-webmail { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-forward-email { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="light"] .hh-art--help-forward-email { --hp-img: url(assets/hosting/gap-email-devices.webp); }
:root[data-theme="dark"] .hh-art--help-point-domain-nameservers { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="light"] .hh-art--help-point-domain-nameservers { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="dark"] .hh-art--help-point-domain-a-record { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="light"] .hh-art--help-point-domain-a-record { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="dark"] .hh-art--help-add-subdomain { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="light"] .hh-art--help-add-subdomain { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="dark"] .hh-art--help-dns-propagation-time { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="light"] .hh-art--help-dns-propagation-time { --hp-img: url(assets/hosting/gap-dns-signpost.webp); }
:root[data-theme="dark"] .hh-art--help-check-ssl-certificate { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="light"] .hh-art--help-check-ssl-certificate { --hp-img: url(assets/hosting/sec-ssl-v2.webp); }
:root[data-theme="dark"] .hh-art--help-force-https { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }
:root[data-theme="light"] .hh-art--help-force-https { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }
:root[data-theme="dark"] .hh-art--help-fix-mixed-content { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }
:root[data-theme="light"] .hh-art--help-fix-mixed-content { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }
:root[data-theme="dark"] .hh-art--help-install-wordpress { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="light"] .hh-art--help-install-wordpress { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="dark"] .hh-art--help-move-wordpress-site { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="light"] .hh-art--help-move-wordpress-site { --hp-img: url(assets/hosting/gap-wordpress.webp); }
:root[data-theme="dark"] .hh-art--help-wordpress-locked-out { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }
:root[data-theme="light"] .hh-art--help-wordpress-locked-out { --hp-img: url(assets/hosting/gap-troubleshooting.webp); }

/* New pages: prose panels, numbered steps, links */
.hh-prose { max-width: 68ch; margin-left: auto; margin-right: auto; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; }
.hh-prose a, .faq-item p a, .cc-pillar p a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.hh-cta { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.45; }
.hh-steps { list-style: none; counter-reset: hhs; margin: clamp(18px, 3vh, 32px) auto 0; padding: 0; max-width: 980px; display: grid; gap: 10px; }
.hh-steps li { counter-increment: hhs; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: 12px; color: var(--paper-dim); line-height: 1.5; font-size: clamp(14px, 1vw, 16px); }
.hh-steps li::before { content: counter(hhs, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font-family: var(--mono); font-size: 13px; color: var(--amber); }
.hh-steps li a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* New pages, round 2: hero H1 width, split panels with art frames, background art layers, light theme */
.cc-hero h1.hh-h1 { max-width: min(18ch, 100%); margin-left: auto; margin-right: auto; text-wrap: balance; }
@media (min-width: 861px) {
  .cc-hero h1.hh-h1 { font-size: clamp(48px, 5.4vw, 80px); max-width: min(17ch, calc(100vw - 192px)); }
}

/* Split panel: art frame + text (narrow layout first: frame stacks above the text) */
.hh-split-inner { display: grid; gap: 22px; align-items: center; }
.hh-frame { margin: 0; position: relative; height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0a0b0d; box-shadow: 0 0 40px rgba(255,170,60,.12), 0 0 70px rgba(70,130,255,.08); }
.hh-frame-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-split-text { text-align: left; max-width: 52ch; }
.hh-split-text .eyebrow { justify-content: flex-start; }
.hh-split-text .cc-h2 { margin: 10px 0 0; text-align: left; font-size: clamp(30px, 3.2vw, 48px); }
.hh-split-text .hh-prose { margin: 16px 0 0; max-width: 52ch; text-align: left; }
@media (min-width: 900px) {
  .hh-split-inner { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 84px); }
  .hh-frame { height: auto; min-height: 60vh; }
  .hh-split--rev .hh-frame { order: 2; }
  .hh-split-text { justify-self: start; }
  .hh-split--rev .hh-split-text { justify-self: end; }
}

/* Low-opacity background art layer for panels without a split (same blend approach as the hero art) */
.hh-has-bg { overflow: hidden; }
.hh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hh-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, #000 35%, transparent 100%); }
:root[data-theme="dark"] .hh-bg-img { opacity: .3; mix-blend-mode: screen; filter: brightness(1.05); }
:root[data-theme="light"] .hh-bg-img { opacity: .2; mix-blend-mode: multiply; filter: invert(1) hue-rotate(180deg) saturate(.8) contrast(1.1); }

/* Light theme: only our own components */
:root[data-theme="light"] .hh-prose a, :root[data-theme="light"] .faq-item p a, :root[data-theme="light"] .cc-pillar p a { color: color-mix(in oklab, var(--amber) 45%, #000); }
:root[data-theme="light"] .hh-steps li { background: color-mix(in oklab, var(--paper) 4%, transparent); color: var(--paper); }
:root[data-theme="light"] .hh-steps li::before { color: color-mix(in oklab, var(--amber) 45%, #000); }
:root[data-theme="light"] .hh-frame { box-shadow: 0 8px 40px rgba(20,20,30,.18); }


/* Help hub: category panels with article cards (narrow layout first: one card per row, art band on the left) */
.hh-cards { list-style: none; margin: clamp(14px, 2.4vh, 28px) auto 0; padding: 0; max-width: 1100px; display: grid; gap: 8px; text-align: left; }
.hh-card { display: grid; grid-template-columns: 64px 1fr; align-items: stretch; min-height: 64px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: color-mix(in oklab, var(--paper) 3%, transparent); }
.hh-card:hover, .hh-card:focus-visible { border-color: var(--amber); }
.hh-card-band { position: relative; display: block; background: #0a0b0d; }
.hh-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-card-body { display: grid; gap: 2px; padding: 9px 12px; align-content: center; }
.hh-card-body strong { font-weight: 500; font-size: 15px; line-height: 1.25; color: var(--paper); }
.hh-card-body span { font-size: 13px; line-height: 1.35; color: var(--paper-dim); }
@media (min-width: 700px) {
  .hh-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hh-card { grid-template-columns: 1fr; grid-template-rows: 74px 1fr; min-height: 0; }
  .hh-card-body { padding: 12px 14px 14px; align-content: start; }
  .hh-card-body strong { font-size: 16px; }
  .hh-card-body span { font-size: 14px; }
}
:root[data-theme="light"] .hh-card { background: color-mix(in oklab, var(--paper) 4%, transparent); }
:root[data-theme="light"] .hh-card-body strong { color: var(--paper); }
.hh-eyebrow-link, .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Long split panels: shorter art frame on narrow screens so the text never scrolls inside the panel */
@media (max-width: 899px) { .hh-split--long .hh-frame { height: 150px; } }
/* 12. Stage C: four-column footer, question lists on the new pages */
footer .foot-col .foot-logo { display: block; width: 120px; height: auto; margin: 22px 0 10px; }
footer .foot-col .foot-attr { max-width: 36ch; margin: 0 0 8px; }
footer .foot-col .foot-attr a { display: inline; padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
footer .foot-col .foot-copy { margin: 0; color: var(--mute); }
@media (min-width: 900px) {
  footer .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}
.faq-list:not(.hp-faq) { max-width: 860px; margin: 32px auto 0; }
.faq-list:not(.hp-faq) .faq-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-list:not(.hp-faq) .faq-item:first-child { border-top: 1px solid var(--line); }
.faq-list:not(.hp-faq) .faq-item h2 { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; margin: 0 0 10px; }
.faq-list:not(.hp-faq) .faq-item p { color: var(--paper-dim); line-height: 1.6; font-size: 16px; margin: 0; }
.hp-art.hh-art--30-years { filter: brightness(1.7) saturate(1.15) contrast(1.05); }
@media (max-width: 860px) {
  .hp-art.hh-art--30-years { filter: brightness(3.1) saturate(1.3) contrast(1.1); background-position: 72% 40%; }
}

/* === 11. Plans: term switch and labelled groups === */
.hp-switch { display: flex; justify-content: center; margin: clamp(12px, 2.2vh, 24px) auto 0; }
.hp-switch-in { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--ink-2); max-width: 100%; }
.hp-switch button {
  min-height: 36px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--paper-dim); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, color .2s;
}
.hp-switch button:hover { color: var(--paper); }
.hp-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.hp-switch button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.hp-groups { margin-top: clamp(12px, 2vh, 22px); min-width: 0; }
.hp-group { min-width: 0; text-align: left; }
.hp-group-h { margin: 0; padding: 0 0 6px; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.2vw, 19px); font-weight: 500; letter-spacing: -.01em; color: var(--paper); }
.hp-group-for { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--paper-dim); }
.hp-group .hp-row { margin-top: 10px; }
.hp-groups--web .hp-row[data-n="3"] .hp-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-groups--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin-left: auto; margin-right: auto; }
.hp-groups--pair .hp-row[data-n="1"] .hp-track { grid-template-columns: minmax(0, 1fr); }
.hp-groups--one { max-width: 460px; margin-left: auto; margin-right: auto; }
.hp-fold .hp-spec-toggle { display: none; }
@media (max-width: 899.98px) {
  .hp-groups--web .hp-row[data-n="3"] .hp-track { display: flex; }
}
@media (max-width: 700px) {
  .hp-groups--pair { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .hp-switch { margin-top: 10px; }
  .hp-switch-in { width: 100%; }
  .hp-switch button { flex: 1 1 0; min-height: 40px; padding: 0 8px; }
  .hp-groups { margin-top: 10px; }
  .hp-group-h { font-size: 16px; padding-bottom: 4px; }
  .hp-group-for { margin-top: 4px; font-size: 13px; }
  .hp-group .hp-row { margin-top: 8px; }
  .hp-plan.hp-fold .hp-spec-toggle {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 32px; padding: 0;
    background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 12.5px; color: var(--paper);
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2);
  }
  .hp-plan.hp-fold .hp-spec-toggle::after { content: "+"; color: var(--amber); }
  .hp-plan.hp-fold.open .hp-spec-toggle::after { content: "\2212"; }
  .hp-plan.hp-fold:not(.open) .hp-specs { display: none; }
  .hp-plan.hp-fold .hp-specs { margin-bottom: 6px; }
}
/* JavaScript off: monthly prices and order links as a plain list */
.hp-ns { list-style: none; margin: 16px auto 0; padding: 0; max-width: 640px; display: grid; gap: 10px; text-align: left; }
.hp-ns li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); color: var(--paper-dim); font-size: 14px; line-height: 1.5; }
.hp-ns strong { color: var(--paper); font-weight: 500; }
.hp-ns a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.hp-rowcard .price .per { margin-left: 5px; }
.hp-groups--pair { align-items: stretch; }
.hp-groups--pair .hp-group { display: flex; flex-direction: column; }
.hp-groups--pair .hp-row { flex: 1 1 auto; display: flex; flex-direction: column; }
.hp-groups--pair .hp-track { flex: 1 1 auto; }
.hp-dark .hp-group-h, .hp-dark .hp-group-for { text-shadow: 0 1px 14px rgba(0, 0, 0, .85); }
.hp-dark .hp-group-for { color: var(--paper); opacity: .85; }
@media (max-width: 560px) {
  .hp-groups--tight .hp-group-for { display: none; }
  .hp-groups--tight .hp-group .hp-row { margin-top: 6px; }
  .hp-groups--tight .hp-rowcard { padding: 10px 14px; gap: 2px; }
  .hp-groups--tight .hp-rowcard .btn { min-height: 40px; }
  .hp-groups--tight .hp-rowcard .price { margin-top: 0; }
  .hp-groups--tight .hp-rowcard .price .amt { font-size: 28px; }
  .hp-groups--tight { gap: 8px; }
  .hp-groups--tight .hp-plan.hp-fold .hp-spec-toggle { min-height: 28px; }
}
