[hidden] { display: none !important; }
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.6vw, 4.5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #f3efe7;
  --color-surface: #fbf9f5;
  --color-surface-2: #e9e3d8;
  --color-ink: #1f1c19;
  --color-muted: #5f5850;
  --color-line: rgba(31, 28, 25, .14);
  --color-dark: #1b1a18;
  --color-dark-2: #26241f;
  --color-on-dark: #efe9df;
  --color-on-dark-muted: #b8afa2;
  --color-accent: #b3501c;
  --color-accent-hover: #963f12;
  --color-accent-soft: #f1dccd;

  --font-display: 'Bespoke Slab', 'Rockwell', Georgia, serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(40, 28, 16, .08);
  --shadow-md: 0 8px 24px rgba(40, 28, 16, .12);
  --shadow-lg: 0 24px 60px rgba(20, 14, 8, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--color-ink); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--text-lg); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.wrap { width: min(1200px, 100% - 2 * clamp(var(--space-4), 4vw, var(--space-10))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--color-ink); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }

.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.eyebrow--light { color: #f0a57a; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ghost-dark { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--color-ink); color: var(--color-bg); }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius-sm); cursor: pointer; }
.icon-btn:hover { background: var(--color-surface-2); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(243, 239, 231, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.header.is-scrolled { border-color: var(--color-line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-6); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; margin: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.brand__sub { font-size: .7rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--color-accent); margin-top: 3px; }
.nav { display: flex; gap: var(--space-1); }
.nav a { font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: var(--color-muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-current { color: var(--color-ink); background: var(--color-surface-2); }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.cart-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-4); background: var(--color-ink); color: var(--color-bg); border: 0; border-radius: var(--radius-sm); cursor: pointer; font-size: var(--text-sm); font-weight: 600; }
.cart-btn:hover { background: #000; }
.cart-btn__count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: .75rem; font-variant-numeric: tabular-nums; }
.cart-btn.bump .cart-btn__count { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: transparent; cursor: pointer; }

/* Hero */
.hero { background: var(--color-dark); color: #fff; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); letter-spacing: -.02em; max-width: 15ch; line-height: 1.04; }
.hero__lede { margin-top: var(--space-6); max-width: 46ch; color: rgba(255,255,255,.82); font-size: var(--text-base); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.hero__media figcaption { position: absolute; left: var(--space-4); bottom: var(--space-4); background: rgba(27,26,24,.82); color: #fff; font-size: var(--text-xs); font-weight: 600; padding: 6px 12px; border-radius: var(--radius-sm); }

/* Proof */
.proof { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(var(--space-6), 4vw, var(--space-12)); padding-block: clamp(var(--space-12), 6vw, var(--space-20)); border-bottom: 1px solid var(--color-line); }
.proof__item { display: grid; gap: var(--space-2); align-content: start; }
.proof__num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-accent); line-height: 1; }
.proof__item p { color: var(--color-muted); font-size: var(--text-sm); max-width: 36ch; }
.proof__item strong { color: var(--color-ink); }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); margin-bottom: var(--space-8); flex-wrap: wrap; }
.section-head h2 { font-size: var(--text-2xl); }
.section-head__note { max-width: 42ch; color: var(--color-muted); font-size: var(--text-sm); }

/* Shop */
.shop { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.chip { min-height: 40px; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-surface); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--color-ink); }
.chip.is-active { background: var(--color-ink); color: var(--color-bg); border-color: var(--color-ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: var(--space-6); }
.product { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.product:hover { box-shadow: var(--shadow-md); }
.product--feature { grid-column: span 2; }
.product--feature .product__media { aspect-ratio: 16 / 8; }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.03); }
.product__tag { position: absolute; top: var(--space-3); left: var(--space-3); background: rgba(27,26,24,.82); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--radius-sm); }
.product__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1; }
.product__title { font-size: var(--text-lg); font-weight: 600; }
.product__desc { color: var(--color-muted); font-size: var(--text-sm); }
.product__opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2); }
.product__opts label { display: grid; gap: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-muted); }
.product__foot { display: flex; align-items: center; gap: var(--space-3); }
.product__price { font-size: var(--text-xs); color: var(--color-muted); }
.product__price strong { color: var(--color-ink); font-weight: 600; }
.product__foot .btn { margin-left: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-bg); }
.qty button { width: 36px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--color-surface-2); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: var(--text-sm); }

