/* Hoshiko Jewels
   Layout concept: deep plum halls alternate with champagne-silk rooms; photos sit in
   pointed temple-arch niches; the logo's mandala turns slowly as the page scrolls.
   Single committed look (the brand's plum and gold), so no separate dark theme. */

:root {
  color-scheme: light;

  /* colour */
  --plum-950: #1c0226;
  --plum-900: #2a0338;
  --plum-800: #3d0550;
  --plum-700: #5c0a72;
  --magenta:  #92076f;
  --gold:      #f8be7e;
  --gold-soft: #ffdfad;
  --gold-deep: #86491a;
  --silk:   #f6ead6;
  --silk-2: #ecd9b8;
  --silk-3: #fbf4e8;
  --ink:      #2b1230;
  --ink-soft: #5d4763;
  --ruby:    #b0164a;
  --emerald: #1f7a5c;
  --line-on-silk: rgba(134, 73, 26, .28);
  --line-on-plum: rgba(248, 190, 126, .26);

  /* type */
  --display: "Rozha One", "Bodoni MT", Didot, "Times New Roman", serif;
  --serif:   "Alice", "Iowan Old Style", Palatino, Georgia, serif;
  --sans:    "Mukta", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.55rem, 6.2vw, 5.3rem);
  --fs-h2:   clamp(1.9rem, 3.8vw, 3.1rem);
  --fs-h3:   1.4rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .78rem;

  /* layout */
  --gutter: clamp(16px, 4vw, 44px);
  --wrap: 1240px;
  --section: clamp(64px, 9vw, 128px);

  /* pointed temple arch, stretched to whatever box it masks */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 133' preserveAspectRatio='none'%3E%3Cpath d='M0 133V46C0 22 30 16 50 0c20 16 50 22 50 46v87z'/%3E%3C/svg%3E");
  --arch-line-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 135' preserveAspectRatio='none'%3E%3Cpath d='M0 133V46C0 22 30 16 50 0c20 16 50 22 50 46v87z' fill='none' stroke='%23f8be7e' stroke-width='1.25' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --arch-line-deep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 135' preserveAspectRatio='none'%3E%3Cpath d='M0 133V46C0 22 30 16 50 0c20 16 50 22 50 46v87z' fill='none' stroke='%2386491a' stroke-width='1.25' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--silk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.on-silk :focus-visible, .silk :focus-visible { outline-color: var(--plum-700); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus { position: fixed; z-index: 100; left: 12px; top: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--gold); color: var(--plum-900); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- shared pieces ---------- */

.eyebrow {
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.plum .eyebrow { color: var(--gold); }

.h2 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.08; letter-spacing: .005em; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); max-width: 34em; color: var(--ink-soft); }
.plum .lede { color: rgba(255, 223, 173, .82); }

/* three set stones: ruby, emerald, ruby */
.kemp { display: inline-flex; gap: 7px; align-items: center; }
.kemp i { width: 9px; height: 9px; border-radius: 50%; background: var(--ruby); box-shadow: 0 0 0 2px var(--gold); }
.kemp i:nth-child(2) { background: var(--emerald); width: 11px; height: 11px; }

.section-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
.section-head--split > * { grid-column: 1; }
.section-head--split > .section-head__link { grid-column: 2; grid-row: 1 / span 3; align-self: end; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: .86rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--plum-900); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { border-color: var(--gold); color: var(--gold-soft); background: transparent; }
.btn--ghost:hover { background: rgba(248, 190, 126, .14); }
.btn--plum { background: var(--plum-800); color: var(--gold-soft); }
.btn--plum:hover { background: var(--plum-700); transform: translateY(-2px); }
.btn--line { border-color: var(--plum-800); color: var(--plum-800); background: transparent; }
.btn--line:hover { background: var(--plum-800); color: var(--gold-soft); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .78rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--plum-700);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.text-link svg { width: 16px; height: 16px; transition: transform .25s; }
.text-link:hover svg { transform: translateX(4px); }
.plum .text-link { color: var(--gold); }

/* arch niche */
.arch { position: relative; aspect-ratio: 3 / 4; max-width: 100%; }
.arch::before {
  content: ""; position: absolute; inset: -11px;
  background: var(--arch-line-deep) center / 100% 100% no-repeat;
  pointer-events: none; transition: inset .35s ease;
}
.plum .arch::before { background-image: var(--arch-line-gold); }
.arch__clip {
  position: absolute; inset: 0; overflow: hidden; background: var(--silk-2);
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
}
.arch__clip img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.arch__clip img[data-parallax="fill"] { top: -15%; height: 130%; will-change: transform; }

