@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fffaf6;
  --white: #fffdfb;
  --ink: #39190f;
  --muted: #6d4a40;
  --pink: #ad195a;
  --pink-dark: #891044;
  --rose: #fbe4ec;
  --gold: #f5c556;
  --line: #ead6cb;
  --sans: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 650; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--pink-dark); outline-offset: 4px; }
[id] { scroll-margin-top: 1.25rem; }

.shell { width: min(100% - 5rem, 77.5rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  z-index: 2;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  background: var(--white);
}
.sparkle {
  display: inline-block;
  width: .8rem;
  aspect-ratio: 1;
  background: var(--gold);
  clip-path: polygon(50% 0%, 62% 36%, 100% 50%, 62% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 36%);
}
.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: var(--paper);
  min-height: 2.1875rem;
  padding: .4rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .075em;
}
.site-header { border-bottom: 1px solid #f0e5de; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.1rem;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .52rem;
  text-decoration: none;
}
.brand-mark { width: 2.8rem; height: auto; }
.wordmark-text {
  display: grid;
  justify-items: start;
  gap: .12rem;
}
.wordmark-script { width: 5.8rem; height: auto; }
.wordmark-text small {
  margin-left: .08rem;
  font-size: .59rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}
.header-inner nav { display: flex; gap: clamp(1.2rem, 3.2vw, 3rem); }
.header-inner nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.header-inner nav a:hover { color: var(--pink-dark); text-decoration: underline; text-underline-offset: .25em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .68rem 1.42rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-primary { color: white; background: var(--pink); }
.button-primary:hover { background: var(--pink-dark); }
.button-outline { border-color: #bda095; }
.button-outline:hover { border-color: var(--pink); background: #fff0f4; }
.header-contact { justify-self: end; min-height: 2.75rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
.text-link:hover { color: var(--pink-dark); }

.hero {
  display: grid;
  grid-template-columns: 1fr .96fr;
  min-height: clamp(29rem, 39vw, 34rem);
  margin-top: 1.6rem;
  overflow: hidden;
  border: 1px solid #f0d5dd;
  border-radius: 1.15rem;
  background: var(--rose);
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  isolation: isolate;
  padding: 3.6rem clamp(2.5rem, 5.6vw, 5.25rem);
  background: radial-gradient(ellipse at 4% 0%, #fff4ef 0%, #fce9ee 39%, #f9dce9 100%);
}
.hero-copy h1 {
  z-index: 1;
  width: 100%;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  letter-spacing: -.067em;
  line-height: 1.03;
}
.hero-copy h1 em { display: block; margin: .18em 0 0; }
.hero-script { width: min(94%, 27rem); height: auto; }
.hero-copy p {
  max-width: 23rem;
  margin-top: 1.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1.4rem;
  margin-top: 1.8rem;
}
.hero-sparkle {
  position: absolute;
  top: 12%;
  right: 11.5%;
  width: clamp(1.25rem, 2.55vw, 2.15rem);
  transform: rotate(13deg);
}
.hero-image { position: relative; margin: 0; background: #e9c4ba; }
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.collection { padding-block: clamp(3.25rem, 5.2vw, 5rem) clamp(3.5rem, 6.1vw, 6rem); }
.section-heading h2, .contact h2 {
  font-size: clamp(2.1rem, 3.65vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.057em;
}
.section-heading p, .contact-copy p {
  margin-top: .65rem;
  color: var(--muted);
  line-height: 1.55;
}
.collection-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.65rem;
}
.filters { display: flex; flex-wrap: wrap; gap: .42rem; }
.filters button {
  min-height: 2.75rem;
  padding: .49rem .95rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5rem;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.filters button:hover { background: var(--rose); }
.filters button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.15rem;
}
.product { min-width: 0; }
.product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: .75rem;
  background: var(--rose);
}
.cream-cupcakes { object-position: center 26%; }
.floral { object-position: center 28%; }
.birthday { object-position: center 43%; }
.shortbread { object-position: center 60%; }
.round-biscuits { object-position: center 26%; }
.product-details { padding: .68rem .1rem 0; }
.product-details h3 { font-size: clamp(1.02rem, 1.5vw, 1.24rem); line-height: 1.3; letter-spacing: -.025em; }
.product-details a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--pink-dark);
  font-size: .875rem;
  text-underline-offset: .25em;
}
.product-details a:hover { text-decoration-thickness: 2px; }

.pricing {
  background: #fbe8ef;
  border-block: 1px solid #f3dce4;
}
.pricing-inner {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4.75rem);
  padding-block: clamp(3rem, 5.25vw, 5rem);
}
.pricing-heading p { max-width: 22rem; }
.price-sparkle { width: 1.55rem; margin-bottom: .65rem; background: #de9d23; }
.price-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e9ccd7;
  border-radius: .9rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
th, td { padding: 1.02rem clamp(.55rem, 1.5vw, 1.25rem); }
tr > :first-child { padding-left: clamp(.85rem, 2vw, 1.45rem); text-align: left; }
tr > :not(:first-child) { text-align: right; white-space: nowrap; }
tr > :last-child { padding-right: clamp(.85rem, 2vw, 1.45rem); }
thead { background: var(--ink); color: var(--paper); }
thead th { font-weight: 650; }
tbody tr + tr { border-top: 1px solid #ecded8; }
tbody th { font-weight: 650; }
tbody td { font-weight: 650; color: var(--pink-dark); }

.contact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 3vw, 2.7rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
}
.contact-logo { width: clamp(7rem, 11vw, 10.5rem); height: auto; }
.contact h2 { font-size: clamp(1.95rem, 3.1vw, 3rem); }
.contact-copy p { max-width: 30rem; }
.contact-actions { display: grid; justify-items: center; gap: .35rem; }
.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  padding-block: 1.3rem;
  font-size: .875rem;
}

@media (max-width: 62rem) {
  .shell { width: calc(100% - 3.5rem); }
  .hero-copy { padding-inline: clamp(1.9rem, 4.5vw, 3rem); }
  .hero { min-height: 28rem; }
  .product-grid { gap: 1.55rem .85rem; }
  .pricing-inner { grid-template-columns: .8fr 1.4fr; }
}

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner {
    grid-template-columns: 1fr 1fr;
    gap: .3rem 1rem;
    padding-block: .65rem .15rem;
  }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; gap: 1.4rem; }
  .wordmark-script { width: 5.3rem; }
  .brand-mark { width: 2.4rem; }
  .hero { grid-template-columns: 1fr; margin-top: .9rem; border-radius: .82rem; }
  .hero-copy { padding: clamp(2rem, 6vw, 3.25rem) clamp(1.25rem, 5.7vw, 2.45rem); }
  .hero-copy h1 { font-size: clamp(1.95rem, 9.7vw, 4rem); }
  .hero-copy p { margin-top: 1rem; }
  .hero-actions { margin-top: 1rem; column-gap: 1rem; }
  .hero-sparkle { top: 11%; right: 10.5%; }
  .hero-image { aspect-ratio: 1.26; }
  .hero-image img { object-position: center 46%; }
  .collection-heading { margin-bottom: 1.15rem; }
  .filters button { padding-inline: .72rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-photo { aspect-ratio: 1.05; }
  .pricing-inner, .contact { grid-template-columns: 1fr; }
  .pricing-heading p { max-width: 28rem; }
  .contact { justify-items: start; }
  .contact-logo { width: 7rem; }
  .contact-actions { display: flex; flex-wrap: wrap; column-gap: 1rem; align-items: center; }
}

@media (max-width: 25rem) {
  .collection { padding-block: 2.45rem 2.85rem; }
  .filters { gap: .3rem; }
  .filters button { padding-inline: .56rem; font-size: .8125rem; }
  table { font-size: .85rem; }
  th, td { padding-inline: .39rem; }
  tr > :first-child { padding-left: .64rem; }
  tr > :last-child { padding-right: .64rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