/* Forms */
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--color-muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
input, select, textarea { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); background: var(--color-bg); border: 1px solid rgba(31,28,25,.22); border-radius: var(--radius-sm); font-size: var(--text-sm); transition: border-color .2s, box-shadow .2s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f1c19' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(179,80,28,.18); }
.is-invalid { border-color: #b3261e; }
.radio-row { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500 !important; min-height: 44px; cursor: pointer; }
.radio input { width: 18px; height: 18px; min-height: 0; accent-color: var(--color-accent); }
.form__msg { font-size: var(--text-sm); min-height: 1.2em; }
.form__msg.is-error { color: #b3261e; }
.form__msg.is-ok { color: #2f6b2f; }
.form__fine { font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
.card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: clamp(var(--space-5), 3vw, var(--space-8)); box-shadow: var(--shadow-sm); }

/* Work (dark) */
.work { background: var(--color-dark); color: var(--color-on-dark); padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.work__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.work h2 { font-size: var(--text-2xl); max-width: 14ch; }
.work__text > p { margin-top: var(--space-5); color: var(--color-on-dark-muted); max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); display: grid; gap: var(--space-3); }
.checks li { position: relative; padding-left: var(--space-8); font-size: var(--text-sm); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 2px; background: #f0a57a; }
.link-arrow { display: inline-block; color: #f0a57a; font-weight: 600; font-size: var(--text-sm); text-underline-offset: 4px; }
.link-arrow::after { content: " \2192"; }
.work__feature { display: block; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: var(--color-dark-2); }
.work__feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; transition: transform .6s var(--ease); }
.work__feature:hover img { transform: scale(1.03); }
.work__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: clamp(var(--space-12), 6vw, var(--space-20)); margin-bottom: var(--space-6); }
.work__bar h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }
.work__bar .filters { margin: 0; }
.filters--dark .chip { background: transparent; color: var(--color-on-dark); border-color: rgba(239,233,223,.25); }
.filters--dark .chip:hover { border-color: var(--color-on-dark); }
.filters--dark .chip.is-active { background: var(--color-on-dark); color: var(--color-dark); border-color: var(--color-on-dark); }
.work__more { display: flex; justify-content: center; margin-bottom: var(--space-8); }
.masonry { columns: 3 280px; column-gap: var(--space-3); margin-bottom: var(--space-8); }
.masonry__item { position: relative; display: block; width: 100%; margin: 0 0 var(--space-3); padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: var(--color-dark-2); break-inside: avoid; }
.masonry__item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry__item:hover img { transform: scale(1.03); }
.masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-8) var(--space-4) var(--space-3); background: linear-gradient(transparent, rgba(12,10,8,.85)); color: #fff; font-size: var(--text-xs); font-weight: 500; text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { opacity: 1; transform: none; }
@media (hover: none) { .masonry__cap { opacity: 1; transform: none; } }

/* Custom */
.custom { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); background: var(--color-surface-2); }
.custom__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.custom h2 { font-size: var(--text-2xl); max-width: 16ch; }
.custom__intro { margin-top: var(--space-5); color: var(--color-muted); max-width: 48ch; }
.services { margin: var(--space-8) 0 0; display: grid; gap: 0; border-top: 1px solid var(--color-line); }
.services > div { padding-block: var(--space-4); border-bottom: 1px solid var(--color-line); display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-4); }
.services dt { font-weight: 600; }
.services dd { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
.form h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-1); }

