/* ==============================================
   THEAIRAMP SHARED STYLES
   Design tokens, reset, nav, breadcrumb, footer.
   Loaded by every page via <link rel="stylesheet">.
   ============================================== */

/* --- Design System --- */
:root {
  --navy:       #1B2A4A;
  --navy-light: #243660;
  --green:      #2D6A4F;
  --green-light:#3A8463;
  --amber:      #F4A623;
  --amber-light:#F9C46A;
  --offwhite:   #F8F7F4;
  --cream:      #EEE9E0;
  --text:       #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(27,42,74,0.08);
  --shadow-md: 0 4px 20px rgba(27,42,74,0.12);
  --shadow-lg: 0 8px 40px rgba(27,42,74,0.16);

  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--amber);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav__logo-text span { color: var(--amber); }

.nav__tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--amber-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 12px;
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav__cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition) !important;
}

.nav__cta:hover {
  background: var(--amber-light) !important;
}

/* --- Mobile-only newsletter CTA (hidden on desktop) --- */
.nav__cta-mobile {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--amber);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}

.nav__cta-mobile:hover {
  background: var(--amber-light);
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid rgba(27,42,74,0.08);
  padding: 12px 0;
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb__inner a {
  color: var(--green);
  font-weight: 500;
  transition: color var(--transition);
}

.breadcrumb__inner a:hover { color: var(--navy); }
.breadcrumb__sep { color: var(--text-light); font-size: 0.7rem; }

.breadcrumb__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
  border-top: 3px solid var(--amber);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__brand-name span { color: var(--amber); }

.footer__brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--amber); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* --- Shared responsive (nav, breadcrumb, footer) --- */
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav__tagline { display: none; }
  .nav__links { display: none; }
  .nav__cta-mobile { display: block; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
