/* ============================================================
   Mayura Store — global stylesheet
   Design language: generous whitespace, tight display type,
   pill controls, translucent chrome, restrained colour.
   ============================================================ */

:root {
  --bg:            #ffffff;
  --bg-alt:        #f5f5f7;
  --bg-dark:       #000000;
  --surface:       #ffffff;
  --text:          #1d1d1f;
  --text-2:        #6e6e73;
  --text-inv:      #f5f5f7;
  --accent:        #0071e3;
  --accent-hover:  #0077ed;
  --line:          #d2d2d7;
  --line-soft:     #e8e8ed;
  --danger:        #d70015;
  --success:       #248a3d;

  --nav-h:         48px;
  --radius:        18px;
  --radius-lg:     28px;
  --pill:          980px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.12);

  --ease:          cubic-bezier(.28,.11,.32,1);
  --maxw:          1024px;
  --maxw-wide:     1360px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Inter, system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

::selection { background: rgba(0,113,227,.2); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, -200%);
  background: var(--text); color: #fff;
  padding: 10px 20px; border-radius: var(--pill);
  z-index: 2000; font-size: 14px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }

/* ---------- layout helpers ---------- */

.wrap      { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 22px; }

/* keep anchored sections clear of the sticky nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.section      { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark{ background: var(--bg-dark); color: var(--text-inv); }
.section--dark .eyebrow { color: #a1a1a6; }
.section--dark .lede    { color: #a1a1a6; }

/* ---------- type ---------- */

h1,h2,h3,h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }

.display   { font-size: clamp(40px, 6.4vw, 80px); font-weight: 600; letter-spacing: -.035em; }
.headline  { font-size: clamp(32px, 4.4vw, 56px); }
.subhead   { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.028em; }
.title     { font-size: 21px; letter-spacing: -.022em; }

.eyebrow {
  font-size: 15px; font-weight: 500; color: var(--text-2);
  letter-spacing: .01em; margin: 0 0 12px;
  padding-top: 250px;
}
.lede {
  font-size: clamp(19px, 2vw, 24px); line-height: 1.4;
  letter-spacing: -.02em; color: var(--text-2);
  margin: 18px 0 0; max-width: 62ch;
}
.lede--center { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted  { color: var(--text-2); }
.small  { font-size: 14px; line-height: 1.43; letter-spacing: -.016em; }
.tiny   { font-size: 12px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); }

.accent-link { font-size: 19px; display: inline-flex; align-items: center; gap: 4px; }
.accent-link::after { content: "\203A"; font-size: 1.25em; line-height: 0; transform: translateY(-1px); }
.accent-link:hover { text-decoration: none; }
.accent-link:hover span { text-decoration: underline; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 17px; font-weight: 400; letter-spacing: -.022em;
  padding: 12px 23px; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .12s var(--ease), opacity .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }

.btn--primary   { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }

.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent); color: #fff; }