/* Steps */
.steps { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.steps__title { margin-bottom: var(--space-10); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(var(--space-6), 4vw, var(--space-12)); counter-reset: s; }
.steps__list li { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-5); border-top: 2px solid var(--color-ink); }
.steps__list span { font-family: var(--font-display); font-weight: 700; color: var(--color-accent); font-size: var(--text-sm); }
.steps__list p { color: var(--color-muted); font-size: var(--text-sm); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--color-dark-2); color: var(--color-on-dark); }
.about__img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.about__text { padding: clamp(var(--space-10), 7vw, var(--space-24)) clamp(var(--space-6), 6vw, var(--space-20)); align-self: center; max-width: 640px; }
.about__text .eyebrow { color: #f0a57a; }
.about__text h2 { font-size: var(--text-2xl); }
.about__text p:not(.eyebrow) { margin-top: var(--space-5); color: var(--color-on-dark-muted); }

/* Contact */
.contact { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-10); align-items: start; }
.contact h2 { font-size: var(--text-2xl); max-width: 14ch; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.contact__grid h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin-bottom: var(--space-2); }
.contact__grid p { font-size: var(--text-base); }
.contact__grid a { color: var(--color-accent); font-weight: 600; text-underline-offset: 3px; }
.contact__grid p + p { margin-top: var(--space-3); }
.contact__grid .contact__sub { margin-top: var(--space-5); }
.contact__note { grid-column: 1 / -1; color: var(--color-muted); max-width: 62ch; padding-top: var(--space-4); border-top: 1px solid var(--color-border, rgba(0,0,0,.12)); }

