/* =====================================================================
   NEXORA DIGITAL — live concept demos
   One stylesheet, themed per business through CSS variables set on <body>:
   --bg --surface --ink --muted --line --a (accent) --onA (text on accent) --b
   ===================================================================== */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.dm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dm-body {
  --font-h: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 18px;
}
.dm-font--serif { --font-h: 'Instrument Serif', Georgia, serif; }
.dm-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 36px); }

/* ---------- Demo bar (honest label + way back) ---------- */
.dm-bar {
  position: relative;
  z-index: 60;
  background: #050608;
  color: #f4f6fb;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dm-bar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 10px clamp(16px, 4vw, 36px);
}
.dm-bar__tag {
  padding: 3px 10px;
  border-radius: 99px;
  background: #2f6bff;
  font-weight: 600;
  white-space: nowrap;
}
.dm-bar__text { color: #b3bbca; }
.dm-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-left: auto; }
.dm-bar a { text-decoration: none; color: #f4f6fb; font-weight: 500; }
.dm-bar a:hover { color: #8db6ff; }
.dm-bar__cta { padding: 5px 12px; border-radius: 99px; background: #f4f6fb; color: #07080b !important; }
.dm-bar__lang { display: inline-flex; gap: 2px; padding: 2px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.15); }
.dm-bar__lang a { padding: 2px 9px; border-radius: 99px; font-size: 12px; color: #808a9b; }
.dm-bar__lang a[aria-current='page'] { background: #f4f6fb; color: #07080b; }

/* ---------- Type & primitives ---------- */
.dm-h1 {
  font: 500 clamp(2.6rem, 6.4vw, 4.8rem)/1.02 var(--font-h);
  letter-spacing: -0.03em;
}
.dm-font--serif .dm-h1, .dm-font--serif .dm-h2 { font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.dm-h1 em { font-style: italic; color: var(--a); }
.dm-font--sans .dm-h1 em { font-family: 'Instrument Serif', serif; font-weight: 400; }
.dm-h2 { font: 500 clamp(2rem, 4vw, 3rem)/1.08 var(--font-h); letter-spacing: -0.025em; }
.dm-h3 { font: 600 1.1rem/1.3 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }
.dm-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.dm-muted { color: var(--muted); }
.dm-kicker { font: 600 13px/1.2 'Space Grotesk', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--a); }
.dm-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 99px;
  border: 1px solid var(--a);
  background: var(--a);
  color: var(--onA);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}
.dm-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dm-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.dm-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.dm-btn--ghost:hover { border-color: var(--a); color: var(--a); filter: none; }
.dm-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.dm-btn--block { width: 100%; }
.dm-iconbtn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}
.dm-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--a);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-chips li {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 13.5px;
  color: var(--muted);
}
.dm-section { padding-block: clamp(64px, 9vw, 112px); }
.dm-section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.dm-section--tight { padding-top: 36px; }
.dm-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 720px; }

