/*
Theme Name: Aviation Media
Theme URI: https://aviationmedia.co
Author: Aviation Media Group
Author URI: https://aviationmedia.co
Description: The official parent-brand and advertiser-facing theme for Aviation Media Group. Built to Aviation Media Brand Style Guide v1.0: Dark Navy and Electric Blue palette, Righteous display type, Barlow Condensed UI type. Portfolio homepage, a reach page covering websites, social, communities and partners, an About page structured as who/what/why/when/how, testimonials, an advertise page with Media Guide and rate sheet downloads and a working inquiry form, and automatic page setup on activation.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aviation-media
Tags: business, portfolio, one-column, custom-menu, custom-logo, featured-images, editor-style
*/

/* ==========================================================================
   1. BRAND TOKENS  (Brand Style Guide, section 03)
   ========================================================================== */

:root {
  /* Core palette */
  --am-electric-blue: #2870E6;
  --am-navy:          #0D2A5A;
  --am-steel-blue:    #3A6AAA;
  --am-pale-blue:     #E8F0FF;
  --am-mid-blue:      #5A82BE;
  --am-dark-navy:     #0B0D18;
  --am-light-base:    #DDE4F0;
  --am-slate:         #3A4A6A;

  /* Accessible tints of the brand blues, for text on Dark Navy.
     Electric Blue and Steel Blue are correct for fills, rules and marks, but
     fall just under WCAG AA as small text on #0B0D18, so text uses these. */
  --am-link-dark: #5B93F2;   /* links and accent text on dark  — 6.5:1 */
  --am-muted:     #8FA9D4;   /* labels, eyebrows, captions     — 8.4:1 */

  /* Derived surfaces (kept inside the approved combinations) */
  --am-surface:       #10142400;
  --am-surface-1:     #101426;
  --am-surface-2:     #151A30;
  --am-hairline:      rgba(232, 240, 255, 0.12);
  --am-hairline-soft: rgba(232, 240, 255, 0.07);

  /* Type */
  --am-display: "Righteous", "Barlow Condensed", "Arial Narrow", sans-serif;
  --am-ui: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;

  /* Layout */
  --am-max: 1180px;
  --am-gutter: 28px;
  --am-radius: 4px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--am-dark-navy);
  color: var(--am-pale-blue);
  font-family: var(--am-ui);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--am-link-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--am-pale-blue); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--am-ui);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 900; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: 0.012em; }
h3 { font-size: 1.45rem; letter-spacing: 0.01em; }
h4 { font-size: 1.15rem; letter-spacing: 0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--am-hairline); margin: 3rem 0; }

::selection { background: var(--am-electric-blue); color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  width: auto; height: auto; clip: auto;
  background: var(--am-electric-blue); color: #fff;
  padding: 10px 18px; border-radius: var(--am-radius);
}

:focus-visible { outline: 2px solid var(--am-electric-blue); outline-offset: 3px; }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

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

.am-section { padding: 92px 0; position: relative; }
.am-section--tight { padding: 62px 0; }

.am-section--light {
  background: var(--am-light-base);
  color: var(--am-navy);
}
.am-section--light h1,
.am-section--light h2,
.am-section--light h3,
.am-section--light h4 { color: var(--am-navy); }
.am-section--light a { color: var(--am-navy); text-decoration: underline; text-underline-offset: 3px; }
.am-section--light a:hover { color: var(--am-electric-blue); }

.am-section--panel { background: var(--am-surface-1); }

/* Eyebrow label — Brand Style Guide type scale: Label, 300, +40 tracking */
.am-eyebrow {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin: 0 0 1.1rem;
  display: block;
}
.am-section--light .am-eyebrow { color: var(--am-slate); }

.am-section-head { max-width: 760px; margin-bottom: 3.2rem; }
.am-section-head p { color: var(--am-mid-blue); font-size: 1.12rem; }
.am-section--light .am-section-head p { color: var(--am-slate); }

.am-rule {
  height: 1px;
  background: var(--am-hairline);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.am-btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--am-ui);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--am-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-decoration: none;
  line-height: 1;
}
.am-btn:hover { transform: translateY(-1px); }

