﻿@charset "UTF-8";
*,
*::before,
*::after {
  /*outline: 2px solid lime;*/
  /*background: hsl(0 100% 50% / .1);*/
}

.playfair-display-400 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.playfair-display-500 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.playfair-display-600 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.playfair-display-700 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.playfair-display-800 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.playfair-display-900 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.merriweather-300 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.merriweather-400 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.merriweather-500 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.merriweather-600 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.merriweather-700 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.merriweather-800 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.merriweather-900 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* ============================================================
  GLOBAL DESIGN TOKENS — AMERICA 250 WEBSITE
  Used across Declaration, Constitution, and Timeline pages
  ============================================================ */
:root {
  /* ---------------------------------------------
     COLOR SYSTEM
     --------------------------------------------- */
  /* Brand Colors (Patriotic but calm palette) */
  --primaryBackground: hsl(42, 67%, 94%);
  --color-navy: #1B2A41;
  --color-red: #8B1E23;
  --color-parchment: #F3E7D3;
  /* Neutral Grays */
  --gray-900: #1a1a1a;
  --gray-700: #3d3d3d;
  --gray-500: #6e6e6e;
  --gray-300: #d0d0d0;
  --gray-200: #e8e8e8;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  /* Semantic Colors */
  --success: #2e7d32;
  --warning: #d6a100;
  --error: #b71c1c;
  --info: #1565c0;
  --text: #333333;
  --text: var(--color-navy);
  /* ---------------------------------------------
     TYPOGRAPHY SYSTEM
     --------------------------------------------- */
  /* Font Families */
  --font-heading: "Merriweather", Georgia, serif;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;
  /* Combined font defaults (optional) */
  --font-body-default: 400 normal "Lato", sans-serif;
  --font-body-light: 300 normal "Lato", sans-serif;
  --font-body-thin: 100 normal "Lato", sans-serif;
  /* Font Sizes (Modular Scale) */
  --fs-900: 2.5rem; /* H1 */
  --fs-800: 2rem; /* H2 */
  --fs-700: 1.75rem; /* H3 */
  --fs-600: 1.5rem; /* H4 */
  --fs-500: 1.25rem; /* H5 */
  --fs-400: 1rem; /* Body text */
  --fs-300: 0.875rem; /* Small text */
  --fs-200: 0.75rem; /* Labels */
  /* Font Weights */
  --fw-thin: 100;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;
  /* ---------------------------------------------
     SPACING SCALE (8pt base system)
     --------------------------------------------- */
  --header-max-width: 750px;
  --space-0: 0;
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.5rem; /* 24px */
  --space-6: 2rem; /* 32px */
  --space-7: 3rem; /* 48px */
  --space-8: 4rem; /* 64px */
  /* ---------------------------------------------
     BORDER RADIUS
     --------------------------------------------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  /* ---------------------------------------------
     SHADOWS
     --------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
  /* ---------------------------------------------
     LAYOUT SYSTEM
     --------------------------------------------- */
  --container-max-width: 1200px;
  --content-width: 800px;
  /* Gaps for grids and flex layouts */
  --gap-sm: 0.75rem;
  --gap-md: 1.25rem;
  --gap-lg: 2rem;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --tan: hsl(34.29, 43.75%, 68.63%);
  --sub-nav-link-color: hsl(34.29, 43.75%, 68.63%);
  --nav-link-color: hsl(207, 44%, 49%);
  --orange: hsl(39, 100%, 50%);
  --steelblue: hsl(207, 44%, 49%);
  --nav-link-active-color: hsl(224, 55%, 12%);
  --dark-grey: hsl(210, 11%, 15%);
  --dim-grey: #585858;
  --coral: hsl(346, 68%, 28%);
  --peach: hsl(15, 64%, 25%);
  --sand: hsl(35, 95%, 25%);
  --mint: hsl(152, 34%, 23%);
  --sage: hsl(177, 78%, 22%);
  --fog: hsl(195, 53%, 31%);
  --storm: hsl(205, 36%, 25%);
  --dusk: hsl(273, 33%, 27%);
  --blossom: hsl(334, 31%, 32%);
  --clay: hsl(35, 13%, 26%);
  --chalk: hsl(225, 5%, 15%);
  --deep-blue: hsl(205, 87%, 12%);
  --lite-grey: hsl(60, 7%, 87%);
  --grey: hsl(0, 0%, 44%);
  --dark-purple: hsl(275, 100%, 13%);
  --lite-purple: hsl(275, 100%, 25%);
  --brand-primary: hsl(275, 100%, 13%);
  --brand-alt: rebeccapurple;
}

