:root {
  --canvas: #f5f2ea;
  --navy: #0d2b4d;
  --navy-hover: #173d63;
  --text: #26323b;
  --olive: #7d8338;
  --rule: #ded9cd;
  --white: #fffdf8;
  --max-width: 1420px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(calc(100% - 8rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header .container {
  min-height: 96px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(4rem, 8vw, 8rem) 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.hero-copy {
  animation: enter 420ms ease-out both;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.8rem, 5.65vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.hero-copy p {
  max-width: 590px;
  margin: 2.4rem 0 2.6rem;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.focus-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 1.45rem;
  border-top: 1px solid var(--olive);
  color: var(--olive);
  font-size: .98rem;
  font-weight: 600;
}

.focus-strip span:not(:last-child)::after {
  margin-left: 1.2rem;
  content: "·";
}

footer {
  padding: 1.7rem 0;
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: .86rem;
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 3rem), var(--max-width)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy {
    display: contents;
    animation: none;
  }
  .hero-copy h1 {
    order: 1;
    animation: enter 420ms ease-out both;
  }
  .hero-copy p {
    order: 2;
    margin-bottom: 0;
  }
  .hero-visual {
    order: 3;
    max-width: 740px;
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  .hero-copy .button {
    order: 4;
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
  }
  .hero { min-height: auto; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .site-header .container { min-height: 76px; }
  .wordmark { font-size: .96rem; letter-spacing: .22em; }
  .hero { padding-top: 3.75rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.3rem); }
  .hero-copy p { margin-top: 1.75rem; }
  .button { width: 100%; }
  .focus-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .focus-strip span::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