.am-btn--primary { background: var(--am-electric-blue); color: #fff; }
.am-btn--primary:hover { background: #1a5fd0; color: #fff; }

.am-btn--ghost {
  background: transparent;
  color: var(--am-pale-blue);
  border-color: rgba(232, 240, 255, 0.28);
}
.am-btn--ghost:hover { border-color: var(--am-electric-blue); color: #fff; background: rgba(40,112,230,.1); }

.am-section--light .am-btn--ghost { color: var(--am-navy); border-color: rgba(13,42,90,.3); }
.am-section--light .am-btn--ghost:hover { border-color: var(--am-electric-blue); color: var(--am-electric-blue); background: transparent; }
.am-section--light .am-btn { text-decoration: none; }
.am-section--light .am-btn--primary,
.am-section--light .am-btn--primary:hover { color: #fff; }

.am-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.am-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 24, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--am-hairline-soft);
}

.am-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

/* Logo lockup — chevron mark + wordmark, per Brand Style Guide section 02 */
.am-logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.am-logo:hover { color: inherit; }
.am-logo__mark { flex: 0 0 auto; display: block; width: 40px; height: 34px; }
.am-logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.am-logo__name {
  font-family: var(--am-display);
  font-size: 1.16rem;
  letter-spacing: .045em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.08;
}
.am-logo__tag {
  font-size: .58rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin-top: 5px;
}

.am-nav { display: flex; align-items: center; gap: 30px; }
.am-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.am-nav a {
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--am-pale-blue);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.am-nav a:hover,
.am-nav .current-menu-item > a { color: #fff; border-bottom-color: var(--am-electric-blue); }
.am-nav .am-btn { color: #fff; border-bottom: 0; }
.am-nav .am-btn:hover { border-bottom: 0; }

.am-header .am-btn { padding: 12px 22px; font-size: .82rem; }

/* Mobile toggle */
.am-navtoggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(232,240,255,.25);
  border-radius: var(--am-radius);
  color: var(--am-pale-blue);
  padding: 9px 14px;
  font-family: var(--am-ui);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.am-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 108px;
  background:
    radial-gradient(1100px 560px at 78% 12%, rgba(40,112,230,.20), transparent 62%),
    linear-gradient(180deg, #0B0D18 0%, #0C1024 58%, #0B0D18 100%);
  border-bottom: 1px solid var(--am-hairline-soft);
}

/* Oversized chevron watermark, per cover treatment in the style guide */
.am-hero__mark {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: auto;
  opacity: .42;
  pointer-events: none;
}

.am-hero__inner { position: relative; z-index: 2; max-width: 720px; }

.am-hero__tag {
  font-family: var(--am-ui);
  font-size: .82rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--am-link-dark);
  margin-bottom: 1.6rem;
}

.am-hero h1 { margin-bottom: .55em; }
.am-hero h1 em { font-style: normal; color: var(--am-link-dark); }

.am-hero__lede {
  font-size: 1.24rem;
  font-weight: 300;
  color: var(--am-mid-blue);
  max-width: 585px;
}

/* ==========================================================================
   7. STAT BAND
   ========================================================================== */

.am-stats {
  background: var(--am-navy);
  border-top: 1px solid rgba(232,240,255,.08);
  border-bottom: 1px solid rgba(232,240,255,.08);
}
.am-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(232,240,255,.1);
}
.am-stat {
  background: var(--am-navy);
  padding: 40px 26px;
  text-align: center;
}
.am-stat__num {
  font-family: var(--am-ui);
  font-weight: 900;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  color: #fff;
  letter-spacing: .015em;
}
.am-stat__label {
  display: block;
  margin-top: 12px;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--am-mid-blue);
}

/* ==========================================================================
   8. PROPERTY CARDS
   ========================================================================== */

.am-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.am-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.am-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--am-surface-1);
  border: 1px solid var(--am-hairline-soft);
  border-radius: var(--am-radius);
  padding: 34px 30px 30px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.am-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--am-electric-blue);
  opacity: .85;
}
.am-card:hover { transform: translateY(-3px); border-color: rgba(40,112,230,.5); background: var(--am-surface-2); }

