/* Advisors Hub · Academy structure · premium ink/gold (no lime bands) */

:root {
  --adv-ink: #0d1c14;
  --adv-mute: rgba(13, 28, 20, 0.55);
  --adv-line: rgba(13, 28, 20, 0.1);
  --adv-deep: #193828;
  --adv-a1: #0c1410;
  --adv-a2: #193828;
  --adv-paper: #f8f5ec;
  --adv-shell: #f2eee5;
  --adv-elevated: #ffffff;
  --adv-gold: #c4a35a;
  --adv-max: 1320px;
}

/* Page shell — never paint whole journey one cream flat */
body.apage {
  background: var(--adv-shell);
  color: var(--adv-ink);
  font-family: "Josefin Sans", sans-serif;
}
body.apage .ahub {
  background: transparent;
}

.advp-banner {
  position: sticky;
  top: var(--header-h, 60px);
  z-index: 35;
  padding: 8px 16px;
  background: rgba(12, 20, 16, 0.94);
  color: #f8f5ec;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  border-bottom: 1px solid rgba(248, 245, 236, 0.08);
}
.advp-banner a {
  color: var(--adv-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ahub { padding-bottom: 0; }
.ahub-inner {
  max-width: var(--adv-max);
  margin: 0 auto;
  padding: 0 var(--pad, 16px);
  position: relative;
  z-index: 1;
}

.ahub-band {
  scroll-margin-top: calc(var(--header-h, 60px) + 28px);
  padding: 52px 0 56px;
  position: relative;
}
.ahub-band--hero { padding: 0; background: var(--adv-a1); color: var(--adv-paper); }
.ahub-band--paper { background: var(--adv-paper); }
.ahub-band--shell {
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(196, 163, 90, 0.08), transparent 50%),
    var(--adv-shell);
}
.ahub-band--readers {
  background:
    radial-gradient(ellipse 48% 65% at 0% 40%, rgba(196, 163, 90, 0.12), transparent 55%),
    linear-gradient(160deg, #193828 0%, #0f1a14 55%, #0c1410 100%);
  color: var(--adv-paper);
}
.ahub-band--close {
  background: var(--adv-a1);
  color: var(--adv-paper);
  padding: 56px 0 64px;
  text-align: center;
}

.ahub-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.ahub-band--readers .ahub-kicker,
.ahub-band--close .ahub-kicker { color: rgba(248, 245, 236, 0.42); }
.ahub-title {
  margin: 0 0 10px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  color: var(--adv-ink);
}
.ahub-band--readers .ahub-title,
.ahub-band--close .ahub-title { color: var(--adv-paper); }
.ahub-lede {
  margin: 0 0 28px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--adv-mute);
}
.ahub-band--readers .ahub-lede { color: rgba(248, 245, 236, 0.62); }
.ahub-band--close .ahub-lede {
  margin-left: auto;
  margin-right: auto;
  color: rgba(248, 245, 236, 0.58);
}

.ahub-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.ahub-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 65% at 78% 55%, rgba(196, 163, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(25, 56, 40, 0.45), transparent 50%),
    var(--adv-deep);
}
.ahub-hero__bg img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(56%, 500px);
  height: 90%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.88;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}
@media (max-width: 700px) {
  .ahub-hero__bg img {
    width: 72%;
    height: 52%;
    right: -6%;
    opacity: 0.75;
  }
}
.ahub-hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 20, 16, 0.94) 0%,
    rgba(12, 20, 16, 0.86) 40%,
    rgba(12, 20, 16, 0.4) 72%,
    rgba(12, 20, 16, 0.62) 100%
  );
}
.ahub-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  flex: 1 1 auto;
  padding: 36px var(--pad, 16px) 22px;
  max-width: var(--adv-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: inherit;
}
.ahub-hero__copy {
  max-width: 46ch;
}
.ahub-hero__kicker {
  margin: 0 0 8px;
  color: rgba(248, 245, 236, 0.45);
}

.ahub-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 14px 0 4px;
  margin: 0;
  border-top: 1px solid rgba(248, 245, 236, 0.12);
}
.ahub-rail a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(248, 245, 236, 0.5);
  transition: color 0.25s ease;
}
.ahub-rail a:hover { color: var(--adv-paper); }

.ahub-brand {
  margin: 0 0 12px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--adv-paper);
}
.ahub-split {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(248, 245, 236, 0.76);
}
.ahub-offers {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 440px;
}
.ahub-offers li {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(248, 245, 236, 0.68);
}
.ahub-offers strong {
  color: var(--adv-paper);
  font-weight: 600;
}
.ahub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.ahub-actions .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
}
.ahub-quiet {
  font-size: 14px;
  color: rgba(248, 245, 236, 0.48);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ahub-quiet:hover { color: var(--adv-paper); }

.ahub-formats {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}
@media (min-width: 720px) {
  .ahub-formats { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.ahub-format {
  padding: 26px 22px 22px;
  border-radius: 8px;
  background: var(--adv-shell);
  border: 1px solid var(--adv-line);
}
.ahub-format h3 {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 24px;
  line-height: 1.15;
}
.ahub-format p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--adv-mute);
}
.ahub-format__meta {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
.ahub-format__who {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.42);
  font-style: italic;
}
.ahub-hold-note {
  margin: 0;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(13, 28, 20, 0.42);
  max-width: 56ch;
}

.ahub-step { padding: 22px 0; }
.ahub-step + .ahub-step { border-top: 1px solid rgba(13, 28, 20, 0.07); }
.ahub-step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  margin-bottom: 10px;
}
.ahub-step__no {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.36);
}
.ahub-step h3 {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.2;
}
.ahub-step__body {
  margin: 0 0 10px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(13, 28, 20, 0.78);
}
.ahub-step__note {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.48);
  font-style: italic;
}
.ahub-spark {
  margin: 6px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--adv-gold);
  opacity: 0.65;
  user-select: none;
}

.ahub-feature {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(248, 245, 236, 0.06);
  border: 1px solid rgba(248, 245, 236, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1), border-color 0.3s ease;
}
.ahub-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.35);
}
@media (min-width: 800px) {
  .ahub-feature {
    grid-template-columns: 1.05fr 1.15fr;
    min-height: 300px;
  }
}
.ahub-feature__media {
  min-height: 220px;
  background: #152018;
  overflow: hidden;
}
.ahub-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.ahub-feature:hover .ahub-feature__media img { transform: scale(1.03); }
.ahub-feature__body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ahub-feature__body .u-label {
  color: rgba(248, 245, 236, 0.45);
  margin: 0 0 8px;
}
.ahub-feature__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
}
.ahub-feature__role {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(248, 245, 236, 0.45);
}
.ahub-feature__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(248, 245, 236, 0.72);
  max-width: 36ch;
}
.ahub-feature .btn-primary {
  align-self: flex-start;
  background: var(--adv-gold);
  color: var(--adv-a1);
}

.ahub-wall {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .ahub-wall { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
}

.ahub-person {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(248, 245, 236, 0.96);
  color: var(--adv-ink);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
}
.ahub-person.is-settled:hover { transform: translateY(-2px); }
.ahub-person__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: #152018;
  display: block;
  transition: transform 0.8s ease;
}
.ahub-person.is-settled:hover .ahub-person__photo { transform: scale(1.03); }
.ahub-person__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 14px 14px 16px;
}
.ahub-person__name {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 20px;
  line-height: 1.15;
}
.ahub-person__role {
  margin: 0;
  font-size: 12px;
  color: rgba(13, 28, 20, 0.42);
}
.ahub-person__bio {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.6);
  flex: 1;
}
.ahub-person__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.ahub-person__price { font-size: 12px; font-weight: 600; }
.ahub-person__price small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(13, 28, 20, 0.4);
}
.ahub-person__go {
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}

.ahub-voices {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  .ahub-voices {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: start;
  }
}
.ahub-quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ahub-quotes li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.ahub-quotes li:first-child { padding-top: 0; }
.ahub-quotes blockquote {
  margin: 0 0 10px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--adv-ink);
}
.ahub-quotes cite {
  font-style: normal;
  font-size: 12px;
  color: rgba(13, 28, 20, 0.42);
  letter-spacing: 0.02em;
}
.ahub-quotes cite span {
  color: var(--adv-deep);
  font-weight: 600;
  margin-right: 8px;
}

.ahub-trust {
  display: grid;
  gap: 0;
  padding: 4px 0;
  border-top: 1px solid rgba(13, 28, 20, 0.1);
  border-bottom: 1px solid rgba(13, 28, 20, 0.1);
}
.ahub-trust__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.06);
}
.ahub-trust__row:last-child { border-bottom: 0; }
.ahub-trust__n {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--adv-deep);
  line-height: 1;
}
.ahub-trust__l {
  font-size: 13px;
  color: rgba(13, 28, 20, 0.45);
  text-align: right;
}

