/* arcana-brand.css: the Arcana sub-brand pages (inc/arcana/brand-page.php).
   Layout only. Every colour, face, radius and motion is a token: arcana.css defines the --arc-* set,
   and each assets/css/brands/<name>.css extends it by overriding those tokens on [data-brand="<slug>"]
   and adding the --brand-* extras below, plus its own signature flair. */

[data-arcana], [data-brand] {
  --brand-accent-2: var(--arc-accent);
  --brand-display-weight: 400;
  --brand-display-style: normal;
  --brand-track: -.02em;
  --brand-case: none;
  --brand-title-size: clamp(3rem, 1.4rem + 6.4vw, 7.25rem);
  --brand-title-lh: .95;
  --brand-button-radius: 999px;
  --brand-mono: "IBM Plex Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --brand-texture: none;
  --brand-enter: abr-rise;
  --brand-ease: cubic-bezier(.2, .8, .2, 1);
  --brand-bezel: color-mix(in srgb, var(--arc-ink) 88%, #000);
  --brand-bezel-edge: color-mix(in srgb, var(--brand-bezel) 70%, #fff);
  --brand-bezel-ink: color-mix(in srgb, var(--arc-paper) 80%, transparent);
  --brand-glow: color-mix(in srgb, var(--arc-accent) 45%, transparent);
  --brand-wallpaper: var(--arc-wash);
}

main[data-brand] {
  color: var(--arc-ink);
  background: var(--brand-texture), var(--arc-paper);
  font-family: var(--arc-body);
  overflow-x: clip;
}
main[data-brand] ::selection { background: var(--arc-accent); color: var(--arc-on-accent); }
main[data-brand] :focus-visible { outline: 3px solid var(--arc-focus); outline-offset: 3px; }

.abr-shell { width: min(var(--site-column, 1180px), calc(100% - 2 * var(--site-gutter, 72px))); margin-inline: auto; }
.abr-section { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- head ---------- */
.abr-head { position: relative; padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.abr-head .alcor-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .875rem; color: var(--arc-muted); }
.abr-head .alcor-breadcrumbs li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .5; }
.abr-head .alcor-breadcrumbs a { color: inherit; }
.abr-card { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; font: 600 .78rem/1.3 var(--brand-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--arc-muted); }
.abr-card__num { display: inline-grid; place-items: center; min-inline-size: 2.2em; block-size: 2.2em; padding-inline: .4em; border: 1px solid currentColor; border-radius: var(--brand-button-radius); color: var(--arc-accent); }
.abr-card__dot { inline-size: .35rem; block-size: .35rem; border-radius: 50%; background: var(--arc-accent); }
.abr-title {
  margin: clamp(.75rem, 2vw, 1.25rem) 0 0;
  font: var(--brand-display-style) var(--brand-display-weight) var(--brand-title-size) / var(--brand-title-lh) var(--arc-display);
  letter-spacing: var(--brand-track); text-transform: var(--brand-case);
  color: var(--arc-ink); text-wrap: balance;
}
.abr-title__icon { display: block; inline-size: clamp(2.75rem, 5vw, 4rem); block-size: auto; margin-block-end: .12em; }
.abr-tagline { margin: clamp(1.1rem, 2.2vw, 1.6rem) 0 0; max-inline-size: 34ch; font: var(--brand-display-style) var(--brand-display-weight) clamp(1.35rem, 1rem + 1.5vw, 2.2rem) / 1.2 var(--arc-display); color: var(--brand-accent-2); letter-spacing: calc(var(--brand-track) / 2); text-transform: var(--brand-case); }
.abr-head__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2.5rem; margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.abr-goodfor { margin: 0; max-inline-size: 52ch; color: var(--arc-muted); font-size: 1.0625rem; line-height: 1.55; }
.abr-goodfor strong { display: block; margin-block-end: .2rem; font: 600 .75rem/1.3 var(--brand-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--arc-accent); }
.abr-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
a.abr-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-block-size: 3rem; padding: .8rem 1.35rem;
  border: 1.5px solid var(--arc-accent); border-radius: var(--brand-button-radius);
  background: var(--arc-accent); color: var(--arc-on-accent);
  font: 600 .95rem/1.1 var(--arc-body); text-decoration: none;
  transition: transform .25s var(--brand-ease), box-shadow .25s var(--brand-ease), background-color .2s, color .2s;
}
a.abr-button[data-kind="ghost"] { background: transparent; color: var(--arc-ink); border-color: color-mix(in srgb, var(--arc-ink) 35%, transparent); }
@media (hover: hover) {
  .abr-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--brand-glow); }
  .abr-button[data-kind="ghost"]:hover { border-color: var(--arc-accent); color: var(--arc-ink); }
}
[data-arcana] .abr-swatches { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.abr-swatches li { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--arc-muted); }
.abr-swatches__chip { inline-size: 1.25rem; block-size: 1.25rem; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--arc-ink) 18%, transparent); }

