/* Tony Bellucci — homepage
   Layout: full-bleed bands (video, catalog rail, espresso blocks) around a 1240px column; text left-aligned, photography leads.
   One committed look (no dark variant): espresso leather, cognac (285 Taba), studio grey from the product photos. */
:root {
  --espresso: #2b1e17;      /* dark leather: text and dark bands */
  --espresso-2: #3a2a21;    /* raised dark surface */
  --cognac: #9a5a2c;        /* 285 Taba: actions, selection */
  --cognac-2: #b06a35;      /* hover on cognac */
  --studio: #f1f0ee;        /* backdrop of the product photography */
  --paper: #ffffff;
  --mink: #d9d0c7;          /* 213 Mink: hairlines, borders */
  --muted: #6f625a;         /* secondary text on light */
  --on-dark: #f4efea;
  --on-dark-muted: #cbbfb5;
  --focus: #c27a41;
  --f-display: "Forum", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-text: "Jost", "Futura", "Avenir Next", "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1240px;
  --g: 16px;
  --hd-h: 64px;
  --pad-y: clamp(64px, 8vw, 116px);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --g: 28px; } }
@media (min-width: 1024px) { :root { --g: 40px; --hd-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--espresso);
  font: 400 17px/1.65 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--espresso); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
section[id], [id="top"] { scroll-margin-top: calc(var(--hd-h) + env(safe-area-inset-top, 0px)); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--espresso); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.ic { width: 20px; height: 20px; flex: none; }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * var(--g)); margin-inline: auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px));
  padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}