.ahub-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}
.ahub-band--close .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
}
.ahub-disclaimer {
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(248, 245, 236, 0.38);
  max-width: 48ch;
}

/* Booking wizard kept */
.advp {
  min-height: calc(100vh - var(--header-h, 60px));
  padding: 36px 0 96px;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(25, 56, 40, 0.06), transparent 55%),
    var(--adv-shell);
}
.advp .frame {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}
.advp-book-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 28px;
}
.advp-back { font-size: 13px; color: rgba(13, 28, 20, 0.4); }
.advp-back:hover { color: rgba(13, 28, 20, 0.75); }
.advp-steps { display: flex; gap: 6px; align-items: center; }
.advp-steps span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(13, 28, 20, 0.15);
}
.advp-steps span.is-on { background: var(--adv-gold); transform: scale(1.15); }
.advp-steps span.is-done { background: rgba(196, 163, 90, 0.45); }
.advp-wiz { max-width: 480px; margin: 0 auto; }
.advp-wiz__who {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px;
}
.advp-wiz__who img {
  width: 56px; height: 70px; object-fit: cover; border-radius: 6px; background: #152018;
}
.advp-wiz__who h1 {
  margin: 0 0 4px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 26px; line-height: 1.15;
}
.advp-wiz__who p { margin: 0; font-size: 14px; color: var(--adv-mute); }
.advp-panel { display: none; }
.advp-panel.is-on { display: block; animation: advpIn 0.35s ease; }
@keyframes advpIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.advp-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 28px; line-height: 1.15;
}
.advp-panel__hint {
  margin: 0 0 22px; font-size: 15px; color: var(--adv-mute); line-height: 1.5;
}
.advp-choice { display: grid; gap: 10px; margin: 0 0 24px; }
.advp-choice button {
  display: block; width: 100%; text-align: left; padding: 18px 16px;
  border-radius: 8px; border: 1px solid var(--adv-line);
  background: var(--adv-paper); font: inherit; color: inherit; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.advp-choice button:hover { border-color: rgba(196, 163, 90, 0.4); }
.advp-choice button.is-on {
  border-color: rgba(196, 163, 90, 0.55);
  background: linear-gradient(180deg, #fff, rgba(248, 245, 236, 0.95));
}
.advp-choice strong { display: block; margin: 0 0 4px; font-size: 17px; }
.advp-choice span { font-size: 14px; color: var(--adv-mute); line-height: 1.45; }
.advp-field { margin: 0 0 18px; }
.advp-field label {
  display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: rgba(13, 28, 20, 0.48);
}
.advp-field input, .advp-field textarea, .advp-field select {
  width: 100%; box-sizing: border-box; padding: 10px 0 8px;
  border: 0; border-bottom: 1px solid rgba(13, 28, 20, 0.22);
  background: transparent; font: inherit; font-size: 15px; color: var(--adv-ink);
}
.advp-field textarea { min-height: 96px; resize: vertical; }
.advp-field input:focus, .advp-field textarea:focus, .advp-field select:focus {
  outline: none; border-bottom-color: rgba(196, 163, 90, 0.55);
}
.advp-slots { display: grid; gap: 8px; margin: 0 0 18px; }
.advp-slot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 8px; border: 1px solid var(--adv-line);
  background: transparent; font: inherit; cursor: pointer; text-align: left; color: inherit;
}
.advp-slot.is-on {
  border-color: rgba(196, 163, 90, 0.5);
  background: rgba(196, 163, 90, 0.1);
}
.advp-slot strong { font-size: 14px; }
.advp-slot span { font-size: 12px; color: rgba(13, 28, 20, 0.42); }
.advp-tz {
  margin: 0 0 22px; padding: 14px; border-radius: 8px;
  background: rgba(196, 163, 90, 0.08);
  border: 1px solid rgba(196, 163, 90, 0.28);
  font-size: 13px; line-height: 1.5; color: rgba(13, 28, 20, 0.62);
}
.advp-tz label {
  display: flex; gap: 10px; margin-top: 10px; cursor: pointer; font-weight: 500;
}
.advp-summary {
  margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--adv-line);
}
.advp-summary li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(13, 28, 20, 0.07); font-size: 14px;
}
.advp-summary li span:first-child { color: var(--adv-mute); }
.advp-summary li strong { text-align: right; font-weight: 600; }
.advp-nav { display: flex; gap: 10px; margin-top: 8px; }
.advp-nav .btn { flex: 1; justify-content: center; }
.advp-nav .btn[disabled] { opacity: 0.4; pointer-events: none; }
.advp-done { max-width: 440px; margin: 48px auto 0; text-align: center; }
.advp-done h1 {
  margin: 0 0 12px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 32px;
}
.advp-done p { margin: 0 0 24px; font-size: 16px; color: var(--adv-mute); line-height: 1.55; }
.advp-done .btn { min-width: 180px; justify-content: center; }
.advp-kicker {
  margin: 0 0 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(13, 28, 20, 0.34);
}
.advp-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 48px; }

@media (prefers-reduced-motion: reduce) {
  .ahub-feature, .ahub-person, .ahub-feature__media img, .ahub-person__photo, .advp-panel.is-on {
    transition: none !important;
    animation: none !important;
  }
}



/* —— Catalog restructure v4 —— */
.ahub-hero--compact {
  min-height: min(52vh, 440px);
}
.ahub-brand--compact {
  font-size: clamp(30px, 5.2vw, 44px);
  margin-bottom: 10px;
  max-width: 16ch;
  line-height: 1.08;
}
.ahub-split--compact {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.55;
}
.ahub-hero--compact .ahub-hero__content {
  padding-top: 40px;
  padding-bottom: 18px;
  gap: 32px;
}

.ahub-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 6px;
}
.ahub-sec-head .ahub-title { margin-bottom: 0; }
.ahub-sec-tag {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.38);
}

.ahub-wall--light .ahub-person {
  background: var(--adv-shell);
  border: 1px solid var(--adv-line);
}
.ahub-band--paper .ahub-wall { margin-top: 4px; }

.ahub-band--member {
  padding: 40px 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(196, 163, 90, 0.14), transparent 55%),
    linear-gradient(160deg, #193828 0%, #0f1a14 100%);
  color: var(--adv-paper);
}
.ahub-band--member .ahub-kicker { color: rgba(248, 245, 236, 0.42); }
.ahub-band--member .ahub-title { color: var(--adv-paper); margin-bottom: 8px; }
.ahub-band--member .ahub-lede {
  color: rgba(248, 245, 236, 0.62);
  margin-bottom: 0;
}
.ahub-member {
  display: grid;
  gap: 22px;
}
@media (min-width: 800px) {
  .ahub-member {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: 28px;
  }
}
.ahub-member__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.ahub-band--member .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
}

.ahub-reports {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .ahub-reports { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 960px) {
  .ahub-reports { grid-template-columns: 1fr 1fr 1fr; }
}

.ahub-report {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  border-radius: 8px;
  background: var(--adv-paper);
  border: 1px solid var(--adv-line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
  min-height: 180px;
}
.ahub-report:hover {
  border-color: rgba(196, 163, 90, 0.45);
  transform: translateY(-2px);
}
.ahub-report__zh {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.36);
}
.ahub-report__name {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
  line-height: 1.15;
}
.ahub-report__blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--adv-mute);
  flex: 1;
}
.ahub-report__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.ahub-report__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
.ahub-report__go {
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}

.ahub-report-detail {
  max-width: 520px;
  margin: 0 auto;
}
.ahub-report-meta {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--adv-line);
}
.ahub-report-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.07);
  font-size: 14px;
}
.ahub-report-meta li span:first-child { color: var(--adv-mute); flex-shrink: 0; }
.ahub-report-meta li strong {
  text-align: right;
  font-weight: 600;
  max-width: 32ch;
}

.ahub-band--paper,
.ahub-band--shell {
  padding-top: 40px;
  padding-bottom: 48px;
}


/* —— Visual pass v5 · compact readers + pop member + hex reports —— */