.brand-alt {
  color: var(--brand-alt);
}

.brand-primary {
  color: var(--brand-primary);
}

.dark-purple {
  color: var(--dark-purple);
}

.lite-purple {
  color: var(--lite-purple);
}

.deep-blue-color {
  color: var(--deep-blue) !important;
}

.deep-blue-bg {
  background-color: var(--deep-blue);
}

.dim-grey {
  color: var(--dim-grey);
}

.coral {
  background-color: var(--coral);
}

.peach {
  background-color: var(--peach);
}

.sand {
  background-color: var(--sand);
}

.mint {
  background-color: var(--mint);
}

.sage {
  background-color: var(---sage);
}

.fog {
  background-color: var(--fog);
}

.storm {
  background-color: var(---storm);
}

.dusk {
  background-color: var(---dusk);
}

.blossom {
  background-color: var(--blossom);
}

.clay {
  background-color: var(---clay);
}

.chalk {
  background-color: var(--chalk);
}

.blossom-bg {
  background-color: var(--blossom);
}

.chalk-bg {
  background-color: var(--chalk);
}

.clay-bg {
  background-color: var(---clay);
}

.dusk-bg {
  background-color: var(---dusk);
}

.orange-bg {
  background-color: var(--orange);
}

.steelblue-bg {
  background-color: var(--steelblue);
}

.storm-bg {
  background-color: var(--storm);
}

.tan-bg {
  background-color: var(--tan);
}

.colors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: calc(1200px + 4rem); /* 5 columns + gap space */
  gap: 0.5rem;
}

.color {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 168px;
  padding: 1rem;
  width: 168px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", serif;
  margin: 0;
  padding: 0;
}

.project-wrapper > h2 {
  font-size: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
}

h2.header {
  font-size: 1.75rem;
  margin: unset;
  padding: unset;
}

h3.header {
  font-size: 1.25rem;
  margin: 0 auto;
  max-width: var(--header-max-width);
  padding: unset;
}

p.header {
  max-width: var(--header-max-width);
  margin: 1rem auto;
  font-size: 1.05rem;
}

div h1 {
  font-size: 1.3rem;
  font-weight: bolder;
}

div h2 {
  font-size: 1.1rem;
  font-weight: bolder;
  padding-left: 1rem;
}

div h3 {
  font-weight: bolder;
  padding-left: 2rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
  visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--primaryBackground);
  line-height: 1.6;
}

.bold {
  font-weight: bold;
}

.large-text {
  font-size: 1.5rem;
}

.center {
  text-align: center;
}

.logo a {
  color: var(--color-red);
  font-family: "Merriweather", serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}

.hamburger-button {
  display: none;
}

.mobile-menu {
  display: none;
}

.menu ul {
  flex-direction: row;
  margin: unset;
  list-style: none;
}

.menu ul li {
  margin: unset;
}

.menu ul li:not(:last-child) {
  margin-right: 1rem;
}

.menu ul li a {
  background: var(--color-red);
  padding: 1rem;
}

div ul {
  display: flex;
  flex-direction: column;
  margin: 0 2rem 0 0;
  list-style: disc;
}

div ul li {
  margin-left: 2rem;
}