.am-card__flag {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin-bottom: 14px;
}
.am-card h3 { margin-bottom: .35em; font-size: 1.4rem; }
.am-card__tag {
  color: var(--am-link-dark);
  font-size: .93rem;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  font-weight: 500;
}
.am-card p { color: var(--am-mid-blue); font-size: 1rem; font-weight: 300; }
.am-card__link {
  margin-top: auto;
  padding-top: 22px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--am-link-dark);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.am-card__link:hover { color: #fff; }

/* Light-mode variant of the card, for use inside .am-section--light */
.am-section--light .am-card {
  background: #fff;
  border-color: rgba(13,42,90,.12);
}
.am-section--light .am-card:hover { background: #fff; border-color: rgba(40,112,230,.45); }
.am-section--light .am-card p { color: var(--am-slate); }
.am-section--light .am-card__flag { color: var(--am-slate); }
.am-section--light .am-card h3 { color: var(--am-navy); }
.am-section--light .am-card__tag { color: var(--am-electric-blue); }
.am-section--light .am-card__link { color: var(--am-electric-blue); text-decoration: none; }

/* ==========================================================================
   9. PILLARS (brand personality / value props)
   ========================================================================== */

.am-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.am-pillar { border-top: 3px solid var(--am-electric-blue); padding-top: 22px; }
.am-pillar:nth-child(2) { border-top-color: var(--am-steel-blue); }
.am-pillar:nth-child(3) { border-top-color: var(--am-electric-blue); }
.am-pillar:nth-child(4) { border-top-color: var(--am-steel-blue); }
.am-pillar h4 {
  color: var(--am-link-dark);
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .8em;
}
.am-pillar p { color: var(--am-mid-blue); font-size: 1rem; font-weight: 300; }
.am-section--light .am-pillar p { color: var(--am-slate); }

/* ==========================================================================
   10. SPLIT / MEDIA ROWS
   ========================================================================== */

.am-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.am-split--narrow { grid-template-columns: 0.85fr 1.15fr; }

.am-deflist { margin: 0; }
.am-deflist__row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--am-hairline);
}
.am-deflist__row:first-child { border-top: 1px solid var(--am-hairline); }
.am-deflist dt {
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--am-link-dark);
}
.am-deflist dd { margin: 0; color: var(--am-mid-blue); font-weight: 300; }
.am-section--light .am-deflist__row { border-color: rgba(13,42,90,.14); }
.am-section--light .am-deflist dd { color: var(--am-slate); }

/* ==========================================================================
   11. CTA BAND
   ========================================================================== */

.am-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0D2A5A 0%, #123578 55%, #0D2A5A 100%);
  padding: 78px 0;
  text-align: center;
}
.am-cta__mark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 760px; height: auto; opacity: .14; pointer-events: none;
}
.am-cta__inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.am-cta h2 { margin-bottom: .5em; }
.am-cta p { color: var(--am-pale-blue); opacity: .82; font-size: 1.1rem; font-weight: 300; }
.am-cta .am-btn-row { justify-content: center; }

/* ==========================================================================
   12. FORMS
   ========================================================================== */

.am-form { display: grid; gap: 20px; max-width: 640px; }
.am-form__row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }

.am-field { display: flex; flex-direction: column; gap: 8px; }
.am-field label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-field input,
.am-field select,
.am-field textarea {
  font-family: var(--am-ui);
  font-size: 1.05rem;
  color: var(--am-pale-blue);
  background: var(--am-surface-1);
  border: 1px solid var(--am-hairline);
  border-radius: var(--am-radius);
  padding: 13px 15px;
  width: 100%;
}
.am-field textarea { min-height: 145px; resize: vertical; }
.am-field input:focus,
.am-field select:focus,
.am-field textarea:focus {
  outline: none;
  border-color: var(--am-electric-blue);
  box-shadow: 0 0 0 3px rgba(40,112,230,.18);
}
.am-field input::placeholder, .am-field textarea::placeholder { color: rgba(90,130,190,.65); }