/* Footer */
.footer { background: var(--color-dark); color: var(--color-on-dark-muted); padding-block: var(--space-12); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand--footer .brand__name { color: var(--color-on-dark); }
.brand--footer .brand__sub { color: #f0a57a; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer nav a { text-decoration: none; font-size: var(--text-sm); }
.footer nav a:hover { color: var(--color-on-dark); }
.footer__small { width: 100%; font-size: var(--text-xs); }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(18, 14, 10, .5); z-index: 80; opacity: 0; transition: opacity .3s var(--ease); }
.overlay.is-open { opacity: 1; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--color-surface); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); visibility: hidden; }
.cart.is-open { transform: none; visibility: visible; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--color-line); }
.cart__head h2 { font-size: var(--text-lg); }
.cart__body { overflow-y: auto; padding: var(--space-6); display: grid; gap: var(--space-6); align-content: start; flex: 1; overscroll-behavior: contain; }
.cart__items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-3); align-items: start; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-line); }
.cart__item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.cart__item h4 { margin: 0; font-size: var(--text-sm); font-weight: 600; }
.cart__item p { font-size: var(--text-xs); color: var(--color-muted); }
.cart__item .qty { margin-top: var(--space-2); }
.cart__remove { font-size: var(--text-xs); background: none; border: 0; color: var(--color-muted); text-decoration: underline; cursor: pointer; padding: var(--space-2); min-height: 44px; }
.cart__remove:hover { color: #b3261e; }
.cart__empty { text-align: center; padding-block: var(--space-12); display: grid; gap: var(--space-4); justify-items: center; color: var(--color-muted); }
.cart__form { padding-top: var(--space-2); }
.cart__form h3, .cart__done h3 { font-size: var(--text-lg); }
.cart__done { display: grid; gap: var(--space-4); }
.cart__done p { color: var(--color-muted); font-size: var(--text-sm); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(12, 10, 8, .88); }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; margin-inline: auto; border-radius: var(--radius-md); }
.lightbox__cap { color: #eee; text-align: center; margin-top: var(--space-3); font-size: var(--text-sm); }
.lightbox__close { position: absolute; top: -52px; right: 0; color: #fff; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); color: #fff; background: rgba(0,0,0,.45); width: 52px; height: 52px; border-radius: 999px; }
.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }
.lightbox__nav:hover { background: rgba(0,0,0,.7); }
.lightbox__close:hover { background: rgba(255,255,255,.12); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: var(--space-6); transform: translate(-50%, 20px); background: var(--color-ink); color: var(--color-bg); padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 95; box-shadow: var(--shadow-md); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { margin-left: var(--space-3); background: none; border: 0; color: #f0a57a; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: var(--color-bg); border-bottom: 1px solid var(--color-line); padding: var(--space-3) var(--space-4) var(--space-5); box-shadow: var(--shadow-md); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--space-3) var(--space-4); font-size: var(--text-base); }
  .work__layout, .custom__layout, .contact, .hero__inner { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; }
  .about__img { min-height: 0; aspect-ratio: 16 / 10; }
  .product--feature { grid-column: auto; }
  .product--feature .product__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; gap: var(--space-6); }
  .steps__list { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .services > div { grid-template-columns: 1fr; gap: var(--space-1); }
  .field-row { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: var(--space-2); }
  .masonry__item { margin-bottom: var(--space-2); }
  .masonry__cap { display: none; }
}
@media (max-width: 420px) {
  .cart-btn__label { display: none; }
  .brand__name { font-size: 1.3rem; }
}

/* Showcase product cards (no ordering) */
.product__specs { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--text-xs); color: var(--color-muted); }
.product__specs span { display: inline-block; min-width: 7.5em; font-weight: 600; color: var(--color-ink); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.product__foot .product__price { margin: 0; }
a.cart-btn { text-decoration: none; }
.product__foot { margin-top: auto; padding-top: var(--space-2); }

/* ---------- Photo showcase layout ---------- */
.btn--lg { min-height: 54px; padding-inline: var(--space-8); font-size: var(--text-base); }
.btn--xl { min-height: 60px; padding: var(--space-4) var(--space-10); font-size: var(--text-lg); font-weight: 700; }
.hero__slim { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); max-width: 1200px; }
.hero--slim h1 { max-width: 18ch; }
.show { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.show__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.show__head h2 { font-size: var(--text-2xl); }
.show__head p { color: var(--color-muted); font-size: var(--text-sm); }
.show__filters { position: sticky; top: var(--header-h); z-index: 5; background: var(--color-bg); padding-block: var(--space-3); margin-bottom: var(--space-4); }
.group + .group { margin-top: var(--space-12); }
.group__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line); }
.group__title span { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); margin-left: var(--space-2); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: var(--space-3); }
.tile { display: block; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: var(--color-surface-2); aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.cta-band { background: var(--color-dark); color: var(--color-on-dark); padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-8); }
.cta-band h2 { font-size: var(--text-2xl); }
.cta-band p { margin-top: var(--space-3); color: var(--color-on-dark-muted); max-width: 52ch; }
.contact-x { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.contact-x__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.contact-x h2 { font-size: var(--text-2xl); max-width: 16ch; }
.contact-x__intro { margin-top: var(--space-4); color: var(--color-muted); max-width: 54ch; }
.contact-x__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
.contact-x__list h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin-bottom: var(--space-2); }
.contact-x__list a { color: var(--color-accent); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-x__list p + p { margin-top: var(--space-3); }
.contact-x__list .contact__sub { margin-top: var(--space-5); }
.lightbox img { max-height: 68vh; }
.lightbox__panel { display: grid; justify-items: center; gap: var(--space-2); margin-top: var(--space-4); text-align: center; }
.lightbox__cat { color: #f0a57a; font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lightbox__panel .lightbox__cap { margin: 0 0 var(--space-3); color: #fff; font-size: var(--text-lg); max-width: 40ch; }
@media (max-width: 960px) {
  .contact-x__layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .contact-x__list { grid-template-columns: 1fr; }
  .tiles { gap: var(--space-2); }
  .header .cart-btn { padding-inline: var(--space-3); font-size: var(--text-xs); }
  .btn--xl { width: 100%; }
  .show__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * clamp(var(--space-4), 4vw, var(--space-10))); padding-inline: clamp(var(--space-4), 4vw, var(--space-10)); }
  .show__filters .chip { flex: none; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: var(--space-2); } .lightbox__next { right: var(--space-2); }
}

/* Full-width plasma table cover */
.hero--cover { position: relative; background: #111 url("img/hero-plasma.webp") center right / cover no-repeat; }
.hero--cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,12,10,.92) 0%, rgba(14,12,10,.78) 38%, rgba(14,12,10,.25) 75%, rgba(14,12,10,.1) 100%); }
.hero--cover .hero__inner { position: relative; grid-template-columns: 1fr; min-height: min(78vh, 640px); padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.hero--cover .hero__content { max-width: 620px; }
@media (max-width: 720px) {
  .hero--cover { background-image: url("img/hero-plasma-sm.webp"); background-position: 70% center; }
  .hero--cover::before { background: linear-gradient(180deg, rgba(14,12,10,.65) 0%, rgba(14,12,10,.85) 100%); }
  .hero--cover .hero__inner { min-height: 0; }
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: wait; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.form__done { display: grid; gap: var(--space-3); }
.form__done h3 { font-family: var(--font-display); font-size: var(--text-xl); }
.form__done p { color: var(--color-muted); }
.form__done a { color: var(--color-accent); font-weight: 600; }
.cta-band h2 { max-width: 22ch; }