/* scalloped hem hanging from a plum section into the next one */
.hem { position: relative; }
.hem::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 15px; z-index: 3;
  background: var(--hem, linear-gradient(100deg, var(--plum-900) 0%, var(--plum-800) 55%, var(--plum-700) 100%));
  -webkit-mask: radial-gradient(circle at 15px 0, #000 14px, transparent 14.6px) 0 0 / 30px 15px repeat-x;
  mask: radial-gradient(circle at 15px 0, #000 14px, transparent 14.6px) 0 0 / 30px 15px repeat-x;
  pointer-events: none;
}

/* Plain background image, not a CSS mask: masks from a file are blocked when the site is
   opened straight from disk or inside a sandboxed frame, which hid the mandala entirely. */
.mandala { background: url("../img/mandala.svg") center / contain no-repeat; aspect-ratio: 1; pointer-events: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--plum-900); color: var(--gold-soft);
  border-bottom: 1px solid var(--line-on-plum);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-soft); }
.brand__logo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; }
.brand__text { display: grid; line-height: 1; }
.brand__text b { font-family: var(--sans); font-weight: 700; font-size: 1.22rem; letter-spacing: .2em; }
.brand__text span { font-family: var(--serif); font-size: .82rem; letter-spacing: .42em; text-transform: uppercase; margin-top: 5px; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.site-nav a:not(.btn) {
  position: relative; padding: 8px 0; text-decoration: none;
  font-size: .84rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 223, 173, .86);
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--gold-soft); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-on-plum); border-radius: 2px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span[aria-hidden] { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-soft); transition: transform .3s, opacity .3s; }
.nav-toggle span[aria-hidden]:nth-of-type(2) { top: 15px; }
.nav-toggle span[aria-hidden]:nth-of-type(3) { top: 22px; }
.nav-toggle span[aria-hidden]:nth-of-type(4) { top: 29px; }
.nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; flex: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--plum-900); border-bottom: 1px solid var(--line-on-plum);
    padding: 6px var(--gutter) 22px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-on-plum); font-size: .9rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }
}
@media (max-width: 900px) {
  .site-header__in { min-height: 76px; }
  .brand__logo { width: 52px; height: 52px; }
}
@media (max-width: 400px) {
  .brand__logo { width: 46px; height: 46px; }
  .brand__text b { font-size: 1.05rem; }
}

/* ---------- hero (home) ---------- */