.am-section--light .am-field input,
.am-section--light .am-field select,
.am-section--light .am-field textarea {
  background: #fff; color: var(--am-navy); border-color: rgba(13,42,90,.2);
}
.am-section--light .am-field label { color: var(--am-slate); }

.am-hp { position: absolute !important; left: -9999px; }

.am-notice {
  border-left: 3px solid var(--am-electric-blue);
  background: rgba(40,112,230,.1);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 1.02rem;
}
.am-notice--error { border-left-color: #E2564A; background: rgba(226,86,74,.1); }

/* ==========================================================================
   13. EDITORIAL / DEFAULT PAGE CONTENT
   ========================================================================== */

.am-page-header {
  padding: 88px 0 46px;
  border-bottom: 1px solid var(--am-hairline-soft);
  background: linear-gradient(180deg, #0C1024 0%, #0B0D18 100%);
  position: relative;
  overflow: hidden;
}
.am-page-header__mark {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%); width: 340px; height: auto; opacity: .35; pointer-events: none;
}
.am-page-header__inner { position: relative; z-index: 2; max-width: 780px; }
.am-page-header p { color: var(--am-mid-blue); font-size: 1.15rem; font-weight: 300; margin-top: .4em; }

.am-prose { max-width: 760px; font-weight: 300; font-size: 1.1rem; }
.am-prose h2 { margin-top: 2.2em; }
.am-prose h3 { margin-top: 1.8em; }
.am-prose > *:first-child { margin-top: 0; }
.am-prose ul, .am-prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.am-prose li { margin-bottom: .5em; }
.am-prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--am-electric-blue);
  color: var(--am-pale-blue);
  font-size: 1.2rem;
}
.am-prose img { border-radius: var(--am-radius); margin: 1.6em 0; }
.am-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.am-prose th, .am-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--am-hairline); }
.am-prose th { color: var(--am-link-dark); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }

/* Rate / format table */
.am-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.am-table th, .am-table td { text-align: left; padding: 17px 16px; border-bottom: 1px solid var(--am-hairline); vertical-align: top; }
.am-table thead th {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--am-link-dark); border-bottom-color: var(--am-hairline);
}
.am-table td { color: var(--am-mid-blue); font-weight: 300; }
.am-table td:first-child { color: #fff; font-weight: 500; }
.am-section--light .am-table th, .am-section--light .am-table td { border-color: rgba(13,42,90,.14); }
.am-section--light .am-table td { color: var(--am-slate); }
.am-section--light .am-table td:first-child { color: var(--am-navy); }

/* Posts (blog/news) */
.am-postlist { display: grid; gap: 0; }
.am-post-teaser { padding: 34px 0; border-bottom: 1px solid var(--am-hairline); }
.am-post-teaser:first-child { border-top: 1px solid var(--am-hairline); }
.am-post-teaser h2 { font-size: 1.7rem; margin-bottom: .3em; }
.am-post-meta { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--am-muted); margin-bottom: .9em; }
.am-post-teaser p { color: var(--am-mid-blue); font-weight: 300; }