/* Compact horizontal reader cards */
.ahub-wall--compact {
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) {
  .ahub-wall--compact { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
}
.ahub-person--row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 0;
  background: var(--adv-shell);
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
}
.ahub-person--row.is-settled:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.4);
}
.ahub-person--row .ahub-person__media {
  aspect-ratio: 1;
  width: 88px;
  height: 100%;
  min-height: 88px;
  background: #152018;
  overflow: hidden;
}
.ahub-person--row .ahub-person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.ahub-person--row.is-settled:hover .ahub-person__media img {
  transform: scale(1.04);
}
.ahub-person--row .ahub-person__body {
  padding: 12px 12px 12px 14px;
  gap: 2px;
  min-width: 0;
}
.ahub-person--row .ahub-person__name {
  font-size: 18px;
}
.ahub-person--row .ahub-person__role {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ahub-person--row .ahub-person__bio {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ahub-person--row .ahub-person__foot {
  margin-top: 8px;
  padding-top: 8px;
}
.ahub-person--row .ahub-person__price small { display: none; }

/* Combos — ink jump band (between advisor list and membership) */
.ahub-band--combos {
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(248, 245, 236, 0.06), transparent 50%),
    linear-gradient(160deg, #193828 0%, #0f1a14 55%, #0c1410 100%);
  color: var(--adv-paper);
  padding: 52px 0 56px;
}
.ahub-band--combos .ahub-kicker {
  color: rgba(248, 245, 236, 0.42);
}
.ahub-band--combos .ahub-title {
  color: var(--adv-paper);
}
.ahub-band--combos .ahub-lede {
  color: rgba(248, 245, 236, 0.62);
}
.ahub-band--combos .ahub-sec-tag {
  color: rgba(196, 163, 90, 0.85);
  border-color: rgba(196, 163, 90, 0.35);
}
/* Shared shelf — long-press / swipe to drag · short press opens detail */
.ahub-shelf {
  --shelf-gap: 14px;
  --shelf-show: 3;
  position: relative;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: default;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
}
.ahub-shelf.is-draggable { cursor: grab; }
.ahub-shelf.is-grabbing {
  cursor: grabbing;
  touch-action: none;
}
.ahub-shelf.is-static { cursor: default; }
.ahub-shelf__track {
  display: flex;
  gap: var(--shelf-gap);
  width: 100%;
  will-change: transform;
  user-select: none;
}
.ahub-shelf__track > * {
  flex: 0 0 calc((100% - var(--shelf-gap) * (var(--shelf-show) - 1)) / var(--shelf-show));
  max-width: calc((100% - var(--shelf-gap) * (var(--shelf-show) - 1)) / var(--shelf-show));
  min-width: 0;
  box-sizing: border-box;
}
.ahub-shelf a,
.ahub-shelf img,
.ahub-shelf__track > * {
  -webkit-user-drag: none;
  user-drag: none;
}
/* Desktop defaults: roster 3 · combos/topics 2 (full-width hub) */
.ahub-shelf[data-shelf-show="2"] { --shelf-show: 2; }
.ahub-shelf[data-shelf-show="3"] { --shelf-show: 3; }
/* Academy breakpoints: reduce visible count, never crush card width */
@media (max-width: 699px) {
  .ahub-shelf[data-shelf-show="3"] { --shelf-show: 2; }
  .ahub-shelf[data-shelf-show="2"] { --shelf-show: 1; }
}
@media (max-width: 419px) {
  .ahub-shelf[data-shelf-show="3"] { --shelf-show: 1; }
}

/* §3.4 trail — right-aligned underline More → */
.gx-trail {
  margin: 12px 0 0;
  text-align: right;
}
.gx-trail a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(13, 28, 20, 0.48);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.gx-trail a:hover { color: var(--adv-ink); }
.ahub-band--combos .gx-trail a {
  color: rgba(248, 245, 236, 0.5);
}
.ahub-band--combos .gx-trail a:hover {
  color: var(--adv-paper);
}

.acombo {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r, 8px);
  border: 1px solid rgba(248, 245, 236, 0.1);
  background: var(--adv-paper);
  color: var(--adv-ink);
  box-sizing: border-box;
  transition: border-color 0.25s ease, transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
}
@media (max-width: 560px) {
  .acombo__body { padding: 10px 10px 10px; gap: 5px; }
  .acombo__purpose { font-size: 12px; -webkit-line-clamp: 2; }
  .acombo__list { font-size: 12px; }
  .acombo__note { display: none; }
  .areader__excerpt { -webkit-line-clamp: 3; }
  .areader__name { font-size: 20px; }
}
.acombo:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.45);
}
.acombo.is-featured {
  border-color: rgba(196, 163, 90, 0.75);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.28);
}
.acombo__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(13, 28, 20, 0.06);
  flex: 0 0 auto;
}
.acombo__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.33, 0.1, 0.25, 1);
}
.acombo:hover .acombo__media img {
  transform: scale(1.04);
}
.acombo__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  padding: 12px 14px 12px;
  min-height: 0;
}
.acombo__pattern {
  margin: 0;
  color: rgba(13, 28, 20, 0.42);
}
.acombo__name {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--adv-ink);
}
.acombo__blurb,
.acombo__purpose {
  margin: 0;
  max-width: none;
  color: rgba(13, 28, 20, 0.62);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.acombo__purpose {
  line-height: 1.4;
  font-size: 13px;
}
.acombo__list {
  margin: 2px 0 0;
  padding: 0 0 0 1.1em;
  display: grid;
  gap: 2px;
  color: rgba(13, 28, 20, 0.72);
  font-size: 13px;
}
.acombo__list li { margin: 0; }
.acombo__foot {
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 4px;
}
.acombo__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(13, 28, 20, 0.12);
}
.acombo__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.acombo__price strong.d-signal {
  margin: 0;
  line-height: 1;
  color: var(--adv-ink);
}
.acombo__price > .b-meta {
  opacity: 0.55;
}
.acombo__was {
  text-decoration: line-through;
  opacity: 0.42;
}
.acombo__note {
  margin: 0;
  font-family: var(--font-u, "Josefin Sans", sans-serif);
  font-size: var(--fs-u-label, 12px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.5);
}
.acombo .btn-primary {
  justify-self: start;
  border-radius: var(--r, 8px);
  background: var(--adv-gold);
  color: var(--adv-a1);
}
.acombo .btn-primary:hover {
  filter: brightness(1.04);
}

/* Membership — pop lime band (emphasis bridge) */
.ahub-band--member-pop {
  padding: 36px 0;
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(248, 245, 236, 0.35), transparent 50%),
    linear-gradient(145deg, #c2d055 0%, #b5c44a 45%, #c8d086 100%);
  color: var(--adv-ink);
}
.ahub-band--member-pop .ahub-kicker {
  color: rgba(13, 28, 20, 0.5);
}
.ahub-band--member-pop .ahub-title {
  color: var(--adv-ink);
}
.ahub-band--member-pop .ahub-lede {
  color: rgba(13, 28, 20, 0.72);
}
.ahub-band--member-pop .btn-primary {
  background: var(--adv-a1);
  color: var(--adv-paper);
}
.ahub-band--member-pop .ahub-quiet {
  color: rgba(13, 28, 20, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ahub-band--member-pop .ahub-quiet:hover {
  color: var(--adv-ink);
}

/* Reports — shelf cards (2-up via .ahub-shelf) */
.ahub-hexcard {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--adv-paper);
  box-shadow: 0 1px 0 rgba(13, 28, 20, 0.04);
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s ease;
}
.ahub-hexcard:hover { transform: translateY(-2px); }
.ahub-hexcard__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #cfcaba;
}
.ahub-hexcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}
.ahub-hexcard:hover .ahub-hexcard__media img { transform: scale(1.04); }
.ahub-hexcard__body { padding: 12px 12px 14px; }
.ahub-hexcard__no {
  margin: 0 0 2px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
}
.ahub-hexcard__title {
  margin: 0 0 6px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.ahub-hexcard__vibe {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tighten paper band under short hero */
.ahub-band--paper { padding-top: 32px; padding-bottom: 36px; }
.ahub-band--paper .ahub-lede { margin-bottom: 18px; }


.ahub-hexcard__media { position: relative; }
.ahub-hexcard__badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(194, 208, 85, 0.95);
  color: #0c1410;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* —— Directory readers v8 —— */
/* Classic consult directory: avatar · bio · chips · book (FAS / Astrodune lineage) */
.ahub-dir {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid rgba(13, 28, 20, 0.1);
}
.ahub-dir__row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease;
}
.ahub-dir__row.is-settled:hover {
  background: rgba(248, 245, 236, 0.85);
}
@media (min-width: 720px) {
  .ahub-dir__row {
    grid-template-columns: 88px 1fr auto;
    gap: 20px 24px;
    padding: 22px 8px;
  }
}
.ahub-dir__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #152018;
  display: block;
  box-shadow: 0 0 0 1px rgba(13, 28, 20, 0.08);
}
@media (min-width: 720px) {
  .ahub-dir__avatar { width: 88px; height: 88px; }
}
.ahub-dir__main { min-width: 0; }
.ahub-dir__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 4px;
}
.ahub-dir__name {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
  line-height: 1.15;
}
.ahub-dir__price {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
.ahub-dir__title {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.48);
}
.ahub-dir__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.ahub-dir__chips span {
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(13, 28, 20, 0.12);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(13, 28, 20, 0.55);
  background: rgba(248, 245, 236, 0.7);
}
.ahub-dir__bio {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.62);
}
.ahub-dir__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--adv-deep);
  color: var(--adv-paper);
  font-size: 13px;
  font-weight: 600;
  align-self: center;
  transition: background 0.25s ease;
}
.ahub-dir__row:hover .ahub-dir__cta {
  background: #0c1410;
}
@media (max-width: 560px) {
  .ahub-dir__row {
    grid-template-columns: 64px 1fr;
  }
  .ahub-dir__avatar { width: 64px; height: 64px; }
  .ahub-dir__cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }
  .ahub-dir__top .ahub-dir__price { display: none; }
}

