/* ============================================================
   AureliusOps — styles.css
   Cinzel + Inter · dark/gold · restraint over flood
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:         #0B0B0D;
  --bg-elev:    #141418;
  --gold-hi:    #F6DE98;
  --gold:       #E7C46A;
  --gold-deep:  #C99A34;
  --gold-dark:  #9C761F;
  --gold-muted: #8A6630;
  --ivory:      #F4F1EA;
  --ivory-dim:  rgba(244, 241, 234, 0.82);

  --maxw: 1080px;
  --hairline: rgba(156, 118, 31, 0.28); /* gold-dark @ low opacity */

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

h1, h2, h3 { margin: 0; font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 760px; }

.section {
  padding-block: 140px;
  border-top: 1px solid var(--hairline);
}
.section--elev { background: var(--bg-elev); }

@media (max-width: 720px) {
  .section { padding-block: 84px; }
  body { font-size: 17px; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
}
.eyebrow--center { text-align: center; }

/* ---------- Section title ---------- */
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(1.4rem, 1rem + 1.9vw, 2.05rem);
  line-height: 1.3;
  color: var(--ivory);
}
.section__intro {
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--ivory-dim);
}
.section__note {
  margin: 40px 0 0;
  font-size: 0.9rem;
  color: var(--ivory-dim);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo { height: 54px; width: auto; max-width: 62vw; display: block; filter: brightness(1.08); }

@media (max-width: 560px) {
  .nav__inner { padding: 10px 16px; gap: 12px; }
  .nav__logo { height: 34px; }
  .nav__cta { padding: 9px 15px; font-size: 0.82rem; }
}
.nav__brand { display: inline-flex; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
/* Primary: flat gold, no gradient/glow/bevel */
.btn--gold {
  background: var(--gold);
  color: #0B0B0D;
}
.btn--gold:hover { background: var(--gold-hi); color: #0B0B0D; }
.btn--gold:active { transform: translateY(1px); }
/* Secondary: ghost (used by the nav button) */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(231, 196, 106, 0.08);
  color: var(--gold-hi);
}
.btn--ghost:active { transform: translateY(1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 96px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0.75;
  pointer-events: none;
}
/* radial vignette so text stays clean over the asset */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 12%, rgba(11,11,13,0.72) 48%, rgba(11,11,13,0.35) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.5rem);
  line-height: 1.08;
  color: var(--ivory);
  max-width: 15ch;
}
/* the payoff word, set on its own line as the inscription accent */
.hero__title-accent {
  display: block;
  margin-top: 0.08em;
  font-size: 1.06em;
  letter-spacing: 0em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subhead {
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 1.12rem;
  color: var(--ivory-dim);
}
.hero__actions { margin-top: 40px; }
.hero__trust {
  margin: 22px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-muted);
  max-width: 54ch;
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding-block: 72px; }
  .hero__bg { opacity: 0.12; background-position: center; }
  .hero::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,0.8) 100%);
  }
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin: 44px 0 0;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(20, 20, 24, 0.6);
}
@media (max-width: 400px) {
  .badge { font-size: 0.72rem; border-radius: 14px; }
}
.badge__node {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 196, 106, 0.14);
}
.install__qualify {
  margin: 22px 0 0;
  max-width: 70ch;
  font-size: 0.92rem;
  color: var(--ivory);
}

/* ============================================================
   THE INSTALL — cards
   ============================================================ */
