/* ============================================================
   Aion Limited Media
   Marketing and education agency. Nothing is sold here.
   Style: warm paper, editorial, hairline rules, terracotta accent.
   ============================================================ */

:root {
  --bg: #f7f5f1;
  --paper-2: #fbfaf7;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --border: #e8e5df;
  --accent: #b26a4a;
  --sage: #6a8a66;
  --dusty: #a6bbd0;
  --highlight: #efe9dd;

  --wash-cool: linear-gradient(135deg, #f0ece2, #dee5ec);
  --wash-warm: linear-gradient(180deg, #fbfaf7, #f1ede5);

  --maxw: 1320px;
  --pad: clamp(18px, 4.5vw, 56px);
  --font-sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Mono labels ---------- */
.label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); display: inline-block;
}
.label.light { color: rgba(247, 245, 241, .65); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.45rem; border: 1px solid var(--text); border-radius: 4px;
  background: transparent; color: var(--text); cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .65rem 1rem; font-size: .72rem; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.link-arrow {
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text);
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  background: none; border: 0; padding: 0; border-bottom: 1px solid var(--text);
  padding-bottom: 3px; transition: color .16s ease, border-color .16s ease, gap .16s ease;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: .85rem; }

/* ---------- Ticker ---------- */
.ticker { background: var(--text); color: var(--bg); overflow: hidden; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: marquee 36s linear infinite; }
.ticker-set { display: inline-flex; align-items: center; }
.ticker-set > span {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .07em;
  text-transform: uppercase; padding: .55rem 0; color: rgba(247, 245, 241, .9);
}
.ticker .star { color: var(--accent); padding: 0 1.2rem; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-sans); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav > a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.nav > a:not(.btn):hover { color: var(--accent); }
.nav-toggle {
  display: none; font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  font-size: .74rem; letter-spacing: .07em; background: var(--text); color: var(--bg);
  border: 0; border-radius: 4px; padding: .6rem 1rem; cursor: pointer;
}
.mobile-nav { display: none; flex-direction: column; background: var(--paper-2); border-bottom: 1px solid var(--border); }
.mobile-nav a { font-family: var(--font-mono); text-transform: uppercase; font-size: .85rem; padding: 1rem var(--pad); border-top: 1px solid var(--border); }
.mobile-nav a:first-child { border-top: 0; }
.mobile-nav a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--border); }
.section.no-pad { padding: 0; border-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--border); }
.section-title {
  font-family: var(--font-sans); font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em;
  margin: 0 0 1.5rem; max-width: 22ch;
}
.section-intro { max-width: 60ch; color: var(--muted); font-size: 1.05rem; margin: 0 0 2.8rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 92px); background: var(--wash-cool); border-bottom: 1px solid var(--border); }
.row-labels { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.hero-title {
  font-family: var(--font-sans); font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .98; letter-spacing: -.04em;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem); max-width: 16ch;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-lede { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--text); margin: 0; max-width: 56ch; }

/* ---------- What we are / are not ---------- */
.clarity { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clarity-cell { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.6rem, 3vw, 3rem); background: var(--paper-2); }
.clarity-cell + .clarity-cell { border-left: 1px solid var(--border); }
.clarity-cell.emphasis {
  background: var(--highlight);
  box-shadow: inset 0 3px 0 var(--accent), inset 0 0 0 1px rgba(178, 106, 74, .25);
}
.clarity-cell.emphasis .label { color: var(--accent); }
.cell-title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 1.2rem 0 1rem; }
.clarity-cell p { margin: 0; font-size: 1.02rem; max-width: 46ch; color: var(--text); }

