@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@1,600&display=swap');

:root {
  --ink: #243229;
  --paper: #f6f1e8;
  --cream: #fffdf8;
  --sage: #a8b7a3;
  --sage-dark: #526b5a;
  --rose: #d59b8f;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(213,155,143,.18), transparent 25rem),
    radial-gradient(circle at 90% 85%, rgba(168,183,163,.35), transparent 30rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
}

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

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 0 34px;
}

.hero { max-width: 790px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 35px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .88;
}

h1 em {
  color: var(--rose);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -.035em;
}

.hero p {
  max-width: 590px;
  margin: 30px 0 0;
  color: #667169;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.collections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 8vw, 85px);
}

.collection {
  position: relative;
  display: grid;
  min-height: 290px;
  overflow: hidden;
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(36,50,41,.1);
  border-radius: 4px;
  background: var(--cream);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.collection:hover,
.collection:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(45,57,48,.13);
}

.collection:focus-visible { outline: 3px solid var(--sage-dark); }

.collection--bouquet { background: #efd9d2; }
.collection--basics { background: #dbe3d7; }

.collection__number,
.collection__count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.collection__art {
  position: absolute;
  top: -38px;
  right: 18px;
  color: rgba(255,255,255,.62);
  font-family: Georgia, serif;
  font-size: 190px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(9deg);
}

.collection--basics .collection__art {
  top: -20px;
  right: -8px;
  transform: rotate(-12deg);
}

.collection__content {
  position: relative;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.collection__count { margin-bottom: 9px; color: var(--sage-dark); }

.collection__content strong {
  max-width: 380px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.collection__content > span:last-child { color: #687169; font-size: 14px; }

.collection__arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(36,50,41,.25);
  border-radius: 50%;
  font-size: 21px;
  transition: color .2s ease, background .2s ease;
}

.collection:hover .collection__arrow { color: white; background: var(--ink); }

footer {
  margin-top: 48px;
  color: #7d867f;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .page-shell { width: min(100% - 28px, 560px); padding-top: 48px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .collections { grid-template-columns: 1fr; }
  .collection { min-height: 245px; padding: 22px; }
  .collection__art { font-size: 155px; }
  .collection__arrow { right: 20px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .collection { transition: none; }
}
