:root {
  --paper: #f7faf6;
  --paper-light: #ffffff;
  --ink: #0f3d3a;
  --ink-soft: #536560;
  --teal: #188a87;
  --teal-dark: #0b6664;
  --lime: #ffe817;
  --brand-green: #70b25c;
  --line: rgba(15, 61, 58, 0.15);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 232, 23, 0.1), transparent 21rem),
    radial-gradient(circle at 88% 86%, rgba(112, 178, 92, 0.08), transparent 25rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 3.25rem) clamp(1.25rem, 4vw, 4.5rem) 1.5rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header {
  position: relative;
  z-index: 10;
  padding-bottom: clamp(1.75rem, 3.5vw, 4rem);
}

.brand {
  display: inline-block;
  width: clamp(9rem, 12vw, 11.5rem);
}

.brand img {
  width: 100%;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(255, 232, 23, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(31rem, 1.18fr);
  gap: clamp(2.5rem, 7vw, 8.25rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 1rem 0 2rem clamp(0rem, 2vw, 1.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  color: var(--teal-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.6rem;
  height: 1px;
  content: "";
  background: var(--teal);
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.1vw, 5.75rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1::after {
  display: block;
  width: 0.26em;
  height: 0.26em;
  margin: 0.25em 0 0 0.06em;
  border-radius: 50%;
  content: "";
  background: var(--lime);
}

.lead {
  max-width: 34rem;
  margin: 1.8rem 0 0;
  color: #244a44;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.35vw, 1.4rem);
  line-height: 1.55;
}

.supporting-copy {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.84rem, 0.9vw, 0.96rem);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, gap 180ms ease;
}

.text-link span {
  color: var(--teal);
  font-size: 1rem;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 1.35rem;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.text-link:focus-visible {
  outline: 3px solid rgba(255, 232, 23, 0.68);
  outline-offset: 5px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(2rem, 4vw, 4.5rem);
  color: #78827f;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-note span:not(:last-child)::after {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-left: 1.6rem;
  border-radius: 50%;
  vertical-align: middle;
  content: "";
  background: var(--teal);
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding-right: clamp(1.4rem, 3vw, 3rem);
}

.photo-stack {
  position: relative;
  min-height: min(69vh, 47rem);
  overflow: hidden;
  background: #bfd2ca;
  isolation: isolate;
}

.photo-stack::before,
.photo-stack::after {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  content: "";
}

.photo-stack::before {
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.76);
  border-right: 1px solid rgba(255, 255, 255, 0.76);
}

.photo-stack::after {
  right: -1px;
  bottom: -1px;
  width: clamp(3.5rem, 9vw, 8rem);
  height: clamp(3.5rem, 9vw, 8rem);
  background: var(--paper);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.photo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.2s ease, transform 7s ease;
}

.photo-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slide:first-child img {
  object-position: center center;
}

.photo-slide:nth-child(2) img {
  object-position: 55% center;
}

.photo-tint {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(4, 38, 35, 0.63) 100%),
    linear-gradient(90deg, rgba(8, 84, 79, 0.11), transparent 48%);
  mix-blend-mode: multiply;
}

.image-caption {
  position: absolute;
  z-index: 5;
  bottom: clamp(1.5rem, 3vw, 2.8rem);
  left: clamp(1.5rem, 3vw, 2.8rem);
  color: #fff;
}

.image-caption p {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.8rem);
}

.image-caption span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.slide-count {
  position: absolute;
  z-index: 6;
  right: clamp(1.5rem, 3vw, 2.8rem);
  bottom: clamp(1.7rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.slide-count i {
  display: block;
  width: 2.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.vertical-note {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 7;
  width: max-content;
  margin: 0;
  color: var(--ink);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  transform: translate(47%, -50%) rotate(90deg);
}

.site-footer {
  align-self: end;
  padding-top: clamp(1.5rem, 3vw, 2.7rem);
  color: #77817e;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(17rem, 0.86fr) minmax(25rem, 1.14fr);
    gap: 2.5rem;
  }

  .photo-stack {
    min-height: 36rem;
  }

  .supporting-copy {
    font-size: 0.83rem;
  }
}

@media (max-width: 760px) {
  .site-shell {
    display: block;
    padding: 1.25rem;
  }

  .site-header {
    padding-bottom: 2.7rem;
  }

  .brand {
    width: 8.7rem;
  }

  .status {
    max-width: 9rem;
    font-size: 0.55rem;
    line-height: 1.5;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 2.7rem;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.3rem, 15vw, 5.25rem);
  }

  .lead {
    max-width: 31rem;
  }

  .hero-note {
    margin-top: 2.2rem;
  }

  .hero-visual {
    width: 100%;
    padding-right: 1rem;
  }

  .photo-stack {
    min-height: 31rem;
  }

  .vertical-note {
    right: -0.3rem;
    font-size: 0.48rem;
  }

  .site-footer {
    align-items: flex-start;
    margin-top: 2rem;
    padding: 1.5rem 0 0.25rem;
    border-top: 1px solid var(--line);
    line-height: 1.6;
  }

  .site-footer p:first-child {
    max-width: 12rem;
  }

  .site-footer p:last-child {
    text-align: right;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 1rem;
  }

  .hero-note {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .hero-note span::after {
    display: none !important;
  }

  .photo-stack {
    min-height: 27rem;
  }

  .image-caption {
    right: 1.3rem;
  }

  .slide-count {
    top: 1.5rem;
    right: 1.5rem;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