/* type */
.h1 { font: 400 clamp(40px, 5.4vw, 82px)/1.02 var(--f-display); margin: 0; max-width: 13.5em; text-wrap: balance; }
.h2 { font: 400 clamp(32px, 3.5vw, 52px)/1.08 var(--f-display); margin: 0; max-width: 22em; text-wrap: balance; }
.h3 { font: 400 clamp(25px, 2.3vw, 34px)/1.15 var(--f-display); margin: 0; text-wrap: balance; }
.h4 { font: 400 22px/1.2 var(--f-display); margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; max-width: 36em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font: 500 15px/1.2 var(--f-text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-cognac { background: var(--cognac); color: #fff; }
.btn-cognac:hover { background: var(--cognac-2); }
.btn-line { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-line:hover, .btn-line[aria-pressed="true"] { background: var(--espresso); color: var(--on-dark); }
.btn-line-light { border-color: rgba(244, 239, 234, .55); color: var(--on-dark); background: transparent; }
.btn-line-light:hover { background: rgba(244, 239, 234, .12); }
.btn-light { background: var(--paper); color: var(--espresso); }
.btn-light:hover { background: var(--studio); }

/* header */
.hd { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; color: var(--on-dark); transition: background-color .3s; }
.hd.solid { background: var(--espresso); }
.hd-in {
  display: flex; align-items: center; gap: 28px; height: var(--hd-h);
  max-width: calc(var(--maxw) + 2 * var(--g)); margin-inline: auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.logo-img { height: 40px; width: auto; margin-left: -6px; }
@media (min-width: 1024px) { .hd .logo-img { height: 50px; } }
.logo-text { font: 400 26px/1 var(--f-display); letter-spacing: .01em; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 500 15px/1 var(--f-text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.langs { display: flex; align-items: center; gap: 7px; font: 500 13px/1 var(--f-text); letter-spacing: .06em; }
.langs span { opacity: .4; }
.langs a { text-decoration: none; padding: 8px 2px; opacity: .7; border-bottom: 1px solid transparent; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; border-color: currentColor; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; place-items: center; }
.burger .ic { width: 26px; height: 26px; }
.burger .ic-close, .burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }
.mnav { background: var(--espresso); padding: 8px max(var(--g), env(safe-area-inset-right, 0px)) 28px max(var(--g), env(safe-area-inset-left, 0px)); border-top: 1px solid rgba(244, 239, 234, .1); }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font: 400 26px/1.2 var(--f-display); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(244, 239, 234, .1); }
.langs-m { margin-top: 22px; font-size: 15px; gap: 10px; }
@media (max-width: 899px) {
  .hd-in > .nav, .hd-in > .langs { display: none; }
  .burger { display: grid; }
}

/* fixed social bar, as on the current site */
.social { position: fixed; right: env(safe-area-inset-right, 0px); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; background: var(--espresso-2); color: var(--on-dark); border-bottom: 1px solid rgba(244, 239, 234, .09); }
.social a:last-child { border-bottom: 0; }
.social a:hover { background: var(--cognac); }
.social .ic { width: 18px; height: 18px; }
.wa-float { display: none; }
@media (max-width: 899px) {
  .social { display: none; }
  .wa-float {
    display: grid; place-items: center; position: fixed; z-index: 45;
    right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff; box-shadow: 0 8px 24px rgba(43, 30, 23, .28);
  }
  .wa-float .ic { width: 28px; height: 28px; }
}

/* hero: the brand film, full width */
.hero {
  position: relative; overflow: hidden; background: var(--espresso); color: var(--on-dark);
  height: clamp(560px, 56.25vw, 100svh); display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media .hero-poster, .hero-media .ph-missing { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; z-index: 1; }
.hero-yt { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-media.playing .hero-poster { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom, rgba(26, 18, 14, .55) 0, rgba(26, 18, 14, 0) 26%),
    linear-gradient(to top, rgba(26, 18, 14, .88) 0, rgba(26, 18, 14, .5) 38%, rgba(26, 18, 14, 0) 72%);
}
.hero-in {
  position: relative; z-index: 3; width: 100%; max-width: calc(var(--maxw) + 2 * var(--g)); margin-inline: auto;
  padding: 0 max(var(--g), env(safe-area-inset-right, 0px)) clamp(40px, 6vw, 84px) max(var(--g), env(safe-area-inset-left, 0px));
}
.hero-p { max-width: 36em; margin: 20px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--on-dark-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctl { position: absolute; z-index: 3; right: max(var(--g), calc(env(safe-area-inset-right, 0px) + 56px)); bottom: clamp(40px, 6vw, 84px); display: flex; gap: 8px; }
.vbtn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 2px;
  background: rgba(26, 18, 14, .45); border: 1px solid rgba(244, 239, 234, .3); color: var(--on-dark);
  font: 500 14px/1 var(--f-text); text-decoration: none; cursor: pointer; backdrop-filter: blur(6px);
}
.vbtn:hover { background: rgba(26, 18, 14, .7); }
.vbtn .ic { width: 18px; height: 18px; }
.vbtn .ic-on, .vbtn.on .ic-off { display: none; }
.vbtn.on .ic-on { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: .12s; }
  .hero-in > :nth-child(3) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .hero { height: auto; min-height: min(86svh, 760px); }
  .hero-ctl { position: relative; right: auto; bottom: auto; padding: 0 max(var(--g), env(safe-area-inset-right, 0px)) 28px max(var(--g), env(safe-area-inset-left, 0px)); margin-top: -12px; }
  .hero-in { padding-bottom: 28px; }
}

/* showcase rail: bags hang from a brass rail; a click brings one forward and blurs the rest */
.sc { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3f1ee 0%, var(--studio) 55%, #e8e4df 100%); }
.sc-intro { position: absolute; z-index: 4; left: 0; right: 0; top: clamp(44px, 4.4vw, 64px); transition: opacity .45s, visibility .45s; pointer-events: none; }
.sc-intro .wrap { pointer-events: auto; }
.sc-hint { margin: 12px 0 0; font-size: 17px; color: var(--muted); max-width: 34em; }
.sc-hint-m { display: none; }
.sc.is-focus .sc-intro { opacity: 0; visibility: hidden; }
.sc-stage { position: relative; min-height: 470px; touch-action: pan-y; }
.sc-rail {
  position: absolute; left: 0; right: 0; top: var(--rail-y, 64px); height: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #c9a974 0%, #9d7b4a 55%, #7d6038 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 3px 6px rgba(43, 30, 23, .16);
  transition: filter .9s, opacity .9s;
}
.sc.is-focus .sc-rail { filter: blur(2px); opacity: .55; }
.sc-bags { position: absolute; inset: 0; }
.sb {
  --ease-sc: cubic-bezier(.66, 0, .2, 1);
  position: absolute; left: 0; top: 0; padding: 0; margin: 0; border: 0; background: none; color: inherit; cursor: pointer;
  transform-origin: 0 0; filter: blur(0); opacity: 1;
  transition: transform .9s var(--ease-sc), filter .9s var(--ease-sc), opacity .9s var(--ease-sc);
  -webkit-tap-highlight-color: transparent;
}
.sb:focus-visible { outline: none; }
.sb:focus-visible .sb-img { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: 4px; }
.sb-in { position: absolute; inset: 0; transform-origin: 50% var(--pivot, 6px); transition: translate .35s cubic-bezier(.3, .7, .3, 1); }
.sb-hook { position: absolute; left: 50%; top: 0; width: calc(var(--hk) * .4545); height: var(--hk); translate: -50% 0; overflow: visible; color: #8f6f43; }
.sb-img {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--bh);
  filter: drop-shadow(0 18px 18px rgba(43, 30, 23, .16)) drop-shadow(0 3px 4px rgba(43, 30, 23, .14));
}
.sb-def, .sb-l { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s; }
.sb-def { object-fit: contain; object-position: 50% 0; }
.sb-l { background-repeat: no-repeat; background-size: calc(var(--n, 1) * 100%) 100%; background-position: var(--x, 0%) 0; }
.sb-def.on, .sb-l.on { opacity: 1; }
.sb.hov .sb-in { translate: 0 -10px; }
.sb.swing .sb-in { animation: sb-swing 1.9s cubic-bezier(.25, .7, .35, 1) both; animation-delay: var(--d, 0s); }
@keyframes sb-swing { 0% { rotate: 0deg; } 18% { rotate: 2.6deg; } 42% { rotate: -1.8deg; } 66% { rotate: .9deg; } 84% { rotate: -.35deg; } 100% { rotate: 0deg; } }
.sb.bg { filter: blur(7px); opacity: .38; }
.sb.cur { cursor: default; }
.sc-info {
  position: absolute; z-index: 35; left: 0; top: 0; width: min(380px, 40vw); display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .5s .25s, translate .6s .25s cubic-bezier(.3, .7, .3, 1), visibility .5s .25s;
}
.sc.is-focus .sc-info { opacity: 1; visibility: visible; translate: 0 0; }
.sc-close {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px -4px; padding: 6px 8px 6px 4px; border: 0; background: none;
  font: 500 14px/1 var(--f-text); color: var(--muted); cursor: pointer;
}
.sc-close .ic { width: 18px; height: 18px; }
.sc-close:hover { color: var(--espresso); }
.sc-grp { margin: 0; font-size: 15px; color: var(--muted); }
.sc-code { margin: -4px 0 4px; font: 400 clamp(36px, 3.4vw, 50px)/1 var(--f-display); color: var(--espresso); outline: none; font-variant-numeric: lining-nums; }
.sc-chips { gap: 8px; }
.sc-chips .chip { width: 30px; height: 24px; }
.sc-cname { margin: 2px 0 6px; font: 500 15px/1.35 var(--f-text); min-height: 1.35em; }
.sc-act { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-arr {
  position: absolute; z-index: 40; top: 0; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--espresso); cursor: pointer;
  box-shadow: 0 8px 22px rgba(43, 30, 23, .18), 0 1px 3px rgba(43, 30, 23, .12);
  opacity: 0; visibility: hidden; transition: opacity .4s .2s, visibility .4s .2s, background-color .2s, color .2s;
}
.sc-arr .ic { width: 24px; height: 24px; }
.sc-arr:hover { background: var(--espresso); color: var(--on-dark); }
.sc.is-focus .sc-arr { opacity: 1; visibility: visible; }
.sc-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.sc-next { right: max(16px, env(safe-area-inset-right, 0px)); }
@media (max-width: 899px) {
  .sc-intro { position: relative; top: auto; padding-block: 44px 4px; }
  .sc-hint-d { display: none; }
  .sc-hint-m { display: inline; }
  .sc.is-focus .sc-intro { opacity: 1; visibility: visible; }
  .sc-stage { min-height: 600px; }
  .sc-info { width: auto; align-items: center; text-align: center; }
  .sc-close { display: none; }
  .sc-act { justify-content: center; }
  .sc-chips { justify-content: center; }
  .sc-arr { width: 46px; height: 46px; }
  .sc-arr .ic { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sb.swing .sb-in { animation: none; } }

/* intro */
.intro { padding-block: var(--pad-y); }
.intro-h { max-width: 15em; margin-bottom: clamp(40px, 6vw, 80px); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 104px); }
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split-rev .split-img { order: 2; }
.split-img { margin: 0; }
.split-img img, .split-img .ph-missing { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.split-txt { min-width: 0; }
.split-txt p { margin: 18px 0 0; color: var(--muted); max-width: 30em; font-size: 18px; line-height: 1.7; }
@media (max-width: 767px) {
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .split-img { order: 0; }
  .split-img img, .split-img .ph-missing { aspect-ratio: 4 / 3; }
}

/* catalog */
.cat { background: var(--studio); padding-block: var(--pad-y); }
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.cat-title { min-width: 0; flex: 1 1 420px; }
.cat-ctl { display: flex; align-items: center; gap: 12px; }
.cat-total { margin: 12px 0 0; font: 500 16px/1.4 var(--f-text); color: var(--espresso); font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 8px; margin-top: 34px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-inline: -2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 18px 13px; border: 1px solid var(--mink); border-radius: 2px;
  background: var(--paper); color: var(--espresso); font: 500 15px/1.15 var(--f-text); cursor: pointer; white-space: nowrap; text-align: left;
}
.tab-meta { font: 400 13px/1.2 var(--f-text); color: var(--muted); font-variant-numeric: tabular-nums; }
.tab:hover { border-color: var(--espresso); }
.tab[aria-selected="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
.tab[aria-selected="true"] .tab-meta { color: var(--on-dark-muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--paper); border: 1px solid var(--mink); border-radius: 2px; flex: 0 1 280px; min-width: 0; color: var(--muted); }
.search:focus-within { border-color: var(--espresso); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--espresso); }
.fams { display: flex; flex-wrap: wrap; gap: 6px; }
.fam {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 9px; border: 1px solid var(--mink); border-radius: 2px;
  background: var(--paper); font: 400 14px/1 var(--f-text); color: var(--espresso); cursor: pointer;
}
.fam i { width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 30, 23, .15); }
.fam:hover { border-color: var(--espresso); }
.fam[aria-pressed="true"] { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.result-n { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-panel { margin-top: 26px; }
.rail-wrap {
  --rail-l: max(var(--g), env(safe-area-inset-left, 0px), calc((100% - var(--maxw)) / 2));
  --rail-r: max(var(--g), env(safe-area-inset-right, 0px), calc((100% - var(--maxw)) / 2));
  --cw: clamp(232px, 20.5vw, 282px);
  position: relative;
}
@media (max-width: 639px) { .rail-wrap { --cw: 66vw; } }
.rail {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--cw); gap: 20px; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px var(--rail-r) 6px var(--rail-l); scroll-padding-inline: var(--rail-l) var(--rail-r);
}
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -2px; }
@media (max-width: 639px) { .rail { gap: 14px; } }
/* side arrows over the product row */
.side-arr {
  position: absolute; z-index: 3; top: calc(var(--cw) * 2 / 3 - 28px); width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--espresso); cursor: pointer;
  box-shadow: 0 8px 22px rgba(43, 30, 23, .2), 0 1px 3px rgba(43, 30, 23, .14); transition: opacity .25s, background-color .2s, color .2s;
}
.side-arr .ic { width: 24px; height: 24px; }
.side-arr:hover { background: var(--espresso); color: var(--on-dark); }
.side-prev { left: max(8px, calc(var(--rail-l) - 28px)); }
.side-next { right: max(8px, calc(var(--rail-r) - 28px)); }
.side-arr:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 639px) { .side-arr { width: 46px; height: 46px; top: calc(var(--cw) * 2 / 3 - 23px); } .side-arr .ic { width: 20px; height: 20px; } }
.progress { position: relative; height: 2px; background: var(--mink); margin-top: 22px; overflow: hidden; }
.progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--espresso); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)); gap: 28px 20px; }
@media (max-width: 559px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }
.cat-empty { margin: 8px 0 0; padding: 28px; background: var(--paper); color: var(--muted); max-width: 40em; }
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.more-row:empty, .more-row:has(> [hidden]:only-child) { margin-top: 0; }
.cat-note { margin: 26px 0 0; font-size: 14px; color: var(--muted); max-width: 48em; }