/* ---------- offer ---------- */
.abr-offer { border-block-start: 1px solid var(--arc-line); background: var(--arc-surface); }
.abr-offer .abr-shell { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60em) { .abr-offer .abr-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.abr-offer__card { float: right; inline-size: clamp(6rem, 11vw, 9.5rem); block-size: auto; margin: 0 0 1rem 1.5rem; border-radius: 10px; transform: rotate(3deg); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .7), 0 0 0 1px color-mix(in srgb, var(--arc-ink) 14%, transparent); transition: transform .5s var(--brand-ease); }
@media (hover: hover) { .abr-offer__card:hover { transform: rotate(0deg) translateY(-4px); } }
.abr-eyebrow { margin: 0; font: 600 .75rem/1.3 var(--brand-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--arc-accent); }
[data-arcana] .abr-section .abr-heading { margin: .75rem 0 0; max-inline-size: 18ch; font: var(--brand-display-style) var(--brand-display-weight) clamp(2rem, 1.2rem + 2.6vw, 3.5rem) / 1.05 var(--arc-display); letter-spacing: var(--brand-track); text-transform: var(--brand-case); text-wrap: balance; }
[data-arcana] .abr-section .abr-sub { margin: 1rem 0 0; max-inline-size: 58ch; color: var(--arc-muted); font-size: 1.0625rem; line-height: 1.65; }
.abr-signature { margin: 1.25rem 0 0; max-inline-size: 58ch; padding-inline-start: 1rem; border-inline-start: 3px solid var(--arc-accent); line-height: 1.6; }
.abr-type { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 0; color: var(--arc-muted); line-height: 1.5; }
.abr-type strong { color: var(--arc-ink); font-weight: 600; }
.abr-type__aa { flex: none; font: var(--brand-display-style) var(--brand-display-weight) 3.25rem/1 var(--arc-display); color: var(--arc-ink); text-transform: var(--brand-case); }
.abr-tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.abr-tier { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--arc-line); border-radius: var(--arc-radius); background: var(--arc-paper); }
.abr-tier[data-kind="custom"] { background: transparent; }
.abr-tier p { margin: 0; line-height: 1.55; color: var(--arc-muted); }
.abr-tier .abr-button { margin-block-start: auto; }
.abr-tier__label { font: 600 .75rem/1.3 var(--brand-mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--arc-accent) !important; }
.abr-tier__price { font: var(--brand-display-style) var(--brand-display-weight) clamp(3rem, 2rem + 3vw, 4.5rem)/1 var(--arc-display) !important; color: var(--arc-ink) !important; letter-spacing: var(--brand-track); }
.abr-tier__price sup { font-size: .45em; vertical-align: .9em; margin-inline-end: .05em; }
.abr-tier__price small { font: 500 .9rem/1 var(--arc-body); margin-inline-end: .4rem; color: var(--arc-muted); letter-spacing: 0; }
[data-arcana] .abr-facts { grid-column: 1 / -1; display: grid; gap: .4rem; margin: .5rem 0 0; padding: 0; list-style: none; color: var(--arc-muted); font-size: .9375rem; }
.abr-facts li::before { content: "\2713"; margin-inline-end: .6rem; color: var(--arc-accent); font-weight: 700; }