.cards {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 32px 30px 30px;
}
/* small sequence index, top-right corner */
.card__num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold-muted);
}
/* icon marker */
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(231, 196, 106, 0.05);
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 12px;
}
.card__body {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 0.97rem;
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS — steps timeline
   ============================================================ */
.steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
/* connecting line (desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark) 12%, var(--gold-dark) 88%, transparent);
  opacity: 0.5;
}
.step { position: relative; padding-top: 62px; }
.step__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--bg-elev);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
}
.step__node svg { width: 20px; height: 20px; }
.step__index {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 8px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 10px;
}
.step__body { margin: 0; color: var(--ivory-dim); font-size: 0.94rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before {
    top: 6px; bottom: 6px; left: 21px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--gold-dark) 8%, var(--gold-dark) 92%, transparent);
  }
  .step { padding: 4px 0 36px 64px; }
  .step:last-child { padding-bottom: 0; }
  .step__node { top: 0; left: 0; }
}

/* ============================================================
   GUARANTEE — signature plaque
   ============================================================ */
.guarantee {
  background: var(--bg);
  padding-block: 148px;
  border-top: 1px solid var(--hairline);
}
.plaque {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  padding: 72px 56px;
  box-shadow: inset 0 0 0 1px rgba(11, 11, 13, 0.9),
              inset 0 0 0 6px var(--bg-elev),
              inset 0 0 0 7px var(--gold-muted);
}
/* engraved corner ticks */
.plaque::before,
.plaque::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--gold-muted);
  opacity: 0.8;
}
.plaque::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.plaque::after  { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

.plaque__inscription {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(1.45rem, 0.95rem + 2.2vw, 2.15rem);
  line-height: 1.22;
  margin: 8px auto 0;
  max-width: 20ch;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plaque__cost {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: center;
}
.plaque__copy {
  margin: 28px auto 0;
  max-width: 62ch;
  color: var(--ivory-dim);
}
.plaque__sub {
  margin: 26px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.guarantee__cta { margin-top: 60px; text-align: center; }

@media (max-width: 720px) {
  .guarantee { padding-block: 84px; }
  .plaque { padding: 48px 28px; }
  .guarantee__cta { margin-top: 48px; }
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  column-gap: 56px;
  row-gap: 36px;
  align-items: start;
}
/* heading spans the full width so it sits on one line */
.founder__header { grid-column: 1 / -1; }
/* headshot beside the body copy, in the left column */
.founder__bio {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.founder__figure {
  margin: 0;
  flex: 0 0 auto;
}
.founder__figure img {
  display: block;
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gold-dark);
}
.founder__bodywrap > .founder__body:first-child { margin-top: 0; }
.founder__body { margin: 22px 0 0; color: var(--ivory-dim); }

@media (max-width: 600px) {
  .founder__bio { flex-direction: column; gap: 24px; }
  .founder__figure { width: 100%; }
  .founder__figure img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 3 / 4;
  }
}
.founder__link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.creds {
  background:
    linear-gradient(180deg, rgba(231, 196, 106, 0.07), rgba(231, 196, 106, 0) 40%),
    var(--bg-elev);
  border: 1px solid var(--gold-dark);
  border-radius: 14px;
  padding: 26px 30px 30px;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.creds__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.creds__list { list-style: none; margin: 0; padding: 0; }
.creds__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ivory);
  border-top: 1px solid var(--hairline);
}
.creds__item:first-of-type { border-top: 0; }
.creds__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Results (future) ---------- */
.results {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.results__item {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 32px 20px;
  background: var(--bg-elev);
}
.results__stat {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
}
.results__label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}

/* ============================================================
   QUESTIONS — native <details>, no JS
   ============================================================ */
.faq {
  margin-top: 44px;
  border-top: 1px solid var(--hairline);
}
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 24px 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ivory);
}
.faq__q::-webkit-details-marker { display: none; }
/* small gold node marker (brand circuit motif) */
.faq__q::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}
/* open/close affordance */
.faq__q::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__q:hover { color: var(--gold-hi); }
.faq__a {
  margin: 0;
  padding: 0 24px 26px 21px;
  color: var(--ivory-dim);
  font-size: 0.97rem;
}

/* ============================================================
   BOOK
   ============================================================ */
.book__copy { margin: 24px 0 0; color: var(--ivory-dim); max-width: 60ch; }
.book__copy--tight { margin-top: 12px; }
.book__cta { margin-top: 40px; }
.book__fallback {
  margin: 22px 2px 0;
  font-size: 0.88rem;
  color: var(--ivory-dim);
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  height: min(82vh, 760px);
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.modal__close {
  position: absolute;
  top: 6px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.modal__close:hover { color: #000; }
.modal__body { width: 100%; height: 100%; }
.modal__body iframe { display: block; width: 100%; height: 100%; border: 0; }

/* large CTA variant for the closing button */
.btn--lg {
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 56px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__wordmark {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.footer__line { margin: 0; color: var(--ivory-dim); font-size: 0.92rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.92rem;
}
.footer__legal, .footer__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ivory-dim);
}
.footer__meta { max-width: 60ch; }

/* ============================================================
   LEGAL / PRIVACY PAGE
   ============================================================ */
.legal { padding-block: 88px; }
.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.6rem);
  color: var(--ivory);
}
.legal__updated {
  margin: 12px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-muted);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.2rem;
  color: var(--ivory);
  margin: 48px 0 12px;
}
.legal p { margin: 0 0 16px; color: var(--ivory-dim); }
.notfound__cta { margin-top: 28px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: var(--ivory-dim); }
.legal li { margin: 0 0 8px; }
.legal a:not(.btn) { color: var(--gold); }

/* ============================================================
   Scroll fade-up (progressive enhancement)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
