* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #332a2d;
  background: #faf8f5;
  font:
    1rem/1.5 "DM Sans",
    Arial,
    sans-serif;
}
header,
main,
footer {
  width: min(90%, 90rem);
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #d5c9c6;
}
header img {
  width: 3.5rem;
}
header span {
  font:
    1.55rem/1 "Instrument Serif",
    Georgia,
    serif;
}
header small {
  display: block;
  margin-top: 0.3rem;
  font:
    0.77rem "DM Sans",
    Arial,
    sans-serif;
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8%;
  align-items: end;
  padding: clamp(2.5rem, 5vw, 6rem) 0;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font:
    400 clamp(3.5rem, 6vw, 6.8rem)/0.96 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.045em;
}
.intro p {
  max-width: 26rem;
  line-height: 1.65;
}
.collection {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2.2rem 1.6rem;
}
.proposal {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  color: inherit;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}
.proposal:nth-child(-n + 2) {
  grid-column: span 3;
}
.proposal:focus-visible {
  outline: 3px solid #603040;
  outline-offset: 5px;
}
.proposal > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.94;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 1.45rem;
}
.card-copy small {
  font-size: 0.86rem;
}
h2 {
  font-size: 3rem;
  margin: 0.35rem 0 0.65rem;
}
.card-copy p {
  max-width: 34rem;
  margin-bottom: 1rem;
}
.card-copy span {
  margin-top: auto;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.proposal:hover .card-copy span {
  text-decoration-thickness: 2px;
}
.seda {
  background: #fbf7ef;
  color: #402626;
}
.marea {
  background: #e3f2ef;
  color: #173f48;
}
.nocturna {
  background: #211c21;
  color: #ffefe4;
}
.rubor {
  background: #ffe0e4;
  color: #682138;
}
.estudio {
  background: #e9f0e4;
  color: #153d35;
}
footer {
  margin-top: 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid #d5c9c6;
  font-size: 0.87rem;
}
@media (max-width: 880px) {
  .collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proposal,
  .proposal:nth-child(-n + 2) {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .intro,
  .collection {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .intro {
    padding: 2.8rem 0 2rem;
  }
  .card-copy {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .proposal { transition: translate 230ms ease, box-shadow 230ms ease; }
  .proposal:is(:hover, :focus-visible) { translate: 0 -4px; box-shadow: 0 .8rem 1.7rem #30222b19; }
}
