/* ==========================================================================
   ANTEAMBULO — inner pages
   Loaded only by the generated routes, after styles.css. Home does not
   download it. Same tokens, same ladder, same type scale as styles.css —
   this is an extension, not a second design system.
   ========================================================================== */

/* The inner nav is solid from the start: it has no video to sit on, so the
   transparent-until-scrolled behaviour would leave it floating over copy. */
.nav--solid {
  background: rgba(35, 31, 32, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hairline);
}

.nav__link.is-active { color: var(--ivory-100); }

/* The nav is fixed, so the document has to start below it. */
.page main { padding-top: 76px; }

.shell--prose { max-width: 760px; }

.page-head { padding-block: 64px 40px; }
.page-head--tall { padding-block: 96px 72px; }
.page-head__note { max-width: 46ch; margin-top: 22px; }

/* One step down from the home hero. At 96px over a plate the headline IS the
   page; here it opens a document that keeps going. */
.display--page {
  font-size: clamp(34px, 6.6vw, 68px);
  line-height: 0.92;
  margin-bottom: 0;
}

.h2--sm { font-size: clamp(24px, 3.2vw, 30px); line-height: 1; }

.h3 {
  margin: 36px 0 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ivory-100);
}

.section__head--stack { display: block; }
.section__head--stack .section__note { text-align: left; max-width: 52ch; }

.inline-link { color: var(--gold-600); text-decoration: none; white-space: nowrap; }
.inline-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ prose */

/* Georgia for long-form body, per the brief. Kept off the marketing sections,
   where Montserrat 300 carries the voice. */
.prose {
  font-family: var(--font-accent);
  font-size: 17px;
  line-height: 1.65;
  color: var(--sand-300);
}
.prose--tight { font-size: 16px; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ivory-100); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 24px 0;
  padding-left: 20px;
  border-left: 2px solid var(--gold-600);
  font-style: italic;
  color: var(--ivory-100);
}
.prose a { color: var(--gold-600); }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-display);
  font-size: 14px;
}
.table-wrap th, .table-wrap td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}
.table-wrap th {
  font-weight: 500;
  color: var(--ivory-100);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ grids */

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr; }
.split--tight { gap: 20px; }

/* ------------------------------------------------------------------ stats */

.stat { border-left: 1px solid var(--hairline); padding-left: 20px; }
.stat__figure {
  margin: 0;
  font-size: 44px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--gold-600);
}
.stat__body {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sand-300);
}

/* ------------------------------------------------------------------ tiers */

.tier {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--tile-700);
  padding: 28px 24px;
}

/* The main offer is marked with a gold edge and carries the only filled
   button in the row, so the eye still has one place to land. `inset` keeps M3
   intact — this is a border drawn as a ring, not a drop shadow. */
.tier--lead { box-shadow: inset 0 0 0 1px var(--gold-600); }

/* Gold text on a TILE uses --gold-300, not --gold-600: at 11px the 600 measures
   4.43:1 on #473C2E, just under AA. On canvas and band the 600 is fine. */
.tier__badge { margin: 0 0 14px; color: var(--gold-300); }
.tier__name {
  margin: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 0.9;
  color: var(--ivory-100);
}
.tier__line {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--sand-300);
}

.tier__list { margin: 20px 0 0; padding: 0; list-style: none; }
.tier__list li {
  position: relative;
  padding: 0 0 10px 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--sand-300);
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--gold-600);
}

.tier__for {
  margin: 18px 0 24px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--sand-400);
}
.tier__for .mono-micro { display: block; margin-bottom: 4px; color: var(--sand-400); }
.tier__cta { margin-top: auto; align-self: flex-start; }

.btn--ghost {
  background: transparent;
  color: var(--ivory-100);
  border-color: rgba(253, 251, 246, 0.25);
  font-weight: 400;   /* design-system.md ghost button: Montserrat 400 */
}
.btn--ghost:hover { background: var(--glass); }

/* ------------------------------------------------------------------ ticks */

.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 0 0 12px 22px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--sand-300);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold-600);
}
.ticks--plain li { padding-bottom: 18px; }
.ticks--plain strong { color: var(--ivory-100); font-weight: 500; }

/* ---------------------------------------------------------------- gallery */

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery__slot {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px dashed var(--hairline);
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-400);
}

/* ---------------------------------------------------------------- entries */

.entries { display: grid; gap: 16px; grid-template-columns: 1fr; }
.entry {
  display: block;
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--tile-700);
  text-decoration: none;
  transition: background-color var(--ease-state);
}
.entry:hover { background: var(--tile-600); }
.entry__kicker { margin: 0; color: var(--gold-300); }   /* same tile rule */
.entry__title {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 0.95;
  color: var(--ivory-100);
}
.entry__meta { margin: 10px 0 0; color: var(--sand-400); }
.entry__note {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--sand-300);
}

.empty-note {
  margin: 0;
  padding: 40px 24px;
  border: 1px dashed var(--hairline);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sand-300);
}

.article__meta { margin: 18px 0 0; color: var(--sand-400); }
.article .prose { margin-top: 32px; }
.article__back { margin: 40px 0 0; font-size: 14px; }
.article__back a { color: var(--gold-600); text-decoration: none; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }

.book {
  border-radius: 16px;
  background: var(--tile-700);
  padding: 28px 24px;
  align-self: start;
}
.book__body {
  margin: 14px 0 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sand-300);
}
.book__cta { width: 100%; }
.book__alt { margin: 16px 0 0; font-size: 13px; font-weight: 300; color: var(--sand-400); }
.book__alt a { color: var(--ivory-100); }

.form { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--sand-300); }

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(253, 251, 246, 0.04);
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  color: var(--ivory-100);
  outline: none;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field select { appearance: none; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--sand-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-600); }
.form.is-invalid [required]:invalid { border-color: rgba(226, 122, 104, 0.85); }

/* Hidden from people, irresistible to bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { justify-self: start; margin-top: 4px; }
.form__note {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--sand-300);
  min-height: 1.2em;
}

/* -------------------------------------------------------------------- faq */

.faq { margin-top: 8px; border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;   /* body */
  color: var(--ivory-100);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 1px solid var(--gold-600);
  border-bottom: 1px solid var(--gold-600);
  transform: rotate(45deg);
  transition: transform var(--ease-state);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__body { padding: 0 0 20px; }
.faq__body p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--sand-300);
}

/* --------------------------------------------------------------- cta band */

.cta-band__inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 400; }   /* nav link: 400 */
.footer__nav a { color: var(--sand-300); text-decoration: none; }
.footer__nav a:hover { color: var(--ivory-100); }

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form__submit, .form__note { grid-column: 1 / -1; }
  .entries { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .page main { padding-top: 84px; }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--tight { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  .entries { grid-template-columns: repeat(3, 1fr); }
  .page-head { padding-block: 88px 56px; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