.plum { background: var(--plum-900); color: var(--gold-soft); }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 46%, rgba(146, 7, 111, .78), transparent 70%),
    linear-gradient(100deg, var(--plum-900) 0%, var(--plum-800) 55%, var(--plum-700) 100%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 104px);
}
.hero__copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero h1 { font-family: var(--display); font-size: var(--fs-hero); line-height: .98; color: var(--gold); }
.hero h1 span { display: block; font-family: var(--serif); font-size: .74em; line-height: 1.12; letter-spacing: .01em; color: var(--gold-soft); margin-top: .12em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.hero__art { position: relative; min-width: 0; padding: 4% 4% 12% 20%; }
.hero__mandala { position: absolute; width: 142%; left: 58%; top: 44%; translate: -50% -50%; opacity: .34; will-change: transform; }
.hero__art .arch--lg { position: relative; }
.hero__art .arch--sm { position: absolute; left: 0; bottom: 0; width: 40%; will-change: transform; }
.hero__art .arch--sm .arch__clip { box-shadow: none; }
.hero__art .arch--sm::before { inset: -8px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__art { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 470px; width: 100%; margin-inline: auto; padding: 4% 6% 12% 18%; }
}

/* ---------- home: styles ---------- */

.section { padding-block: var(--section); }
.silk { background: var(--silk); }
.silk-2 { background: var(--silk-2); }

.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.style { display: grid; gap: 22px; text-decoration: none; align-content: start; }
.style .arch { margin: 11px; }
.style:nth-child(2) { margin-top: clamp(0px, 5vw, 64px); }
.style__name { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.1; color: var(--plum-800); }
.style__text { display: grid; gap: 10px; justify-items: start; }
.style__text p { color: var(--ink-soft); font-size: var(--fs-small); max-width: 30em; }
.style:hover .arch__clip img { scale: 1.05; }
.style:hover .arch::before { inset: -16px; }
@media (max-width: 760px) {
  .styles { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .style { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; gap: 26px; }
  .style:nth-child(2) { margin-top: 0; }
  .style:nth-child(even) .arch { order: 2; }
}
@media (max-width: 460px) {
  .style { gap: 20px; }
}

/* ---------- parallax banners ---------- */

.triptych { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: clamp(380px, 52vw, 640px); overflow: hidden; background: var(--plum-900); }
.triptych__panel { position: relative; overflow: hidden; }
.triptych__panel + .triptych__panel { border-left: 3px solid var(--plum-900); }
.triptych__panel img { position: absolute; left: 0; top: -28%; width: 100%; height: 156%; object-fit: cover; will-change: transform; }
.triptych::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(42, 3, 56, .5), rgba(42, 3, 56, .08) 75%); pointer-events: none; }
.seal { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: clamp(280px, 34vw, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; will-change: transform; filter: drop-shadow(0 6px 26px rgba(28, 2, 38, .65)); }
.seal__ring .mandala { width: 100%; }
.seal__disc {
  position: relative; width: 53%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(90deg, #6a017b, #92076f);
  display: grid; place-content: center; text-align: center; gap: 4px; padding: 8%;
  color: var(--gold-soft);
}
.seal__disc b { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.1vw, 1.6rem); line-height: 1.12; color: var(--gold-soft); }
.seal__disc span { font-size: clamp(.62rem, .95vw, .74rem); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) {
  .triptych { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 440px; }
  .triptych__panel:nth-child(3) { display: none; }
}

.banner { position: relative; overflow: hidden; background: var(--plum-900); color: var(--gold-soft); }
.banner__img { position: absolute; right: 0; top: -40%; width: min(62%, 860px); height: 180%; object-fit: cover; will-change: transform; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--plum-900) 36%, rgba(42, 3, 56, .78) 58%, rgba(61, 5, 80, .18) 100%); }
.banner__in { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); }
.banner h1 { font-family: var(--display); font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1; color: var(--gold); }
.banner__mandala { position: absolute; z-index: 1; width: 380px; left: -150px; bottom: -210px; opacity: .2; will-change: transform; }
@media (max-width: 700px) {
  .banner__img { width: 100%; opacity: .5; }
  .banner::before { background: linear-gradient(90deg, var(--plum-900) 10%, rgba(42, 3, 56, .7) 100%); }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 223, 173, .7); }
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- product cards ---------- */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.card { display: grid; grid-template-rows: auto 1fr; gap: 24px; text-decoration: none; min-width: 0; }
.card .arch { margin: 11px; }
.card__body { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-width: 0; }
.tag { font-size: var(--fs-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.card h3 { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; color: var(--plum-900); text-wrap: pretty; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-on-silk); font-size: var(--fs-small); color: var(--ink-soft); }
.card__go { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-700); }
.card__go svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .arch__clip img { scale: 1.05; }
.card:hover .arch::before { inset: -16px; }
.card:hover .card__go svg { transform: translateX(4px); }

/* ---------- how to order ---------- */

.order { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--plum-900), var(--plum-800)); }
.order__mandala { position: absolute; width: min(620px, 90vw); right: -190px; top: 50%; translate: 0 -50%; opacity: .16; will-change: transform; }
.order__in { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; margin-bottom: clamp(36px, 5vw, 56px); }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-on-plum); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--gold); }
.steps h3 { font-family: var(--serif); font-size: var(--fs-h3); color: var(--gold-soft); }
.steps p { font-size: var(--fs-small); color: rgba(255, 223, 173, .78); max-width: 30em; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- listing ---------- */

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 22px; margin-bottom: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line-on-silk); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-on-silk); border-radius: 2px; background: transparent; cursor: pointer;
  font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--plum-800);
  display: inline-flex; align-items: center; gap: 9px; transition: background-color .2s, color .2s, border-color .2s;
}
.chip small { font-size: .74rem; font-weight: 500; letter-spacing: 0; opacity: .7; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--plum-700); }
.chip[aria-pressed="true"] { background: var(--plum-800); border-color: var(--plum-800); color: var(--gold-soft); }
.count { font-size: var(--fs-small); color: var(--ink-soft); }
.style-note { max-width: 44em; color: var(--ink-soft); margin-bottom: clamp(28px, 4vw, 44px); }
.empty { padding: 48px 0; color: var(--ink-soft); }