/* Topic photography (not hex sheets) */
.ahub-hexcard__media img {
  object-position: center;
}


/* —— Profile + 1:1 listing v9 —— */
.ahub-sq {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .ahub-sq { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
}
.ahub-sqcard {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--adv-paper);
  border: 1px solid var(--adv-line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1), border-color 0.3s ease;
}
.ahub-sqcard.is-settled:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.4);
}
.ahub-sqcard__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #152018;
}
.ahub-sqcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.ahub-sqcard.is-settled:hover .ahub-sqcard__media img { transform: scale(1.04); }
.ahub-sqcard__body { padding: 12px 12px 14px; }
.ahub-sqcard__rating {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(13, 28, 20, 0.42);
}
.ahub-sqcard__name {
  margin: 0 0 2px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 20px;
  line-height: 1.15;
}
.ahub-sqcard__role {
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(13, 28, 20, 0.42);
}
.ahub-sqcard__vibe {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.ahub-sqcard__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}

.ahub-profile { padding-top: 28px; }
.apro {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 18px 0 36px;
}
.apro--stack {
  display: flex;
  flex-direction: column;
}
@media (min-width: 800px) {
  .apro:not(.apro--stack) {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
  }
}
.apro__visual { position: relative; }
.apro__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #152018;
  display: block;
}
.apro__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}
.apro__score strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 28px;
  color: var(--adv-deep);
}
.apro__score span {
  font-size: 13px;
  color: rgba(13, 28, 20, 0.45);
}
.apro__name {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.1;
}
.apro__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.55);
}
.apro__meta {
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.4);
}
.apro__book {
  padding: 18px 16px;
  border-radius: 8px;
  background: var(--adv-shell);
  border: 1px solid var(--adv-line);
}
.apro__from {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--adv-deep);
}
.apro__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.apro__ctas .btn-primary { background: var(--adv-gold); color: var(--adv-a1); }
.apro__price-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.42);
}
.apro-block {
  padding: 22px 0;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.apro-block h2 {
  margin: 0 0 10px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
}
.apro-block p {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(13, 28, 20, 0.72);
}
.apro-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  max-width: none !important;
}
.apro-chips span {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(13, 28, 20, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: rgba(13, 28, 20, 0.62);
  background: var(--adv-shell);
}
.apro-trust {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--adv-deep) !important;
}
.apro-reviews {
  list-style: none;
  margin: 0;
  padding: 0;
}
.apro-reviews li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.07);
}
.apro-reviews blockquote {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 17px;
  line-height: 1.4;
}
.apro-reviews cite {
  font-style: normal;
  font-size: 12px;
  color: rgba(13, 28, 20, 0.42);
}
.apro-reviews cite span {
  font-weight: 600;
  color: var(--adv-deep);
  margin-right: 8px;
}
.apro-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: apro;
}
.apro-steps li {
  position: relative;
  padding: 12px 0 12px 2.2rem;
  border-bottom: 1px solid rgba(13, 28, 20, 0.06);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(13, 28, 20, 0.65);
  counter-increment: apro;
}
.apro-steps li::before {
  content: counter(apro, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 14px;
  font-weight: 700;
  color: rgba(13, 28, 20, 0.3);
}
.apro-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--adv-ink);
}

.advp-wiz__who img {
  border-radius: 50%;
  object-fit: cover;
}


/* —— Split photo+copy v10 —— */
/* Left: 1:1 photo + actions under · Right: intro */
.ahub-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .ahub-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1024px) {
  .ahub-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.asplit {
  display: grid;
  gap: 18px;
  align-items: start;
}
@media (min-width: 720px) {
  .asplit {
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 28px;
  }
}
.asplit--card {
  padding: 14px;
  border-radius: 8px;
  background: var(--adv-paper);
  border: 1px solid var(--adv-line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
}
.asplit--card.is-settled:hover {
  border-color: rgba(196, 163, 90, 0.45);
  transform: translateY(-2px);
}
.asplit__media { min-width: 0; }
.asplit__photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: #152018;
  display: block;
}
.asplit__under {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.asplit__rating {
  margin: 0;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.5);
}
.asplit__rating strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 20px;
  color: var(--adv-deep);
  margin-right: 4px;
}
.asplit__from {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
.asplit__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.asplit__ctas .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
}
.asplit__mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--adv-deep);
  color: var(--adv-paper);
  font-size: 13px;
  font-weight: 600;
}
.asplit--card:hover .asplit__mini-cta { background: #0c1410; }

.asplit__copy { min-width: 0; }
.asplit__name {
  margin: 0 0 6px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.12;
}
.asplit__name--sm { font-size: clamp(22px, 3vw, 26px); }
.asplit__title {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.5);
}
.asplit__meta {
  margin: 0 0 16px;
  font-size: 12px;
  color: rgba(13, 28, 20, 0.4);
}
.asplit__h {
  margin: 18px 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 18px;
  line-height: 1.2;
}
.asplit__h:first-of-type { margin-top: 4px; }
.asplit__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(13, 28, 20, 0.7);
  max-width: 54ch;
}
.asplit__p--short {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.asplit__pillars {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.42);
}
.asplit__trust {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
.asplit__reviews li:nth-child(n + 3) { display: none; }
.ahub-profile { padding-top: 24px; padding-bottom: 48px; }
@media (min-width: 720px) {
  .ahub-profile .asplit {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 36px;
  }
}


/* —— Swipe book rail v11 —— */
.asplit--intro {
  margin: 12px 0 28px;
}
@media (min-width: 800px) {
  .asplit--intro {
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 32px;
  }
}
.asplit--intro .asplit__photo {
  max-width: 260px;
}
.asplit__rating-inline {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.48);
}
.asplit__rating-inline strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
  color: var(--adv-deep);
  margin-right: 6px;
}
.asplit__p--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px !important;
}
.asplit__style {
  font-size: 14px !important;
  font-style: italic;
  color: rgba(13, 28, 20, 0.55) !important;
}

.abook {
  margin: 8px 0 28px;
  padding: 22px 0 8px;
  border-top: 1px solid rgba(13, 28, 20, 0.1);
}
.abook__head { margin-bottom: 14px; }
.abook__title {
  margin: 0 0 4px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 24px;
}
.abook__hint {
  margin: 0;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.42);
}
.abook__label {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.38);
}

.ascroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
}
.ascroll.is-grabbing { cursor: grabbing; }
.ascroll::-webkit-scrollbar { height: 6px; }
.ascroll::-webkit-scrollbar-thumb {
  background: rgba(13, 28, 20, 0.18);
  border-radius: 99px;
}

.ascroll__card {
  flex: 0 0 min(78%, 260px);
  scroll-snap-align: start;
  text-align: left;
  padding: 16px 16px 14px;
  border-radius: 8px;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: var(--adv-shell);
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.ascroll__card.is-on {
  border-color: rgba(196, 163, 90, 0.55);
  background: linear-gradient(180deg, #fff, rgba(248, 245, 236, 0.95));
}
.ascroll__kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.ascroll__name {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}
.ascroll__desc {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.52);
}
.ascroll__price {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}

.ascroll--slots .ascroll__slot,
.ascroll__slot {
  flex: 0 0 min(70%, 200px);
  scroll-snap-align: start;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.ascroll__slot.is-on {
  border-color: rgba(196, 163, 90, 0.55);
  background: rgba(196, 163, 90, 0.1);
}
.ascroll__slot strong { font-size: 15px; }
.ascroll__slot span {
  font-size: 12px;
  color: rgba(13, 28, 20, 0.45);
  line-height: 1.35;
}

.abook__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.abook__hold {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--adv-deep);
}
.abook__foot .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
  min-width: 140px;
  justify-content: center;
}
.abook__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.4);
}

