:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --surface: #ffffff;
  --ink: #171713;
  --muted: #77756e;
  --line: #dedbd4;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  aspect-ratio: 1;
  border-radius: 7px;
  background:
    radial-gradient(circle at 25% 25%, #fff 0, transparent 22%),
    linear-gradient(135deg, #ff6f91, #735cff 56%, #3fd7d2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 35%);
}

.collection-count {
  color: var(--muted);
  font-size: 13px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 20px 80px;
  padding: 108px 0 70px;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: #625f58;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7.5vw, 104px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.intro-copy {
  align-self: end;
  max-width: 430px;
  margin: 0;
  color: #5f5d56;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
}

.legend span {
  padding: 8px 12px;
  border: 1px solid #d5d2cb;
  border-radius: 999px;
  color: #5e5b54;
  font-size: 12px;
  font-weight: 650;
  background: rgb(255 255 255 / 38%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 110px;
}

.gradient-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e0ddd6;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(26 25 20 / 3%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gradient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgb(26 25 20 / 8%);
}

.preview {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
}

.neutral-preview {
  place-items: center;
  background: #ebe9e3;
}

.preview-arctic {
  align-items: end;
  background:
    radial-gradient(circle at 18% 18%, #9df6ff 0, transparent 35%),
    radial-gradient(circle at 82% 12%, #c3a6ff 0, transparent 38%),
    radial-gradient(circle at 62% 88%, #ff9dc7 0, transparent 42%),
    #3f56d9;
}

.preview-ember {
  place-items: center;
  background:
    radial-gradient(circle at 20% 100%, #ff5d3a 0, transparent 38%),
    radial-gradient(circle at 90% 10%, #7f3cff 0, transparent 35%),
    #15131a;
}

.preview-cloud {
  place-items: center;
  background: linear-gradient(135deg, #f8f3ff 0%, #e9f7ff 48%, #fff6e7 100%);
}

.preview-signal {
  background: linear-gradient(110deg, #d9ff43 0%, #70f6a8 48%, #44d7ff 100%);
}

.preview-blue-hour {
  align-items: end;
  background:
    radial-gradient(circle at 72% 20%, #244bd6 0, transparent 35%),
    radial-gradient(circle at 10% 85%, #702da8 0, transparent 42%),
    #080b18;
}

.preview-prism {
  background: linear-gradient(90deg, #ff4d8d, #7a5cff, #00a8c5);
  background-clip: text;
  color: transparent;
}

.preview-peach {
  place-items: center;
  background:
    radial-gradient(circle at 12% 12%, #fff5bf 0, transparent 42%),
    radial-gradient(circle at 88% 80%, #ff9fa8 0, transparent 46%),
    #ffcfae;
}

.preview-halo {
  background: linear-gradient(120deg, #ff62b3, #7c68ff, #42d6e8);
}

.preview-mint {
  place-items: center;
  background: linear-gradient(145deg, #dfffe7 0%, #aeeed7 45%, #8dd9e8 100%);
}

.hero-sample {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
}

.hero-sample strong {
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-sample > span:last-child {
  font-size: 13px;
  opacity: 0.72;
}

.sample-kicker {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.light-copy {
  color: #16162a;
}

.dark-copy {
  color: #fff;
}

.glass-card,
.product-sample,
.weather-sample {
  display: flex;
  flex-direction: column;
  width: min(100%, 220px);
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 18px;
  background: rgb(255 255 255 / 12%);
  box-shadow: 0 20px 50px rgb(0 0 0 / 12%);
  backdrop-filter: blur(15px);
}

.glass-card span,
.glass-card small,
.product-sample small,
.weather-sample span,
.weather-sample small {
  font-size: 11px;
  opacity: 0.68;
}

.glass-card strong,
.weather-sample strong {
  margin: 14px 0 3px;
  font-size: 40px;
  letter-spacing: -0.06em;
}

.quote-sample {
  color: #363440;
  text-align: center;
}

.quote-sample span {
  display: block;
  height: 44px;
  color: #9c91bb;
  font-family: Georgia, serif;
  font-size: 66px;
  line-height: 1;
}

.quote-sample strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.button-sample {
  padding: 14px 22px;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 999px;
  color: #102619;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: inset 0 1px rgb(255 255 255 / 50%), 0 8px 20px rgb(55 180 135 / 25%);
}

.text-sample {
  font-size: clamp(35px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.07em;
}

.product-sample {
  color: #472b27;
  background: rgb(255 255 255 / 30%);
}

.product-sample strong {
  margin: 18px 0 4px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.product-dot {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff775f;
  box-shadow: 12px 0 0 rgb(255 255 255 / 45%);
}

.border-sample {
  width: min(100%, 250px);
  padding: 2px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgb(81 62 168 / 18%);
}

.border-sample > div {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 18px;
  background: #fff;
}

.border-sample span,
.border-sample small {
  color: var(--muted);
  font-size: 11px;
}

.border-sample strong {
  margin: 20px 0 4px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.weather-sample {
  color: #163d3b;
  background: rgb(255 255 255 / 28%);
}

.card-body {
  padding: 20px;
}

.card-body > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.card-type {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.045em;
}

details {
  margin-top: 18px;
  border-top: 1px solid #ece9e2;
}

summary {
  padding-top: 15px;
  color: #56534c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style-position: inside;
}

pre {
  max-width: 100%;
  margin: 14px 0 0;
  padding: 14px;
  overflow-x: auto;
  border-radius: 12px;
  background: #1d1d1a;
  color: #efeee8;
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer span {
  color: var(--ink);
  font-weight: 720;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .intro-copy,
  .legend {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1240px);
  }

  .collection-count {
    display: none;
  }

  .intro {
    padding: 62px 0 45px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 72px;
  }

  .preview {
    min-height: 310px;
  }

  footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
