:root {
  --ink: #203e37;
  --ink-soft: #5f716b;
  --cream: #f4efe6;
  --paper: rgba(255, 253, 248, 0.72);
  --coral: #f27d67;
  --coral-dark: #d9614e;
  --sun: #e6b75c;
  --sage: #aec4a7;
  --line: rgba(32, 62, 55, 0.13);
  --shadow: 0 30px 80px rgba(46, 67, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.84), transparent 33%),
    linear-gradient(135deg, #f7f3ec 0%, #eee8dd 100%);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient--one {
  top: 9%;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  background: rgba(226, 174, 99, 0.19);
}

.ambient--two {
  bottom: 5%;
  left: -13rem;
  width: 32rem;
  height: 32rem;
  background: rgba(147, 180, 157, 0.2);
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar__date {
  color: var(--ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.hero {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 82px 0 72px;
  text-align: center;
}

.hero__eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__eyebrow-line {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.quote-wrap {
  position: relative;
  max-width: 900px;
  margin: 30px auto 0;
}

.quote-mark {
  position: absolute;
  top: -34px;
  left: -36px;
  color: rgba(242, 125, 103, 0.18);
  font-family: "DM Serif Display", serif;
  font-size: 9rem;
  line-height: 1;
}

blockquote {
  position: relative;
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.message-label {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.year-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  padding: clamp(36px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.year-card h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.year-card__intro > p:last-child {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.year-card__progress {
  display: grid;
  grid-template-columns: 174px 1fr;
  gap: 36px;
  align-items: center;
}

.progress-ring {
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--coral) 0deg, rgba(32, 62, 55, 0.1) 0deg);
  box-shadow: inset 0 0 0 1px rgba(32, 62, 55, 0.05);
}

.progress-ring__inside {
  display: flex;
  width: 144px;
  height: 144px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7f3eb;
}

.progress-ring strong {
  font-family: "DM Serif Display", serif;
  font-size: 3.55rem;
  font-weight: 400;
  line-height: 0.9;
}

.progress-ring span {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.progress-copy__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.progress-copy__topline span {
  color: var(--ink-soft);
}

.progress-bar {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(32, 62, 55, 0.1);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--sun));
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-copy p {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 2px 36px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

.footer-credit {
  font-size: 0.69rem;
  opacity: 0.7;
}

.footer-credit a {
  color: inherit;
  text-decoration-color: rgba(95, 113, 107, 0.42);
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--ink);
  opacity: 1;
}

.reveal {
  opacity: 0;
  animation: reveal 700ms ease forwards;
}

.reveal--one { animation-delay: 80ms; }
.reveal--two { animation-delay: 170ms; }
.reveal--three { animation-delay: 280ms; }
.reveal--four { animation-delay: 390ms; }

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

@media (max-width: 820px) {
  .topbar,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: 540px;
    padding: 65px 0;
  }

  .quote-mark {
    left: -5px;
  }

  .year-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 76px;
  }

  .brand {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .topbar__date {
    font-size: 0.74rem;
  }

  .hero {
    min-height: 560px;
    padding-top: 50px;
  }

  blockquote {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .quote-mark {
    top: -22px;
    font-size: 7rem;
  }

  .year-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .year-card__progress {
    grid-template-columns: 1fr;
  }

  .progress-ring {
    margin-inline: auto;
  }

  footer {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
}

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