.apro-more {
  margin: 0 0 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.apro-more summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.55);
  list-style: none;
}
.apro-more summary::-webkit-details-marker { display: none; }
.apro-more[open] summary { margin-bottom: 8px; }

/* —— list card: photo square only —— */
.asplit--card .asplit__media {
  max-width: 200px;
  width: 100%;
}
.asplit--card .asplit__under { display: none; }
@media (max-width: 700px) {
  .asplit--card {
    grid-template-columns: 112px 1fr !important;
    gap: 14px !important;
  }
  .asplit--card .asplit__media { max-width: 112px; }
  .asplit--intro {
    grid-template-columns: 1fr !important;
  }
  .asplit--intro .asplit__photo { max-width: 220px; }
  .ascroll__card { flex-basis: min(82%, 240px); }
}

.asplit__media { width: 100%; }
.asplit--intro .asplit__media {
  max-width: 260px;
}
.asplit--intro .asplit__photo,
.asplit--card .asplit__photo {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* —— Home: three horizontal reader cards —— */
.areader {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: var(--adv-paper);
  border: 1px solid var(--adv-line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.33, 0.1, 0.25, 1);
}
.areader:hover {
  border-color: rgba(196, 163, 90, 0.45);
  transform: translateY(-3px);
}
.areader__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #152018;
  overflow: hidden;
}
.areader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s ease;
}
.areader:hover .areader__photo img { transform: scale(1.03); }
.areader__body {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  flex: 1;
}
.areader__level {
  margin: 0 0 6px;
  font-family: var(--font-u, "Josefin Sans", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.areader__name {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 24px;
  line-height: 1.15;
}
.areader__title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(13, 28, 20, 0.42);
}
.areader__rating {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.45);
}
.areader__rating strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 18px;
  color: var(--adv-deep);
  margin-right: 2px;
}
.areader__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(13, 28, 20, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.areader__pillars {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.4);
}
.areader__from {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
}
/* catalog: stacked / 2-col / 3-col — no horizontal snap */

/* —— Profile framed panels v22 —— */
.ahub-inner--profile {
  max-width: 980px;
}

.apro.apro--split,
.apro--split,
.apro--framed {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 12px 0 8px;
  align-items: stretch;
  border: 1px solid rgba(13, 28, 20, 0.12);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 28, 20, 0.04);
}
@media (min-width: 860px) {
  .apro.apro--split,
  .apro--split,
  .apro--framed {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  }
}

.apro__panel {
  min-width: 0;
  box-sizing: border-box;
}
.apro__left.apro__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px;
  background: var(--adv-paper);
  border-bottom: 1px solid rgba(13, 28, 20, 0.1);
}
@media (min-width: 860px) {
  .apro__left.apro__panel {
    border-bottom: 0;
    border-right: 1px solid rgba(13, 28, 20, 0.1);
  }
}

.apro__photo-wrap {
  width: 100%;
  margin: 0 0 16px;
}
.apro__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: #152018;
  display: block;
}

.apro__id {
  margin: 0;
  padding: 14px 2px 2px;
  border-top: 1px solid rgba(13, 28, 20, 0.1);
}
.apro__name {
  margin: 0 0 6px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.12;
  color: var(--adv-deep);
}
.apro__title {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.52);
}
.apro__rating {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.48);
}
.apro__rating strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
  color: var(--adv-deep);
  margin-right: 6px;
}
.apro__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(13, 28, 20, 0.4);
}

.apro__right.apro__panel {
  padding: 22px 24px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.apro__block {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.apro__block:first-child {
  padding-top: 0;
}
.apro__block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.apro__h {
  margin: 0 0 8px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 16px;
  line-height: 1.2;
  color: var(--adv-deep);
  letter-spacing: 0.01em;
}
.apro__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(13, 28, 20, 0.7);
  max-width: none;
}
.apro__p--italic {
  font-style: italic;
  color: rgba(13, 28, 20, 0.58);
}

.apro__focus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.apro__focus li {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  gap: 10px 14px;
  align-items: start;
  padding: 0;
  border-bottom: 0;
}
@media (max-width: 560px) {
  .apro__focus li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.apro__focus strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-deep);
  padding-top: 1px;
}
.apro__focus span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.58);
}

/* Book */
.abook {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}
.abook__head {
  margin-bottom: 14px;
  text-align: left;
}
.abook__title {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 24px;
}
.abook__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.4);
  text-align: left;
}

.atabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 18px;
  max-width: 280px;
}
.atabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 4px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.4);
  cursor: pointer;
}
.atabs__btn.is-on { color: var(--adv-deep); }
.atabs__ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--adv-gold);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.adeck-view {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  border-radius: 12px;
}
.adeck-view.is-grabbing { cursor: grabbing; }
.adeck-track {
  display: flex;
  width: 100%;
  will-change: transform;
  user-select: none;
}
.adeck-track.is-dragging { cursor: grabbing; }

.adeck__card,
.adeck__card--pane {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(13, 28, 20, 0.12);
}
/* Written: cream paper + gold edge */
.adeck__card--written {
  background: var(--adv-paper);
  border-color: rgba(196, 163, 90, 0.35);
  box-shadow: 0 12px 32px rgba(196, 163, 90, 0.1);
}
/* Live: deep ink wash */
.adeck__card--live {
  background: linear-gradient(180deg, #1a3226 0%, #13251c 100%);
  border-color: rgba(248, 245, 236, 0.12);
  box-shadow: 0 14px 36px rgba(12, 20, 16, 0.22);
  color: #f8f5ec;
}
.adeck__card--live .adeck__kicker,
.adeck__card--live .adeck__rule,
.adeck__card--live .aday-card__dow {
  color: rgba(248, 245, 236, 0.5);
}
.adeck__card--live .adeck__price,
.adeck__card--live .aday-card__date {
  color: #f8f5ec;
}
.adeck__card--live .adeck__price span {
  color: rgba(248, 245, 236, 0.55);
}
.adeck__card--live .aday-card {
  background: rgba(248, 245, 236, 0.08);
  border-color: rgba(248, 245, 236, 0.14);
}
.adeck__card--live .aday__slot {
  background: rgba(248, 245, 236, 0.06);
  border-color: rgba(248, 245, 236, 0.16);
  color: rgba(248, 245, 236, 0.88);
}
.adeck__card--live .aday__slot.is-on {
  background: rgba(196, 163, 90, 0.28);
  border-color: rgba(196, 163, 90, 0.65);
  color: #f8f5ec;
}
.adeck__card--live .aday__more summary {
  color: rgba(248, 245, 236, 0.45);
}
.adeck__card--live .adeck__book {
  background: var(--adv-gold);
  color: var(--adv-a1);
}

.adeck__top {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.adeck__card--live .adeck__top {
  border-bottom-color: rgba(248, 245, 236, 0.12);
}
.adeck__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.adeck__price {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--adv-deep);
}
.adeck__price strong {
  font-family: var(--font-d, Philosopher, serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.adeck__price span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.5);
}
.adeck__rule {
  margin: 0;
  font-size: 13px;
  color: rgba(13, 28, 20, 0.45);
}

.aday-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  flex: 1;
}
@media (max-width: 640px) {
  .aday-grid { grid-template-columns: 1fr; }
}