/* Decorative image placeholders (no photos in a concept) */
.dm-art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--a), var(--b) 78%);
}
.dm-art i { position: absolute; border-radius: 50%; background: color-mix(in srgb, #fff 22%, transparent); }
.dm-art i:nth-child(1) { width: 55%; aspect-ratio: 1; right: -12%; top: -14%; }
.dm-art i:nth-child(2) { width: 30%; aspect-ratio: 1; left: 10%; bottom: 12%; background: color-mix(in srgb, var(--b) 60%, transparent); }
.dm-art i:nth-child(3) { left: 0; right: 0; bottom: 0; height: 32%; border-radius: 0; background: color-mix(in srgb, #000 22%, transparent); }
.dm-art--1 { background: linear-gradient(200deg, var(--b), var(--a)); }
.dm-art--2 { background: linear-gradient(120deg, color-mix(in srgb, var(--a) 60%, #fff), var(--b)); }
.dm-art--3 { background: linear-gradient(160deg, var(--b), color-mix(in srgb, var(--a) 70%, #000)); }
.dm-art--4 { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--a) 70%, #fff), var(--b)); }
.dm-art--5 { background: linear-gradient(30deg, var(--a), color-mix(in srgb, var(--b) 80%, #fff)); }
.dm-art--hero { aspect-ratio: 5 / 6; border-radius: 28px; box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--a) 60%, transparent); }
.dm-art--tall { aspect-ratio: 4 / 5; }
.dm-art--product { aspect-ratio: 4 / 3; border-radius: 12px; }

/* ---------- Website template ---------- */
.dm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dm-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.5); }
.dm-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.dm-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 'Space Grotesk', sans-serif; text-decoration: none; white-space: nowrap; }
.dm-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--a);
  color: var(--onA);
  font-size: 13px;
  font-weight: 700;
}
.dm-nav { display: flex; gap: 22px; margin-left: auto; }
.dm-nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.dm-nav a:hover { color: var(--ink); }
.dm-hero { padding-block: clamp(48px, 8vw, 96px); }
.dm-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.dm-hero__copy { display: grid; gap: 22px; justify-items: start; }
.dm-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.dm-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dm-feature { display: grid; gap: 10px; align-content: start; }
.dm-feature__n { font: 600 13px 'Space Grotesk', sans-serif; color: var(--a); }
.dm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dm-tabs [role='tab'], .dm-filters button {
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.dm-tabs [role='tab']:hover, .dm-filters button:hover { color: var(--ink); border-color: var(--a); }
.dm-tabs [aria-selected='true'], .dm-filters [aria-pressed='true'] { background: var(--a); border-color: var(--a); color: var(--onA); }
.dm-dishes { display: grid; gap: 4px; max-width: 760px; }
.dm-dishes li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dm-dishes li > div { display: grid; gap: 2px; }
.dm-dishes b { font: 500 1.25rem/1.3 var(--font-h); }
.dm-font--serif .dm-dishes b { font-style: italic; font-size: 1.45rem; }
.dm-dishes span { font-size: 14.5px; color: var(--muted); }
.dm-dishes i { flex: 1; border-bottom: 1px dotted var(--line); min-width: 20px; }
.dm-dishes em { font-style: normal; font-weight: 600; color: var(--a); white-space: nowrap; }
.dm-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.dm-about > div { display: grid; gap: 18px; }
.dm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dm-gallery li { display: grid; gap: 12px; }
.dm-gallery li > div { display: grid; gap: 2px; }
.dm-gallery b { font: 600 1.05rem 'Space Grotesk', sans-serif; }
.dm-gallery span { font-size: 14px; color: var(--muted); }
.dm-pricelist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.dm-pricelist ul { display: grid; margin-top: 14px; }
.dm-pricelist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.dm-pricelist li > div { flex: 1; display: grid; }
.dm-pricelist span { font-size: 13.5px; color: var(--muted); }
.dm-pricelist em { font-style: normal; font-weight: 600; color: var(--a); }
.dm-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dm-team li { display: grid; gap: 4px; justify-items: start; }
.dm-team span:last-child { font-size: 14.5px; color: var(--muted); }
.dm-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--a), var(--b));
  color: #fff;
  font: 600 1.2rem 'Space Grotesk', sans-serif;
}
.dm-faq { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 40px; }
.dm-faq details { border-bottom: 1px solid var(--line); }
.dm-faq summary { padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.dm-faq summary::-webkit-details-marker { display: none; }
.dm-faq summary::after { content: '+'; color: var(--a); font-size: 1.4rem; line-height: 1; }
.dm-faq details[open] summary::after { content: '–'; }
.dm-faq details p { padding-bottom: 20px; color: var(--muted); }
.dm-info { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.dm-hours { display: grid; margin-top: 14px; }
.dm-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.dm-hours dd { text-align: right; }
.dm-closed { color: var(--muted); font-style: italic; }
.dm-contacts { display: grid; gap: 4px; align-content: start; }
.dm-contacts .dm-h3:not(:first-child) { margin-top: 12px; }
.dm-map {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--ink) 14%, transparent) 47% 53%, transparent 53%) 0 0 / 120px 120px,
    linear-gradient(0deg, transparent 47%, color-mix(in srgb, var(--ink) 10%, transparent) 47% 53%, transparent 53%) 0 0 / 90px 90px,
    color-mix(in srgb, var(--surface) 80%, var(--bg));
}
.dm-map i { position: absolute; border-radius: 6px; background: color-mix(in srgb, var(--a) 18%, transparent); }
.dm-map i:nth-child(1) { left: 8%; top: 12%; width: 26%; height: 22%; }
.dm-map i:nth-child(2) { right: 10%; top: 20%; width: 22%; height: 30%; }
.dm-map i:nth-child(3) { left: 30%; bottom: 10%; width: 30%; height: 18%; }
.dm-map i:nth-child(4) { left: 0; right: 0; top: 58%; height: 14px; border-radius: 0; background: color-mix(in srgb, var(--a) 35%, transparent); transform: rotate(-8deg); }
.dm-map__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); color: var(--a); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35)); }