.am-pagination { display: flex; gap: 12px; margin-top: 42px; flex-wrap: wrap; }
.am-pagination .page-numbers {
  padding: 9px 15px; border: 1px solid var(--am-hairline); border-radius: var(--am-radius);
  color: var(--am-pale-blue); font-size: .92rem;
}
.am-pagination .page-numbers.current { background: var(--am-electric-blue); border-color: var(--am-electric-blue); color: #fff; }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.am-footer {
  background: #080A13;
  border-top: 1px solid var(--am-hairline-soft);
  padding: 68px 0 34px;
}
.am-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.am-footer h4 {
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--am-muted); margin-bottom: 1.3em;
}
.am-footer ul { list-style: none; margin: 0; padding: 0; }
.am-footer li { margin-bottom: 11px; }
.am-footer li a { color: var(--am-pale-blue); font-size: 1rem; font-weight: 300; }
.am-footer li a:hover { color: var(--am-link-dark); }
.am-footer__blurb { color: var(--am-muted); font-size: 1rem; font-weight: 300; max-width: 330px; margin-top: 20px; }
.am-footer__bottom {
  border-top: 1px solid var(--am-hairline-soft);
  padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--am-muted);
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .am-split, .am-split--narrow { grid-template-columns: 1fr; gap: 40px; }
  .am-stats__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .am-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .am-hero__mark { width: 440px; opacity: .3; right: -140px; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .am-section { padding: 62px 0; }
  .am-hero { padding: 84px 0 70px; }
  .am-navtoggle { display: block; }
  .am-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 78px;
    background: #0B0D18;
    border-bottom: 1px solid var(--am-hairline);
    padding: 18px var(--am-gutter) 26px;
  }
  .am-nav.is-open { display: block; }
  .am-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .am-nav li { width: 100%; }
  .am-nav a { display: block; padding: 12px 0; width: 100%; }
  .am-header__inner { position: relative; }
  .am-header .am-btn { display: none; }
  .am-nav .am-btn { display: inline-flex; margin-top: 14px; }
  .am-form__row { grid-template-columns: 1fr; }
  .am-deflist__row { grid-template-columns: 1fr; gap: 8px; }
  .am-footer__grid { grid-template-columns: 1fr; }
  .am-page-header { padding: 58px 0 36px; }
  .am-page-header__mark { display: none; }
}

@media (max-width: 460px) {
  .am-stats__grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   16. REACH: channels grouped by websites / social / communities / email
   ========================================================================== */

.am-reach { display: grid; gap: 58px; }

.am-reach-group__head { margin-bottom: 20px; }
.am-reach-group__head h3 {
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--am-link-dark);
  margin-bottom: .4em;
}
.am-reach-group__head p { color: var(--am-mid-blue); font-weight: 300; font-size: 1rem; }

.am-channels { list-style: none; margin: 0; padding: 0; }

.am-channel {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 26px;
  padding: 19px 0;
  border-bottom: 1px solid var(--am-hairline);
}
.am-channel:first-child { border-top: 1px solid var(--am-hairline); }