ol li h3 {
  padding: unset;
  padding-top: 1rem;
}

ol li h4 {
  color: var(--color-red);
  font-weight: bold;
  margin-top: 1rem;
}

ol li div:not(:last-child) {
  margin-bottom: 1rem;
}

strong {
  font-weight: bolder;
  color: var(--color-red);
}

.red {
  color: var(--color-red);
  font-weight: bolder;
}

div.lead, p.lead {
  border: 1px solid var(--color-navy);
  margin: 1rem;
  padding: 1rem;
}

nav a {
  color: #ffffff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  text-decoration: underline;
}

.container {
  padding: 0;
}

main {
  margin-bottom: 10rem;
  margin-top: 30px;
  width: 100%;
}

section.hero > div.container {
  padding-top: 2rem;
}

.hero {
  background: #e1bc7a;
  color: var(--color-navy);
  padding: 2rem 0 0 0;
  position: relative;
  text-align: center;
  width: 100%;
}

.hero > img {
  display: none;
  height: 300px;
  overflow: hidden;
  width: 1035px;
}

.hero > p {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
}

.hero-content {
  left: 0;
  position: absolute;
  top: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: 2px solid #ffffff;
  background-color: var(--color-red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s background ease-in-out;
}

.btn:hover {
  background: var(--color-navy);
  transition: 0.4s background ease-in-out;
}

.btn-active {
  background: var(--color-navy);
}

.btn-active:hover {
  background-color: var(--color-red);
}

.btn.secondary {
  background-color: transparent;
}

.section-title {
  font-family: "Merriweather", serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-parchment);
  padding-bottom: 0.5rem;
}

section > h2 {
  margin: 1rem 0 1rem 0;
  padding: unset;
}

section.content > section {
  padding-left: 2rem;
}

section.content > section > div:not(:last-child) {
  margin-bottom: 2rem;
}

.card-parchment {
  border-bottom: 1px solid var(--color-navy);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.card-parchment > h3 {
  font-weight: bold;
  padding: unset;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background-color: var(--parchment);
  border-radius: 6px;
  padding: 1.25rem;
}

.card h3 {
  font-family: "Merriweather", serif;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

section.content {
  margin-top: 2rem;
  padding: 0 25%;
}

.read-more {
  color: var(--color-red);
  font-size: 0.85rem;
  font-weight: bold;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.6s color ease-in-out;
}

.read-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--color-navy);
  transition: 0.2s width ease-in-out;
}

.read-more:hover {
  color: var(--color-navy);
}

.read-more:hover::after {
  width: 100%;
}

nav ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

nav ul li {
  margin: 0;
  padding: 1rem;
}

nav ul li a {
  background-color: var(--color-red);
  color: var(--color-navy);
  display: block;
  padding: 1rem;
  width: 250px;
}

footer {
  background-color: #f4f4f4;
  background-color: var(--color-red);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
}

section.copy > div {
  margin: 0 2rem 1rem 2rem;
}

.copy > div, .copy > ul {
  margin-left: 2rem;
}

article > div {
  margin-left: 2rem;
}

article > div:not(:last-child) {
  margin-bottom: 2rem;
}

/* Fixed top nav */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: #111827; /* dark */
  color: #f9fafb;
  border-bottom: 1px solid #1f2937;
  z-index: 1000;
}

.top-nav-inner {
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* LEFT to far left, RIGHT to far right */
  position: relative; /* for absolutely positioned center */
}

/* Left & Right sections (desktop) */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.nav-left a,
.nav-right a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0.4rem;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #ffffff;
}

/* Center section: ALWAYS centered to viewport */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* allow clicks to pass through if overlapping */
}