/* Date cards: shell tone against paper big card */
.aday-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid rgba(13, 28, 20, 0.1);
  background: var(--adv-shell);
}
.aday-card__dow {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.aday-card__date {
  margin: 0 0 10px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 16px;
  line-height: 1.2;
  color: var(--adv-deep);
}
.aday-card__times {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aday__slot {
  appearance: none;
  width: 100%;
  padding: 8px 0;
  border-radius: 7px;
  border: 1px solid rgba(13, 28, 20, 0.1);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: rgba(13, 28, 20, 0.78);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.aday__slot:hover { border-color: rgba(196, 163, 90, 0.5); }
.aday__slot.is-on {
  border-color: rgba(196, 163, 90, 0.65);
  background: rgba(196, 163, 90, 0.16);
  color: var(--adv-deep);
  font-weight: 600;
}
.aday__more { margin-top: 6px; }
.aday__more summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(13, 28, 20, 0.42);
  list-style: none;
  text-align: center;
}
.aday__more summary::-webkit-details-marker { display: none; }
.aday__more[open] summary { margin-bottom: 6px; }

.adeck__book {
  align-self: stretch;
  justify-content: center;
  background: var(--adv-gold);
  color: var(--adv-a1);
  text-decoration: none;
}

.apro-more {
  margin: 8px 0 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.apro-more summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.55);
  list-style: none;
}
.apro-more summary::-webkit-details-marker { display: none; }
.apro-more[open] summary { margin-bottom: 8px; }

/* —— Advisors booking system v30 —— */

.ahub-band--book {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(196, 163, 90, 0.14), transparent 55%),
    var(--adv-shell);
  padding: 40px 0 48px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.ahub-band--ink,
.ahub-band--book-hero,
.ahub-band--done {
  background:
    linear-gradient(165deg, var(--adv-a1) 0%, var(--adv-a2) 55%, var(--adv-a1) 100%);
  color: var(--adv-paper);
  padding: 36px 0 40px;
}
.ahub-band--book-hero { padding: 28px 0 32px; }
.ahub-kicker--light { color: rgba(248, 245, 236, 0.45) !important; }

.ahub-inner--wiz { max-width: 640px; }

.abook__lead {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(13, 28, 20, 0.5);
}
.abook__head { text-align: left; }

/* Gold primary CTAs across Advisors booking */
.apage .btn.btn-primary,
.adeck__book.btn-primary {
  background: var(--adv-gold) !important;
  color: var(--adv-a1) !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
}
.apage .btn.btn-primary:hover,
.adeck__book.btn-primary:hover {
  filter: brightness(1.05);
}
.apage .btn.btn-quiet {
  border-radius: 8px;
  border: 1px solid rgba(13, 28, 20, 0.16);
  background: transparent;
  color: var(--adv-deep);
}
.btn-quiet--light {
  border-color: rgba(248, 245, 236, 0.28) !important;
  color: var(--adv-paper) !important;
}

/* Wizard */
.awiz-who {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}
.awiz-who img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(196, 163, 90, 0.45);
}
.awiz-who h1 {
  margin: 0 0 4px;
  font-family: Philosopher, serif;
  font-size: 26px;
  color: var(--adv-paper);
}
.awiz-who p {
  margin: 0;
  font-size: 13px;
  color: rgba(248, 245, 236, 0.55);
}
.advp-back--light { color: rgba(248, 245, 236, 0.7); }

.awiz-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.awiz-steps__item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.32);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.awiz-steps__item.is-on {
  color: var(--adv-deep);
  border-bottom-color: var(--adv-gold);
}
.awiz-steps__item.is-done { color: rgba(13, 28, 20, 0.5); }
.awiz--skip-format .awiz-steps__item.is-hidden-step { display: none; }

.awiz-panel {
  background: var(--adv-elevated);
  border: 1px solid rgba(13, 28, 20, 0.12);
  border-radius: 12px;
  padding: 24px 22px 20px;
  box-shadow: 0 12px 32px rgba(13, 28, 20, 0.06);
}
.awiz-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.4);
}
.adeck-inline {
  margin-bottom: 18px;
}
.awiz-panel .advp-panel { display: none; }
.awiz-panel .advp-panel.is-on { display: block; }
.awiz-panel .advp-panel h2 {
  margin: 0 0 6px;
  font-family: Philosopher, serif;
  font-size: 24px;
  color: var(--adv-deep);
}
.advp-panel__hint {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(13, 28, 20, 0.5);
}
.advp-choice {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.advp-choice button {
  text-align: left;
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: var(--adv-paper);
  font: inherit;
  cursor: pointer;
}
.advp-choice button.is-on {
  border-color: rgba(196, 163, 90, 0.65);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.35);
}
.advp-choice strong { display: block; margin-bottom: 4px; color: var(--adv-deep); }
.advp-choice span { font-size: 13px; color: rgba(13, 28, 20, 0.5); }
.advp-field { margin-bottom: 14px; }
.advp-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.5);
}
.advp-field input,
.advp-field select,
.advp-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(13, 28, 20, 0.14);
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}
.advp-field textarea { min-height: 96px; resize: vertical; }
.advp-tz {
  margin: 8px 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--adv-paper);
  font-size: 13px;
  color: rgba(13, 28, 20, 0.62);
  display: grid;
  gap: 8px;
}
.advp-tz label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.advp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.advp-summary {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid rgba(13, 28, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.advp-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
  font-size: 14px;
}
.advp-summary li:last-child { border-bottom: 0; }
.advp-summary span { color: rgba(13, 28, 20, 0.45); }
.advp-summary strong { color: var(--adv-deep); }

/* Done */
.adone-title {
  margin: 8px 0 12px;
  font-family: Philosopher, serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--adv-paper);
}
.adone-copy {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(248, 245, 236, 0.72);
  max-width: 42ch;
}
.adone-meta {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 420px;
  border: 1px solid rgba(248, 245, 236, 0.14);
  border-radius: 8px;
  background: rgba(248, 245, 236, 0.06);
}
.adone-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(248, 245, 236, 0.1);
  font-size: 14px;
}
.adone-meta li:last-child { border-bottom: 0; }
.adone-meta span { color: rgba(248, 245, 236, 0.45); }
.adone-meta strong { color: var(--adv-paper); }
.adone-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.ahub-profile { padding-top: 28px; padding-bottom: 36px; }


/* —— Advisors v31 contrast + in-place flow —— */
.apro__left.apro__panel {
  background: linear-gradient(180deg, #163024 0%, #0f2118 100%);
  color: #f8f5ec;
  border-bottom-color: rgba(248, 245, 236, 0.12);
}
.apro__left.apro__panel .ahub-kicker { color: rgba(196, 163, 90, 0.85); }
.apro__left .apro__name { color: #f8f5ec; }
.apro__left .apro__title { color: rgba(248, 245, 236, 0.62); }
.apro__left .apro__rating { color: rgba(248, 245, 236, 0.55); }
.apro__left .apro__rating strong { color: #f8f5ec; }
.apro__left .apro__meta { color: rgba(248, 245, 236, 0.42); }
.apro__left .apro__id { border-top-color: rgba(248, 245, 236, 0.14); }
@media (min-width: 860px) {
  .apro__left.apro__panel { border-right-color: rgba(248, 245, 236, 0.1); }
}

.apro__right.apro__panel {
  background: var(--adv-paper);
  gap: 0;
}
/* Right column: one paper zone; short rules between blocks */
.apro__right.apro__panel {
  background: var(--adv-paper);
}
.apro__right .apro__block {
  margin: 0;
  padding: 18px 0;
  border-bottom: 0;
  position: relative;
}
.apro__right .apro__block:first-child { padding-top: 0; }
.apro__right .apro__block:last-child { padding-bottom: 0; }
.apro__right .apro__block:not(:last-child)::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 18px 0 0;
  background: rgba(13, 28, 20, 0.14);
}
.apro__focus-line {
  margin: 0;
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.55;
  color: rgba(13, 28, 20, 0.68);
  max-width: 34rem;
}

.ahub-band--book {
  background: linear-gradient(180deg, #e8e2d4 0%, #ddd5c4 100%);
}
.abook {
  background: #fff;
  border: 1px solid rgba(13, 28, 20, 0.1);
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(12, 20, 16, 0.06);
}
.abook__lead {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.5);
}

.aday__slot {
  position: relative;
}
.aday__slot.is-busy,
.aday__slot:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
  background: rgba(13, 28, 20, 0.06) !important;
  color: rgba(13, 28, 20, 0.35) !important;
}
.aday__taken {
  display: block;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  margin-top: 2px;
}
.adeck__card--live .aday__slot.is-busy,
.adeck__card--live .aday__slot:disabled {
  background: rgba(0, 0, 0, 0.25) !important;
  color: rgba(248, 245, 236, 0.35) !important;
}

.abook__flow[hidden],
.abook__schedule[hidden] { display: none !important; }

.aflow {
  padding: 4px 2px 2px;
}
.aflow__steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.aflow__steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.35);
}
.aflow__steps li span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(13, 28, 20, 0.18);
  font-size: 11px;
}
.aflow__steps li.is-on { color: var(--adv-deep); }
.aflow__steps li.is-on span {
  background: var(--adv-gold);
  border-color: var(--adv-gold);
  color: var(--adv-a1);
}
.aflow__steps li.is-done { color: rgba(25, 56, 40, 0.7); }
.aflow__steps li.is-done span {
  background: rgba(25, 56, 40, 0.12);
  border-color: transparent;
}
.aflow__meta {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(13, 28, 20, 0.45);
}
.aflow__h {
  margin: 0 0 14px;
  font-family: var(--font-d, Philosopher, serif);
  font-size: 22px;
  line-height: 1.2;
}
.aflow__sources {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .aflow__sources { grid-template-columns: 1fr 1fr; }
}
.aflow__src {
  appearance: none;
  text-align: left;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: var(--adv-paper);
  border-radius: 10px;
  padding: 14px 14px 12px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.aflow__src:hover {
  border-color: rgba(196, 163, 90, 0.55);
  transform: translateY(-1px);
}
.aflow__src strong {
  font-size: 14px;
  color: var(--adv-deep);
}
.aflow__src span {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.5);
}
.aflow__casts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.aflow__cast {
  width: 100%;
  appearance: none;
  text-align: left;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  gap: 4px;
}
.aflow__cast:hover { border-color: rgba(196, 163, 90, 0.55); }
.aflow__cast strong { font-size: 14px; }
.aflow__cast span {
  font-size: 12px;
  color: rgba(13, 28, 20, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aflow__form { display: grid; gap: 12px; }
.aflow__field { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(13, 28, 20, 0.5); }
.aflow__field input,
.aflow__field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 14px;
  color: var(--adv-deep);
  border: 1px solid rgba(13, 28, 20, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.aflow__field input[readonly],
.aflow__field textarea[readonly] {
  background: rgba(13, 28, 20, 0.03);
  color: rgba(13, 28, 20, 0.7);
}
.aflow__row {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .aflow__row { grid-template-columns: 1fr 1fr; }
}
.aflow__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.aflow__back,
.aflow__link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.5);
  cursor: pointer;
  text-decoration: none;
}
.aflow__back:hover,
.aflow__link:hover { color: var(--adv-deep); }
.aflow__hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.48);
}
.aflow__dl {
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}
.aflow__dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.aflow__dl dt {
  font-size: 12px;
  font-weight: 600;
  color: rgba(13, 28, 20, 0.42);
}
.aflow__dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--adv-deep);
}
.aflow__success {
  padding: 8px 0 4px;
}
.aflow__ok {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(25, 56, 40, 0.7);
}
.adeck__book {
  margin-top: 16px;
  width: 100%;
  border: 0;
  cursor: pointer;
}


