/* Secret Dragon Collectibles — site styles
   Palette and type sizes matched to the original Squarespace site. */

:root {
  --ink: #484955;
  --ink-soft: #6b6c78;
  --accent: #5e65c4;
  --lavender: #e0e2ed;
  --paper: #ffffff;
  --line: rgba(72, 73, 85, 0.18);

  --font-display: "Fraunces", "new-spirit", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 4vw;
  --radius-lg: 50px;
  --header-h: 133px;
  --section-pad: 6.6vw;   /* ≈95px at 1440 — Squarespace section padding */
  --h1: clamp(2rem, 3.27vw, 2.95rem);      /* 47px */
  --h3: clamp(1.8rem, 2.55vw, 2.3rem);     /* 36.7px */
  --p-large: clamp(1.15rem, 1.64vw, 1.475rem); /* 23.6px */
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  line-height: 1.3;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  padding: 16px 24px;
  border: 0; border-radius: 300px;
  background: var(--ink); color: #fff;
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  letter-spacing: 8px; line-height: 1.35;
  text-decoration: none;
  transition: opacity 0.1s linear;
}
.button:hover { opacity: 0.8; }
.button[disabled] { opacity: 0.45; cursor: not-allowed; }
.button--wide { flex: 1; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 20; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2.4vw var(--gutter);
  min-height: var(--header-h);
}
.site-title {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-size: 2.08rem; line-height: 1.4; text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.96rem; }
.nav-link { text-decoration: none; padding: 0.15em 0; }
.nav-link.is-active { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.site-header__spacer { display: none; }
.site-nav__social { display: inline-flex; gap: 0.9rem; margin-left: 0.4rem; }
.social-link { display: inline-flex; width: 18px; height: 18px; }
.social-link svg { width: 100%; height: 100%; }
.cart-link { position: relative; display: inline-flex; width: 22px; height: 22px; text-decoration: none; }
.cart-link svg { width: 100%; height: 100%; }
.cart-count {
  position: absolute; top: -6px; right: -10px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 0.65rem; line-height: 17px; text-align: center;
}

.menu-toggle {
  display: none; position: relative; width: 36px; height: 36px; padding: 0;
  background: none; border: 0;
}
.menu-toggle__bar {
  position: absolute; left: 6px; right: 6px; height: 1.5px; background: currentColor;
  transition: transform 0.25s ease;
}
.menu-toggle__bar:first-child { top: 14px; }
.menu-toggle__bar:nth-child(2) { top: 21px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: -1;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.mobile-menu nav a { font-family: var(--font-body); font-size: 1.6rem; line-height: 1.6; text-decoration: none; }
.mobile-menu__social { display: flex; justify-content: center; gap: 1.5rem; }
.mobile-menu__social .social-link { width: 24px; height: 24px; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 5vw var(--gutter) 6vw; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.site-footer__title {
  display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-size: 2.6rem; line-height: 1.3; text-decoration: none; margin-bottom: 0.8rem;
}
.site-footer__social { display: flex; gap: 0.9rem; }
.site-footer__nav {
  display: grid; grid-template-columns: repeat(2, minmax(9rem, auto)); column-gap: 3rem;
  font-size: 0.9rem; line-height: 2;
  margin-right: 8vw;
}

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; position: relative; }
.marquee--accent { background: var(--accent); color: #fff; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__run { display: flex; flex-shrink: 0; }
.marquee__item {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-size: 1.54rem; line-height: 71px; white-space: nowrap;
  padding-right: 0.6em;
}
.marquee--plain .marquee__item { font-size: 2.4rem; line-height: 1.6; }
.marquee--plain {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- home: hero */
.hero {
  display: grid; grid-template-columns: 41.1% 1fr; align-items: center; gap: 4vw;
  padding: var(--section-pad) var(--gutter);
}
.hero__text { text-align: center; }
.hero__text h2 { font-size: var(--h1); line-height: 1.3; margin-bottom: 1.3em; }
.hero__text h2:last-child { margin-bottom: 0; }
.hero__media { position: relative; justify-self: end; width: min(100%, 540px); }
.hero__image { width: 100%; aspect-ratio: 540 / 660; object-fit: cover; border-radius: var(--radius-lg); }
.hero__badge {
  position: absolute; left: -25.6%; top: 12%; width: 49%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

/* ---------------------------------------------------------------- home: masonry gallery */
.masonry-section { background: var(--lavender); padding: var(--gutter); }
.masonry__col > .masonry__item:last-child { margin-bottom: 0; }
.masonry { columns: 3; column-gap: 3.6vw; }
/* main.js re-flows items into columns in row order (Squarespace masonry); CSS columns are the no-JS fallback */
.masonry.is-laid-out { columns: auto; display: flex; gap: 3.6vw; align-items: flex-start; }
.masonry__col { flex: 1; min-width: 0; }
.masonry__item { break-inside: avoid; margin: 0 0 3.6vw; }
.masonry__item img { width: 100%; height: auto; }
.masonry__item figcaption { font-size: 0.96rem; line-height: 1.9; padding: 14px 0; max-width: 34em; }

/* ---------------------------------------------------------------- home: calendar */
.events-calendar-section { padding: 10vw var(--gutter) 6.7vw; text-align: center; }
.section-heading { font-size: var(--h3); margin-bottom: 1.6em; }
.events-calendar-section__more { margin-top: 2.5rem; }

.calendar { max-width: 975px; margin: 0 auto; text-align: left; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.calendar__month { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.6rem; margin: 0; }
.calendar__nav { width: 2.4rem; height: 2.4rem; padding: 0.6rem 0.8rem; background: none; border: 0; }
.calendar__nav svg { width: 100%; height: 100%; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar__dow { text-align: center; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 0.9rem; color: var(--ink-soft); }
.calendar__day {
  position: relative; aspect-ratio: 1; min-height: 0; padding: 26px 8px 8px;
  background: #f7f7f7; font-size: 0.7rem; line-height: 1.3;
}
.calendar__day--blank { background: #f7f7f7; }
.calendar__hit { position: absolute; inset: 0; z-index: 1; display: block; overflow: hidden; }
.calendar__day--image .calendar__hit img { width: 100%; height: 100%; object-fit: cover; }
.calendar__num {
  position: absolute; top: 8px; right: 8px; z-index: 2; pointer-events: none;
  min-width: 26px; height: 26px; padding: 0 4px;
  text-align: center; line-height: 26px; font-size: 0.7rem; color: var(--ink-soft);
}
.calendar__day--image .calendar__num { background: #fff; color: var(--ink); }
.calendar__items { list-style: none; margin: 0; padding: 0; color: #9a9aa3; overflow: hidden; max-height: 100%; position: relative; z-index: 0; }
.calendar__items li { margin-bottom: 0.55em; }
.calendar__items li.is-start { color: var(--ink); }
.calendar__items b { display: block; font-weight: 600; }
.calendar__flyout {
  display: none; position: absolute; z-index: 5; top: 0; left: 0;
  width: calc(200% + 4px); height: calc(200% + 4px); overflow-y: auto;
  padding: 1.1rem 1.2rem; background: #efefef; color: var(--ink);
  font-size: 0.8rem; line-height: 1.5; cursor: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.calendar__day--flyout-left .calendar__flyout { left: auto; right: calc(100% + 4px); }
.calendar__day:hover .calendar__flyout, .calendar__day:focus-within .calendar__flyout { display: block; }
.calendar__flyout-item + .calendar__flyout-item { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.calendar__flyout h4 { font-size: 1.1rem; margin: 0 0 0.6rem; }
.calendar__flyout h4 a { text-decoration: none; }
.calendar__ends { font-family: var(--font-body); font-size: 0.75rem; }
.calendar__flyout p { margin: 0 0 0.7rem; }
.calendar__flyout-excerpt p { text-align: center; }
.calendar__list { display: none; }

/* ---------------------------------------------------------------- reels (home + about) */
.reel { position: relative; padding: 0 var(--gutter); outline: none; }
.reel__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.reel__viewport.is-dragging { cursor: grabbing; }
.reel__track { display: flex; width: max-content; will-change: transform; }
.reel__item { flex: 0 0 auto; margin: 0; }
.reel__item img { height: var(--reel-h, 436px); width: auto; max-width: none; object-fit: cover; pointer-events: none; }
.reel__caption { text-align: center; font-size: 0.96rem; max-width: 675px; margin: 25px auto 0; min-height: 100px; }
.reel__controls { display: flex; gap: 10px; }
.reel__btn { width: 44px; height: 44px; padding: 13px 4px; background: none; border: 0; opacity: 0.8; transition: opacity 0.1s linear; color: var(--ink); }
.reel__btn:hover { opacity: 1; }
.reel__btn svg { width: 100%; height: 100%; display: block; }
.reel--home { --reel-h: max(260px, 48.4vh); padding-top: 4vw; padding-bottom: 4vw; }

/* ---------------------------------------------------------------- about */
.about-intro {
  display: grid; grid-template-columns: 49.5% minmax(0, 1fr); column-gap: 8.4vw; align-items: center;
  padding: var(--section-pad) var(--gutter);
}
.about-intro__media { position: relative; aspect-ratio: 649 / 542; }
.about-intro__img { position: absolute; object-fit: cover; }
.about-intro__img--1 { left: 16.9%; top: 29.2%; width: 83.1%; height: 70.8%; }
.about-intro__img--2 { left: 0; top: 0; width: 49.2%; height: 48.9%; z-index: 1; }
.about-intro__text { max-width: 484px; }
.about-intro__text h1 { font-size: var(--h1); line-height: 1.3; margin-bottom: 0.9em; }
.about-intro__text p { font-size: var(--p-large); line-height: 1.9; }

.about-journey { background: var(--accent); color: #fff; padding: var(--section-pad) 0 0; }
.about-journey__text { max-width: calc(870px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section-pad); text-align: center; }
.about-journey__text h2 { font-size: var(--h1); line-height: 1.3; margin-bottom: 0.6em; }
.about-journey__text p { font-size: var(--p-large); line-height: 1.9; margin: 0; }
.about-journey__lead { margin-top: 1.5em !important; font-size: clamp(1rem, 1.2vw, 1.1rem) !important; }
.reel--journey { --reel-h: max(180px, 29.2vh); display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; column-gap: 1.2vw; padding-top: 4vw; padding-bottom: 4vw; }
.reel--journey .reel__btn { width: 44px; height: 44px; padding: 12px 10px; background: var(--lavender); color: var(--ink); }

.contact { display: grid; grid-template-columns: 49.6% minmax(0, 1fr); min-height: 65vw; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__body { padding: var(--section-pad) var(--gutter) var(--section-pad) 8.4vw; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.contact .marquee { margin-bottom: 2rem; }

/* ---------------------------------------------------------------- forms */
.form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 640px; }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend { font-size: 0.96rem; padding: 0; margin-bottom: 0.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.96rem; }
.form__field small { color: var(--ink-soft); }
.form__req { color: var(--ink-soft); font-size: 0.75em; }
.form input, .form select, .form textarea {
  width: 100%; padding: 5px 0; min-height: 40px;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
  font: inherit; font-size: 0.95rem; color: var(--ink);
}
.form textarea { min-height: 100px; resize: vertical; }
.form select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath fill='none' stroke='%23484955' stroke-width='1.3' d='m1 1 9 9 9-9'/%3E%3C/svg%3E") right 0 center / 18px no-repeat; padding-right: 2.4rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form .button { align-self: flex-start; margin-top: 0.4rem; }
.form__status { font-size: 0.85rem; min-height: 1.2em; margin: 0; }
.form__status.is-error { color: #b3261e; }
.form__success { font-family: var(--font-display); font-size: 1.4rem; }

/* ---------------------------------------------------------------- shop */
.shop { padding: 1.6vw var(--gutter) var(--section-pad); }
.shop__title { text-align: center; font-size: var(--h1); line-height: 1.3; margin-bottom: 0.1rem; }
.shop__crumbs { text-align: center; font-size: 0.8rem; margin-bottom: 0.2rem; }
.shop__crumbs a { text-decoration: none; }
.shop__title--category { margin-bottom: 1.6rem; }
.shop__cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; font-size: 0.82rem; margin-bottom: 36px; }
.shop__cats a { text-decoration: none; }
.shop__cats a.is-active { font-weight: 600; }
.shop__sep { color: var(--line); }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 1.4rem; }
.product-card a { text-decoration: none; display: block; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #f3f3f5; margin-bottom: 36px; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }
.product-card__alt { opacity: 0; }
.product-card a:hover .product-card__alt { opacity: 1; }
.product-card__badge { position: absolute; left: 0.8rem; top: 0.8rem; background: #fff; padding: 0.2rem 0.6rem; font-size: 0.75rem; }
.product-card__title { font-size: 1.22rem; line-height: 1.4; margin: 0 0 8px; }
.product-card__price { font-size: 1rem; line-height: 1.2; margin: 0; }

/* ---------------------------------------------------------------- product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5vw; padding: 0 var(--gutter) var(--section-pad); }
.product__slides { display: flex; flex-direction: column; gap: 20px; }
.product__slides img { width: 100%; }
.product__count { display: none; position: absolute; top: 12px; right: 14px; font-size: 0.8rem; color: #fff; text-shadow: 0 0 4px rgba(0,0,0,.4); }
.product__arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 36px; place-items: center; background: #fff; border: 0; padding: 9px 10px; }
.product__arrow svg { width: 100%; height: 100%; }
.product__arrow--prev { left: 0; }
.product__arrow--next { right: 0; }
.product__info { position: sticky; top: 2rem; align-self: start; padding-top: 1.2rem; }
.breadcrumb { font-size: 0.96rem; margin-bottom: 0.9rem; }
.breadcrumb a { text-decoration: none; }
.product__title { font-size: clamp(2.4rem, 4.7vw, 4.25rem); line-height: 1.4; margin-bottom: 11px; }
.product__price { font-size: 0.96rem; margin-bottom: 1.6rem; }
.rte { font-size: 0.96rem; line-height: 1.9; overflow-wrap: anywhere; }
.event__body, .event__meta, .event-card__body { overflow-wrap: anywhere; }
.rte p:empty { display: none; }
.variant-field { display: block; margin: 1.4rem 0 0; font-size: 0.96rem; }
.variant-field__label { display: block; margin-bottom: 0.6rem; }
.variant-field select {
  width: 100%; appearance: none; padding: 0.7rem 2.6rem 0.7rem 1rem; min-height: 52px;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath fill='none' stroke='%23484955' stroke-width='1.3' d='m1 1 9 9 9-9'/%3E%3C/svg%3E") right 0.6rem center / 18px no-repeat;
  font: inherit; color: var(--ink);
}
.product__buy { display: flex; gap: 10px; align-items: stretch; margin-top: 1.2rem; }
.product__buy .button { margin: 0; min-height: 55px; }
.qty { display: flex; align-items: center; border-bottom: 1px solid var(--ink); flex: none; width: 144px; justify-content: space-between; }
.qty button { background: none; border: 0; width: 2.6rem; height: 2.6rem; font-size: 1.3rem; font-weight: 300; }
.qty input { width: 2.6rem; border: 0 !important; background: none; text-align: center; padding: 0 !important; font: inherit; color: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ---------------------------------------------------------------- product modal + alert */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 50px 1rem; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); }
.modal__panel { position: relative; width: min(680px, 100%); background: var(--lavender); padding: 40px 40px 48px; }
.modal__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 1.6rem; line-height: 1; padding: 4px; }
.modal__title { font-family: var(--font-body); font-size: 1rem; margin: 0 0 2.6rem; }
.form--modal { max-width: none; gap: 1.4rem; }
.form--modal select, .form--modal input, .form--modal textarea { font-size: 0.9rem; }

.alert-dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(255, 255, 255, 0.15); }
.alert-dialog__box { width: min(350px, 90vw); background: #f4f4f4; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); text-align: center; font-size: 0.78rem; color: #222; }
.alert-dialog__body { padding: 20px 20px 16px; }
.alert-dialog__title { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; margin: 0 0 0.5rem; }
.alert-dialog__msg { margin: 0; }
.alert-dialog__ok { display: block; width: 100%; padding: 12px; border: 0; border-top: 1px solid #ddd; background: none; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; }
.alert-dialog__ok:hover { background: #ececec; }

/* ---------------------------------------------------------------- cart */
.cart { max-width: 980px; margin: 0 auto; padding: 2vw var(--gutter) 6vw; }
.cart__title { font-size: clamp(2rem, 3vw, 2.6rem); }
.cart__items { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 1.4rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 96px; height: 96px; object-fit: cover; }
.cart-item__title { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.cart-item__title a { text-decoration: none; }
.cart-item__opts { font-size: 0.78rem; line-height: 1.6; color: var(--ink-soft); margin: 0.3rem 0 0; }
.cart-item__remove { background: none; border: 0; font-size: 0.78rem; text-decoration: underline; padding: 0; margin-top: 0.4rem; }
.cart-item__price { font-size: 0.9rem; min-width: 5rem; text-align: right; }
.cart__summary { display: grid; gap: 1rem; }
.cart__subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.cart__note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- events */
.page-banner {
  position: relative; color: #fff; text-align: center;
  background: var(--accent) var(--banner) center / cover no-repeat;
  padding: var(--section-pad) var(--gutter);
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(40, 41, 52, 0.42); }
.page-banner__inner { position: relative; max-width: 982px; margin: 0 auto; }
.page-banner h1 { font-size: var(--h1); line-height: 1.3; margin-bottom: 0.7em; }
.page-banner p { font-size: var(--p-large); line-height: 1.9; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
/* Bold notice in the banner (e.g. the Saturday Market note) reads a bit larger */
.page-banner p:has(strong) { font-size: calc(var(--p-large) * 1.2); line-height: 1.6; margin-top: 0.6em; }

.event-list { padding: 10vw var(--gutter) 8vw; display: grid; gap: 68px; }
.event-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); gap: 0; }
.event-card__body { padding-left: 2.2vw; }
.event-card__media { display: block; aspect-ratio: 458 / 307; background: #f7f7f7; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__title { font-size: 1.75rem; margin-bottom: 0.4em; }
.event-card__title a { text-decoration: none; }
.event-card__meta { font-size: 0.96rem; line-height: 1.9; margin: 0; }
.event-card__title + .event-card__meta { margin-top: 16px; }
.event-card__excerpt { margin: 1.2rem 0 1.4rem; font-size: 0.96rem; }
.event-list__empty { text-align: center; }

.event { padding: 10vw var(--gutter) var(--section-pad); }
.event__back { font-size: 0.96rem; margin-bottom: 51px; }
.event__back a { text-decoration: none; }
.event__grid { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 2.4vw; min-height: 640px; }
.event__meta h1 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 1.2rem; }
.event__meta p, .event__meta address { font-size: 0.86rem; font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.event__body { font-size: 0.96rem; }
.event__pager { display: flex; justify-content: space-between; gap: 2rem; margin-top: 80px; }
.event__pager-link { display: flex; align-items: center; gap: 1.2rem; text-decoration: none; max-width: 45%; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.15; }
.event__pager-link small { display: block; font-family: var(--font-body); font-size: 0.8rem; margin-bottom: 0.3rem; }
.event__pager-link svg { width: 12px; height: 22px; flex: none; }
.event__pager-link--next { text-align: right; margin-left: auto; }

/* ---------------------------------------------------------------- 404 */
.not-found { text-align: center; padding: 8vw var(--gutter); }
.not-found h1 { font-size: clamp(2rem, 3vw, 2.6rem); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header__inner { display: grid; grid-template-columns: 47px 1fr 47px; gap: 0.6rem; padding: 26px var(--gutter); min-height: 0; }
  .menu-toggle { display: block; width: 47px; height: 37px; }
  .menu-toggle__bar { left: 8px; right: 8px; }
  .menu-toggle__bar:first-child { top: 15px; }
  .menu-toggle__bar:nth-child(2) { top: 22px; }
  .site-header__spacer { display: block; }
  .site-title { font-size: 1.63rem; text-align: center; line-height: 1.42; }
  .masonry { columns: 2; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu { justify-content: center; }
  .mobile-menu nav { gap: 24px; flex: 1; justify-content: center; }
  .mobile-menu nav a { font-size: 8.5vw; line-height: 1; }
}

@media (max-width: 767px) {
  :root {
    --gutter: 6vw; --header-h: 120px; --section-pad: 12vw;
    --h1: 8.77vw;          /* 34.2px at 390 */
    --p-large: 5.26vw;     /* 20.5px */
  }
  /* hero: right-aligned tall image with the badge overlapping its left edge */
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 104vw; row-gap: 2.6rem; }
  .hero__media { justify-self: end; width: 74%; }
  .hero__image { aspect-ratio: 243 / 374; border-radius: 30px; }
  .hero__badge { left: -35%; top: 20.6%; width: 47.7%; }
  .marquee__item { font-size: 1.25rem; line-height: 61px; }

  .masonry.is-laid-out { gap: 4px; }
  .masonry__item { margin-bottom: 4px; }
  .masonry__item figcaption { padding: 12px 0 14px; }

  .reel--home { --reel-h: 60vh; }
  .reel--journey { --reel-h: 35vh; grid-template-columns: 1fr; }
  .reel--journey .reel__btn { display: none; }

  .about-intro, .contact, .product, .event__grid { grid-template-columns: 1fr; }
  .about-intro__media { aspect-ratio: 328 / 304; margin-bottom: 1.4rem; }
  .about-intro__img--1 { left: 0; top: 0; width: 100%; height: 88.5%; }
  .about-intro__img--2 { left: 25.9%; top: 23%; width: 48.5%; height: 77%; }
  .contact { min-height: 0; padding-top: var(--section-pad); }
  .contact__media { padding: 0 var(--gutter); }
  .contact__media img { aspect-ratio: 328 / 304; height: auto; }
  .contact__body { padding: 10vw var(--gutter) var(--section-pad); }
  .contact .form { gap: 0.8rem; }

  .shop { padding-top: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 31px; }
  .product-card__media { margin-bottom: 24px; }
  .product-card__title { font-size: 1.125rem; }

  /* product: full-bleed swipeable gallery, like Squarespace's mobile product slideshow */
  .product { padding-left: 0; padding-right: 0; gap: 0; }
  .product__info { position: static; padding: 2rem var(--gutter) 0; }
  .breadcrumb { display: none; }
  .product__title { font-size: 11.9vw; line-height: 1.4; }
  .product__gallery { position: relative; }
  .product__slides { display: flex; flex-direction: row; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product__slides::-webkit-scrollbar { display: none; }
  .product__slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 375 / 390; object-fit: cover; scroll-snap-align: start; }
  .product__count { display: block; }
  .product__arrow { display: grid; }
  .variant-field select { min-height: 48px; }
  .qty, .product__buy .button { min-height: 48px; height: 48px; }
  .qty { width: 109px; }
  .product__custom, .form--modal .form__row { grid-template-columns: 1fr; }
  .modal__panel { padding: 32px 22px 40px; }

  .event-card { grid-template-columns: 1fr; gap: 25px; }
  .event-card__body { padding-left: 0; }

  /* calendar: compact number grid; tapping a day lists its events below */
  .calendar__grid { gap: 7px; }
  .calendar__dow { font-size: 0.6rem; padding-bottom: 0.4rem; }
  .calendar__day { padding: 0; aspect-ratio: 1; background: transparent; }
  .calendar__day--list, .calendar__day--image { background: #ececec; cursor: pointer; }
  .calendar__day:not(.calendar__day--blank):not(.calendar__day--list):not(.calendar__day--image) { background: #f7f7f7; }
  .calendar__day.is-selected { outline: 1px solid var(--ink); }
  .calendar__hit, .calendar__items, .calendar__flyout { display: none !important; }
  .calendar__num { inset: 0; margin: auto; background: none !important; color: var(--ink) !important; display: grid; place-items: center; font-size: 0.68rem; min-width: 0; height: auto; padding: 0; }
  .calendar__daylist .calendar__flyout--static { display: block !important; position: static; width: auto; height: auto; overflow: visible; box-shadow: none; margin-top: 1.4rem; text-align: left; }

  /* footer: title, links, then social icons */
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 2.4rem; }
  .site-footer__brand { display: contents; }
  .site-footer__title { order: 1; font-size: 1.75rem; line-height: 1.5; margin: 0; }
  .site-footer__nav { order: 2; margin-right: 0; column-gap: 0; grid-template-columns: 1fr 1fr; width: 100%; }
  .site-footer__social { order: 3; }

  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item .qty, .cart-item__price { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}
