/* =====================================================================
   Scülpt website
   Warna & font diambil dari katalog Movement Collection 01.
   Font: Bodoni Moda (judul, italic hanya 1 kata aksen), Manrope (menu, tombol, label), Newsreader (paragraf)
   ===================================================================== */
:root {
  --cream: #F3EAE3;
  --paper: #FAF5F0;
  --sand: #E9DDD2;
  --rust: #6C1F0F;
  --rust-deep: #4F1609;
  --ink: #3A0B05;
  --body: #4E2E26;
  --muted: #8A6A5E;
  --line: #E0D2C7;
  --on-rust: #F6E9D8;
  --on-rust-soft: #E2C9B5;
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --ui: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wrap: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--body); font-family: var(--ui); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.05; text-wrap: balance; letter-spacing: -0.005em; }
h1 i, h2 i, h3 i { font-weight: 400; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--rust { background: var(--rust); color: var(--on-rust); }
.section--rust h1, .section--rust h2, .section--rust h3 { color: var(--on-rust); }

/* ---------- type ---------- */
.kicker { font-family: var(--ui); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rust); font-weight: 500; }
.section--rust .kicker, .on-rust .kicker { color: var(--on-rust-soft); }
.display { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.0; }
.title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.subtitle { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-family: var(--text); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--body); max-width: 52ch; }
.section--rust .lead, .on-rust .lead { color: var(--on-rust); }
.prose { font-family: var(--text); font-size: 1.06rem; line-height: 1.6; max-width: 62ch; }
.rule { width: 48px; height: 1px; background: currentColor; opacity: 0.45; border: 0; margin: 0; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 14px 24px; border-radius: 999px; background: var(--rust); color: var(--on-rust); border: 1px solid var(--rust); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.btn--light { background: var(--on-rust); color: var(--rust); border-color: var(--on-rust); }
.btn--light:hover { background: #fff7ee; border-color: #fff7ee; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 0.7rem; }
.btn svg { width: 16px; height: 16px; flex: none; }
.arrow-circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; flex: none; transition: background 0.2s, color 0.2s; }
.arrow-circle svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(243, 234, 227, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { font-family: var(--display); font-size: 2rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1; }
.nav { display: flex; gap: clamp(18px, 3.2vw, 44px); }
.nav a { font-size: 0.98rem; color: var(--ink); padding-block: 6px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rust); }
.header-spacer { width: 120px; }
@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; gap: 6px; min-height: 0; padding-block: 12px 4px; }
  .logo { font-size: 1.7rem; }
  .nav { width: 100%; justify-content: center; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 0.92rem; white-space: nowrap; }
  .header-spacer { display: none; }
}