/* ---------- product detail ---------- */

.crumb-band { background: var(--plum-900); color: var(--gold-soft); position: relative; overflow: hidden; }
.crumb-band .wrap { position: relative; padding-block: 22px 30px; }
.crumb-band__mandala { position: absolute; width: 300px; right: -70px; top: -120px; opacity: .2; will-change: transform; }

.pd { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 84px); align-items: start; }
.gallery { display: grid; gap: 22px; min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--silk-2); border-radius: 3px; outline: 1px solid var(--line-on-silk); outline-offset: 8px; margin: 9px; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery__main.is-zoom { cursor: zoom-in; }
.gallery__main.is-zoom img { transform: scale(2); transition: transform .2s ease; }
.gallery__hint { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 2px; background: rgba(42, 3, 56, .78); color: var(--gold-soft); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
@media (hover: none) { .gallery__hint { display: none; } }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); padding-inline: 9px; }
.thumb { display: grid; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.thumb__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--silk-2); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .2s; }
.thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.thumb span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.thumb[aria-current="true"] .thumb__img { outline-color: var(--gold-deep); }
.thumb[aria-current="true"] span { color: var(--plum-800); font-weight: 600; }

.pd__info { display: grid; gap: 22px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 116px); }
.pd__info h1 { font-family: var(--display); font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; color: var(--plum-900); }
.pd__top { display: grid; gap: 12px; }
.pd__code { font-size: var(--fs-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pd__desc { color: var(--ink-soft); max-width: 36em; }
.price { display: grid; gap: 4px; padding: 18px 22px; background: var(--silk-3); border-left: 3px solid var(--gold-deep); }
.price b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--plum-900); line-height: 1.2; }
.price span { font-size: var(--fs-small); color: var(--ink-soft); }
.spec { display: grid; border-top: 1px solid var(--line-on-silk); }
.spec > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-on-silk); }
.spec dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.spec dd { font-size: var(--fs-small); }
.fold { border-bottom: 1px solid var(--line-on-silk); }
.fold summary { cursor: pointer; padding: 12px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--plum-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-family: var(--sans); font-size: 1.3rem; color: var(--gold-deep); line-height: 1; }
.fold[open] summary::after { content: "\2212"; }
.fold ul { display: grid; gap: 6px; padding: 0 0 16px 18px; list-style: disc; font-size: var(--fs-small); color: var(--ink-soft); }
.folds { display: grid; }
@media (max-width: 860px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd__info { position: static; }
  .gallery { max-width: 560px; }
}
@media (max-width: 420px) { .spec > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- footer ---------- */

.site-footer { position: relative; overflow: hidden; background: var(--plum-950); color: rgba(255, 223, 173, .8); border-top: 1px solid var(--line-on-plum); }
.site-footer__mandala { position: absolute; width: 560px; right: -200px; bottom: -260px; opacity: .13; will-change: transform; }
.site-footer__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding-block: clamp(64px, 7vw, 96px) clamp(40px, 5vw, 60px); }
.footer-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer-brand img { width: 148px; height: 148px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-on-plum); }
.footer-brand p { font-size: var(--fs-small); max-width: 26em; }
.footer-brand .tagline { font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer-col { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-col h2 { font-family: var(--sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:not(.btn) { text-decoration: none; font-size: var(--fs-small); }
.footer-col a:not(.btn):hover { color: var(--gold-soft); text-decoration: underline; }
.footer-col p { font-size: var(--fs-small); }
.social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: var(--fs-small); color: var(--gold-soft); }
.social svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.social:hover span { text-decoration: underline; }
.footer-col .footer-phone { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; color: var(--gold-soft); font-variant-numeric: tabular-nums; user-select: all; }
.site-footer__bar { position: relative; border-top: 1px solid var(--line-on-plum); }
.site-footer__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: .84rem; color: rgba(255, 223, 173, .62); }
@media (max-width: 900px) { .site-footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__in { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 640px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split > .section-head__link { grid-column: 1; grid-row: auto; }
}

.related { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.related .section-head { margin-bottom: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 124px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .related { grid-template-columns: minmax(0, 1fr); } .related .section-head { position: static; } }
@media (max-width: 520px) { .grid--2 { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