.nav-center-content {
  pointer-events: auto; /* clickable content */
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Hamburger button (mobile) */
.hamburger {
  display: none; /* hidden on desktop */
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #374151;
  background: #111827;
  color: #f9fafb;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #f9fafb;
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #f9fafb;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.hamburger span::before {
  top: -6px;
}

.hamburger span::after {
  top: 6px;
}

/* Hamburger active -> “X” icon */
.hamburger.active span {
  background: transparent;
}

.hamburger.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu dropdown */
.mobile-menu {
  position: fixed;
  top: 60px; /* sits right under header */
  left: 0;
  right: 0;
  background: #111827;
  border-bottom: 1px solid #1f2937;
  display: none;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
  gap: 0.5rem;
  z-index: 900;
}

.mobile-menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1f2937;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu.open {
  display: flex;
}

/* Page content (to show scrolling under fixed nav) */
.page-content {
  padding: 80px 1rem 2rem; /* top padding so it's not under navbar */
  max-width: 800px;
  margin: 0 auto;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px; /* Adjust to your footer height */
  color: white;
  z-index: 9999;
}

@media screen and (max-width: 480px) {
  .logo a {
    font-size: 2rem;
  }
  .menu {
    height: 100vh;
    margin: 0;
    padding: 0;
  }
  nav.mobile-menu {
    margin: 0;
    padding: 0;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    margin: unset;
  }
  .menu ul {
    flex-direction: column;
  }
  .menu ul li {
    padding: 0;
  }
  .menu ul li:not(:last-child) {
    margin: unset;
    margin: 0 0 0.25rem 0;
  }
  .menu ul li a {
    display: block;
    width: 100%;
  }
  .mobile-menu a {
    font-size: 1.5rem;
    margin: 0;
    padding: 1rem 1rem;
  }
  section.hero div.container {
    margin-top: 1rem;
    /*padding-bottom: 2rem;*/
  }
  section.content {
    color: #fff;
    font-size: 1.5rem;
    padding: 0 5%;
  }
  div h1 {
    font-size: 2rem;
  }
  div h2 {
    font-size: 1.75rem;
    padding: unset;
  }
  div h3 {
    border-bottom: 2px solid var(--color-red);
    color: var(--color-red);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    padding: 0 0 1rem 0;
  }
  div ul {
    margin: unset;
  }
  nav ul li a {
    display: block;
    width: 90%;
  }
  .hero {
    margin: 4rem 0 0 0;
    padding: 0.25rem 0;
  }
  .hero p {
    font-size: 2rem;
    line-height: 1;
    padding: 1rem 0.5rem;
  }
  .hero-buttons a {
    font-size: 1.5rem;
    width: 350px;
  }
  .hero-content {
    position: unset;
  }
  .hero-content > h1 {
    color: var(--color-red);
    margin: 0;
    padding: 0;
  }
  .hero-content > h3 {
    border: none;
    color: var(--color-navy);
  }
  .hero > div > h2 {
    margin: unset;
  }
  .card-parchment {
    border-bottom: 2px solid var(--color-red);
  }
  .card-parchment p {
    font-size: 1.75rem;
  }
  .read-more {
    font-size: 1.5rem;
  }
  p.lead {
    border: 1px solid var(--color-red);
    font-size: 1.5rem;
    margin: 1rem 0;
  }
  section.copy > div {
    margin: unset;
  }
  article > div {
    margin: unset;
    padding: unset;
  }
  article h3 {
    margin-top: 1rem;
  }
  footer {
    color: #fff;
    font-size: 1.5rem;
  }
  footer > div {
    display: none;
  }
}
/* Responsive behavior */
@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none; /* hide desktop left/right */
  }
  .hamburger {
    display: inline-flex; /* show hamburger icon */
  }
  .nav-center-content {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  :root {
    --mobile-width: 384px;
    --mobile-width: 100%;
  }
  body {
    background-color: hsl(205, 87%, 12%);
    max-width: var(--mobile-width);
  }
}
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Your styles here */
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Your styles here */
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .menu {
    display: block; /* always visible on desktop */
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Your styles here */
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Your styles here */
}
