/*------------------------------------------------------------
  Custom Styles
------------------------------------------------------------*/

:root {
  --primary: #172346;
  --secondary: #3f475b;
  --accent: #eab308;
  --footer: #172346;
  --ice: #eef4f8;
  --frost: #dbe9f2;
  --ink: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------
  Typography
--------------------------------------------------*/

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin-bottom: 1em;
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
h3 {
  font-size: 28px;
  margin-bottom: 20px;
}
h4 {
  font-size: 24px;
  margin-bottom: 20px;
}
h5 {
  font-size: 20px;
  margin-bottom: 20px;
}
h6 {
  font-size: 18px;
  margin-bottom: 20px;
}

p {
  line-height: 1.65em;
  margin-bottom: 1em;
}

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

/*------------------------------------------------------------
  UTILITY CLASSES
------------------------------------------------------------*/

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.center {
  display: block;
  margin: 0 auto;
}

/*------------------------------------------------------------
  LAYOUT GRID
------------------------------------------------------------*/

.grid-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .grid-shell {
    grid-template-columns: 230px 1fr;
  }
}

/*------------------------------------------------------------
  SIDEBAR
------------------------------------------------------------*/

aside.sidebar {
  display: none;
  background: var(--secondary);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 5rem 0 1.5rem;
}
@media (min-width: 1024px) {
  aside.sidebar {
    display: flex;
    flex-direction: column;
  }
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  flex: 1;
}
.sidebar nav a.nav-link {
  background: none;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-align: right;
  margin-bottom: 1.1rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}
.sidebar nav a.nav-link:hover {
  color: var(--accent);
}
.sidebar-badge {
  margin-top: auto;
  text-align: center;
  padding: 0 1rem;
}
.sidebar-badge .usa-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.6rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
}
.sidebar-badge p {
  color: #fff;
  font-size: 0.7rem;
  opacity: 0.75;
  margin: 0;
}

/*------------------------------------------------------------
  MOBILE TOP BAR
------------------------------------------------------------*/

.mobile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--secondary);
  padding: 0.9rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.mobile-topbar #menuBtn {
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--accent);
  border: none;
}

.mobile-topbar strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mobile-topbar a.nav-link {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--secondary);
  padding: 0.5rem 1.25rem 1.25rem;
}
.mobile-nav.open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  margin-top: 50px;
}

.mobile-nav a {
  color: #fff;
  text-transform: uppercase;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 1024px) {
  .mobile-topbar,
  .mobile-nav {
    display: none !important;
  }
}

/*------------------------------------------------------------
  HERO
------------------------------------------------------------*/

section#home {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.5) 0, transparent 40%), radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.35) 0, transparent 45%),
    linear-gradient(160deg, #0d2038 0%, #1e3a5f 45%, #2f5c8f 100%);
  padding: 4rem 1.5rem;
}
section#home::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 26px); */
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-inner .snowflake {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.hero-inner h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.hero-inner p.tag {
  color: var(--frost);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

/*------------------------------------------------------------
  BANNER
------------------------------------------------------------*/

.banner {
  background: var(--primary);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.banner p {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 18px;
}
.banner a {
  display: inline-block;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.banner a:hover {
  color: var(--accent);
}

/*------------------------------------------------------------
  SECTION SHARED
------------------------------------------------------------*/

.section {
  padding: 60px 0;
}
.section-frost {
  background: var(--ice);
}
.heading-block {
  text-align: center;
  margin-bottom: 2.5rem;
}
.heading-block h1,
.heading-block h2 {
  display: inline-block;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 40px;
}
.heading-block h1 span,
.heading-block h2 span {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 4px solid var(--accent);
}

.heading-block .eyebrow {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.heading-block p.lede {
  max-width: 640px;
  margin: 0 auto;
  color: #333;
  line-height: 1.6;
}

/*------------------------------------------------------------
  CARDS
------------------------------------------------------------*/

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}

/* .card .card-art {} */

.card .card-title {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 0.7rem 0;
}
.card .card-title h3 {
  margin: 0;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card .card-body {
  padding: 1.1rem 1.3rem 1.4rem;
  text-align: center;
}
.card .card-body p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.55;
}
.card .card-body a {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.card .card-body a:hover {
  color: var(--primary);
}

/*------------------------------------------------------------
  CARD VIDEO
------------------------------------------------------------*/

.card-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.card.card-video {
  width: 100%;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 768px;
  transition: transform 0.2s;
  margin: 0 auto;
}

.card.card-video:hover {
  transform: translateY(-4px);
}

.card.card-video .card-title {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 20px;
}

.card.card-video iframe.video {
  width: 100%;
}

/*------------------------------------------------------------
  ICE DIVIDER
------------------------------------------------------------*/

.ice-divider {
  height: 250px;
  /* background: repeating-linear-gradient(90deg, #cfe4f0 0 40px, #dceefa 40px 80px); */
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-position: 50%;
  background-size: cover;
}
/* .ice-divider::after {
  content: '❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: rgba(30, 58, 95, 0.18);
  font-size: 1.4rem;
  letter-spacing: 1rem;
} */

/*------------------------------------------------------------
  OUR STORY
------------------------------------------------------------*/

.story-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.our-story {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.story-wrap p {
  max-width: 640px;
  line-height: 1.7;
  color: #333;
}

/*------------------------------------------------------------
  CATALOG
------------------------------------------------------------*/

.catalog-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 550px;
}

.catalog-cover {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.catalog-cover:hover {
  transform: scale(1.02);
}

/*------------------------------------------------------------
  RETURN HOME BUTTON
------------------------------------------------------------*/

a.return-home-btn {
  display: block;
  margin: 40px auto;
  width: 100%;
  max-width: 180px;
  padding: 8px 16px;
  text-align: center;
  border: solid 1px #0d2038;
  cursor: pointer;
}

/*------------------------------------------------------------
  FOOTER
------------------------------------------------------------*/

footer {
  background: var(--footer);
  color: #fff;
}
.footer-top {
  padding: 3rem 1.5rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-col {
  min-width: 200px;
  flex: 1;
  text-align: left;
}
.footer-col h5 {
  display: inline-block;
  border-bottom: 1px solid var(--accent);
  margin: 0 0 0.6rem;
  padding-bottom: 0.2rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-col p,
.footer-col a {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #f1f3f8;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer-row svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.copyright {
  background: #111a30;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: #c7cddb;
}

@media (max-width: 640px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-row {
    justify-content: center;
  }
}