/* ---------- tiles: every brand in its own type (neighbours and the hub wall) ---------- */
a.abr-tile {
  position: relative; display: grid; gap: .6rem; align-content: start; min-block-size: 13rem; overflow: hidden;
  padding: 1.5rem 1.5rem 2.25rem; border-radius: var(--arc-radius);
  color: var(--arc-ink); background: var(--brand-texture), var(--arc-paper);
  font-family: var(--arc-body); text-decoration: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--arc-ink) 14%, transparent);
  transition: transform .45s var(--brand-ease), box-shadow .45s var(--brand-ease);
  container-type: inline-size; overflow-wrap: normal; word-break: normal; hyphens: none;
}
.abr-tile__label { font: 600 .7rem/1 var(--brand-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--arc-accent); }
.abr-tile__num { font: 600 .72rem/1.3 var(--brand-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--arc-muted); }
/* Sized to the tile (container units) so the longest word of any brand name fits on one line. */
.abr-tile__word { display: flex; align-items: center; gap: .65rem; font: var(--brand-display-style) var(--brand-display-weight) min(2.3rem, 10cqi)/1.05 var(--arc-display); letter-spacing: var(--brand-track); text-transform: var(--brand-case); }
.abr-tile__word img { inline-size: 2.25rem; block-size: auto; flex: none; }
.abr-tile__tag { color: var(--arc-muted); line-height: 1.45; font-size: .9375rem; max-inline-size: 36ch; }
.abr-tile__bar { position: absolute; inset: auto 0 0; display: flex; block-size: .45rem; }
.abr-tile__bar i { flex: 1; transition: flex-grow .5s var(--brand-ease); }
@media (hover: hover) {
  .abr-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--arc-accent), 0 24px 50px -24px var(--brand-glow); }
  .abr-tile:hover .abr-tile__bar i:nth-child(odd) { flex-grow: 2.5; }
}
.abr-neighbors { background: var(--arc-wash); }
.abr-neighbors__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.abr-neighbors__all { margin: 1.5rem 0 0; text-align: center; }
.abr-neighbors__all a { color: var(--arc-ink); font-weight: 600; text-underline-offset: .3em; }