/* product card: a hang tag under the photo */
.card { position: relative; background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
.ph {
  aspect-ratio: 3 / 4; background-color: #e9e7e3; background-repeat: no-repeat;
  background-size: calc(var(--cols, 1) * 100%) calc(var(--rows, 1) * 100%); background-position: var(--pos, 0% 0%);
}
.info { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; min-width: 0; }
.code { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.code h3 { font: 400 28px/1 var(--f-display); margin: 0; letter-spacing: .01em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.cnt { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  position: relative; width: 26px; height: 20px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 30, 23, .16);
}
.chip[data-two] { background: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%); }
.chip::after { content: ""; position: absolute; inset: -4px; }
.chip[aria-pressed="true"] { outline: 2px solid var(--espresso); outline-offset: 2px; }
.chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cname { margin: 0; font: 500 14px/1.35 var(--f-text); min-height: 1.35em; overflow-wrap: anywhere; }
.mat { margin: -4px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.ask { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 500 14px/1.3 var(--f-text); color: var(--cognac); text-decoration: none; }
.ask .ic { width: 17px; height: 17px; }
.ask:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 559px) {
  .info { padding: 12px 12px 14px; gap: 8px; }
  .code h3 { font-size: 23px; }
  .chip { width: 22px; height: 18px; }
  .chips { gap: 6px; }
}

/* app */
.app { background: var(--espresso); color: var(--on-dark); padding-block: var(--pad-y); }
.app-in { display: grid; grid-template-columns: minmax(150px, 300px) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.app-icon { aspect-ratio: 1; max-width: 300px; background: var(--paper); border-radius: 22%; overflow: hidden; display: grid; place-items: center; }
.app-icon img, .app-icon .ph-missing { width: 86%; height: auto; }
.app-txt p { color: var(--on-dark-muted); margin: 18px 0 0; max-width: 38em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px; border: 1px solid rgba(244, 239, 234, .4); border-radius: 2px;
  color: var(--on-dark); text-decoration: none; font: 500 15px/1.2 var(--f-text);
}
.store:hover { background: rgba(244, 239, 234, .1); }
@media (max-width: 699px) { .app-in { grid-template-columns: 1fr; } .app-icon { max-width: 128px; } }

/* craft */
.craft { padding-block: var(--pad-y); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.sec-head > div { min-width: 0; }
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.craft-img { margin: 0 0 22px; }
.craft-img img, .craft-img .ph-missing { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.craft-item p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 30em; }
@media (max-width: 819px) {
  .craft-grid { grid-template-columns: 1fr; gap: 40px; }
  .craft-img img, .craft-img .ph-missing { aspect-ratio: 3 / 2; }
}

/* about */
.about { background: var(--studio); padding-block: var(--pad-y); }
.about-in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "main img" "pillars pillars";
  gap: clamp(36px, 5vw, 72px) clamp(32px, 6vw, 96px); align-items: center;
}
.about-main { grid-area: main; min-width: 0; }
.about-img { grid-area: img; margin: 0; }
.about-img img, .about-img .ph-missing { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--mink); }
.stats li { display: flex; flex-direction: column; gap: 8px; padding: 22px 16px 0 0; min-width: 0; }
.stats li + li { padding-left: 20px; border-left: 1px solid var(--mink); }
.stats strong { font: 400 clamp(34px, 3.8vw, 54px)/1 var(--f-display); font-variant-numeric: lining-nums; white-space: nowrap; }
.stats span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.pillars { grid-area: pillars; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); list-style: none; margin: 0; padding: clamp(28px, 3vw, 40px) 0 0; border-top: 1px solid var(--mink); }
.pillars li { min-width: 0; }
.pillars .ic { width: 26px; height: 26px; color: var(--cognac); }
.pillars .h4 { margin: 14px 0 6px; }
.pillars p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 899px) {
  .about-in { grid-template-columns: 1fr; grid-template-areas: "main" "img" "pillars"; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) { .stats li + li { padding-left: 12px; } .stats li { padding-right: 8px; } }

/* instagram */
.ig { padding-block: var(--pad-y) 0; }
.ig .sec-head { margin-bottom: 28px; }
.ig-handle { margin: 8px 0 0; color: var(--muted); }
.ig-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.ig-row a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--studio); }
.ig-row img, .ig-row .ph-missing { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719px) { .ig-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* newsletter */
.news { position: relative; overflow: hidden; background: var(--espresso); color: var(--on-dark); padding-block: clamp(64px, 8vw, 112px); }
.news-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.news .news-in { position: relative; z-index: 1; }
.news-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 64px; align-items: center; }
.news-txt p { margin: 12px 0 0; color: var(--on-dark-muted); }
.news-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.news-form input {
  height: 52px; padding: 0 16px; min-width: 0; border: 1px solid rgba(244, 239, 234, .38); border-radius: 2px;
  background: transparent; color: var(--on-dark); font-size: 16px;
}
.news-form input::placeholder { color: rgba(244, 239, 234, .62); }
.news-form input:focus { border-color: var(--on-dark); outline: none; }
.news-form input[aria-invalid="true"] { border-color: #e8a37a; }
.news-form .btn { min-height: 52px; }
.form-msg { grid-column: 1 / -1; margin: 2px 0 0; min-height: 1.5em; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
@media (max-width: 819px) { .news-in { grid-template-columns: 1fr; } }
@media (max-width: 459px) { .news-form { grid-template-columns: 1fr; } }

/* contact */
.contact { padding-block: var(--pad-y); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: stretch; }
.contact-main { min-width: 0; }
.clist { list-style: none; margin: 32px 0 0; padding: 0; }
.clist li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid var(--mink); }
.clist li:last-child { border-bottom: 1px solid var(--mink); }
.clist > li > .ic { width: 22px; height: 22px; color: var(--cognac); margin-top: 3px; }
.clist li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lbl { font-size: 13px; color: var(--muted); }
.val { font: 500 17px/1.45 var(--f-text); color: var(--espresso); text-decoration: none; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
a.val:hover { color: var(--cognac); }
address { font-style: normal; font-size: 17px; line-height: 1.5; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; margin-top: 4px; border: 1px solid var(--mink); border-radius: 2px; background: var(--paper); font: 400 13px/1 var(--f-text); color: var(--muted); cursor: pointer; }
.copy:hover { border-color: var(--espresso); color: var(--espresso); }
.copy .ic { width: 15px; height: 15px; }
.map { position: relative; min-height: 440px; overflow: hidden; background: var(--espresso); color: var(--on-dark); display: flex; align-items: flex-end; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.map .ph-missing.map-bg { opacity: .25; }
.map-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); }
.map-card .map-pin { width: 30px; height: 30px; color: #e3b48a; }
.map-addr { margin: 0; font: 400 clamp(24px, 2.3vw, 32px)/1.2 var(--f-display); }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map-note { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--on-dark-muted); }
.map iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) { .contact-in { grid-template-columns: 1fr; } .map { min-height: 360px; } }

/* footer */
.ft { background: var(--espresso); color: var(--on-dark); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.ft-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto auto; gap: 36px 56px; align-items: start; }
.ft-brand p { margin: 14px 0 0; color: var(--on-dark-muted); font-size: 15px; }
.ft .logo-img { height: 56px; }
.ft-nav { display: flex; flex-direction: column; gap: 10px; }
.ft-nav a { text-decoration: none; font-size: 15px; }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(244, 239, 234, .24); border-radius: 2px; color: var(--on-dark); }
.ft-social a:hover { background: var(--cognac); border-color: var(--cognac); }
.ft-social .ic { width: 18px; height: 18px; }
.ft-langs { font-size: 14px; }
.ft-bottom { margin-top: 48px; }
.ft-bottom p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(244, 239, 234, .14); font-size: 13px; color: var(--on-dark-muted); }
@media (max-width: 899px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 519px) { .ft-in { grid-template-columns: 1fr; } }

/* missing-image placeholder (only before assets are in place) */
.ph-missing { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #e6e1db 0 12px, #ede9e4 12px 24px); color: var(--muted); font: 400 13px var(--f-text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
