/* Catalogue Youssef Ez-zghari: onyx et grenat */
:root {
  --bg: #100E0D;
  --surface: #1A1715;
  --surface-2: #25211E;
  --line: #3A342F;
  --ink: #F4EFE7;
  --muted: #ADA397;
  --accent: #C22F45;
  --accent-hover: #D63A51;
  --accent-ink: #FFF6F2;
  --gold: #D8B46E;
  --font-display: 'Reem Kufi', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --r-sm: 6px;
  --r-md: 14px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --top-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 64px); }
:where(body, h1, h2, h3, p, ul, figure) { margin: 0; padding: 0; }
:where(ul) { list-style: none; }
:where(img) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; text-decoration: none; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }

body.yzc {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.ico { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
.ico svg { width: 100%; height: 100%; }
.fr { display: block; font-family: var(--font-body); font-size: .9rem; letter-spacing: .02em; color: var(--muted); direction: ltr; text-align: right; line-height: 1.5; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.005em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; }
.eyebrow { font-size: .95rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(244, 239, 231, .35); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo__fallback { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 44px; height: 44px; color: var(--gold); flex: none; }
.logo__words { display: flex; flex-direction: column; align-items: center; direction: ltr; line-height: 1.12; }
.logo__name { font-family: 'Libre Baskerville', 'Reem Kufi', sans-serif; font-weight: 700; font-size: 1.04rem; color: var(--gold); letter-spacing: .01em; white-space: nowrap; }
.logo__sub { font-family: 'Libre Baskerville', 'Reem Kufi', sans-serif; font-weight: 700; font-size: .78rem; color: var(--gold); }
.logo__img { width: auto; height: auto; }
.logo__img--top { max-height: 50px; max-width: 200px; }
.logo__img--foot { max-height: 64px; max-width: 220px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--top-h);
  background: rgba(16, 14, 13, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(58, 52, 47, .7);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.topbar__nav { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 500; }
.topbar__nav a { color: var(--muted); transition: color .2s; }
.topbar__nav a:hover { color: var(--ink); }

/* Placeholder (until real photos are added) */
.ph {
  position: relative; display: block; width: 100%; height: 100%;
  background-color: var(--surface-2);
  background-image:
    radial-gradient(120% 90% at 85% 10%, rgba(255, 255, 255, .07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23F4EFE7' stroke-opacity='.07' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 56px 56px;
}
.ph--t2 { background-color: #2A201E; }
.ph--t3 { background-color: #1F1C1A; }
.ph--t4 { background-color: #2B2420; }
.ph__glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 9rem);
  color: rgba(244, 239, 231, .06); line-height: 1;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero::before {
  content: ''; position: absolute; inset: -20% auto auto -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(194, 47, 69, .16), transparent 70%); pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.12; letter-spacing: -.01em;
  margin-top: 18px; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--muted); display: block; }
.hero__sub { margin-top: 22px; max-width: 34rem; font-size: 1.12rem; color: #D7CFC4; }
.hero__sub .fr { margin-top: 10px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__stack { position: relative; aspect-ratio: 1 / 1.02; margin-inline-end: calc(var(--gutter) * -1); }
.stack__card { position: absolute; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); }
.stack__card .stack__img { width: 100%; height: 100%; object-fit: cover; }
.stack__card--1 { inset: 4% 8% 14% 26%; z-index: 3; transform: rotate(-2.5deg); outline: 6px solid var(--bg); }
.stack__card--2 { inset: 30% 50% 0 0; z-index: 4; transform: rotate(4deg); outline: 6px solid var(--bg); }
.stack__card--3 { inset: 0 0 46% 64%; z-index: 2; transform: rotate(6deg); opacity: .9; }

/* Facts */
.facts { border-block: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts p { display: flex; align-items: baseline; gap: 12px; padding: 22px 0; padding-inline-start: 24px; border-inline-start: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.4; }
.facts p:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts strong { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--ink); line-height: 1; }

/* Catalogue */
.catalogue { padding-block: clamp(64px, 9vw, 120px); }
.catalogue__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.search {
  position: relative; display: flex; align-items: center; width: min(360px, 100%);
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--muted); }
.search .ico { position: absolute; inset-inline-start: 18px; color: var(--muted); }
.search input { width: 100%; height: 50px; border: 0; background: transparent; padding-inline: 48px 20px; outline: none; }
.search input::placeholder { color: #8A8177; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.card--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.card[hidden] { display: none; }
.card__link { position: absolute; inset: 0; display: block; }
.card__media { position: absolute; inset: 0; }
.card__media .card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card__link:hover .card__img { transform: scale(1.045); }
.card__body {
  position: absolute; inset: auto 0 0 0; padding: 56px 20px 18px;
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(to top, rgba(16, 14, 13, .92) 0%, rgba(16, 14, 13, .55) 55%, transparent 100%);
}
.card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.25; }
.card--lead .card__name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.card--lead .card__body { padding: 80px 30px 26px; }
.card__fr { font-size: .82rem; color: var(--muted); letter-spacing: .02em; text-align: right; }
.card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: .9rem; color: #D7CFC4; }
.card__meta .ico { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid rgba(244, 239, 231, .3); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.card__link:hover .card__meta .ico { background: var(--accent); border-color: var(--accent); transform: translateX(-3px); }
.noresult { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.noresult p { margin-bottom: 18px; color: var(--muted); }
.empty { color: var(--muted); }

/* About Youssef */
.about { padding-block: 0 clamp(64px, 9vw, 120px); }
.about__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; margin-inline-start: calc(var(--gutter) * -1); }
.about__media .about__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md) 0 0 var(--r-md); }
.about__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md) 0 0 var(--r-md); border-right: 0; }
.about__ph-mark { width: 38%; color: rgba(216, 180, 110, .35); }
.about__badge { position: absolute; inset-block-end: -28px; inset-inline-end: -28px; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.about__badge-mark { width: 62px; height: 62px; color: var(--gold); }
.about__lead { margin-top: 18px; color: #D7CFC4; max-width: 32rem; }
.about__points { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__points li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.about__points strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.about__points span { color: var(--muted); font-size: .95rem; text-align: left; }
/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(64px, 9vw, 120px); }
.contact__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { margin-top: 18px; max-width: 30rem; color: #D7CFC4; }
.phones { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 34px; }
.phone {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.12;
  letter-spacing: .01em; color: var(--ink); transition: color .2s;
}
.phone { display: flex; flex-direction: column; }
.phone__name { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); letter-spacing: 0; line-height: 1.4; }
.phone__num { text-align: right; }
.phones { gap: 18px; }
.phone:hover .phone__num { color: var(--accent-hover); }
.phone .phone__num { transition: color .2s; }
.contact__list { margin-top: 32px; display: grid; gap: 14px; color: #D7CFC4; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .ico { color: var(--muted); }
.contact__list a { text-decoration: underline; text-decoration-color: rgba(244, 239, 231, .3); text-underline-offset: 4px; }
.contact__list a:hover { text-decoration-color: var(--ink); }

.waform { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.waform__title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.field { display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--ink); font-size: 1rem; line-height: 1.5; outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--muted); }
.field input::placeholder, .field textarea::placeholder { color: #8A8177; }
.field textarea { resize: vertical; min-height: 110px; }
.waform__note { font-size: .85rem; color: #8F867B; line-height: 1.6; }

.footer { border-top: 1px solid var(--line); padding-block: 34px; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8F867B; font-size: .9rem; }

.actionbar { display: none; }

/* Model page */
.mhead { padding-block: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 44px); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; transition: color .2s; }
.back:hover { color: var(--ink); }
.back__arrow { display: inline-flex; transform: scaleX(-1); }
.mhead__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-top: 26px; }
.mhead__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.08; letter-spacing: -.01em; }
.mhead__fr { margin-top: 8px; color: var(--muted); font-size: 1.05rem; text-align: right; }
.mhead__desc { color: #D7CFC4; max-width: 30rem; }
.mhead__row { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.mhead__count { color: var(--muted); font-size: .95rem; }

.chips { position: sticky; top: var(--top-h); z-index: 30; background: rgba(16, 14, 13, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.chips__list { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips__list::-webkit-scrollbar { display: none; }
.chips__list li { flex: none; scroll-snap-align: start; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; transition: color .2s, border-color .2s; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip.is-current { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }

.gallery-wrap { padding-block: 28px clamp(56px, 8vw, 100px); }
.masonry { columns: 4 240px; column-gap: 10px; }
.tile { break-inside: avoid; margin-bottom: 10px; }
.tile__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; }
.tile__img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.tile__btn:hover .tile__img { transform: scale(1.03); }

.soon { position: relative; }
.soon__ghosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.soon__ghost { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; opacity: .75; }
.soon__ghost--1 { aspect-ratio: 1 / 1; }
.soon__ghost--2 { aspect-ratio: 3 / 4; }
.soon__panel {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(50%, -50%);
  width: min(460px, calc(100% - 32px)); text-align: center; padding: 34px 28px;
  background: rgba(26, 23, 21, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.soon__panel p { color: #D7CFC4; margin-bottom: 20px; }
.soon__panel .soon__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }

.more { padding-bottom: clamp(56px, 8vw, 100px); }
.more__row { display: flex; gap: 12px; overflow-x: auto; margin-top: 20px; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.mini { flex: none; width: 168px; scroll-snap-align: start; }
.mini a { display: block; }
.mini__media { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.mini__media .mini__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mini a:hover .mini__img { transform: scale(1.05); }
.mini__name { display: block; margin-top: 10px; font-weight: 500; }
.mini .ph__glyph { font-size: 4rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; background: #0C0A09; }
.lb[hidden] { display: none; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); color: var(--muted); }
.lb__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: 72px; touch-action: pan-y; }
.lb__img { max-width: 100%; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); transition: opacity .2s; }
.lb__img.is-loading { opacity: .3; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(26, 23, 21, .8); cursor: pointer; display: grid; place-items: center; }
.lb__nav:hover { border-color: var(--muted); }
.lb__nav--prev { inset-inline-start: 12px; }
.lb__nav--prev .ico { transform: scaleX(-1); }
.lb__nav--next { inset-inline-end: 12px; }
.lb__foot { display: flex; justify-content: center; padding: 16px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
body.lb-open { overflow: hidden; }

/* Reveal (visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .facts__in { grid-template-columns: repeat(2, 1fr); }
  .facts p:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts p:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --top-h: 60px; }
  body.yzc { font-size: 1rem; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .topbar__cta { display: none; }
  .nav--wide { display: none; }
  .logo__mark { width: 36px !important; height: 36px !important; }
  .logo__name { font-size: .9rem; }
  .logo__sub { font-size: .68rem; }
  .about__in { grid-template-columns: 1fr; }
  .about__media { margin-inline: calc(var(--gutter) * -1); }
  .about__media .about__img, .about__ph { border-radius: 0; border-inline: 0; }
  .about__badge { width: 80px; height: 80px; inset-block-end: -24px; inset-inline-end: auto; inset-inline-start: var(--gutter); }
  .about__badge-mark { width: 48px; height: 48px; }
  .about__text { margin-top: 18px; }
  .about__points li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .about__points span { text-align: right; }
  .topbar__in { gap: 16px; }
  .topbar__nav { gap: 18px; font-size: .95rem; }
  .logo__img--top { max-height: 42px; max-width: 150px; }

  .hero__in { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.2rem, 9.5vw, 3rem); margin-top: 14px; }
  .hero__sub { font-size: 1.02rem; margin-top: 16px; }
  .hero__ctas { margin-top: 24px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__stack { aspect-ratio: 16 / 11; margin-inline: 0; margin-top: 4px; }
  .stack__card--1 { inset: 0 6% 8% 34%; }
  .stack__card--2 { inset: 22% 58% 0 0; }
  .stack__card--3 { display: none; }

  .facts p { flex-direction: column; gap: 4px; padding-block: 16px; font-size: .85rem; }
  .facts strong { font-size: 1.7rem; }

  .catalogue__head { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card--lead { grid-row: span 1; aspect-ratio: 16 / 12; }
  .card__body { padding: 44px 12px 12px; }
  .card__name { font-size: 1.12rem; }
  .card--lead .card__name { font-size: 1.8rem; }
  .card--lead .card__body { padding: 60px 18px 16px; }
  .card__fr { font-size: .74rem; }
  .card__meta { font-size: .8rem; margin-top: 6px; }
  .card__meta .ico { width: 26px; height: 26px; padding: 6px; }

  .contact__in { grid-template-columns: 1fr; }
  .phones { margin-top: 24px; }
  .footer__in { flex-direction: column; text-align: center; }

  .mhead__grid { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .mhead__row .btn { flex: 1 1 auto; }
  .masonry { columns: 2; column-gap: 8px; }
  .tile { margin-bottom: 8px; }
  .soon__ghosts { grid-template-columns: repeat(2, 1fr); }
  .soon__ghost:nth-child(n+5) { display: none; }
  .soon__panel { position: relative; inset: auto; transform: none; width: 100%; margin-top: -40%; }
  .mini { width: 136px; }

  .lb__stage { padding-inline: 8px; }
  .lb__nav { top: auto; bottom: 8px; transform: none; width: 46px; height: 46px; }
  .lb__img { max-height: calc(100dvh - 210px); }

  .actionbar {
    display: flex; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 50;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(16, 14, 13, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .actionbar .btn--primary { flex: 1; }
  .actionbar .btn--ghost { padding: 0 20px; }
}

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

/* Gallery: weight captions and videos */
.tile__btn { position: relative; }
.tile video.tile__img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.tile__play { position: absolute; inset-block-end: 12px; inset-inline-start: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.tile__play svg { width: 20px; height: 20px; margin-inline-start: 3px; }
.tile__cap { margin: 6px 2px 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.lb__bar { gap: 16px; }
.lb__weight { margin-inline-start: auto; margin-inline-end: 16px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.lb__video { max-width: 100%; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); border-radius: var(--r-sm); background: #000; }
.lb__video[hidden], .lb__img[hidden] { display: none; }

/* From drawing to gold */
.draw { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 100px); background: var(--surface); border-block: 1px solid var(--line); margin-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.draw__head { max-width: 40rem; }
.draw__lead { margin-top: 16px; color: #D7CFC4; }
.draw__row { display: flex; gap: 14px; overflow-x: auto; margin-top: 36px; padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.draw__item { flex: none; scroll-snap-align: start; }
.draw__item:nth-child(3n+2) { margin-top: 40px; }
.draw__btn { display: block; padding: 0; border: 0; background: #F4EFE7; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; }
.draw__img { display: block; height: 380px; width: auto; max-width: none; transition: transform .6s var(--ease); }
.draw__btn:hover .draw__img { transform: scale(1.03); }
@media (max-width: 760px) {
  .draw__img { height: 300px; }
  .draw__item:nth-child(3n+2) { margin-top: 24px; }
  .lb__weight { font-size: .85rem; }
}
/* Admin-only photo numbers */
.tile { position: relative; }
.tile__num { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: #F4EFE7; color: #100E0D; font-weight: 700; font-size: .95rem; pointer-events: none; }

/* About inset (shop clock) */
.about__inset { position: absolute; inset-block-end: -36px; inset-inline-end: -36px; width: clamp(120px, 30%, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--bg); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0,0,0,.45); background: var(--surface); }
.about__inset .about__inset-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
@media (max-width: 760px) { .about__inset { width: 112px; inset-block-end: -30px; inset-inline-end: auto; inset-inline-start: var(--gutter); border-width: 4px; } }

/* Videos: home section, all-videos page, gallery posters */
.vids { padding-block: 0 clamp(64px, 9vw, 120px); }
.vids__head { max-width: 40rem; margin-bottom: 32px; }
.vids__lead { margin-top: 14px; color: #D7CFC4; }
.vids__foot { display: flex; justify-content: center; margin-top: 36px; }
.vids__foot .ico { transform: none; }
.vgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; }
.vgrid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vcard { min-width: 0; }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.vcard__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.vcard__btn::after { content: ''; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to top, rgba(16, 14, 13, .7), transparent); pointer-events: none; }
.vcard__poster { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard__btn:hover .vcard__poster { transform: scale(1.04); }
.vcard__btn .tile__play { z-index: 1; transition: transform .25s var(--ease), background-color .25s; }
.vcard__btn:hover .tile__play { transform: scale(1.08); background: var(--accent-hover); }
.vcard__dur { position: absolute; z-index: 1; inset-block-end: 20px; inset-inline-end: 12px; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.vcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vcard__name { display: block; margin-top: 10px; font-weight: 600; font-size: .98rem; line-height: 1.4; color: var(--ink); transition: color .2s; }
.vcard__name:hover { color: var(--gold); }

.vlist { padding-block: 12px clamp(56px, 8vw, 100px); }
.vgroup { padding-top: clamp(36px, 5vw, 56px); scroll-margin-top: calc(var(--top-h) + 64px); }
.vgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vgroup__link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: .95rem; white-space: nowrap; transition: color .2s; }
.vgroup__link:hover { color: var(--ink); }
.chip__n { margin-inline-start: 6px; font-size: .82rem; color: #8A8177; }

.tile--video .tile__img { aspect-ratio: 9 / 16; object-fit: cover; }

@media (max-width: 1024px) {
  .vgrid, .vgrid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .vgrid, .vgrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .vids__head { margin-bottom: 22px; }
  .vids__foot .btn { width: 100%; }
  .vcard__name { font-size: .92rem; margin-top: 8px; }
  .vcard__btn .tile__play { width: 40px; height: 40px; inset-block-end: 10px; inset-inline-start: 10px; }
  .vcard__dur { inset-block-end: 22px; }
}
.vgroup__note { color: var(--muted); font-size: .95rem; }

/* duration badge sits opposite the play button (physical left, since it is dir=ltr) */
.vcard__dur { inset-inline-end: auto; right: auto; left: 12px; bottom: 28px; }
@media (max-width: 760px) { .vcard__dur { left: 10px; bottom: 24px; } }
