:root {
  --color-white: #ffffff;
  --color-silver: #e0e0e0;
  --color-silver-dark: #b0b0b0;
  --color-blue: #003366;
  --color-blue-light: #00509e;
}

body {
  background-color: var(--color-white);
  color: var(--color-blue);
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Arial Narrow', 'Helvetica Neue', Helvetica, sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
  color: var(--color-blue);
}

.accent-text {
  font-family: Georgia, serif;
  color: var(--color-blue-light);
}

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

.hero-section {
  min-height: 100svh;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

.site-header {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-silver);
  padding: 1rem 0;
  box-shadow: 0 4px 0 0 var(--color-silver);
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

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

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

.header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.site-nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: 0;
  border: 2px solid var(--color-blue);
  border-radius: 9999px;
  background: var(--color-white);
  line-height: 0;
}

.site-nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 18px;
}

.site-nav-burger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-blue);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

a.brand-wrapper {
  text-decoration: none;
  color: inherit;
}

a.brand-wrapper:hover .brand-name,
a.brand-wrapper:hover svg {
  opacity: 0.88;
}

a.brand-wrapper:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.brand-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-blue);
  fill: none;
  stroke-width: 2;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Arial Narrow', sans-serif;
  font-stretch: condensed;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;

  @media (max-width: 600px) {
    font-size: 1rem;
  }
}

.main-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.nav-list a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s, color 0.3s;
  border: 2px solid transparent;
}

.nav-list a:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 4px 4px 0 0 var(--color-silver-dark);
}

.nav-list a.activ_link,
.nav-list a.activ_link:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 4px 4px 0 0 var(--color-silver-dark);
}

@media (max-width: 799px) {
  .header-container {
    align-items: stretch;
  }

  .header-top {
    justify-content: space-between;
  }

  .site-nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .header-top .brand-wrapper {
    align-items: flex-start;
    text-align: left;
  }

  .main-nav {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    width: 100%;
  }

  #site-nav-toggle:checked~.main-nav {
    max-height: 22rem;
    opacity: 1;
    margin-top: 0.25rem;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-list a {
    display: block;
    text-align: center;
  }

  #site-nav-toggle:checked~.header-top .site-nav-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #site-nav-toggle:checked~.header-top .site-nav-burger-line:nth-child(2) {
    opacity: 0;
  }

  #site-nav-toggle:checked~.header-top .site-nav-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (min-width: 800px) {
  .site-nav-toggle-label {
    display: none;
  }

  .main-nav {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}

.site-footer {
  background-color: var(--color-white);
  padding: 4rem 0;
  margin-top: 4rem;
  border-top: 2px solid var(--color-silver);
  box-shadow: 0 -4px 0 0 var(--color-silver);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand-name {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Arial Narrow', sans-serif;
  font-stretch: condensed;
  color: var(--color-blue);
  text-transform: uppercase;
}

.tagline {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--color-blue-light);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--color-blue-light);
  text-decoration: underline;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.legal-nav a {
  color: var(--color-blue-light);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: 'Arial Narrow', sans-serif;
  font-stretch: condensed;
}

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

.card,
.btn,
img {
  border-radius: 50px;
}

.btn {
  border-radius: 9999px;
}

.hard-shadow {
  box-shadow: 8px 8px 0px 0px var(--color-silver-dark);
}

img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  display: block;
  border: 2px solid var(--color-silver);
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--color-silver-dark);
  border-radius: 9999px;
  background: var(--color-white);
  color: var(--color-blue);
  font-family: system-ui, sans-serif;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

textarea {
  border-radius: 30px;
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 4px 4px 0 0 var(--color-silver-dark);
}

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.snowflake {
  position: fixed;
  top: -20px;
  background-color: var(--color-silver);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: fall linear infinite;
  box-shadow: 0 0 4px var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .snowflake {
    animation: none;
  }
}

@keyframes fall {
  to {
    transform: translateY(105vh) translateX(20px);
  }
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell__main {
  flex: 1;
}

/* footer extras */
.footer__extras {
  margin-top: 16px;
}

.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.footer-social__icon {
  display: block;
}

.footer__poemWrap {
  max-width: 520px;
}

.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto
}

.brand-logo * {
  vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
.privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  margin-bottom: 0;
}

.flex-wrap {
  flex-wrap: wrap;
}

a,
button {
  cursor: pointer;
  text-align: center;
}
