:root {
  --pink: #ffccf7;
  --accent: #6693f8;
  --light-blue: #a3d8ff;
  --yellow: #ffc91f;
  --logo-yellow: #e2aa12;
  --ink: #171717;
  --muted-ink: rgba(23, 23, 23, .68);
  --line: rgba(23, 23, 23, .42);
  --paper: rgba(255, 255, 255, .16);
  --font-typewriter: "Courier New", "Nimbus Mono PS", "Liberation Mono", monospace;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
.sales-countdown { margin-block: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: var(--paper); }
.sales-countdown p { margin: 0 0 10px; font-size: 12px; line-height: 1.5; }
.sales-countdown strong { display: block; color: var(--ink); font-size: clamp(22px, 5vw, 34px); font-variant-numeric: tabular-nums; }
.sales-countdown.is-closed strong { font-size: 24px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--pink);
  font-family: var(--font-typewriter);
  line-height: 1.55;
}

body.drawer-open { overflow: hidden; }
button,
input,
select { color: inherit; font: inherit; }
button,
a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
.page-width { width: min(100% - 32px, 920px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  min-height: 82px;
  padding: 0 12px;
  background: var(--pink);
  border-bottom: 1px solid rgba(23, 23, 23, .12);
}

.menu-button,
.cart-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.menu-button { justify-items: start; align-content: center; gap: 5px; }
.menu-button span { display: block; width: 21px; height: 2px; flex: 0 0 2px; background: currentColor; border-radius: 999px; transition: width .2s; }
.menu-button:hover span:nth-child(2) { width: 15px; }
.cart-link { position: relative; justify-self: end; }
.cart-link img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.cart-count {
  position: absolute;
  right: -1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  color: white;
  background: var(--ink);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
}

.header-logo {
  justify-self: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(25px, 7.3vw, 34px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.logo-d,
.logo-i { position: relative; display: inline-block; }
.logo-note {
  position: absolute;
  z-index: 2;
  color: var(--logo-yellow);
  font-family: var(--font-serif);
  font-size: .31em;
  font-weight: 700;
  line-height: 1;
}
.note-one { top: -13%; left: 26%; transform: rotate(-12deg); }
.note-two { top: 55%; left: 62%; transform: rotate(10deg); }
.note-three { top: 9%; left: 66%; font-size: .24em; transform: rotate(16deg); }
.note-four { top: 79%; left: 35%; font-size: .26em; transform: rotate(-14deg); }
.note-five { top: 33%; left: 18%; font-size: .21em; transform: rotate(8deg); }
.logo-i::after {
  content: "";
  position: absolute;
  top: .06em;
  left: 50%;
  width: .23em;
  height: .23em;
  background: var(--logo-yellow);
  border-radius: 50%;
  transform: translateX(-48%);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  visibility: hidden;
  background: rgba(23, 23, 23, .32);
  opacity: 0;
  transition: opacity .25s, visibility .25s;
}
.drawer-backdrop.is-open { visibility: visible; opacity: 1; }

.side-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: min(88vw, 380px);
  padding: 22px 24px 34px;
  overflow-y: auto;
  background: var(--pink);
  border-right: 1px solid var(--ink);
  transform: translateX(-102%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.side-panel.is-open { transform: translateX(0); }
.side-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 25px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.drawer-close { width: 42px; height: 42px; padding: 0; background: transparent; border: 0; cursor: pointer; font-size: 32px; font-weight: 300; line-height: 1; }
.side-nav { display: flex; flex-direction: column; }
.side-nav a { padding: 19px 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 25px; font-weight: 700; line-height: 1.08; text-decoration: none; }
.side-nav a:hover { color: var(--accent); }

.hero-collage {
  position: relative;
  overflow: hidden;
  width: min(100%, 1180px);
  margin: 0 auto;
  background: var(--yellow);
}
.hero-collage img { display: block; width: 100%; height: auto; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: 14px; }
.social-links a { text-underline-offset: 4px; }
.hero-lettering {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--yellow);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(45px, 14vw, 126px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .68;
  text-align: center;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-3deg);
}
.hero-lettering span { display: block; }
.hero-lettering small { margin-top: .5em; color: var(--pink); font-family: var(--font-serif); font-size: .38em; letter-spacing: .02em; text-transform: uppercase; }

.home-intro { padding: 48px 0 58px; text-align: center; }
h1,
h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.025em; }
.home-intro h1 { max-width: 820px; margin: 0 auto; font-size: clamp(42px, 11vw, 78px); line-height: .98; }
.home-intro h1 span { display: block; margin-top: 13px; font-family: var(--font-typewriter); font-size: .42em; font-weight: 400; letter-spacing: .01em; line-height: 1.25; }

.primary-button,
.purchase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 24px;
  color: white;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  transition: background .18s, color .18s, transform .18s;
}
.primary-button { margin-top: 30px; }
.primary-button:hover,
.buy-button:hover { background: #4e7fe9; transform: translateY(-2px); }
.story-section { border-top: 1px solid var(--line); }
.story-row { padding: 38px 0; }
.story-row + .story-row { border-top: 1px solid var(--line); }
.story-row p { max-width: 760px; margin: 0; font-family: var(--font-serif); font-size: clamp(19px, 5vw, 27px); line-height: 1.5; }

.content-section { padding: 60px 0; border-top: 1px solid var(--line); }
#faq { border-top: 0; }
.content-section h2 { margin: 0; font-size: clamp(34px, 9vw, 62px); line-height: 1; }
.section-kicker { margin: 0 0 14px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-copy { max-width: 710px; margin-top: 27px; }
.section-copy p { margin: 0 0 17px; }
.section-lead { font-family: var(--font-serif); font-size: clamp(20px, 5.2vw, 29px); line-height: 1.35; }
.about-section { padding-bottom: 90px; border-top: 0; }

.accordion { border-top: 1px solid var(--line); }
.section-copy + .accordion,
.faq-list { margin-top: 36px; }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 67px;
  padding: 17px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.accordion-trigger span:last-child {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  overflow: hidden;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font-size: 0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.accordion-trigger[aria-expanded="true"] span:last-child { transform: rotate(225deg); }
.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.accordion-content > p { min-height: 0; margin: 0; overflow: hidden; font-size: 13px; }
.accordion-content.is-open { grid-template-rows: 1fr; }
.accordion-content.is-open > p { padding-bottom: 22px; }
.accordion-content a { text-underline-offset: 3px; }

.product-page { min-height: 72vh; padding-top: 62px; padding-bottom: 90px; }
.purchase-card,
.product-information { width: min(100%, 620px); margin-inline: auto; }
.purchase-card h1 { margin: 0; font-size: clamp(42px, 12vw, 68px); line-height: 1.02; }
.price { margin: 29px 0 7px; font-size: 18px; }
.tax-note { margin: 0; color: var(--muted-ink); font-size: 11px; }
.shipping-estimate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  margin-top: 18px;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  font-size: 12px;
}
.shipping-estimate strong { text-align: right; }
.shipping-estimate small { grid-column: 1 / -1; color: var(--muted-ink); font-size: 9px; }
.purchase-form { margin-top: 29px; }
.quantity-label { display: block; margin-bottom: 8px; font-size: 12px; }
.quantity-picker { display: grid; grid-template-columns: 44px 52px 44px; width: max-content; height: 50px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; }
.quantity-picker button,
.quantity-picker input { width: 100%; height: 100%; padding: 0; background: transparent; border: 0; text-align: center; }
.quantity-picker button { cursor: pointer; font-size: 18px; }
.quantity-picker button:hover { background: rgba(255, 255, 255, .25); }
.quantity-picker input { appearance: textfield; outline: none; }
.quantity-picker input::-webkit-inner-spin-button { appearance: none; }
.purchase-actions { display: grid; gap: 10px; margin-top: 26px; }
.purchase-button { width: 100%; margin: 0; }
.add-button { color: var(--ink); background: transparent; border-color: var(--ink); }
.add-button:hover { color: var(--pink); background: var(--ink); transform: translateY(-2px); }
.confirmation { min-height: 20px; margin: 10px 0 0; font-size: 11px; text-align: center; }
.product-information { margin-top: 72px; }
.product-copy { padding-top: 27px; border-top: 1px solid var(--line); font-size: 14px; }
.product-copy p { margin: 0 0 17px; }
.product-copy + .accordion { margin-top: 27px; }

.utility-page { min-height: 70vh; padding-top: 58px; padding-bottom: 90px; }
.utility-page h1,
.checkout-page h1 { margin: 0 0 34px; font-size: clamp(42px, 11vw, 68px); line-height: 1; }
.cart-items { border-top: 1px solid var(--line); }
.cart-empty { padding: 34px 0; border-bottom: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-row h2 { margin: 0 0 5px; font-size: 24px; }
.cart-row p { margin: 0; font-size: 12px; }
.cart-row-price { font-family: var(--font-serif); font-size: 17px; }
.cart-row-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.mini-quantity { display: flex; align-items: center; gap: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; }
.mini-quantity button,
.remove-item { padding: 4px; background: transparent; border: 0; cursor: pointer; }
.remove-item { text-decoration: underline; text-underline-offset: 3px; }
.cart-summary { width: min(100%, 520px); margin: 35px 0 0 auto; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; font-family: var(--font-serif); font-size: 17px; }
.cart-summary > .shipping-line { font-family: var(--font-typewriter); font-size: 11px; }
.cart-summary > .cart-total-line { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 21px; }
.cart-summary p { margin: 10px 0 0; font-size: 11px; }
.full-button { width: 100%; }

.checkout-page { display: grid; gap: 55px; min-height: 70vh; padding-top: 58px; padding-bottom: 90px; }
.checkout-form label { display: grid; gap: 7px; margin-bottom: 16px; font-size: 11px; }
.checkout-form input,
.checkout-form select { width: 100%; min-height: 50px; padding: 11px 13px; background: rgba(255, 255, 255, .2); border: 1px solid var(--line); border-radius: 4px; outline: 0; }
.checkout-form input:focus,
.checkout-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(102, 147, 248, .25); }
.field-row { display: grid; gap: 0; }
.shipping-notice,
.summary-total { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 12px; }
.shipping-notice strong { text-align: right; }
.checkout-message { min-height: 20px; font-size: 12px; text-align: center; }
.order-summary { align-self: start; padding: 25px; background: var(--paper); border: 1px solid var(--line); }
.order-summary h2 { margin: 0 0 22px; font-size: 28px; }
.summary-item { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; }
.summary-total + .summary-total { border-top: 0; }
.summary-total.grand-total { font-family: var(--font-serif); font-size: 17px; }
.order-summary > p { margin: 16px 0 0; font-size: 10px; }

.site-footer { padding: 48px 16px 30px; background: var(--light-blue); border-top: 1px solid var(--ink); }
.footer-inner { width: min(100%, 1120px); margin: auto; }
.footer-brand { color: var(--accent); font-family: var(--font-serif); font-size: clamp(40px, 11vw, 78px); font-weight: 700; letter-spacing: -.06em; line-height: 1; text-decoration: none; }
.footer-meta { display: flex; flex-direction: column; gap: 5px; margin-top: 38px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button:active,
.primary-button:active { transform: translateY(1px) scale(.99); }

.js .reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.js .reveal.is-visible { opacity: 1; filter: none; transform: translateY(0); }

@media (min-width: 768px) {
  .page-width { width: min(100% - 64px, 920px); }
  .site-header { min-height: 104px; padding-inline: 34px; }
  .header-logo { font-size: clamp(42px, 5vw, 66px); }
  .hero-collage { border-inline: 1px solid var(--ink); }
  .home-intro { padding-block: 82px 86px; }
  .story-row { padding-block: 58px; }
  .content-section { padding-block: 90px; }
  .accordion-trigger { font-size: 15px; }
  .product-page { padding-top: 95px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .checkout-page { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); width: min(100% - 64px, 1120px); padding-top: 80px; }
  .order-summary { position: sticky; top: 125px; }
  .footer-meta { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 360px) {
  .header-logo { font-size: 23px; }
  .site-header { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; filter: none; transform: none; }
}
