/* Styles for /advisory and /advisory/onboarding.
 *
 * Loaded after styles.css. Every rule is scoped to .advisory-page — the body
 * class those two pages carry — so nothing here can reach the rest of the
 * site. Colours and fonts come from the tokens in styles.css.
 *
 * The package list is deliberately editorial: one offering per full-width row
 * with a rule between them, not a grid of interchangeable cards. Nothing is
 * hidden behind a reveal animation, so the whole page reads with JavaScript
 * off.
 */

.advisory-page {
  --advisory-rule: 1px solid var(--border-light);
  --advisory-gutter: 24px;
}

/* SHELL */

.advisory-page .advisory-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--advisory-gutter);
}

.advisory-page .advisory-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-primary);
  border-bottom: var(--advisory-rule);
}

.advisory-page .advisory-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px var(--advisory-gutter);
}

.advisory-page .advisory-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.advisory-page .advisory-logo img {
  display: block;
  width: auto;
  height: 30px;
}

.advisory-page .advisory-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: 0.95rem;
}

.advisory-page .advisory-nav a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.advisory-page .advisory-nav a:hover {
  color: var(--text-primary);
}

.advisory-page .advisory-nav a[aria-current="page"] {
  color: var(--text-primary);
  border-bottom-color: var(--gold);
}

/* HERO */

.advisory-page .advisory-hero {
  padding: clamp(56px, 11vw, 128px) 0 clamp(44px, 8vw, 88px);
  border-bottom: var(--advisory-rule);
}

.advisory-page .advisory-eyebrow {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.advisory-page .advisory-hero-title {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.advisory-page .advisory-hero-intro {
  max-width: 62ch;
  margin-top: 26px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* SECTIONS */

.advisory-page .advisory-packages {
  padding: clamp(40px, 6vw, 64px) 0;
}

.advisory-page .advisory-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.advisory-page .advisory-pricing-note {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* THE THREE OFFERINGS */

.advisory-page .advisory-package {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px 56px;
  border-top: var(--advisory-rule);
  padding: clamp(32px, 5vw, 56px) 0;
}

.advisory-page .advisory-package:first-of-type {
  margin-top: clamp(32px, 5vw, 48px);
}

.advisory-page .advisory-package-meta,
.advisory-page .advisory-package-body {
  min-width: 0;
}

.advisory-page .advisory-package-tier {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.advisory-page .advisory-package-index {
  margin-right: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}

.advisory-page .advisory-package-name {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 400;
  line-height: 1.12;
}

.advisory-page .advisory-package-price {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.advisory-page .advisory-price-terms {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
}

.advisory-page .advisory-deliverables {
  margin: 0 0 26px;
  list-style: none;
}

.advisory-page .advisory-deliverables li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.advisory-page .advisory-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* CALLS TO ACTION */

.advisory-page .advisory-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.advisory-page .advisory-cta:hover {
  border-color: var(--text-primary);
  background: var(--accent);
}

.advisory-page .advisory-cta:focus {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.advisory-page .advisory-cta:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
  border-color: var(--text-primary);
}

.advisory-page .advisory-cta[aria-disabled="true"],
.advisory-page .advisory-cta[aria-disabled="true"]:hover {
  border-color: var(--border-light);
  border-style: dashed;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: not-allowed;
}

/* HOW IT WORKS */

.advisory-page .advisory-steps {
  border-top: var(--advisory-rule);
  padding: clamp(48px, 8vw, 80px) 0;
}

.advisory-page .advisory-step-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-top: 32px;
  list-style: none;
}

.advisory-page .advisory-step {
  min-width: 0;
}

.advisory-page .advisory-step-index {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.advisory-page .advisory-step-title {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.advisory-page .advisory-step-copy {
  color: var(--text-secondary);
}

.advisory-page .advisory-step .advisory-cta {
  margin-top: 18px;
}

/* STATUS, CONTACT AND FOOTER */

.advisory-page .advisory-status {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.advisory-page .advisory-contact {
  border-top: var(--advisory-rule);
  padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 8vw, 72px);
}

.advisory-page .advisory-contact-copy {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--text-secondary);
}

.advisory-page .advisory-contact-copy a,
.advisory-page .advisory-noscript a,
.advisory-page .advisory-footer a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.advisory-page .advisory-noscript {
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.advisory-page .advisory-noscript-container {
  padding-top: clamp(24px, 4vw, 40px);
}

.advisory-page .advisory-footer {
  border-top: var(--advisory-rule);
  background: var(--bg-secondary);
}

.advisory-page .advisory-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.advisory-page .advisory-footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.advisory-page .advisory-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: var(--text-secondary);
}

.advisory-page .advisory-footer-credit {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* WIDER SCREENS */

@media (min-width: 800px) {
  .advisory-page .advisory-package {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px 64px;
    align-items: start;
  }

  .advisory-page .advisory-step-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
  }
}

/* NARROW SCREENS */

@media (max-width: 560px) {
  .advisory-page {
    --advisory-gutter: 20px;
  }

  .advisory-page .advisory-nav {
    gap: 2px 16px;
    font-size: 0.9rem;
  }

  .advisory-page .advisory-cta {
    width: 100%;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .advisory-page *,
  .advisory-page *::before,
  .advisory-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.advisory-page .advisory-package-intro { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.advisory-page .advisory-package-scope { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin: 0 0 24px; }
.advisory-page .advisory-nav .founder-nav-cta { color: var(--bg-primary); padding: 10px 14px; border-bottom: 0; }
.advisory-page .advisory-nav .founder-nav-cta:hover { color: var(--bg-primary); }