/* The hub wall sits on the Alcor page, so each tile brings its own colours. */
.abr-wall { color: var(--arc-ink); }
[data-arcana] .abr-wall__grid { display: grid; gap: 1rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.abr-wall__grid .abr-tile { block-size: 100%; }

/* ---------- entrance: each brand names its own keyframes in --brand-enter ----------
   The head plays from first paint (pure CSS, no wait for scripts); later sections play once in view. */
.abr-head > .abr-shell > * { animation: var(--brand-enter) .75s var(--brand-ease) both; }
.abr-head > .abr-shell > :nth-child(2) { animation-delay: .05s; }
.abr-head > .abr-shell > :nth-child(3) { animation-delay: .1s; }
.abr-head > .abr-shell > :nth-child(4) { animation-delay: .18s; }
.abr-head > .abr-shell > :nth-child(n+5) { animation-delay: .26s; }
.abr-swatches li { animation: abr-pop .5s var(--brand-ease) both; animation-delay: calc(.4s + var(--i) * .06s); }
/* Later sections and hub tiles ride the scroll itself (no script, never hidden where unsupported).
   Fill is backwards only, so once a tile has arrived its hover transform is free again. */
/* animation-range must be supported too: a browser that runs the timeline but ignores the range (iOS Safari)
   stretches the fade over the whole viewport and leaves mid-screen content half transparent. */
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 35%) {
  .abr-section > .abr-shell { animation: abr-rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  .abr-wall__grid .abr-tile { animation: var(--brand-enter, abr-rise) linear backwards; animation-timeline: view(); animation-range: entry 5% cover 28%; }
}
@keyframes abr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes abr-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* The order form stays in the site's own closing styles. */
.abr-order { scroll-margin-top: 5rem; }

@media (max-width: 40em) {
  .abr-head__row { align-items: stretch; }
  .abr-actions, .abr-actions .abr-button { inline-size: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .abr-head > .abr-shell > *, .abr-swatches li, .abr-section > .abr-shell, .abr-wall__grid .abr-tile { animation: none !important; }
  [data-brand] *, [data-brand] *::before, [data-brand] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- /archetypes/ hub (alcor_arcana_hub_page) ---------- */
.ahub-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
.ahub-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ahub-title { margin: .9rem 0 0; font: 400 clamp(2.8rem, 1.4rem + 4.4vw, 5.6rem) / .98 var(--arc-display); letter-spacing: -.03em; text-wrap: balance; max-inline-size: 13ch; }
.ahub-lede { margin: 1.4rem 0 0; max-inline-size: 44ch; color: var(--arc-muted); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); line-height: 1.6; }
.ahub-hero .abr-actions { margin-block-start: 2rem; }
[data-arcana] .ahub-fan { position: relative; block-size: clamp(300px, 34vw, 460px); margin: 0; padding: 0; list-style: none; }
.ahub-fan li { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: clamp(120px, 13vw, 190px); aspect-ratio: 2 / 3;
  transform: translate(-50%, -50%) rotate(calc((var(--i) - 3) * 9deg)) translateY(calc(abs(var(--i) - 3) * 10px)); transform-origin: 50% 120%;
  z-index: calc(10 - abs(var(--i) - 3));
  transition: transform .6s var(--brand-ease); animation: ahub-deal .9s var(--brand-ease) backwards; animation-delay: calc(var(--i) * 70ms); }
.ahub-fan li img { display: block; inline-size: 100%; block-size: 100%; border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(246, 240, 228, .12); }
@media (hover: hover) {
  .ahub-hero__grid:hover .ahub-fan li { transform: translate(-50%, -50%) rotate(calc((var(--i) - 3) * 13deg)) translateY(calc(abs(var(--i) - 3) * 16px - 12px)); }
}
@keyframes ahub-deal { from { opacity: 0; transform: translate(-50%, -30%) rotate(0deg); } }
.ahub-wall-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; }
.ahub-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
[data-arcana] .ahub-filter button { min-block-size: 2.5rem; padding: .4rem 1rem; border: 1px solid var(--arc-line); border-radius: 999px; background: transparent; color: var(--arc-muted); font: 600 .85rem/1 var(--arc-body); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
[data-arcana] .ahub-filter button:hover { border-color: var(--arc-accent); color: var(--arc-ink); }
[data-arcana] .ahub-filter button[aria-pressed="true"] { background: var(--arc-accent); border-color: var(--arc-accent); color: var(--arc-on-accent); }
.abr-wall__grid > li[hidden] { display: none; }
.ahub-steps { border-block-start: 1px solid var(--arc-line); }
[data-arcana] .ahub-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.ahub-steps__list li { padding: 1.5rem; border: 1px solid var(--arc-line); border-radius: 14px; background: var(--arc-surface); }
.ahub-steps__list h3 { margin: .9rem 0 .5rem; font: 400 1.4rem/1.2 var(--arc-display); }
.ahub-steps__list p { margin: 0; color: var(--arc-muted); line-height: 1.6; }
.ahub-steps__n { display: inline-grid; place-items: center; inline-size: 2.2rem; block-size: 2.2rem; border-radius: 50%; background: var(--arc-accent); color: var(--arc-on-accent); font-weight: 700; }
.ahub-arcana { border-block-start: 1px solid var(--arc-line); padding-block-end: clamp(2rem, 4vw, 3rem); }
/* The card rail brings its own heading; the section above shows that line once, so hide the copy (it still labels the nav). */
.ahub-arcana .arcana-rail-nav { padding: 0 !important; margin: 0 !important; border: 0 !important; }
.ahub-arcana .arcana-rail-nav > .arcana-shell { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ahub-arcana__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; margin-block-end: 1.5rem; }
.ahub-faq { border-block-start: 1px solid var(--arc-line); }
.ahub-faq__list { margin-block-start: 1.5rem; max-inline-size: 52rem; }
.ahub-faq__list details { border-block-end: 1px solid var(--arc-line); }
.ahub-faq__list summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; }
.ahub-faq__list p { margin: 0 0 1.2rem; color: var(--arc-muted); line-height: 1.65; max-inline-size: 62ch; }
@media (max-width: 60em) {
  .ahub-hero__grid, .ahub-arcana__head { grid-template-columns: minmax(0, 1fr); }
  [data-arcana] .ahub-steps__list { grid-template-columns: minmax(0, 1fr); }
  [data-arcana] .ahub-fan { block-size: 280px; }
}
@media (prefers-reduced-motion: reduce) { .ahub-fan li { animation: none; transition: none; } }

/* ---------- tiles show the site itself (owner 2026-09-28 overhaul) ----------
   The cover is the sample site's first screen; the body under it keeps the brand's own type and colours. */
a.abr-tile { padding: 0; gap: 0; min-block-size: 0; }
.abr-tile__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-block-end: 1px solid color-mix(in srgb, var(--arc-ink) 14%, transparent); background: var(--arc-surface, #111); }
.abr-tile__shot img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--brand-ease); }
.abr-tile__body { display: grid; gap: .5rem; align-content: start; padding: 1.1rem 1.25rem 1.9rem; }
.abr-tile__word { font-size: min(1.75rem, 8.5cqi); }
.abr-tile__word img { inline-size: 1.75rem; }
@media (hover: hover) { .abr-tile:hover .abr-tile__shot img { transform: scale(1.04); } }