.am-channel__id { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; min-width: 0; }
.am-channel__name { color: #fff; font-weight: 500; font-size: 1.14rem; }
.am-channel__name a { color: #fff; }
.am-channel__name a:hover { color: var(--am-link-dark); }
.am-channel__handle {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.am-channel__figure { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.am-channel__num {
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.am-channel__means {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.am-section--light .am-channel { border-color: rgba(13,42,90,.14); }
.am-section--light .am-channel__name,
.am-section--light .am-channel__name a,
.am-section--light .am-channel__num { color: var(--am-navy); }
.am-section--light .am-channel__handle,
.am-section--light .am-channel__means { color: var(--am-slate); }

/* ==========================================================================
   17. PARTNERS
   ========================================================================== */

.am-partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.am-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 128px;
  padding: 22px 18px;
  border: 1px solid var(--am-hairline);
  border-radius: var(--am-radius);
  background: var(--am-surface-1);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
a.am-partner:hover { border-color: var(--am-electric-blue); background: var(--am-surface-2); }

.am-partner__logo img { max-height: 52px; width: auto; margin: 0 auto; }
.am-partner__name { color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: .01em; }
.am-partner__kind {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.am-section--light .am-partner { background: #fff; border-color: rgba(13,42,90,.14); text-decoration: none; }
.am-section--light a.am-partner, .am-section--light a.am-partner:hover { text-decoration: none; color: inherit; }
.am-section--light a.am-partner:hover { border-color: var(--am-electric-blue); background: #fff; }
.am-section--light .am-partner__name { color: var(--am-navy); }
.am-section--light .am-partner__kind { color: var(--am-slate); }

/* ==========================================================================
   18. TESTIMONIALS
   ========================================================================== */

.am-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.am-quote {
  position: relative;
  margin: 0;
  padding: 34px 30px 28px;
  background: var(--am-surface-1);
  border: 1px solid var(--am-hairline-soft);
  border-radius: var(--am-radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.am-quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--am-electric-blue);
}
.am-quote__mark {
  font-family: var(--am-display);
  font-size: 3.1rem;
  line-height: .6;
  color: var(--am-electric-blue);
  opacity: .55;
  height: 26px;
}
.am-quote blockquote { margin: 0; }
.am-quote blockquote p {
  color: var(--am-pale-blue);
  font-size: 1.13rem;
  font-weight: 300;
  line-height: 1.55;
}
.am-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.am-quote__who { color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: .02em; }
.am-quote__where { color: var(--am-muted); font-size: .88rem; letter-spacing: .04em; }

.am-section--light .am-quote { background: #fff; border-color: rgba(13,42,90,.12); }
.am-section--light .am-quote blockquote p { color: var(--am-navy); }
.am-section--light .am-quote__who { color: var(--am-navy); }
.am-section--light .am-quote__where { color: var(--am-slate); }

/* ==========================================================================
   19. MILESTONES (the "when")
   ========================================================================== */

.am-timeline { list-style: none; margin: 0; padding: 0; }

.am-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 26px 0 26px 0;
  border-bottom: 1px solid rgba(13,42,90,.14);
}
.am-milestone:first-child { border-top: 1px solid rgba(13,42,90,.14); }

.am-milestone__when {
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--am-electric-blue);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.am-milestone__body h3 { font-size: 1.24rem; margin-bottom: .35em; }
.am-milestone__body p { color: var(--am-slate); font-weight: 300; }

/* Dark-section variant */
.am-section:not(.am-section--light) .am-milestone { border-color: var(--am-hairline); }
.am-section:not(.am-section--light) .am-milestone__when { color: var(--am-link-dark); }
.am-section:not(.am-section--light) .am-milestone__body p { color: var(--am-mid-blue); }

/* ==========================================================================
   20. DOWNLOADS (Media Guide, rate sheet)
   ========================================================================== */

.am-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.am-download {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--am-hairline);
  border-radius: var(--am-radius);
  background: var(--am-dark-navy);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.am-download:hover { border-color: var(--am-electric-blue); transform: translateY(-2px); }

.am-download__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--am-electric-blue);
  color: #fff;
}
.am-download__icon svg { width: 21px; height: 21px; }
.am-download__text { display: flex; flex-direction: column; gap: 4px; }
.am-download__label { color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: .015em; }
.am-download__desc { color: var(--am-mid-blue); font-size: .94rem; font-weight: 300; }

/* ==========================================================================
   21. SHARED SPACING HELPERS
   ========================================================================== */

.am-block-gap { margin-top: 52px; }

.am-lede-col p { color: var(--am-mid-blue); font-weight: 300; font-size: 1.14rem; }
.am-lede-col p:first-child { color: var(--am-pale-blue); font-size: 1.24rem; }
.am-lede-col--tight p, .am-lede-col--tight p:first-child { font-size: 1.1rem; }
.am-section--light .am-lede-col p { color: var(--am-slate); }
.am-section--light .am-lede-col p:first-child { color: var(--am-navy); }

@media (max-width: 760px) {
  .am-channel { flex-direction: column; align-items: flex-start; gap: 9px; }
  .am-milestone { grid-template-columns: 1fr; gap: 8px; }
  .am-download { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* ==========================================================================
   22. LAUNCHING BADGE  (properties that exist but are not public yet)
   ========================================================================== */

.am-badge {
  display: inline-block;
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--am-dark-navy);
  background: var(--am-muted);
  border-radius: 2px;
  padding: 3px 7px;
  margin-left: 8px;
  vertical-align: 1px;
}
.am-section--light .am-badge { background: var(--am-slate); color: var(--am-light-base); }

.am-card--soon { background: transparent; }
.am-card--soon::before { background: var(--am-slate); opacity: .8; }
.am-card--soon:hover { transform: none; border-color: var(--am-hairline-soft); background: transparent; }
.am-card__link--muted {
  margin-top: auto;
  padding-top: 22px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.am-footer__soon { color: var(--am-muted); font-size: 1rem; font-weight: 300; }
.am-footer__soon em {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
  margin-left: 5px;
}