/* —— Advisors v36 book frame —— */
.ahub-band--book {
  background: linear-gradient(180deg, #e8e2d4 0%, #ddd5c4 100%);
}
.abook {
  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 28, 20, 0.1);
  border-radius: var(--r, 8px);
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(12, 20, 16, 0.06);
}
.abook__head {
  margin: 0 0 0;
  text-align: left;
}
.abook__title {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: var(--fs-d-section, 24px);
  line-height: 1.2;
  color: var(--adv-deep);
}
.abook__lead {
  margin: 8px 0 0;
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.55);
  max-width: none;
}
.abook__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 16px 0 18px;
  border: 0;
  background: rgba(13, 28, 20, 0.14);
}
.abook__step {
  margin: 0 0 10px;
  text-align: left;
  min-height: 0;
}
.abook__step-title {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: var(--fs-d-signal, 22px);
  line-height: 1.2;
  color: var(--adv-deep);
}
.abook__step-lead {
  margin: 6px 0 0;
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.4;
  color: rgba(13, 28, 20, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.abook__stage {
  --abook-stage-h: 420px;
  height: var(--abook-stage-h);
  min-height: var(--abook-stage-h);
  max-height: var(--abook-stage-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .abook__stage {
    --abook-stage-h: min(68dvh, 560px);
  }
  .aflow--confirm .aflow__scroll,
  .aflow--detail .aflow__scroll,
  .aflow--done .aflow__scroll {
    touch-action: pan-y;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .aflow__actions,
  .aflow__actions-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
  .aflow__actions .btn,
  .abook .btn {
    width: 100%;
    min-height: 48px;
  }
}
.abook__stage .aflow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
/* Must shrink in flex column so overflow is real (else stage clips, drag never arms) */
.aflow__scroll {
  flex: 1 1 0%;
  min-height: 0;
  height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.aflow__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.aflow__scroll.is-dragging { cursor: grabbing; }
.aflow__actions {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
}
.aflow__actions-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.ahub-band--book .btn {
  border-radius: var(--r, 8px);
}
.ahub-band--book .btn-primary {
  background: var(--adv-gold);
  color: var(--adv-a1);
}

.aflow__meta {
  margin: 0 0 12px;
  font-size: var(--fs-u-label, 12px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.42);
}
.aflow__hint {
  margin: 6px 0 0;
  font-size: var(--fs-u-label, 12px);
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.48);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.aflow__ok {
  margin: 0 0 8px;
  font-size: var(--fs-u-label, 12px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(25, 56, 40, 0.7);
}
.aflow__form { display: grid; gap: 12px; }
.aflow__field {
  display: grid;
  gap: 6px;
  font-size: var(--fs-u-label, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.48);
}
.aflow__field input,
.aflow__field textarea,
.adt__cell select,
.adt__cell input {
  font: inherit;
  font-weight: 400;
  font-size: var(--fs-b-meta, 15px);
  letter-spacing: 0;
  text-transform: none;
  color: var(--adv-deep);
  border: 1px solid rgba(13, 28, 20, 0.14);
  border-radius: var(--r, 8px);
  padding: 10px 12px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.aflow__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.aflow__fieldset legend {
  margin: 0 0 8px;
  padding: 0;
}

/* Format: two side boxes */
.aformat {
  display: grid;
  gap: 12px;
  align-content: start;
  align-items: stretch;
}
@media (min-width: 700px) {
  .aformat { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.aformat__card {
  appearance: none;
  text-align: left;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: var(--adv-paper);
  border-radius: var(--r, 8px);
  padding: 12px 12px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-content: start;
  height: 100%;
  min-height: 0;
  transition: border-color 0.25s ease;
}
@media (max-width: 700px) {
  .aflow--format .aflow__scroll {
    overflow: hidden;
    touch-action: pan-x;
  }
  .aformat {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .aformat {
    height: 100%;
  }
  .aformat__card {
    flex: 0 0 88%;
    scroll-snap-align: center;
    height: auto;
    max-height: 100%;
    overflow-y: auto;
    padding: 14px 14px 12px;
    gap: 6px;
  }
}
.aformat__card:hover { border-color: rgba(196, 163, 90, 0.55); }
.aformat__card.is-on {
  border-color: rgba(196, 163, 90, 0.85);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.35);
}
/* Type scale: u-title / d-signal / b-meta (WEB_DESIGN_SPEC) */
.aformat__name {
  margin: 0;
  font-family: var(--font-u, "Josefin Sans", sans-serif);
}
.aformat__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.aformat__price strong.d-signal {
  margin: 0;
  line-height: 1;
}
.aformat__price span.b-meta {
  opacity: 0.62;
}
.aformat__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 2px 0;
  border: 0;
  padding: 0;
  background: rgba(13, 28, 20, 0.12);
}
.aformat__list {
  margin: 0;
  padding: 0 0 0 1.1em;
  display: grid;
  gap: 3px;
  font-family: var(--font-u, "Josefin Sans", sans-serif);
  font-size: var(--fs-b-meta, 15px);
  font-weight: 400;
  letter-spacing: var(--ls-body, 0);
  line-height: 1.4;
  opacity: 0.72;
  text-transform: none;
}
.aformat__list li { margin: 0; }
/* Rule + explanation sit together at the card bottom (both cards align) */
.aformat__foot {
  margin-top: auto;
  display: grid;
  gap: 6px;
  width: 100%;
  padding-top: 2px;
}
.aformat__foot .aformat__rule { margin: 0; }
.aformat__blurb {
  margin: 0;
  font-family: var(--font-u, "Josefin Sans", sans-serif);
  font-size: var(--fs-u-label, 12px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
  color: rgba(13, 28, 20, 0.52);
}

/* Selectable tiles: max 3 per row (source / saved casts / options) */
.atile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
@media (max-width: 700px) {
  .atile-grid { grid-template-columns: 1fr; }
}
.atile {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid rgba(13, 28, 20, 0.12);
  background: var(--adv-paper);
  border-radius: var(--r, 8px);
  padding: 12px 12px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  transition: border-color 0.2s ease;
}
.atile:hover { border-color: rgba(196, 163, 90, 0.55); }
.atile.is-on {
  border-color: rgba(196, 163, 90, 0.85);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.35);
}
.atile__title { margin: 0; }
.atile__blurb {
  margin: 0;
  opacity: 0.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Day rail: ~2.4 visible so the next day peeks */
.aday-rail {
  --shelf-show: 2.4;
  --shelf-gap: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  margin-top: 4px;
  flex: 1;
  min-height: 0;
}
.aday-rail.is-grabbing { cursor: grabbing; }
.aday-track {
  display: flex;
  gap: 10px;
  width: 100%;
  will-change: transform;
  user-select: none;
}
.aday-rail .aday-card {
  flex: 0 0 calc((100% - var(--shelf-gap, 10px) * (var(--shelf-show, 2.4) - 1)) / var(--shelf-show, 2.4));
  max-width: calc((100% - var(--shelf-gap, 10px) * (var(--shelf-show, 2.4) - 1)) / var(--shelf-show, 2.4));
  box-sizing: border-box;
  min-height: 220px;
}
.aday-rail__hint {
  margin: 10px 0 0;
  font-size: var(--fs-u-label, 12px);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(13, 28, 20, 0.42);
}
@media (max-width: 640px) {
  .aday-rail { --shelf-show: 2.15; }
}

/* Time slots */
.aday__slot.is-busy,
.aday__slot:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0;
  color: rgba(13, 28, 20, 0.4);
  background: rgba(13, 28, 20, 0.05);
}
.aday__taken { display: none; }

.aflow__dl {
  margin: 0;
  display: grid;
  gap: 0;
  min-width: 0;
}
.aflow__dl > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.aflow__dl dt {
  font-size: var(--fs-u-label, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.42);
}
.aflow__dl dd {
  margin: 0;
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.45;
  color: var(--adv-deep);
  overflow-wrap: anywhere;
}

/* Review + confirm: dl + hex side by side, no overlap */
.areview {
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 700px) {
  .areview {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 20px;
  }
}

.adt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 700px) {
  .adt { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.adt__cell {
  display: grid;
  gap: 6px;
  font-size: var(--fs-u-label, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 28, 20, 0.48);
  min-width: 0;
}

.aedit {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.ahex-edit {
  display: grid;
  gap: 14px;
  align-items: start;
  min-width: 0;
}
@media (min-width: 700px) {
  .ahex-edit {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 18px;
  }
}

/* Cast yao standard — cast-yao-rail dims, ink-on-paper */
.abook .cast-yao-rail,
.ahex-preview.cast-yao-rail {
  position: static;
  z-index: auto;
  right: auto;
  top: auto;
  width: 83px;
  margin: 0 auto;
  display: grid;
  gap: 7px;
  justify-items: center;
  transform: none;
}
.abook .cast-yao-rail .yao,
.ahex-preview .yao {
  width: 83px;
  height: 8px;
  border-radius: 3px;
  background: rgba(13, 28, 20, 0.14);
  opacity: 0.55;
  transform: scaleX(0.96);
}
.abook .cast-yao-rail .yao.on,
.ahex-preview .yao.on {
  opacity: 1;
  transform: scaleX(1);
  background: #0d1c14;
}
.abook .cast-yao-rail .yao.on.is-yin,
.ahex-preview .yao.on.is-yin {
  background: linear-gradient(
    90deg,
    #0d1c14 0 38px,
    transparent 38px 45px,
    #0d1c14 45px 83px
  );
}
.abook .cast-yao-rail .yao.on.is-moving,
.ahex-preview .yao.on.is-moving {
  background: #c4a35a;
}
.abook .cast-yao-rail .yao.on.is-yin.is-moving,
.ahex-preview .yao.on.is-yin.is-moving {
  background: linear-gradient(
    90deg,
    #c4a35a 0 38px,
    transparent 38px 45px,
    #c4a35a 45px 83px
  );
}
.ahex-preview__count {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(13, 28, 20, 0.42);
  text-align: center;
}

/* v36.1 tile3 + day rail */

/* —— Step slide (quiet: small x + opacity · ~GX_PAGE leave) —— */
.abook__stage {
  overflow-x: hidden;
}
.abook__step {
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.abook__step.is-swap {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
}
.abook__step.is-swap-in {
  animation: abook-step-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes abook-step-in {
  from {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.abook__stage .aflow {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  will-change: transform, opacity;
}
.abook__stage .aflow.is-leave-next {
  transform: translate3d(-36px, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.abook__stage .aflow.is-leave-back {
  transform: translate3d(36px, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.abook__stage .aflow.is-enter-next {
  transform: translate3d(36px, 0, 0);
  opacity: 0;
  transition: none;
}
.abook__stage .aflow.is-enter-back {
  transform: translate3d(-36px, 0, 0);
  opacity: 0;
  transition: none;
}
.abook__stage .aflow.is-enter-active {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .abook__step,
  .abook__stage .aflow {
    transition: none !important;
    animation: none !important;
  }
}



/* Book section title outside the tool card */
.abook-sec {
  margin: 0 0 16px;
  text-align: left;
}
.abook-sec__title {
  margin: 0;
  font-family: var(--font-d, Philosopher, serif);
  font-size: var(--fs-d-section, 24px);
  line-height: 1.2;
  color: var(--adv-deep);
}
.abook-sec__lead {
  margin: 8px 0 0;
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.45;
  color: rgba(13, 28, 20, 0.55);
  max-width: 36rem;
}
.abook .abook__step-title {
  font-size: var(--fs-u-title, 18px);
  font-family: var(--font-u, "Josefin Sans", sans-serif);
  font-weight: 600;
  letter-spacing: 0;
}
.abook .abook__step-lead {
  margin-top: 6px;
  font-size: var(--fs-b-meta, 15px);
}
.abook .abook__head,
.abook .abook__rule { display: none; }



/* Day card: fixed date head · scrollable times */
.aday-rail .aday-card {
  height: 210px;
  min-height: 210px;
  max-height: 210px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 8px 8px;
}
/* Time step: day cards fill the middle pane (leave room for hint + actions) */
.aflow--time > .aflow__scroll {
  display: flex;
  flex-direction: column;
  padding-bottom: 2px;
}
.aflow--time .aday-rail {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}
.aflow--time .aday-track {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}
.aflow--time .aday-rail .aday-card {
  height: 100%;
  min-height: 0;
  max-height: none;
  align-self: stretch;
}
.aflow--time .aday-rail__hint {
  flex: 0 0 auto;
  margin: 8px 0 0;
}
.aday-card__head {
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(13, 28, 20, 0.08);
}
.aday-card__head .aday-card__dow { margin: 0 0 2px; }
.aday-card__head .aday-card__date { margin: 0; }
.aday-rail .aday-card__times {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: none;
  cursor: grab;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.aday-rail .aday-card__times.is-dragging { cursor: grabbing; }
.aday-rail .aday-card__times::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Manual step: compact summary inside fixed stage */
.aman-summary {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.aman-summary__body {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 12px 12px 10px;
  border: 1px solid rgba(13, 28, 20, 0.1);
  border-radius: var(--r, 8px);
  background: rgba(248, 245, 236, 0.55);
}
@media (min-width: 700px) {
  .aman-summary__body {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 14px;
  }
}
.aman-summary .btn {
  justify-self: start;
  border-radius: var(--r, 8px);
}

/* Confirm: denser so notes stay above fixed actions */
.aflow--confirm .areview { gap: 10px; }
.aflow--confirm .aflow__dl { gap: 6px; }
.aflow--confirm .aflow__dl dd {
  font-size: var(--fs-b-meta, 15px);
  line-height: 1.35;
}
.aflow__notes {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-bottom: 2px;
}
/* Keep Cast yao geometry (83×8 + yin gaps); scale whole rail — never retarget bar widths */
.abook .aflow--confirm .cast-yao-rail,
.abook .aflow--confirm .ahex-preview.cast-yao-rail,
.abook .aman-summary .cast-yao-rail,
.abook .aman-summary .ahex-preview.cast-yao-rail {
  width: 83px;
  transform: scale(0.88);
  transform-origin: top center;
}

/* Edit modal uses site gx-modal rise; panel is flex shell */
.abook-edit-modal .abook-edit-panel {
  width: min(100%, 520px);
  max-height: min(86dvh, 640px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.abook-edit-panel__head {
  flex: 0 0 auto;
  padding: 22px 24px 10px;
}
.abook-edit-panel__head .gx-modal__title { margin-bottom: 6px; }
.abook-edit-panel__head .gx-modal__body { margin: 0; }
.abook-edit-panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.abook-edit-panel__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.abook-edit-panel__scroll.is-dragging { cursor: grabbing; }
.abook-edit-panel__foot {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(13, 28, 20, 0.08);
  justify-content: space-between;
}
.abook-edit-panel__foot .btn { border-radius: var(--r, 8px); }
html.is-abook-sheet,
html.is-abook-sheet body {
  overflow: hidden;
}

