:root {
  color-scheme: light;
  --paper: #fbf7ed;
  --ink: #361e3f;
  --muted: #655668;
  --plum: #3b2046;
  --pale: #f3ead8;
  --gold: #f7eac0;
  --edge: #d7cabc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #87549f; outline-offset: 5px; }
.frame { width: min(90%, 1280px); margin-inline: auto; }
.announcement {
  background: var(--plum);
  color: #fdf2d8;
  text-align: center;
  padding: .46rem 1rem;
  font-size: .875rem;
  font-weight: 550;
  letter-spacing: .035em;
}
.site-header { border-bottom: 1px solid var(--edge); }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.75rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; text-decoration: none; font: 700 1.45rem/1 var(--serif); letter-spacing: -.035em; }
.wordmark small { display: block; font: 700 .72rem/1.25 var(--sans); letter-spacing: .17em; text-transform: uppercase; margin-top: .22rem; }
.grape-mark { width: 28px; height: 31px; display: block; position: relative; flex: none; }
.grape-mark::before { content: ''; position: absolute; left: 13px; top: 0; width: 3px; height: 7px; border-radius: 4px; background: currentColor; transform: rotate(34deg); }
.grape-mark i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.grape-mark i:nth-child(1) { left: 1px; top: 8px; }
.grape-mark i:nth-child(2) { left: 10px; top: 8px; }
.grape-mark i:nth-child(3) { left: 19px; top: 8px; }
.grape-mark i:nth-child(4) { left: 5.5px; top: 16px; }
.grape-mark i:nth-child(5) { left: 14.5px; top: 16px; }
.grape-mark i:nth-child(6) { left: 10px; top: 24px; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover, .text-link:hover { color: #7f487e; }
.header-action { justify-self: end; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.35rem;
  background: var(--plum); color: #fff9ed; border: 1px solid var(--plum);
  text-decoration: none; font-size: .94rem; font-weight: 650;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { background: #643771; border-color: #643771; }
.button-small { min-height: 43px; padding: .55rem 1.1rem; }
.text-link { font-size: .95rem; font-weight: 650; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.hero {
  padding-block: clamp(2rem, 4vw, 4rem);
  display: grid; grid-template-columns: .94fr 1fr; gap: clamp(2rem, 4.8vw, 4.6rem); align-items: center;
}
.hero-copy { padding-block: 1rem; }
.eyebrow { margin: 0 0 1.15rem; display: flex; align-items: center; gap: .55em; font-size: .875rem; line-height: 1.3; letter-spacing: .14em; font-weight: 750; }
.eyebrow span { color: #795489; }
h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.35rem, 6.75vw, 7rem); line-height: .94; letter-spacing: -.077em; }
h1 em { font-weight: 400; color: #694173; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.6vw, 1.21rem); color: var(--muted); max-width: 33ch; margin-top: 1.65rem; }
.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-art { position: relative; background: #533064; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; }
.seal {
  position: absolute; top: 6%; right: 5%; width: clamp(76px, 9vw, 132px); aspect-ratio: 1;
  border-radius: 50%; color: var(--plum); background: var(--gold); outline: 1px solid var(--plum); outline-offset: -6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font: italic 400 clamp(.8rem, 1.4vw, 1.3rem)/1.05 var(--serif); transform: rotate(11deg);
}
.seal span { font-size: .6em; line-height: 1.5; }
.qualities { background: var(--pale); border-block: 1px solid var(--edge); }
.qualities-inner { display: flex; align-items: center; justify-content: space-evenly; gap: .65rem; text-align: center; padding-block: 1rem; font: italic 1.15rem/1.15 var(--serif); }
.qualities span[aria-hidden] { font-size: .7em; color: #795489; }
.collection, .subscription-section { padding-block: clamp(3rem, 6.5vw, 6.5rem); }
.section-intro { display: grid; justify-items: center; text-align: center; gap: .6rem; margin: 0 auto 2rem; }
.section-intro .eyebrow { margin-bottom: .1rem; }
h2 { font-size: clamp(2.45rem, 5vw, 4.65rem); line-height: 1.02; letter-spacing: -.058em; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 44ch; }
.product-grid, .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.1vw, 1.85rem); }
.product { border: 1px solid var(--edge); display: flex; flex-direction: column; }
.product img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; background: #ede0ea; }
.product-info { padding: clamp(.95rem, 2vw, 1.55rem); flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.product-type { text-transform: uppercase; font-size: .875rem; color: var(--muted); letter-spacing: .1em; font-weight: 650; margin-bottom: .32rem; }
h3 { font-size: clamp(1.55rem, 2.65vw, 2.35rem); line-height: 1.06; letter-spacing: -.04em; }
.product-description { color: var(--muted); margin-block: .75rem 1rem; }
button.text-link { background: none; border: 0; padding: .25rem 0; color: inherit; text-decoration: underline; margin-top: auto; }
button.text-link:hover { color: #7f487e; }
.subscription-section { background: var(--plum); color: var(--paper); }
.subscription-section .eyebrow span, .subscription-section .section-intro > p:last-child { color: #e5cede; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.75vw, 2rem); border: 1px solid #8b6995; }
.plan.featured { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.plan p { margin-block: .85rem 1.3rem; }
.plan .price { margin: .75rem 0 0; font-size: 1rem; }
.price strong { font: 400 2.5rem/1 var(--serif); }
.plan .button { margin-top: auto; border-color: #e9d8eb; }
.plan.featured .button { border-color: var(--plum); }
.site-footer { padding-block: 1.8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .85rem 1.3rem; }
.footer-brand { font: 700 1.15rem/1.15 var(--serif); }
.site-footer p { font-size: .94rem; color: var(--muted); }
dialog { width: min(92vw, 500px); max-height: calc(100% - 2rem); border: 1px solid var(--edge); background: var(--paper); color: var(--ink); padding: 0; }
dialog::backdrop { background: rgb(28 11 33 / .7); }
.dialog-inner { position: relative; padding: clamp(1.3rem, 5vw, 2.5rem); }
.dialog-close { position: absolute; top: .5rem; right: .5rem; height: 42px; width: 42px; border: 0; background: transparent; color: var(--ink); font-size: 1.8rem; line-height: 1; }
.dialog-close:hover { background: var(--pale); }
.dialog-inner .eyebrow { padding-right: 2rem; }
.dialog-inner h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
#dialog-description { margin-top: .8rem; }
#pretend-order { margin-top: 1.25rem; display: grid; gap: .65rem; }
#pretend-order label { font-weight: 700; }
#pretend-order select {
  appearance: none; color: var(--ink); background-color: #fffdf6; padding: .6rem 2.15rem .6rem .65rem; border: 1px solid var(--edge); border-radius: 0;
  background-image: linear-gradient(45deg, transparent 49%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 49%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.order-note { font-size: .9rem; color: var(--muted); margin-block: .15rem .55rem; }
@media (max-width: 800px) {
  .header-inner { min-height: 68px; gap: .85rem; }
  .wordmark { font-size: 1.15rem; }
  nav { gap: .9rem; }
  .hero { gap: 1.5rem; }
  .hero-actions { gap: .8rem 1.15rem; }
}
@media (max-width: 620px) {
  .header-inner { grid-template-columns: 1fr auto; padding-block: .65rem; gap: .5rem 1rem; }
  nav { grid-column: 1 / -1; grid-row: 2; padding-top: .4rem; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.7rem 2rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.3rem, 12.7vw, 5.25rem); }
  .hero-art img { aspect-ratio: 1.2; }
  .qualities-inner { font-size: .97rem; gap: .35rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