/* ---------- footer / contact ---------- */
.contact { padding-block: clamp(48px, 6vw, 72px) clamp(36px, 4.5vw, 52px); text-align: center; background: var(--rust); color: var(--on-rust); }
.contact .kicker { color: var(--on-rust-soft); }
.contact h2, .contact h3, .contact .lead, .contact .contact-link, .contact .contact-icon { color: var(--on-rust); }
.contact .contact-grid, .contact .contact-item { border-color: rgba(246, 233, 216, 0.22); }
.contact .contact-icon { border-color: rgba(246, 233, 216, 0.6); }
.contact-item p { color: var(--on-rust-soft); }
.contact .kicker { display: block; margin-bottom: 10px; }
.contact .lead { margin: 12px auto 0; max-width: 62ch; text-wrap: balance; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 44px); text-align: left; gap: 32px; }
.contact-item { padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact-item:first-child { border-left: 0; padding-left: 0; }
.contact-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; color: var(--ink); margin-bottom: 4px; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.3rem; }
.contact-item p { font-family: var(--text); font-size: 0.98rem; line-height: 1.5; }
.contact-link { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-link svg { width: 14px; height: 14px; flex: none; }
.contact-item--photo { gap: 8px; }
.contact-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--rust-deep); margin-bottom: 10px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-grid:has(.contact-item--photo) { gap: 24px; }
.contact-mini { display: inline-flex; }
.contact-mini svg { width: 18px; height: 18px; }
.footer-bar { background: var(--rust-deep); color: var(--on-rust-soft); }
.footer-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); font-size: 0.82rem; letter-spacing: 0.04em; }
.footer-bar .logo { color: var(--on-rust); font-size: 1.6rem; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bar a:hover { color: var(--on-rust); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .contact-item h3 { font-size: 1.05rem; }
  .contact-item p { font-size: 0.86rem; }
  .contact-link { font-size: 0.76rem; overflow-wrap: normal; word-break: keep-all; }
  .contact-icon { width: 40px; height: 40px; }
  .contact-icon svg { width: 18px; height: 18px; }
  .contact-mini { display: none; }
}

/* ---------- split hero (home, about, collection) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: clamp(440px, 62vh, 640px); }
.split-text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: clamp(48px, 7vw, 96px); padding-left: max(var(--gutter-l), calc((100vw - var(--wrap)) / 2 + 20px)); padding-right: clamp(24px, 5vw, 72px); }
.split-media { position: relative; min-height: 320px; background: var(--sand); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split--rust { background: var(--rust); color: var(--on-rust); }
.split--rust h1 { color: var(--on-rust); }
.split--rust .lead { color: var(--on-rust); }
.split .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .split-text { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
}

/* ---------- home: how it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.how-intro { display: flex; flex-direction: column; gap: 18px; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.how-step { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.how-step figure { margin: 0; position: relative; }
.how-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.how-num { position: absolute; top: -14px; left: -10px; width: 40px; height: 40px; border-radius: 50%; background: var(--rust); color: var(--on-rust); display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; box-shadow: 0 0 0 5px var(--cream); }
.how-step h3 { font-size: 1.55rem; }
.how-step p { font-family: var(--text); font-size: 1rem; line-height: 1.5; max-width: 26ch; margin: 0 auto; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .how-steps { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- page header ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.page-head--center { align-items: center; text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.page-head--split { flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 56px; }
.page-head--split .lead { max-width: 46ch; }
@media (max-width: 760px) { .page-head--split .lead { border-left: 0; padding-left: 0; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--rust); }
.breadcrumb span[aria-hidden] { opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- workouts landing: arches ---------- */
.arches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.arch { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.arch-card { position: relative; display: block; aspect-ratio: 9 / 10.5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand); color: var(--on-rust); }
.arch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.arch-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 10, 4, 0.05) 20%, rgba(40, 10, 4, 0.7) 100%); }
.arch-card:hover img { transform: scale(1.04); }
.arch-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 28px 26px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.arch-num { font-size: 0.8rem; letter-spacing: 0.14em; }
.arch-body h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); color: var(--on-rust); }
.arch-body p { font-family: var(--text); font-size: 1rem; line-height: 1.45; max-width: 28ch; }
.arch-body .arrow-circle { margin-top: 6px; }
.arch-card:hover .arrow-circle { background: var(--on-rust); color: var(--rust); }
.tag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tag-grid a { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 4px; font-size: clamp(0.56rem, 0.72vw, 0.62rem); letter-spacing: 0.03em; line-height: 1.15; text-transform: uppercase; color: var(--ink); text-align: center; background: var(--sand); border-radius: 999px; transition: background 0.2s, color 0.2s; }
.tag-grid a:hover { background: var(--rust); color: var(--on-rust); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.feature { padding: 32px 24px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.feature:first-child { border-left: 0; }
.feature .contact-icon { margin: 0 0 4px; }
.feature h3 { font-size: 1.3rem; }
.feature p { font-family: var(--text); font-size: 0.98rem; line-height: 1.45; max-width: 26ch; }
@media (max-width: 900px) {
  .arches { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 48px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(3) { border-left: 0; }
}
@media (max-width: 480px) { .features { grid-template-columns: 1fr; }  }

/* ---------- category library ---------- */
.cat-switch { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-switch a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 18px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.cat-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-block: 28px 8px; }
.filter-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.filter-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.86rem; padding: 8px 16px; border-radius: 999px; border: 0; color: var(--ink); background: var(--sand); transition: background 0.2s, color 0.2s; }
.chip:hover { background: #DFCFC2; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-group--wide { flex-basis: 100%; }
.result-count { font-size: 0.85rem; color: var(--muted); padding-top: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 18px var(--section); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) { .card-grid { grid-template-columns: 1fr; } }
.w-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; min-width: 0; }
.w-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(58, 11, 5, 0.45); }
.w-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.w-card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(250, 245, 240, 0.92); color: var(--ink); padding: 6px 10px; border-radius: 999px; font-weight: 500; }
.badge--right { left: auto; right: 12px; background: transparent; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); padding-inline: 0; }
.w-card-body { padding: 18px 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 12px; align-items: end; flex: 1; }
.w-card-body h3 { grid-column: 1 / -1; font-size: 1.45rem; padding-bottom: 4px; }
.tools-label { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.tools-value { font-size: 0.9rem; color: var(--body); }
.w-card .arrow-circle { width: 38px; height: 38px; color: var(--ink); }
.w-card:hover .arrow-circle { background: var(--ink); color: var(--paper); }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 16px; border: 1px dashed #CDB9AA; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h3 { font-size: 1.6rem; }
.empty p { font-family: var(--text); color: var(--muted); }

/* ---------- workout detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); padding-block: 28px var(--section); align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 104px; }
.detail-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .meta-strip { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(180deg, transparent, rgba(30, 8, 3, 0.65)); color: #fff; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.detail-main h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.meta-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.meta-trio > div { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); border-radius: var(--radius); min-width: 0; }
.meta-trio svg { width: 26px; height: 26px; color: var(--ink); margin-bottom: 6px; }
.meta-trio b { font-weight: 500; color: var(--ink); }
.meta-trio span { color: var(--muted); font-size: 0.95rem; }
.tools-box { display: flex; flex-direction: column; gap: 12px; }
.tools-box h2 { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--paper); transition: background 0.2s; }
.tool:hover { background: var(--sand); }
.tool img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tool span { font-size: 0.92rem; color: var(--ink); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; }
.plan-head h2 { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.plan-head span { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan { list-style: none; margin: 0; padding: 0; }
.plan li { display: grid; grid-template-columns: 34px 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 10px 0; }
.plan-num { font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan img { width: 112px; height: 80px; object-fit: cover; border-radius: 4px; }
.plan h3 { font-size: 1.3rem; }
.plan-sets { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.plan-rest { font-size: 0.86rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail-main { position: static; } }
@media (max-width: 520px) {
  .plan li { grid-template-columns: 24px 76px minmax(0, 1fr); gap: 12px; }
  .plan img { width: 76px; height: 58px; }
  .plan-rest { grid-column: 3; }
  .meta-trio { grid-template-columns: 1fr; }
}

/* ---------- collections ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: var(--section); }
.coll-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--rust-deep); color: var(--on-rust); isolation: isolate; }
.coll-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s; }
.coll-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 12, 5, 0.1) 30%, rgba(52, 18, 8, 0.88) 78%); }
a.coll-card:hover img { transform: scale(1.04); }
.coll-body { padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.coll-body h2 { color: var(--on-rust); font-size: clamp(2rem, 3vw, 2.5rem); }
.coll-body p { font-family: var(--text); font-size: 1.04rem; line-height: 1.45; max-width: 26ch; }
.coll-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pill { position: absolute; top: 24px; left: 24px; font-size: 0.82rem; padding: 7px 16px; border: 1px solid var(--on-rust); border-radius: 999px; color: var(--on-rust); }
a.coll-card:hover .arrow-circle { background: var(--on-rust); color: var(--rust); }
.coll-card--soon { cursor: default; }
@media (max-width: 960px) { .coll-grid { grid-template-columns: 1fr; } .coll-card { min-height: 440px; } }

/* products */
.products-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; padding-block: var(--section) 32px; }
.products-head .lead { max-width: 44ch; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; padding-bottom: var(--section); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
@media (max-width: 520px) {
  .p-card .btn { align-self: stretch; justify-content: center; padding-inline: 8px; letter-spacing: 0.08em; font-size: 0.64rem; }
  .p-name { font-size: 1.15rem; }
  .p-desc { font-size: 0.9rem; }
}
@media (max-width: 340px) { .product-grid { grid-template-columns: 1fr; } }
.p-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.p-media { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); text-align: left; width: 100%; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.p-media:hover img { transform: scale(1.04); }
.p-name { font-family: var(--display); font-size: 1.4rem; color: var(--ink); text-align: left; line-height: 1.1; }
.p-desc { font-family: var(--text); font-size: 0.98rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swatches { display: flex; align-items: center; gap: 8px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(58, 11, 5, 0.25); box-shadow: inset 0 0 0 2px var(--cream); padding: 0; }
.swatch[aria-pressed="true"] { outline: 1px solid var(--ink); outline-offset: 2px; }
.swatch-name { font-size: 0.8rem; color: var(--muted); margin-left: 4px; }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p-price b { font-size: 1.08rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-price s { font-size: 0.9rem; color: var(--muted); }
.p-price .soon { font-size: 0.9rem; color: var(--muted); }
.p-card .btn { align-self: flex-start; margin-top: auto; }
.p-card--bundle { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; background: var(--rust); color: var(--on-rust); border-radius: var(--radius); overflow: hidden; }
.p-card--bundle .p-media { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 280px; }
.p-card--bundle .bundle-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.p-card--bundle .p-name { color: var(--on-rust); font-size: 1.9rem; }
.p-card--bundle .p-desc { -webkit-line-clamp: 4; color: var(--on-rust); }
.p-card--bundle .p-price b { color: var(--on-rust); font-size: 1.3rem; }
.p-card--bundle .p-price s { color: var(--on-rust-soft); }
.p-card--bundle .badge { position: static; align-self: flex-start; background: var(--on-rust); color: var(--rust); }
.includes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; font-size: 0.82rem; color: var(--on-rust-soft); }
.includes li::before { content: "✓ "; color: var(--on-rust); }
@media (max-width: 800px) { .p-card--bundle { grid-template-columns: 1fr; } .p-card--bundle .p-media { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }
@media (max-width: 1100px) { .includes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .includes { grid-template-columns: 1fr; } }

.cta-band { position: relative; text-align: center; padding-block: var(--section); background: var(--rust); color: var(--on-rust); overflow: hidden; }
.cta-band h2 { color: var(--on-rust); }
.cta-band .lead { margin: 14px auto 28px; color: var(--on-rust); }

/* product dialog */
dialog { border: 0; padding: 0; border-radius: 10px; background: var(--paper); color: var(--body); width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 80px -20px rgba(40, 10, 4, 0.5); }
dialog::backdrop { background: rgba(40, 14, 6, 0.55); }
.dlg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dlg-media { background: var(--sand); }
.dlg-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.dlg-body { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: calc(100vh - 48px); }
.dlg-body h2 { font-size: 2.2rem; }
.dlg-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--ink); z-index: 2; }
.dlg-close svg { width: 18px; height: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th { text-align: left; font-weight: 400; color: var(--muted); padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); width: 42%; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.spec-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rust); font-weight: 500; margin-top: 6px; }
@media (max-width: 720px) { .dlg { grid-template-columns: 1fr; } .dlg-media img { aspect-ratio: 4 / 3; } .dlg-body { max-height: none; } dialog { overflow-y: auto; } }