/* Forms */
.dm-formwrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.dm-formwrap__intro { display: grid; gap: 12px; }
.dm-form { display: grid; gap: 18px; background: var(--bg); }
.dm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dm-field { grid-column: 1 / -1; display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.dm-field.is-half { grid-column: span 1; }
.dm-field > span, .dm-field legend { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 0; }
.dm-field b { color: var(--a); }
.dm-field input, .dm-field select, .dm-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.dm-field textarea { resize: vertical; min-height: 110px; }
.dm-field input:focus, .dm-field select:focus, .dm-field textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 20%, transparent); }
.dm-field [aria-invalid='true'] { border-color: #e5484d; }
.dm-slots > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dm-slots label { position: relative; }
.dm-slots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dm-slots span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.dm-slots input:checked + span { background: var(--a); border-color: var(--a); color: var(--onA); }
.dm-slots input:focus-visible + span { outline: 2px solid var(--a); outline-offset: 2px; }
.dm-form__error { color: #e5484d; font-size: 14px; font-weight: 500; }
.dm-form__notice {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed var(--a);
  background: color-mix(in srgb, var(--a) 10%, transparent);
  font-size: 14.5px;
}
.dm-form__notice a { color: var(--a); font-weight: 600; }

.dm-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.dm-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.dm-footer .dm-brand { color: var(--ink); }

/* ---------- Digital menu / price list ---------- */
.dm-app {
  display: grid;
  grid-template-columns: minmax(0, 520px) 280px;
  justify-content: center;
  gap: 48px;
  padding: 32px clamp(0px, 3vw, 24px) 64px;
  align-items: start;
}
.dm-app__frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: clip;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.dm-app__head {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 24px 28px;
  text-align: center;
  background: linear-gradient(170deg, var(--b), var(--surface));
}
.dm-app__logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--a);
  color: var(--a);
  font: 600 1.1rem 'Space Grotesk', sans-serif;
}
.dm-app__name { font: 400 2.6rem/1 var(--font-h); font-style: italic; }
.dm-app__head .dm-chips { justify-content: center; }
.dm-app__tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.dm-app__tabs::-webkit-scrollbar { display: none; }
.dm-app__tabs a {
  flex: none;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}