/* ---------- /archetypes/ hub: the Alcor Industries page, in the homepage's type and colours ----------
   Only the tiles carry brand identity; everything around them matches front-page.php. */
main[data-arcana="hub"] {
  --arc-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --arc-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --brand-mono: var(--arc-body);
  --brand-display-weight: 700;
  --brand-track: -.02em;
  --arc-ink: var(--paper, #f6f0e4);
  --arc-muted: rgba(246, 240, 228, .72);
  --arc-line: rgba(246, 240, 228, .12);
  --arc-surface: #0b0d13;
  --arc-accent: var(--cyan, #53d9d4);
  --arc-on-accent: #061414;
}
main[data-arcana="hub"] .abr-eyebrow { font: 800 12px/1.25 var(--arc-body); letter-spacing: .02em; color: var(--gold, #d7b56d); }
main[data-arcana="hub"] .ahub-hero .abr-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--magenta, #ff5ec4); font-size: 14px; letter-spacing: 0; text-transform: none; }
main[data-arcana="hub"] .ahub-hero .abr-eyebrow::before { content: ""; inline-size: 44px; block-size: 1px; background: linear-gradient(90deg, var(--magenta, #ff5ec4), transparent); }
main[data-arcana="hub"] .ahub-title { font: 700 clamp(2.9rem, 1.4rem + 4.6vw, 5.9rem) / .96 var(--arc-display); letter-spacing: -.02em; max-inline-size: 12ch; }
main[data-arcana="hub"] .abr-section .abr-heading { font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.01em; max-inline-size: 20ch; }
main[data-arcana="hub"] a.abr-button { min-block-size: 50px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--magenta, #ff5ec4); background: var(--magenta, #ff5ec4); color: #160919; font: 800 12px/1.18 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: uppercase; box-shadow: 0 0 34px rgba(83, 217, 212, .24); }
main[data-arcana="hub"] a.abr-button[data-kind="ghost"] { border-color: rgba(246, 240, 228, .22); background: rgba(246, 240, 228, .05); color: var(--paper, #f6f0e4); box-shadow: none; }
main[data-arcana="hub"] a.abr-button[data-kind="ghost"]:hover { border-color: var(--gold, #d7b56d); }

/* Hero: copy left, the deck right; a soft wash instead of a flat field. */
main[data-arcana="hub"] .ahub-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); background: radial-gradient(55% 70% at 78% 45%, rgba(179, 140, 255, .14), transparent 70%), radial-gradient(40% 50% at 8% 90%, rgba(83, 217, 212, .08), transparent 70%); border-block-end: 1px solid var(--arc-line); }
main[data-arcana="hub"] .ahub-lede { color: rgba(246, 240, 228, .86); font-size: clamp(1.1rem, .95rem + .55vw, 1.35rem); line-height: 1.5; max-inline-size: 40ch; }
.ahub-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.ahub-facts li { display: inline-flex; align-items: center; gap: 10px; min-block-size: 38px; padding: 0 14px; border: 1px solid rgba(246, 240, 228, .14); border-radius: 999px; background: rgba(5, 6, 8, .5); color: rgba(246, 240, 228, .82); font-size: 13px; }
.ahub-facts li::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--cyan, #53d9d4); box-shadow: 0 0 10px var(--cyan, #53d9d4); }
main[data-arcana="hub"] .ahub-fan { block-size: clamp(320px, 36vw, 500px); }
main[data-arcana="hub"] .ahub-fan li { inline-size: clamp(130px, 14vw, 205px); }

/* The wall: three across, the filter under the heading. */
main[data-arcana="hub"] .ahub-wall-head { display: grid; gap: 1.25rem; justify-content: stretch; }
main[data-arcana="hub"] .abr-wall__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
main[data-arcana="hub"] .ahub-filter button { border-radius: 6px; font: 600 13px/1 var(--arc-body); }

/* Steps and questions in the homepage's panel style. */
main[data-arcana="hub"] .ahub-steps__list li { border-radius: 14px; border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02); }
main[data-arcana="hub"] .ahub-steps__list h3 { font: 700 1.2rem/1.25 var(--arc-display); }
main[data-arcana="hub"] .ahub-steps__n { inline-size: 1.8rem; block-size: 1.8rem; background: rgba(120, 200, 255, .15); color: #bfe3ff; font-size: .9rem; }
main[data-arcana="hub"] .ahub-faq__list summary { font-weight: 600; }
main[data-arcana="hub"] .ahub-faq__list summary::marker { color: var(--cyan, #53d9d4); }

/* Behind the sites: the card rail stays inside the page column and fades at its edge instead of bleeding off. */
main[data-arcana="hub"] .ahub-arcana .arcana-rail-wrap { inline-size: min(var(--site-column, 1180px), calc(100% - 2 * var(--site-gutter, 72px))); margin-inline: auto; padding-inline: 0 !important; mask-image: linear-gradient(90deg, #000 88%, transparent); }
main[data-arcana="hub"] .ahub-arcana .arcana-card__caption { font: 600 13px/1.3 var(--arc-body); }
main[data-arcana="hub"] .ahub-yours { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px dashed rgba(246, 240, 228, .22); border-radius: var(--arc-radius, 14px); background: radial-gradient(80% 120% at 100% 0%, rgba(255, 94, 196, .1), transparent 60%), rgba(255, 255, 255, .02); }
main[data-arcana="hub"] .ahub-yours > div { display: grid; gap: .6rem; max-inline-size: 34rem; }
main[data-arcana="hub"] .ahub-yours h3 { margin: 0; font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem)/1.1 var(--arc-display); letter-spacing: -.01em; }
main[data-arcana="hub"] .ahub-yours p { margin: 0; color: var(--arc-muted); line-height: 1.6; }
@media (max-width: 44rem) { main[data-arcana="hub"] .ahub-yours { grid-column: auto; } }
main[data-arcana="hub"] .ahub-lede { margin-block-start: 1.75rem; }
main[data-arcana="hub"] .ahub-hero .ahub-facts { margin: 1.5rem 0 0; }
main[data-arcana="hub"] .ahub-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
main[data-arcana="hub"] .ahub-yours { display: grid; align-content: center; justify-items: start; }
@media (max-width: 60em) { main[data-arcana="hub"] .ahub-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 60em) { main[data-arcana="hub"] .ahub-fan { block-size: 240px; } main[data-arcana="hub"] .ahub-fan li { inline-size: 120px; } }
[data-arcana] .abr-neighbors__all { margin: 2rem 0 0; }

/* Hub hero on phones (owner iPhone screenshots 2026-09-28: "spacing here needs work"). */
@media (max-width: 40em) {
  main[data-arcana="hub"] .ahub-hero { padding-block: 2.25rem 2rem; }
  main[data-arcana="hub"] .ahub-hero .abr-eyebrow { margin-block-end: 14px; font-size: 13px; }
  main[data-arcana="hub"] .ahub-title { margin-block-start: 0; font-size: clamp(2.5rem, 11vw, 3.1rem); }
  main[data-arcana="hub"] .ahub-lede { margin-block-start: 18px; font-size: 17px; line-height: 1.5; }
  main[data-arcana="hub"] .ahub-hero .abr-actions { margin-block-start: 1.5rem; gap: .6rem; }
  main[data-arcana="hub"] .ahub-hero a.abr-button[data-kind="ghost"] { min-block-size: 44px; border: 0; background: none; padding: 0; justify-content: flex-start; text-decoration: underline; text-underline-offset: .3em; }
  main[data-arcana="hub"] .ahub-hero .ahub-facts { margin-block-start: 1.25rem; gap: 6px; }
  main[data-arcana="hub"] .ahub-facts li { min-block-size: 32px; padding: 0 11px; font-size: 12px; }
  main[data-arcana="hub"] .ahub-fan { block-size: 210px; margin-block-start: .5rem; }
}