.btn--dark      { background: var(--text); color: #fff; }
.btn--dark:hover{ background: #000; }

.btn--ghost     { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

.btn--sm    { font-size: 14px; padding: 8px 16px; }
.btn--lg    { font-size: 19px; padding: 15px 30px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav__inner {
  max-width: var(--maxw-wide); margin: 0 auto; padding: 0 22px;
  height: 100%; display: flex; align-items: center; gap: 8px;
}
.nav__logo {
  font-size: 19px; font-weight: 600; letter-spacing: -.03em;
  color: var(--text); margin-right: auto; display: flex; align-items: center; gap: 7px;
}
.nav__logo:hover { text-decoration: none; opacity: .75; }
.nav__logo svg { width: 18px; height: 18px; }
.nav__logo img { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; font-size: 13px; letter-spacing: -.01em;
  color: var(--text); opacity: .82; padding: 8px 12px; border-radius: 8px;
  transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { opacity: 1; background: rgba(0,0,0,.05); text-decoration: none; }
.nav__link[aria-current="page"] { opacity: 1; font-weight: 500; }

.nav__actions { display: flex; align-items: center; gap: 2px; margin-left: 8px; }

.nav__icon {
  position: relative; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--text); background: none; border: 0; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.nav__icon:hover { background: rgba(0,0,0,.06); text-decoration: none; }
.nav__icon svg { width: 17px; height: 17px; }

.cart-count {
  position: absolute; top: 2px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0;
  border-radius: var(--pill); display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  transform: scale(0); transition: transform .28s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.cart-count.is-bump   { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }

.nav__toggle { display: none; }

/* search results page */
.search-hero {
  display: flex; align-items: center; gap: 12px;
  max-width: 620px; margin: 30px auto 0;
  background: var(--bg-alt); border-radius: var(--pill); padding: 6px 6px 6px 20px;
}
.search-hero > svg { width: 19px; height: 19px; color: var(--text-2); flex-shrink: 0; }
.search-hero .input {
  border: 0; background: transparent; padding: 12px 0; font-size: 17px;
}
.search-hero .input:focus { outline: none; box-shadow: none; }

.result-group { margin-bottom: 44px; }
.result-group__head {
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft);
}
.result-list { display: flex; flex-direction: column; }

.result {
  display: flex; align-items: center; gap: 18px; padding: 14px 12px;
  border-radius: 14px; color: var(--text);
  transition: background-color .2s var(--ease);
}
.result:hover { background: var(--bg-alt); text-decoration: none; }
.result__media {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 11px;
  background: var(--bg-alt); display: grid; place-items: center; color: var(--text-2);
}
.result:hover .result__media { background: #fff; }
.result__media img { width: 38px; height: 38px; object-fit: contain; }
.result__media svg { width: 20px; height: 20px; }
.result__media--avatar { color: #fff; font-size: 15px; font-weight: 600; }
.result__body  { min-width: 0; flex: 1; }
.result__title { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.result__sub   { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; line-height: 1.4; }
.result__meta  { font-size: 13px; color: var(--text-2); flex-shrink: 0; white-space: nowrap; }

mark { background: rgba(0,113,227,.16); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ============================================================
   Hero / banners
   ============================================================ */

.hero {
  position: relative; text-align: center;
  padding: 76px 22px 0; overflow: hidden;
}
/* a hero sized to the viewport, so the marquee under the art is never below the fold */
.hero--fit {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding-top: 44px;
}
.hero--fit .hero__art { max-width: none; margin: 20px auto 0; min-height: 0; }
.hero--fit .hero__art img { height: clamp(150px, 29vh, 300px); width: auto; margin: 0 auto; }
.hero--fit .marquee { margin-top: auto; padding: 8px 0 20px; }
/* the headline is the tallest block, so cap it against viewport height too */
.hero--fit .display { font-size: clamp(34px, min(6.4vw, 9.4vh), 80px); }

/* short viewports: tighten every gap rather than push the strip out of view */
@media (max-height: 640px) {
  .hero--fit { padding-top: 24px; }
  .hero--fit .lede { margin-top: 10px; }
  .hero--fit .btn-row { margin-top: 16px; }
  .hero--fit .hero__art { margin-top: 10px; }
  .hero--fit .hero__art img { height: clamp(120px, 24vh, 240px); }
  .hero--fit .marquee { padding: 10px 0 18px; }
}

.hero--dark { background: var(--bg-dark); color: var(--text-inv); }
.hero--alt  { background: var(--bg-alt); }
/* the envelope sits on its own layer so it can zoom in on page load
   without scaling the headline and marquee above it */
/* The whole envelope is always visible and sits above the marquee:
   the image is fitted (not cropped) into the space above the strip, and the
   banner colour matches the photo's near-white edges so the sides blend in. */
.hero--pinkenv { isolation: isolate; background: #f4f3f1; --marquee-space: 66px; }
.hero--pinkenv::before {
  content: ""; position: absolute; inset: 0 0 var(--marquee-space) 0; z-index: -1;
  background-image: url('../assets/products/hero-envelope.jpg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: center;
  animation: pinkenv-zoom 5s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes pinkenv-zoom {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--pinkenv::before { animation: none; }
}
@media (max-height: 640px) {
  .hero--pinkenv { --marquee-space: 70px; }
}
.hero__art  { margin: 40px auto 0; max-width: 640px; }
.hero__art svg { width: 100%; height: auto; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .btn-row { justify-content: center; margin-top: 26px; }

/* hero line-up marquee — a plain icon + name strip under the hero image */
.marquee {
  position: relative; overflow: hidden;
  margin-top: 34px; padding: 12px 0 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* two identical halves; item margins (not gap) keep translate(-50%) seamless */
.marquee__track {
  display: flex; align-items: center; width: max-content;
  animation: marquee-ltr var(--marquee-speed, 44s) linear infinite;
  will-change: transform;
}

@keyframes marquee-ltr {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.marquee__item {
  flex: 0 0 auto; margin-right: 26px;
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 24px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text-2); white-space: nowrap;
  transition: color .2s var(--ease);
}
.marquee__item:hover { color: var(--text); text-decoration: none; }
.marquee__item img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
/* pink dot between services; margin (not gap) keeps the two halves equal */
.marquee__dot {
  flex: 0 0 auto; display: block;
  width: 28px; height: 28px; margin-right: 26px;
  object-fit: contain; pointer-events: none;
}

.hero--dark .marquee__item { color: #a1a1a6; }
.hero--dark .marquee__item:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

.page-head { padding: 64px 0 40px; text-align: center; }
.page-head .lede { margin-left: auto; margin-right: auto; }

.pricing-note { font-size: 17px; color: var(--text-2); margin-top: 14px; }

/* ============================================================
   Product cards / grids
   ============================================================ */

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column;
  transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
/* lift with `translate`, not `transform`, so the scroll-reveal transform can't cancel it */
.card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }

.card__media {
  height: 190px; display: grid; place-items: center; margin-bottom: 22px;
}
.card__media img, .card__media svg { max-height: 190px; width: auto; }
.card:hover .card__media img { transform: scale(1.045); }
.card__media img { transition: transform .5s var(--ease); }

.card__tag {
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  color: #b25000; margin-bottom: 6px; text-transform: none;
  min-height: 17px;
}
.card__name { font-size: 21px; font-weight: 600; letter-spacing: -.022em; margin: 0 0 6px; }
.card__name a { color: inherit; }
.card__name a:hover { text-decoration: none; color: var(--accent); }
.card__blurb { font-size: 14px; color: var(--text-2); margin: 0 0 14px; flex: 1; line-height: 1.42; }
.card__price { font-size: 15px; margin: 0 0 18px; }
.card__price del { color: var(--text-2); margin-right: 6px; }
.card__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* "What We Create" takes exactly one screen below the nav: heading and cards at
   the top, the partnership panel at the bottom; the cards keep their own size */
.section--create {
  display: flex; align-items: stretch; padding: 50px 0 30px;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
.section--create .wrap-wide { width: 100%; display: flex; flex-direction: column; }

/* partnership note right under the "What We Create" tiles:
   a black panel, text on the left and the button on the right */
.create__collab-wrap { padding-top: 78px; }
.create__collab {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap;
  background: #1d1d1f; color: #fff;
  border-radius: var(--radius);
  padding: 14px clamp(18px, 2.4vw, 32px);
}
.create__collab .subhead { margin: 0 0 6px; color: #fff; }   /* same size as "What We Create" */
.create__collab > div { flex: 1 1 0; min-width: 0; text-align: left; }
.create__collab-text { font-size: 14px; line-height: 1.45; color: #c7c7cc; margin: 0; max-width: none; }
.create__collab .btn--primary { background: #fff; color: #1d1d1f; flex-shrink: 0; }
.create__collab .btn--primary:hover { background: #e8e8ed; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-alt); padding: 30px 24px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text); transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
/* same hover as product cards: lift and shadow */
.tile:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); text-decoration: none; }
.tile__label { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.tile__meta  { font-size: 14px; color: var(--text-2); margin-top: 4px; }

/* photo tiles: the image sits on its own layer so it can zoom on hover,
   with a dark fade at the bottom to keep the white label readable */
.tile--photo { isolation: isolate; color: #fff; }
.tile__bg,
.tile--photo::after { position: absolute; inset: 0; z-index: -1; }
.tile__bg {
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transition: transform .6s var(--ease);
}
.tile--photo::after {
  content: "";
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%);
}
.tile--photo:hover .tile__bg { transform: scale(1.06); }
/* the logo artwork is square with white space: show it whole, not cropped */
.tile--logo .tile__bg {
  background-color: #fff; background-size: auto 78%; background-position: center 30%;
}
/* e-invite artwork: zoomed in on the left (parrot, garland and elephant) */
.tile--e-invites .tile__bg { background-size: 160% auto; background-position: left center; }
/* website screenshot: anchor to the top so the nav bar and headline show */
.tile--websites-business .tile__bg,
.tile--shopify .tile__bg { background-position: center top; }
.tile--photo .tile__meta { color: rgba(255,255,255,.82); }

/* feature strip */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 34px; }
.feature__icon {
  width: 40px; height: 40px; color: var(--accent); margin-bottom: 16px;
}
.section--dark .feature__icon { color: #2997ff; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p  { font-size: 15px; color: var(--text-2); margin: 0; line-height: 1.45; }
.section--dark .feature p { color: #a1a1a6; }

/* split showcase */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split--reverse .split__art { order: 2; }
.split__art { display: grid; place-items: center; }
.split__art img, .split__art svg { max-height: 380px; width: auto; }
/* full-bleed split: the video fills the whole left half, edge to edge */
.split-bleed {
  display: grid; grid-template-columns: 1fr 1fr;
  /* fills exactly the screen below the sticky nav, so "About" lands on the whole section */
  min-height: min(calc(100vh - var(--nav-h)), 900px);
  min-height: min(calc(100svh - var(--nav-h)), 900px);
  scroll-margin-top: var(--nav-h);
}
.split-bleed .split__art {
  position: relative; overflow: hidden; background: var(--bg-alt);
}
.split-bleed .split__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* The text fills the whole right half: label + heading at the top (30px down),
   the two paragraphs in the middle, "Work with me" at the bottom (30px up). */
.split-bleed__copy {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 30px clamp(24px, 5vw, 80px);
}
.split-bleed__copy .eyebrow { padding-top: 0; }
.split-bleed__copy .btn-row { margin-top: 0; }
/* sized against screen height too, so the text grows to fill tall screens and still fits short ones */
.split-bleed__copy .headline { font-size: clamp(30px, min(4.4vw, 8vh), 76px); }
.split-bleed__copy .lede     { font-size: clamp(16px, min(1.6vw, 2.7vh), 26px); line-height: 1.5; max-width: none; margin-top: 0; }
.split-bleed__copy .lede + .lede { margin-top: .9em; }

/* ============================================================
   Product detail
   ============================================================ */

.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; padding: 40px 0 80px; }
.pdp__gallery { position: sticky; top: calc(var(--nav-h) + 28px); }
.pdp__stage {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  display: grid; place-items: center; padding: 40px; min-height: 420px;
}
.pdp__stage img { max-height: 340px; width: auto; }
.pdp__swatches { display: flex; gap: 12px; margin-top: 22px; justify-content: center; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(0,0,0,.16); padding: 0;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }

.pdp__price { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 18px 0 4px; }
.pdp__desc  { font-size: 17px; color: var(--text-2); line-height: 1.5; margin: 20px 0 28px; }

.optgroup { margin: 0 0 26px; border: 0; padding: 0; }
.optgroup legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.optlist { display: flex; flex-wrap: wrap; gap: 10px; }
.optlist input { position: absolute; opacity: 0; pointer-events: none; }
.optlist label {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px;
  font-size: 15px; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.optlist label:hover { border-color: var(--text-2); }
.optlist input:checked + label { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.optlist input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

.spec-list { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-soft); }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.spec-list dt, .spec-list .k { color: var(--text-2); }
.spec-list .v { text-align: right; }

.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--success); margin-bottom: 6px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--low { color: #b25000; }

/* ============================================================
   Filters toolbar
   ============================================================ */

.toolbar {
  position: sticky; top: var(--nav-h); z-index: 500;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.toolbar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-right: auto; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: var(--pill); padding: 7px 16px; font-size: 14px; cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--text-2); }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }

.select {
  font-family: inherit; font-size: 14px; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--pill);
  padding: 7px 34px 7px 16px; background: #fff no-repeat right 14px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  appearance: none; -webkit-appearance: none; cursor: pointer;
}

.result-count { font-size: 14px; color: var(--text-2); }

/* ============================================================
   Forms
   ============================================================ */

.field { margin-bottom: 18px; }
.field label, .field .label {
  display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px;
}
.input, .textarea, select.input {
  width: 100%; font-family: inherit; font-size: 17px; color: var(--text);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.18);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #a1a1a6; }

.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(215,0,21,.15); }

.error-text {
  display: none; font-size: 13px; color: var(--danger); margin-top: 6px;
}
.error-text.is-shown { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }

.form-note { font-size: 13px; color: var(--text-2); margin-top: 16px; line-height: 1.45; }

.fieldset-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px; margin-bottom: 22px;
}
.fieldset-card > h2 { font-size: 21px; margin-bottom: 20px; }
.fieldset-card__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.step-num {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--text); color: #fff; font-size: 13px; font-weight: 600;
  display: grid; place-items: center; align-self: center;
}

/* ============================================================
   Cart
   ============================================================ */

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; padding-bottom: 90px; }

.line-item {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 22px;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft); align-items: center;
}
.line-item__media {
  background: var(--bg-alt); border-radius: 14px; height: 100px;
  display: grid; place-items: center; padding: 10px;
}
.line-item__media img { max-height: 80px; width: auto; }
.line-item__name { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.line-item__name a { color: inherit; }
.line-item__opts { font-size: 13px; color: var(--text-2); margin: 0 0 10px; }
.line-item__price { font-size: 17px; font-weight: 600; white-space: nowrap; text-align: right; }
.line-item__unit  { font-size: 13px; color: var(--text-2); margin-top: 4px; text-align: right; }

.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--pill); overflow: hidden;
}
.qty button {
  width: 34px; height: 32px; border: 0; background: transparent; cursor: pointer;
  font-size: 17px; color: var(--text); line-height: 1;
  transition: background-color .18s var(--ease);
}
.qty button:hover { background: rgba(0,0,0,.05); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty output { min-width: 30px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--accent); font-family: inherit;
}
.link-btn:hover { text-decoration: underline; }
.link-btn--danger { color: var(--text-2); }
.link-btn--danger:hover { color: var(--danger); }

.item-tools { display: flex; align-items: center; gap: 16px; }

/* summary panel */
.summary {
  position: sticky; top: calc(var(--nav-h) + 28px);
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px;
}
.summary h2 { font-size: 21px; margin-bottom: 20px; }
.summary__row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 15px; padding: 9px 0;
}
.summary__row--total {
  font-size: 21px; font-weight: 600; letter-spacing: -.022em;
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px;
}
.summary__row .money { font-variant-numeric: tabular-nums; }
.summary__row--discount { color: var(--success); }
.summary .btn { margin-top: 22px; }

.promo { display: flex; gap: 8px; margin: 20px 0 4px; }
.promo .input { padding: 10px 14px; font-size: 15px; }
.promo-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.promo-msg.ok  { color: var(--success); }
.promo-msg.bad { color: var(--danger); }

.mini-list { list-style: none; margin: 0 0 20px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.mini-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.mini-list .m-media { background: #fff; border-radius: 10px; height: 52px; display: grid; place-items: center; padding: 6px; }
.mini-list .m-media img { max-height: 40px; width: auto; }
.mini-list .m-name { font-size: 14px; font-weight: 500; }
.mini-list .m-meta { font-size: 12px; color: var(--text-2); }
.mini-list .m-price { font-size: 14px; font-variant-numeric: tabular-nums; }

/* empty state */
.empty { text-align: center; padding: 90px 22px; }
.empty svg { width: 68px; height: 68px; color: var(--line); margin: 0 auto 24px; }

/* ============================================================
   Checkout / confirmation
   ============================================================ */

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding-bottom: 90px; }

.delivery-opt {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  cursor: pointer; margin-bottom: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.delivery-opt:hover { border-color: var(--text-2); }
.delivery-opt input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.delivery-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.delivery-opt__title { font-size: 15px; font-weight: 500; }
.delivery-opt__meta  { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.delivery-opt__cost  { margin-left: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }

.confirm-hero { text-align: center; padding: 80px 22px 40px; }
.confirm-check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--success);
  color: #fff; display: grid; place-items: center; margin: 0 auto 28px;
  animation: pop .5s var(--ease);
}
.confirm-check svg { width: 34px; height: 34px; }
@keyframes pop { 0%{transform:scale(.4);opacity:0} 60%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }

.order-box {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 30px; max-width: 620px; margin: 0 auto; text-align: left;
}
.order-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 24px; }
.order-meta div span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 3px; }
.order-meta div strong { font-size: 15px; font-weight: 600; }

/* progress steps */
.steps { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 0 40px; font-size: 13px; color: var(--text-2); }
.steps li { list-style: none; display: flex; align-items: center; gap: 8px; }
.steps li::after { content: "\203A"; color: var(--line); }
.steps li:last-child::after { content: ""; }
.steps .is-current { color: var(--text); font-weight: 600; }

/* ============================================================
   Contact / about
   ============================================================ */

.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; padding-bottom: 90px; }

.info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.info-card h3 { font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.info-card h3 svg { width: 18px; height: 18px; color: var(--accent); }
.info-card p { font-size: 14px; color: var(--text-2); margin: 0 0 4px; line-height: 1.5; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat__num { font-size: clamp(34px,4.6vw,54px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat__label { font-size: 14px; color: var(--text-2); margin-top: 10px; }
.section--dark .stat__label { color: #a1a1a6; }

.timeline { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 26px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.timeline .yr { font-size: 21px; font-weight: 600; color: var(--text-2); letter-spacing: -.02em; }
.timeline h3 { font-size: 19px; margin-bottom: 6px; }
.timeline p { font-size: 15px; color: var(--text-2); margin: 0; line-height: 1.5; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.member { text-align: center; }
.member__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 28px; font-weight: 600;
  color: #fff; letter-spacing: -.02em;
}
.member__name { font-size: 17px; font-weight: 600; }
.member__role { font-size: 14px; color: var(--text-2); margin-top: 2px; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 500; letter-spacing: -.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2);
  transform: translateY(-60%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq p { margin: 0 0 22px; color: var(--text-2); font-size: 16px; line-height: 1.55; max-width: 68ch; }

/* ============================================================
   Newsletter + footer
   ============================================================ */

.newsletter { text-align: center; }
.newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; }
.newsletter .input { border-radius: var(--pill); }

.footer { background: var(--bg-alt); font-size: 12px; color: var(--text-2); padding: 42px 0 30px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
/* Mayura mark at the start of the footer; multiply blends its white square into the grey */
.footer__brand { display: inline-block; }
.footer__brand img { width: 150px; height: auto; display: block; margin-top: -26px; mix-blend-mode: multiply; }
.footer h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; line-height: 1.4; }
.footer__base { padding-top: 20px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   Toast
   ============================================================ */

.toast-stack {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3000; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  background: rgba(29,29,31,.94); color: #fff;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 13px 22px; border-radius: var(--pill); font-size: 15px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: toast-in .35s var(--ease);
  max-width: min(92vw, 460px);
}
.toast.is-out { animation: toast-out .3s var(--ease) forwards; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes toast-in  { from { opacity:0; transform: translateY(18px) scale(.94) } to { opacity:1; transform:none } }
@keyframes toast-out { to   { opacity:0; transform: translateY(10px) scale(.96) } }

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
/* keep the hover transitions on revealed cards and tiles */
.reveal.is-in:is(.card, .tile) {
  transition: opacity .7s var(--ease), transform .7s var(--ease),
              translate .35s var(--ease), box-shadow .35s var(--ease);
}

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

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1040px) {
  .pdp, .cart-layout, .checkout-layout, .contact-layout, .split { grid-template-columns: 1fr; gap: 40px; }
  .pdp__gallery, .summary { position: static; }
  .split--reverse .split__art { order: 0; }
  .split-bleed { grid-template-columns: 1fr; min-height: 0; }
  .split-bleed .split__art { height: 75vh; height: 75svh; }
  .split-bleed__copy { padding: 30px 22px 48px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tiles   { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 12px 22px 24px; border-bottom: 1px solid var(--line-soft);
    transform: translateY(-130%); transition: transform .36s var(--ease);
    box-shadow: var(--shadow-md); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { font-size: 17px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__toggle { display: grid; }
  .nav__logo { margin-right: auto; }
  .nav__actions { order: 3; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; gap: 34px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2,1fr); gap: 26px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .result__meta { display: none; }
  .result { gap: 14px; padding: 12px 8px; }
  .search-hero { padding-left: 16px; gap: 10px; }
  .search-hero .btn { padding: 12px 18px; }
  .hero--fit { padding-top: 36px; }
  .hero--fit .hero__art { margin-top: 14px; }
  .hero--fit .hero__art img { height: clamp(130px, 25vh, 240px); }
  .hero--fit .marquee { padding: 12px 0 24px; }
  .hero--pinkenv { --marquee-space: 78px; }
  .hero--pinkenv::before { background-position: center; }
  .marquee { margin-top: 26px; padding-bottom: 48px; }
  .marquee__item { margin-right: 18px; font-size: 19px; }
  .marquee__dot { width: 22px; height: 22px; margin-right: 18px; }
  .marquee__item img { width: 28px; height: 28px; }
  .section { padding: 52px 0; }
  .hero { padding-top: 56px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .line-item { grid-template-columns: 76px 1fr; gap: 16px; row-gap: 12px; }
  .line-item__media { height: 76px; }
  .line-item__media img { max-height: 60px; }
  .line-item__price { grid-column: 2; text-align: left; }
  .line-item__unit { text-align: left; }
  .card { padding: 26px 20px; }
  .fieldset-card { padding: 22px 18px; }
  .btn { width: auto; }
  .steps { font-size: 12px; flex-wrap: wrap; }
  .order-meta { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   Home page preloader — the tiger clip plays once, then fades out
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  display: grid; place-items: center;
  background: #fff;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__video {
  width: min(70vw, 60vh, 520px); height: auto; aspect-ratio: 1;
  object-fit: contain; display: block;
}
body.is-preloading { overflow: hidden; }
/* hold the hero's zoom-in until the preloader has gone, so it isn't missed */
body.is-preloading .hero--pinkenv::before { animation-play-state: paused; }

/* product photo gallery: a large photo with clickable thumbnails */
.pdp__stage--photo { padding: 0; overflow: hidden; min-height: 0; aspect-ratio: 3 / 2; }
.pdp__stage--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.pdp__thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px;
}
.pdp__thumb {
  padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1; background: var(--bg-alt); opacity: .6;
  transition: opacity .2s var(--ease), box-shadow .2s var(--ease);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { opacity: .9; }
.pdp__thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }

/* product cards with a photo: a fixed 3:2 frame the photo fills (and zooms inside) */
.card__media--photo {
  display: block; height: auto; aspect-ratio: 3 / 2;
  overflow: hidden; border-radius: 16px; margin-bottom: 22px;
}
.card__media--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