/* ---------- Audiences ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.audience-cell { padding: clamp(1.8rem, 3.5vw, 3rem); background: var(--paper-2); transition: background .18s ease; }
.audience-cell + .audience-cell { border-left: 1px solid var(--border); }
.audience-cell:hover { background: var(--highlight); }
.big-index { font-family: var(--font-sans); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; display: block; color: var(--accent); margin-bottom: 1.2rem; }
.audience-cell h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; margin: 0 0 .9rem; }
.audience-cell p { font-size: 1.02rem; max-width: 46ch; margin: 0 0 1.8rem; color: var(--muted); }

/* ---------- Services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.svc-row {
  display: grid; grid-template-columns: 88px minmax(0, 1.1fr) 1.4fr; align-items: start; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) .4rem; border-bottom: 1px solid var(--border);
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.svc-row:hover { background: var(--text); color: var(--bg); padding-left: 1.4rem; }
.svc-num { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--accent); padding-top: .35rem; }
.svc-title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.06; letter-spacing: -.02em; margin: 0; }
.svc-desc { font-size: 1.02rem; color: var(--muted); margin: 0; max-width: 46ch; }
.svc-row:hover .svc-desc { color: rgba(247, 245, 241, .8); }
.fine-print { font-family: var(--font-mono); font-size: .76rem; line-height: 1.7; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin: 1.8rem 0 0; max-width: 72ch; }

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.step { padding: clamp(1.8rem, 3.5vw, 3rem); background: var(--paper-2); }
.step + .step { border-left: 1px solid var(--border); }
.step h3 { font-family: var(--font-sans); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 1rem 0 .8rem; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Resource library ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.resource-cell { padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; background: var(--paper-2); }
.resource-cell + .resource-cell { border-left: 1px solid var(--border); }
.resource-tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.resource-cell h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .8rem; }
.resource-cell > p { font-size: .96rem; color: var(--muted); margin: 0 0 1.2rem; }
.card-disclaimer { font-family: var(--font-mono); font-size: .66rem; line-height: 1.6; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; margin: auto 0 1.4rem; }
.resource-cell .link-arrow { align-self: flex-start; text-align: left; }

/* ---------- Capture forms ---------- */
.capture {
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--wash-warm); color: var(--text);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center;
}
.capture .label { color: var(--accent); }
.capture-text h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; margin: .8rem 0 .6rem; }
.capture-text p { color: var(--muted); margin: 0; }
.capture-fields { display: flex; gap: .6rem; flex-wrap: wrap; }
.capture-fields input {
  flex: 1 1 220px; min-width: 0; padding: 1rem 1.1rem;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--paper-2); color: var(--text);
  font-family: var(--font-mono); font-size: .9rem;
}
.capture-fields input::placeholder { color: var(--muted); }
.capture-fields input:focus { outline: none; border-color: var(--accent); }
.capture-note { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .9rem 0 0; }
.form-success { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sage); margin: .9rem 0 0; }
.capture-wide { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- Compliance block: the single dark section ---------- */
.compliance {
  background-color: var(--text);
  background-image: linear-gradient(135deg, rgba(166, 187, 208, .14), rgba(166, 187, 208, 0) 60%);
  color: var(--bg);
  padding: clamp(60px, 9vw, 130px) 0;
  border-top: 1px solid var(--border);
}
.compliance-title { font-family: var(--font-sans); font-weight: 900; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.03em; margin: 1.2rem 0 2rem; max-width: 20ch; color: var(--bg); }
.compliance-body { max-width: 78ch; color: rgba(247, 245, 241, .8); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.75; margin: 0 0 2.4rem; }
.badges { display: flex; gap: 0; flex-wrap: wrap; border: 1px solid rgba(166, 187, 208, .35); border-radius: 4px; width: fit-content; max-width: 100%; overflow: hidden; }
.badge { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dusty); padding: .85rem 1.4rem; }
.badge + .badge { border-left: 1px solid rgba(166, 187, 208, .35); }

/* ---------- Final CTA ---------- */
.cta-title { font-family: var(--font-sans); font-weight: 900; font-size: clamp(2.2rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.04em; margin: 1rem 0 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wash-warm); color: var(--text); padding: clamp(48px, 7vw, 84px) 0 28px; border-top: 1px solid var(--border); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 2.6rem; border-bottom: 1px solid var(--border); }
.footer-intro { max-width: 360px; }
.footer-brand { font-size: 1.4rem; margin: 0; }
.footer-tagline { color: var(--muted); font-size: .92rem; margin: .8rem 0 0; }
.footer-nav { display: flex; gap: clamp(2rem, 5vw, 4.5rem); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col .label { margin-bottom: .5rem; }
.footer-col a { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; color: var(--text); }
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer { padding: 2.2rem 0; border-bottom: 1px solid var(--border); }
.footer-disclaimer p { color: var(--muted); font-size: .82rem; line-height: 1.75; margin: 0; max-width: 96ch; }
.footer-disclaimer strong { color: var(--text); }
.footer-wordmark {
  font-family: var(--font-sans); font-weight: 900;
  font-size: clamp(3rem, 16.5vw, 12.5rem); line-height: .9; letter-spacing: -.04em;
  color: rgba(10, 10, 10, .06); margin: 1.4rem 0 0; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; }
.footer-bottom span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: clamp(3rem, 6vw, 5rem); }
.legal-updated { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 3rem; }
.legal-body { max-width: 740px; }
.legal-body h2 { font-family: var(--font-sans); font-weight: 700; font-size: clamp(1rem, 1.1vw + .6rem, 1.25rem); letter-spacing: -.01em; margin: 2.5rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-family: var(--font-sans); font-weight: 600; font-size: .95rem; margin: 1.5rem 0 .5rem; }
.legal-body p { color: var(--text); line-height: 1.7; }
.legal-body ul { padding-left: 1.25rem; margin: 0 0 1rem; color: var(--text); line-height: 1.7; }
.legal-body li { margin-bottom: .4rem; }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .hero-grid { grid-template-columns: 1fr; }
  .clarity, .audience-grid, .steps, .resource-grid, .capture { grid-template-columns: 1fr; }
  .clarity-cell + .clarity-cell, .audience-cell + .audience-cell, .step + .step, .resource-cell + .resource-cell { border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 620px) {
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-desc { grid-column: 1 / -1; }
  .row-labels .label:last-child, .section-head .label:last-child { display: none; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