.dm-app__tabs a[aria-current='true'] { background: var(--a); border-color: var(--a); color: var(--onA); }
.dm-app__sec { padding: 24px 22px 8px; scroll-margin-top: 70px; }
.dm-app__sec h2 { margin-bottom: 8px; font: 600 13px 'Space Grotesk', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--a); }
.dm-app__list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dm-app__item { display: grid; gap: 2px; }
.dm-app__item b { font-weight: 600; }
.dm-app__item span { font-size: 14px; color: var(--muted); }
.dm-app__item small { font-size: 12.5px; color: color-mix(in srgb, var(--a) 70%, var(--muted)); }
.dm-app__list em { font-style: normal; font-weight: 600; color: var(--a); white-space: nowrap; }
.dm-app__legend { margin: 20px 22px 0; padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 60%, transparent); font-size: 13.5px; }
.dm-app__legend h3 { margin-bottom: 8px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dm-app__legend ul { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.dm-app__legend b { color: var(--a); }
.dm-app__cta { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; margin-top: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); border-top: 1px solid var(--line); }
.dm-app__cta .dm-btn { padding: 0 12px; font-size: 14px; }
.dm-app__side { position: sticky; top: 32px; display: grid; gap: 16px; }
.dm-app__side .dm-muted { display: flex; gap: 10px; font-size: 14px; }
.dm-app__side .dm-muted svg { flex: none; margin-top: 3px; color: var(--a); }
.dm-qr {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  color: #111;
  text-align: center;
  font: 600 14px/1.3 'Space Grotesk', sans-serif;
  border-bottom: 8px solid var(--a);
  transform: rotate(-2deg);
}
.dm-qr svg { width: 100%; height: auto; }

/* ---------- Catalog / shop ---------- */
.dm-header--shop .dm-header__in { gap: 16px; }
.dm-search {
  flex: 1;
  max-width: 460px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.dm-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; color: var(--ink); outline: none; }
.dm-cartbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}
.dm-cartbtn span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--muted);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.dm-cartbtn.has-items span { background: var(--a); color: var(--onA); }
.dm-cartbtn.bump { animation: dm-bump 0.4s ease; }
@keyframes dm-bump { 50% { transform: scale(1.15); } }
.dm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.dm-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dm-product { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.dm-product__body { display: grid; gap: 2px; }
.dm-product h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.dm-product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.dm-product__foot b { font: 600 1.15rem 'Space Grotesk', sans-serif; }
.dm-code { font: 600 12px 'Space Grotesk', sans-serif; letter-spacing: 0.1em; color: var(--a); }
.dm-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.dm-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.3s; }
.dm-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(420px, 100%);
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-open .dm-cart { transform: none; }
.cart-open .dm-scrim { opacity: 1; }
.dm-cart__head { display: flex; align-items: center; justify-content: space-between; }
.dm-cart__items li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dm-cart__items li > div:first-child { display: grid; }
.dm-cart__items span { font-size: 13px; color: var(--muted); }
.dm-cart__items em { font-style: normal; font-weight: 600; min-width: 64px; text-align: right; }
.dm-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.dm-qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 16px; }
.dm-qty output { min-width: 22px; text-align: center; font-weight: 600; }
.dm-cart__delivery { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.dm-cart__delivery legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dm-cart__delivery label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.dm-cart__delivery em { margin-left: auto; font-style: normal; color: var(--muted); }
.dm-cart__delivery input { accent-color: var(--a); }
.dm-cart__totals { display: grid; gap: 6px; }
.dm-cart__totals div { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.dm-cart__totals .is-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.dm-modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
}
.dm-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
.dm-modal [data-dm-modal-body] { display: grid; gap: 16px; }
.dm-modal__close { position: absolute; top: 16px; right: 16px; }
.dm-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dm-specs th, .dm-specs td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.dm-specs th { width: 45%; font-weight: 500; color: var(--muted); }

/* ---------- Brand identity page ---------- */
.dm-bhero { padding-block: clamp(64px, 10vw, 130px); text-align: center; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 60%); }
.dm-bhero .dm-wrap { display: grid; justify-items: center; gap: 22px; }
.dm-bhero .dm-kmark { width: 120px; height: 120px; }
.dm-bhero .dm-lead { margin-inline: auto; }
.dm-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.dm-lockup { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 180px; border-radius: var(--radius); border: 1px solid var(--line); }
.dm-lockup .dm-kmark { width: 56px; height: 56px; }
.dm-lockup span { display: grid; font: 600 1.4rem/1 'Space Grotesk', sans-serif; letter-spacing: 0.24em; }
.dm-lockup small { margin-top: 6px; font-size: 0.55rem; letter-spacing: 0.5em; opacity: 0.7; }
.dm-lockup.is-dark { background: #0d1015; color: #e8ecf1; }
.dm-lockup.is-light { background: #e8ecf1; color: #0d1015; }
.dm-lockup.is-blue { background: var(--a); color: #fff; }
.dm-lockup.is-small { min-height: 0; border: 0; justify-content: flex-start; gap: 8px; color: #0d1015; }
.dm-lockup.is-small .dm-kmark { width: 28px; height: 28px; }
.dm-lockup.is-small span { font-size: 0.75rem; }
.dm-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.dm-swatch {
  display: grid;
  gap: 4px;
  padding: 0 0 16px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  transition: transform 0.2s;
}
.dm-swatch:hover { transform: translateY(-3px); }
.dm-swatch i { display: block; height: 120px; margin-bottom: 10px; background: var(--c); border-bottom: 1px solid var(--line); }
.dm-swatch b, .dm-swatch span, .dm-swatch small { padding-inline: 16px; }
.dm-swatch span { font-family: ui-monospace, Consolas, monospace; color: var(--muted); }
.dm-swatch small { font-size: 12px; color: var(--a); }
.dm-typo { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.dm-typo .dm-card { display: grid; gap: 12px; }
.dm-typo__display { font: 600 clamp(2.4rem, 5vw, 3.6rem)/1 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.dm-typo__abc { font: 500 1rem 'Space Grotesk', sans-serif; letter-spacing: 0.08em; color: var(--muted); }
.dm-typo__body { color: var(--muted); }
.dm-stationery { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dm-stationery > div { display: grid; gap: 20px; align-content: start; }
.dm-bcard { width: min(100%, 420px); aspect-ratio: 85 / 55; perspective: 1200px; cursor: pointer; }
.dm-bcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.dm-bcard.is-flipped .dm-bcard__inner { transform: rotateY(180deg); }
.dm-bcard__face {
  position: absolute;
  inset: 0;
  display: grid;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.dm-bcard__front { place-items: center; background: #0d1015; border: 1px solid var(--line); color: #e8ecf1; }
.dm-bcard__front .dm-lockup { min-height: 0; border: 0; }
.dm-bcard__back { align-content: end; gap: 4px; padding: 26px; background: #e8ecf1; color: #0d1015; border-top: 10px solid var(--a); transform: rotateY(180deg); }
.dm-bcard__back b { font: 600 1.3rem 'Space Grotesk', sans-serif; }
.dm-bcard__back span { color: var(--a); font-weight: 600; font-size: 14px; }
.dm-bcard__back p { margin-top: 10px; font-size: 13px; color: #2a3140; }
.dm-letter {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  width: min(100%, 360px);
  aspect-ratio: 210 / 297;
  padding: 28px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.dm-letter > i { display: block; height: 6px; border-radius: 4px; background: #e2e6ec; }
.dm-letter > i:nth-of-type(1) { margin-top: 20px; width: 40%; }
.dm-letter > i:nth-of-type(6) { width: 60%; }
.dm-letter__foot { position: absolute; left: 28px; right: 28px; bottom: 20px; height: 3px; background: var(--a); }

/* ---------- Toast ---------- */
.dm-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 14px;
  background: #0b0d12;
  color: #f4f6fb;
  font-size: 14.5px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s;
}
.dm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dm-hero__grid, .dm-about, .dm-formwrap, .dm-faq, .dm-typo, .dm-stationery { grid-template-columns: 1fr; }
  .dm-art--hero { aspect-ratio: 16 / 10; }
  .dm-info { grid-template-columns: 1fr 1fr; }
  .dm-map { grid-column: 1 / -1; }
  .dm-gallery { grid-template-columns: 1fr 1fr; }
  .dm-app { grid-template-columns: minmax(0, 560px); }
  .dm-app__side { position: static; grid-template-columns: 160px 1fr; align-items: center; }
  .dm-logos, .dm-palette { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .dm-nav { display: none; }
  .dm-header__in > .dm-btn { margin-left: auto; }
  .dm-bar__text { flex-basis: 100%; order: 3; }
  .dm-bar__links { margin-left: 0; }
}
@media (max-width: 600px) {
  .dm-fields { grid-template-columns: 1fr; }
  .dm-field.is-half { grid-column: 1 / -1; }
  .dm-info, .dm-gallery, .dm-logos, .dm-palette { grid-template-columns: 1fr; }
  .dm-app { padding: 0 0 40px; }
  .dm-app__frame { border-radius: 0; border-inline: 0; }
  .dm-app__side { grid-template-columns: 110px 1fr; padding-inline: 16px; }
  .dm-header--shop .dm-brand { font-size: 0; gap: 0; }
  .dm-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
