:root {
  --ink: #1B1614;
  --cream: #F6EBD8;
  --paper: #FFF8EC;
  --red: #E0402F;
  --mustard: #F2B227;
  --teal: #1D7A70;
  --pink: #EF6F9F;
  --cobalt: #2E5AAC;
  --script: "Shrikhand", cursive;
  --display: "Fraunces", Georgia, serif;
  --label: "Archivo", "Arial Narrow", sans-serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --line: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* label-style small caps used all over */
.stamp, .eyebrow, .card-top, .tab, .btn, .nav a, .info-num, .marquee, .ribbon, .badge, .price {
  font-family: var(--label);
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: var(--ink); color: var(--cream);
}
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: .9; }
.logo-script { font-family: var(--script); font-size: 17px; color: var(--mustard); }
.logo-serif { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -.01em; color: var(--cream); font-variation-settings: "SOFT" 100, "WONK" 1; }
.nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--cream); }
.nav a:hover { color: var(--mustard); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--red); color: var(--paper); text-decoration: none;
  font-weight: 800; font-size: 18px; padding: 13px 26px; border: var(--line); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: var(--cream); color: var(--ink); }
.btn.is-disabled { background: #d9cdbb; color: #6b5f55; box-shadow: none; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 88px) clamp(16px, 5vw, 64px);
  background:
    radial-gradient(circle at 1px 1px, rgba(246,235,216,.12) 1.5px, transparent 2px) 0 0 / 18px 18px,
    var(--ink);
  color: var(--cream);
}
.stamp {
  display: inline-block; margin: 0 0 22px; padding: 5px 14px; font-weight: 700; font-size: 14px;
  color: var(--mustard); border: 2px solid var(--mustard); border-radius: 4px; transform: rotate(-2deg);
}
h1 { margin: 0 0 20px; line-height: .92; }
.h1-script { display: block; font-family: var(--script); font-weight: 400; color: var(--pink); font-size: clamp(44px, 6.5vw, 88px); transform: rotate(-3deg); transform-origin: left; margin-bottom: 4px; }
.h1-big { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7vw, 100px); letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.lede { max-width: 40ch; margin: 0 0 30px; font-size: 19px; color: #e6d9c4; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photos { position: relative; aspect-ratio: 1 / 1; }
.hp { position: absolute; margin: 0; background: var(--paper); border: var(--line); padding: 10px 10px 0; width: 54%; }
.hp img { aspect-ratio: 1; object-fit: cover; width: 100%; border: 2px solid var(--ink); }
.hp figcaption { font-family: var(--label); font-stretch: 80%; font-weight: 800; letter-spacing: .08em; color: var(--ink); padding: 6px 2px 8px; font-size: 15px; }
.hp1 { top: 2%; left: 0; transform: rotate(-6deg); box-shadow: 10px 10px 0 var(--red); z-index: 2; }
.hp2 { top: 0; right: 0; width: 46%; transform: rotate(5deg); box-shadow: 10px 10px 0 var(--mustard); z-index: 4; }
.hp3 { bottom: 0; left: 24%; width: 46%; transform: rotate(-1deg); box-shadow: 10px 10px 0 var(--teal); z-index: 3; }
.burst {
  position: absolute; z-index: 5; right: 4%; bottom: 10%; width: 110px; height: 110px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--script); font-size: 22px; line-height: 1; color: var(--ink);
  background: var(--mustard);
  clip-path: polygon(50% 0%, 61% 12%, 77% 6%, 80% 22%, 96% 25%, 89% 40%, 100% 52%, 88% 62%, 94% 78%, 78% 80%, 74% 96%, 60% 89%, 48% 100%, 38% 88%, 22% 95%, 20% 79%, 4% 75%, 12% 61%, 0% 49%, 12% 39%, 5% 23%, 22% 21%, 25% 5%, 39% 12%);
  transform: rotate(12deg);
}

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--paper); border-block: var(--line); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 22px; padding: 12px 0; font-weight: 800; font-size: 22px; animation: scroll 28s linear infinite; }
.marquee i { font-style: normal; color: var(--mustard); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: clamp(56px, 7vw, 100px) clamp(16px, 5vw, 64px); }
.section-title {
  font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 76px); line-height: .95;
  letter-spacing: -.02em; margin: 0; font-variation-settings: "SOFT" 100, "WONK" 1;
}
.kicker { font-family: var(--script); font-weight: 400; font-size: .6em; color: var(--red); letter-spacing: 0; vertical-align: .3em; margin-right: 4px; }

/* ---------- shop ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto 44px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab {
  font-weight: 700; font-size: 16px; color: var(--ink); background: var(--paper); cursor: pointer;
  border: var(--line); border-radius: 999px; padding: 7px 18px; box-shadow: 3px 3px 0 var(--ink);
}
.tab.is-active { background: var(--ink); color: var(--mustard); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); max-width: 1240px; margin: 0 auto; }

/* colour themes used by cards and info boxes */
.c-red     { --accent: var(--red);     --on-accent: var(--paper); }
.c-mustard { --accent: var(--mustard); --on-accent: var(--ink); }
.c-teal    { --accent: var(--teal);    --on-accent: var(--paper); }
.c-pink    { --accent: var(--pink);    --on-accent: var(--ink); }
.c-cobalt  { --accent: var(--cobalt);  --on-accent: var(--paper); }

.card {
  position: relative; text-align: left; cursor: pointer; padding: 0; font: inherit; color: inherit;
  background: var(--paper); border: var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: var(--pop); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--ink); }