/* ---------- events ---------- */
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; padding: 28px; border-radius: var(--radius); overflow: hidden; color: #FBF2E8; isolation: isolate; }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s; }
.event-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 10, 4, 0.55) 0%, rgba(30, 10, 4, 0.15) 45%, rgba(30, 10, 4, 0.7) 100%); }
.event-card:hover img { transform: scale(1.04); }
.event-date { font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.event-date small { display: block; font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; }
.event-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.event-foot h3 { color: #FBF2E8; font-size: 1.9rem; }
.event-foot p { font-family: var(--text); font-size: 1rem; margin-top: 6px; }
.event-card:hover .arrow-circle { background: #FBF2E8; color: var(--rust); }
.event-past .event-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-past .event-card { min-height: 260px; }
.event-past .event-card::before { background: linear-gradient(180deg, rgba(30, 10, 4, 0.5), rgba(30, 10, 4, 0.75)); }
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
@media (max-width: 860px) { .event-list, .event-past .event-list { grid-template-columns: 1fr; } }

.event-hero { position: relative; min-height: clamp(360px, 52vh, 560px); display: flex; align-items: flex-end; color: #FBF2E8; isolation: isolate; }
.event-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.event-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 10, 4, 0.2), rgba(30, 10, 4, 0.78)); }
.event-hero .wrap { padding-block: 48px; display: flex; flex-direction: column; gap: 14px; }
.event-hero h1 { color: #FBF2E8; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.event-hero .breadcrumb { color: rgba(251, 242, 232, 0.8); }
.event-hero .breadcrumb [aria-current] { color: #FBF2E8; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; }
.event-intro { padding-block: clamp(40px, 6vw, 72px) 32px; }

.gallery { padding-bottom: var(--section); }
.gallery button { display: block; width: 100%; border-radius: 4px; overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery--grid button { aspect-ratio: 1 / 1; }
.gallery--collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 17vw, 220px); grid-auto-flow: dense; gap: 12px; }
.gallery--collage button:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery--collage button:nth-child(6n+4) { grid-row: span 2; }
.gallery--collage button:nth-child(6n+5) { grid-column: span 2; }
.gallery--masonry { columns: 3; column-gap: 12px; }
.gallery--masonry button { margin-bottom: 12px; break-inside: avoid; }
.gallery--masonry img { height: auto; }
@media (max-width: 760px) {
  .gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery--collage button:nth-child(6n+5) { grid-column: span 1; }
  .gallery--masonry { columns: 2; }
}
.lightbox { width: min(1100px, calc(100vw - 24px)); background: #1b0905; }
.lightbox img { width: 100%; max-height: calc(100vh - 80px); object-fit: contain; }

/* ---------- about ---------- */
.partners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.partners-intro { display: flex; flex-direction: column; gap: 16px; }
.partner-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partner { min-height: 120px; display: grid; place-items: center; padding: 20px; background: var(--paper); border-radius: var(--radius); text-align: center; }
.partner img { max-height: 64px; width: auto; object-fit: contain; }
.partner span { font-family: var(--ui); font-size: 1rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } .partner-logos { border-left: 0; padding-left: 0; } }
.about-events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-events-intro { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .about-events { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.skeleton { min-height: 60vh; }
.notice { font-size: 0.82rem; color: var(--muted); text-align: center; padding: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
