/* =============================================================================
   Site — global chrome (logo, sticky header, footer) + landing page sections.
   Depends on all files above.
   ========================================================================== */

/* --- Logo wordmark -------------------------------------------------------- */
/* Text-built version of the mood-board mark: heavy magenta "ART" + a light
   italic "for that". Scales cleanly, no raster asset needed. */
.aft-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-weight: var(--fw-black);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-ink);
}
.aft-logo__art {
  font-size: 1.55em;
  color: var(--c-magenta);
  -webkit-text-stroke: 1px var(--c-ink);
  text-shadow: 2px 2px 0 var(--c-ink);
}
.aft-logo__for {
  font-family: var(--font-mono);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: 0.62em;
  letter-spacing: 0;
  color: var(--c-ink);
  transform: translateY(0.1em);
}

/* --- Sticky header ------------------------------------------------------- */
.aft-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--c-white) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--bw) solid var(--c-ink);
}
.aft-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: 5.75rem;
}
.aft-header .aft-logo { font-size: 1.5rem; }

/* Raster logo (the glossy wordmark) — used on light chrome only. */
.aft-logo-link { display: inline-flex; align-items: center; }
.aft-logo-img { height: 3.25rem; width: auto; display: block; }
@media (max-width: 30rem) { .aft-logo-img { height: 2.6rem; } }

.aft-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.aft-nav__link {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-snug);
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 0.6em 1em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.aft-nav__link:hover, .aft-nav__link:focus-visible { border-color: var(--c-ink); outline: none; }
.aft-nav__link[aria-current="page"] { background: var(--c-magenta); color: var(--c-ink); border-color: var(--c-ink); }

.aft-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Mobile menu toggle (progressively enhanced; nav still reachable) */
.aft-nav-toggle { display: none; }

@media (max-width: 70rem) {
  .aft-header__nav { display: none; }
  .aft-header__actions .aft-btn--ghost { display: none; }
}

/* --- Hero: the 50/50 "why" split ----------------------------------------- */
.aft-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.aft-hero__head {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.aft-hero__title {
  font-size: var(--fs-3xl);
  margin-block: var(--sp-4) var(--sp-4);
}
.aft-hero__title .aft-period { color: var(--c-magenta); }
.aft-hero__sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 40rem;
  line-height: var(--lh-relaxed);
}

.aft-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
@media (max-width: 54rem) { .aft-split { grid-template-columns: 1fr; } }

.aft-why__eyebrow { margin-bottom: var(--sp-3); }
.aft-why__title { margin-bottom: var(--sp-4); }
.aft-why__list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.aft-why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  line-height: var(--lh-normal);
}
.aft-why__item::before {
  content: "";
  margin-top: 0.55em;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--c-ink);
  border-radius: 3px;
  flex: none;
}
.aft-panel--magenta .aft-why__item::before { background: var(--c-magenta); }
.aft-panel--lime .aft-why__item::before { background: var(--c-lime); }
.aft-why__foot { margin-top: auto; }
.aft-why__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--sp-3);
}

/* --- Featured / slideshow band ------------------------------------------- */
.aft-featured {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: var(--c-on-ink);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: var(--bw-thick) solid var(--c-ink);
  box-shadow: var(--shadow-lime);
}
.aft-featured__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 54rem) { .aft-featured__grid { grid-template-columns: 1fr; } }
.aft-featured h2 { color: var(--c-white); }
.aft-featured .aft-lead { color: var(--c-on-ink-muted); }
.aft-featured__meta { color: var(--c-lime); }
/* Decorative offset glyph */
.aft-featured::after {
  content: "★";
  position: absolute;
  right: -1.5rem; bottom: -3rem;
  font-size: 14rem;
  line-height: 1;
  color: var(--c-magenta);
  opacity: 0.16;
  pointer-events: none;
}

/* Slide dots */
.aft-dots { display: flex; gap: var(--sp-2); }
.aft-dots__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid var(--c-white); }
.aft-dots__dot.is-active { background: var(--c-magenta); border-color: var(--c-magenta); }

/* --- Recently added calls ------------------------------------------------ */
.aft-calls__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.aft-calls__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 72rem) { .aft-calls__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 48rem) { .aft-calls__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .aft-calls__grid { grid-template-columns: 1fr; } }

.aft-call { gap: var(--sp-3); }
.aft-call__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.aft-call__title { font-size: var(--fs-md); font-weight: var(--fw-heavy); letter-spacing: var(--tracking-snug); line-height: var(--lh-snug); }
.aft-call__org { font-size: var(--fs-sm); color: var(--text-muted); }
.aft-call__foot {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 2px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.aft-call__pay { font-family: var(--font-mono); font-weight: var(--fw-bold); }
.aft-call__closes { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-muted); }

/* --- Promotion CTA band -------------------------------------------------- */
.aft-promo {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--c-lime);
  border: var(--bw-thick) solid var(--c-ink);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-ink);
}
@media (max-width: 46rem) { .aft-promo { grid-template-columns: 1fr; } }
.aft-promo h2 { font-size: var(--fs-xl); }

/* --- Footer -------------------------------------------------------------- */
.aft-footer {
  background: var(--c-ink);
  color: var(--c-on-ink);
  padding-block: clamp(3rem, 6vw, 5rem) var(--sp-6);
}
.aft-footer__logo { height: 3.5rem; margin-bottom: var(--sp-2); }
.aft-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 2px solid var(--c-on-ink-line);
}
@media (max-width: 52rem) { .aft-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 32rem) { .aft-footer__grid { grid-template-columns: 1fr; } }
.aft-footer__col h5 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-on-ink-muted);
  margin-bottom: var(--sp-3);
}
.aft-footer__col a { display: block; color: var(--c-white); padding-block: 0.28em; }
.aft-footer__col a:hover { color: var(--c-lime); }
.aft-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-on-ink-muted);
}

/* --- Skip link ----------------------------------------------------------- */
.aft-skip {
  position: absolute;
  left: var(--sp-4); top: -4rem;
  z-index: 200;
  background: var(--c-ink);
  color: var(--c-white);
  padding: 0.6em 1.1em;
  border-radius: var(--radius);
  transition: top var(--dur) var(--ease);
}
.aft-skip:focus { top: var(--sp-4); }
