:root {
  --primary: #6439b0;
  --primary-soft: rgba(100, 57, 176, 0.12);
  --primary-pale: #e0d7ef;
  --ink: #1c1f2c;
  --night: #11111d;
  --muted: #666878;
  --line: #dedde5;
  --paper: #ffffff;
  --wash: #f7f5fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 9%, rgba(100, 57, 176, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--wash) 0 36rem, var(--paper) 36rem 100%);
  font-family: "Raleway", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: radial-gradient(rgba(28, 31, 44, 0.17) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  content: "";
  pointer-events: none;
}

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

.page-shell {
  width: min(100% - 32px, 1216px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  margin-top: 24px;
  padding: 14px 20px;
  border: 1px solid rgba(100, 57, 176, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 3px 60px rgba(17, 17, 29, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 132px;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(370px, 0.96fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: auto;
  padding: 36px 20px 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 770px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.35vw, 5.45rem);
  font-weight: 800;
  letter-spacing: -0.054em;
  line-height: 0.98;
}

h1 span {
  color: var(--primary);
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.72;
}

.message-card {
  position: relative;
  max-width: 640px;
  padding: 25px 28px 24px 68px;
  overflow: hidden;
  border: 1px solid rgba(100, 57, 176, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 50px rgba(100, 57, 176, 0.08);
}

.message-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
  content: "";
}

.message-card__mark {
  position: absolute;
  top: 12px;
  left: 26px;
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 3.3rem;
  line-height: 1;
}

.message-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.message-card strong {
  color: var(--primary);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 490px;
}

.illustration-card {
  position: relative;
  z-index: 2;
  width: min(100%, 510px);
  padding: 24px;
  border: 1px solid rgba(100, 57, 176, 0.16);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 215, 239, 0.72));
  box-shadow: 0 34px 80px rgba(65, 35, 115, 0.18);
  transform: rotate(2deg);
  transition: transform 500ms ease;
}

.hero__visual:hover .illustration-card {
  transform: rotate(0deg) translateY(-5px);
}

.illustration-card img {
  width: 100%;
  filter: saturate(0.92);
}

.visual-note {
  position: absolute;
  right: -7px;
  bottom: 10px;
  z-index: 3;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--paper);
  background: var(--night);
  box-shadow: 0 14px 30px rgba(17, 17, 29, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(100, 57, 176, 0.22);
  border-radius: 50%;
}

.orbit--one {
  width: 460px;
  height: 460px;
}

.orbit--two {
  width: 570px;
  height: 310px;
  transform: rotate(-22deg);
}

.spark {
  position: absolute;
  z-index: 4;
  width: 14px;
  height: 14px;
  border: 3px solid var(--primary);
  transform: rotate(45deg);
}

.spark--one {
  top: 6%;
  right: 10%;
}

.spark--two {
  bottom: 19%;
  left: -1%;
  width: 9px;
  height: 9px;
  border-width: 2px;
}

.spark--three {
  top: 29%;
  left: 0;
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
}

.gratitude {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  margin-bottom: 72px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 30px;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 20%, rgba(100, 57, 176, 0.5), transparent 34%),
    var(--night);
  box-shadow: 0 28px 60px rgba(17, 17, 29, 0.16);
}

.eyebrow--light {
  color: #bda8e4;
}

.gratitude h2 {
  max-width: 440px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.gratitude__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gratitude article {
  padding: 8px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.gratitude article > span {
  display: inline-block;
  margin-bottom: 42px;
  color: #bda8e4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.gratitude h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.gratitude article p {
  margin-bottom: 0;
  color: #b7b8c2;
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 30px 4px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer img {
  width: 98px;
}

.site-footer p {
  margin-bottom: 0;
}

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

.site-footer a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero__copy {
    text-align: center;
  }

  .eyebrow,
  .message-card,
  .hero__lead {
    margin-inline: auto;
  }

  .hero__visual {
    min-height: 450px;
  }

  .gratitude {
    grid-template-columns: 1fr;
  }

  .gratitude__intro {
    text-align: center;
  }

  .gratitude h2,
  .gratitude .eyebrow {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 22px, 1216px);
  }

  .site-header {
    min-height: 70px;
    margin-top: 12px;
    padding: 12px 14px;
  }

  .brand img {
    width: 108px;
  }

  .hero {
    gap: 24px;
    padding: 32px 8px 68px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .message-card {
    padding: 24px 22px 23px 54px;
    text-align: left;
  }

  .message-card__mark {
    left: 18px;
  }

  .hero__visual {
    min-height: 340px;
  }

  .illustration-card {
    width: 88%;
    padding: 14px;
  }

  .orbit--one {
    width: 310px;
    height: 310px;
  }

  .orbit--two {
    width: 350px;
    height: 220px;
  }

  .visual-note {
    right: 4px;
    bottom: 0;
  }

  .gratitude {
    gap: 40px;
    margin-bottom: 44px;
    padding: 40px 26px;
    border-radius: 24px;
  }

  .gratitude__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gratitude article {
    padding: 0 0 0 18px;
  }

  .gratitude article > span {
    margin-bottom: 13px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

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

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