@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/montserrat-variable.woff2") format("woff2");
}

:root {
  --bg: #189EA6;
  --ink: #000000;
  --paper: #FFFFFF;
  --font: "Montserrat", sans-serif;
  --container: 1200px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 500;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
}

a {
  color: var(--ink);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 0;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Header */

.site-header {
  padding: 22px 0 8px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark-light {
  font-weight: 300;
}

.wordmark-bold {
  font-weight: 700;
}

.header-links {
  display: none;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 28px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.pill:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Hero */

.hero {
  padding-top: 8px;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slide {
  flex: 0 0 100%;
  margin: 0;
}

.slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center bottom;
}

.slide-faces img {
  object-position: center 22%;
}

.slider-controls {
  position: absolute;
  right: var(--gutter);
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.slider-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 8px 20px;
  border: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.slider-btn:hover {
  background: var(--bg);
  color: var(--ink);
}

/* Intro */

.intro {
  padding: 64px 0 72px;
}

.intro-inner {
  display: grid;
  gap: 36px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 560px;
}

.intro-lead {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  max-width: 520px;
}

.intro-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.big-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.25s ease;
}

.big-link .arrow {
  font-size: 0.55em;
  transition: transform 0.25s ease;
}

.big-link:hover {
  color: var(--ink);
}

.big-link:hover .arrow {
  transform: translate(4px, -4px);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
}

.site-footer a {
  color: var(--paper);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-credit {
  font-size: 0.72rem;
  opacity: 0.75;
}

.footer-credit a {
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Motion: a staggered rise on load, nothing else */

@media (prefers-reduced-motion: no-preference) {
  .site-header,
  .slider,
  .intro-inner {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .slider {
    animation-delay: 0.12s;
  }

  .intro-inner {
    animation-delay: 0.28s;
  }

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

/* Breakpoints */

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }

  .site-header {
    padding: 28px 0 12px;
  }

  .wordmark {
    font-size: 2rem;
  }

  .header-links {
    display: flex;
  }




  .slide img {
    aspect-ratio: 3 / 2;
  }

  .slider-controls {
    bottom: 24px;
  }

  .intro {
    padding: 88px 0 100px;
  }

  .intro-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
  }

  .slide img {
    aspect-ratio: 2 / 1;
  }


}