.card:focus-visible { outline: 4px solid var(--cobalt); outline-offset: 4px; }
.card-top {
  display: flex; justify-content: space-between; padding: 7px 14px; font-weight: 800; font-size: 14px;
  background: var(--accent); color: var(--on-accent); border-bottom: var(--line);
}
.card-img { aspect-ratio: 1; overflow: hidden; border-bottom: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 14px 16px 16px; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; margin: 0 0 8px; letter-spacing: -.01em; }
.card .price { margin: 0; font-weight: 700; font-size: 14px; color: var(--ink); opacity: .65; }
.badge {
  position: absolute; top: 46px; right: 12px; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; border: var(--line);
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 19px; letter-spacing: 0;
  transform: rotate(10deg); box-shadow: 3px 3px 0 var(--ink);
}
.ribbon {
  position: absolute; top: 58px; left: -36px; width: 160px; text-align: center; transform: rotate(-35deg);
  background: var(--ink); color: var(--mustard); font-weight: 800; font-size: 14px; padding: 4px 0;
}
.card.is-sold .card-img img { filter: grayscale(.5); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--teal); color: var(--paper); border-block: var(--line); }
.about .kicker { color: var(--mustard); }
.about-photo { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.about-photo .about-me { aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; width: 100%; border: var(--line); border-radius: 10px; box-shadow: 12px 12px 0 var(--ink); transform: rotate(-2deg); }
.about-pouch {
  position: absolute; left: -28px; bottom: -28px; width: 42%; aspect-ratio: 1; object-fit: cover;
  border: var(--line); border-radius: 8px; box-shadow: 6px 6px 0 var(--mustard); transform: rotate(6deg);
}
.about-tag {
  position: absolute; top: -18px; right: -10px; font-family: var(--script); font-size: 30px; color: var(--ink);
  background: var(--pink); border: var(--line); border-radius: 50%; width: 84px; height: 84px; display: grid; place-items: center; transform: rotate(12deg);
}
.about-text { max-width: 600px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { font-size: 18px; }
.about-text .sig { font-family: var(--script); font-size: 40px; color: var(--mustard); margin: 10px 0 0; transform: rotate(-4deg); display: inline-block; }

/* ---------- info ---------- */
.info .section-title { text-align: center; margin-bottom: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; max-width: 1140px; margin: 0 auto; }
.info-card { background: var(--accent); color: var(--on-accent); border: var(--line); border-radius: 10px; padding: 24px 26px 28px; box-shadow: var(--pop); }
.info-num { display: inline-block; font-weight: 800; font-size: 14px; background: var(--ink); color: var(--cream); padding: 2px 10px; border-radius: 999px; }
.info-card h3 { font-family: var(--display); font-weight: 900; font-size: 30px; margin: 10px 0 8px; line-height: 1; }
.info-card p { margin: 0; }

/* ---------- contact ---------- */
.contact { text-align: center; background: var(--mustard); border-top: var(--line); }
.contact .kicker { color: var(--red); }
.contact > p { font-size: 19px; margin: 14px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-list a { display: inline-block; padding: 10px 22px; border: var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; box-shadow: 4px 4px 0 var(--ink); }
.contact-list a:hover { background: var(--ink); color: var(--mustard); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cbbda8; text-align: center; padding-bottom: 32px; font-size: 14px; }
.checker {
  height: 28px; border-block: var(--line);
  background: conic-gradient(var(--ink) 25%, var(--cream) 0 50%, var(--ink) 0 75%, var(--cream) 0) 0 0 / 28px 28px;
}
.footer-logo { font-family: var(--display); font-weight: 900; font-size: 32px; color: var(--cream); margin: 28px 0 4px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer-logo span { font-family: var(--script); font-weight: 400; font-size: .6em; color: var(--mustard); }

/* ---------- product popup ---------- */
.product-dialog {
  border: var(--line); border-radius: 12px; padding: 0; width: min(980px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px); background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--ink);
}
.product-dialog::backdrop { background: rgba(27, 22, 20, .7); }
.close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: var(--line); background: var(--mustard); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink);
}
.pd { display: grid; grid-template-columns: 1.1fr 1fr; }
.pd-gallery { background: var(--ink); padding: 16px; }
.pd-gallery > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumbs button { border: 3px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; width: 62px; height: 62px; background: none; }
.pd-thumbs button.is-active { border-color: var(--mustard); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 44px 32px 32px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-weight: 800; font-size: 14px; color: var(--red); margin: 0 0 8px; }
.pd-info h3 { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; margin: 0 0 12px; letter-spacing: -.015em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.pd-info .price { font-weight: 800; font-size: 24px; margin: 0 0 10px; }
.pd-info .btn { align-self: flex-start; margin-top: 12px; }
.fine { font-size: 13px; color: #6b5f55; margin: 14px 0 0; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero, .about, .pd { grid-template-columns: 1fr; }
  .hero-photos { max-width: 440px; width: 92%; margin: 8px auto 0; }
  .about-text { text-align: center; margin: 0 auto; }
  .about-pouch { left: -10px; bottom: -18px; }
  .pd-info { padding: 24px 22px 28px; }
}
@media (max-width: 560px) {
  .nav a:not([href="#shop"]) { display: none; }
  .logo-serif { font-size: 22px; }
  .hero-photos { max-width: 320px; }
  .burst { width: 84px; height: 84px; font-size: 17px; }
  .section-head { justify-content: center; text-align: center; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card { box-shadow: 4px 4px 0 var(--ink); }
  .card-top { font-size: 11px; padding: 5px 9px; }
  .card-top span:last-child { display: none; }
  .card h3 { font-size: 17px; }
  .card-body { padding: 10px 10px 12px; }
  .badge { width: 50px; height: 50px; font-size: 15px; top: 36px; right: 8px; }
  .ribbon { top: 46px; font-size: 12px; }
  .marquee-track { font-size: 18px; }
}
