/* Khmer Fireworks Cambodia — shared visual system */
:root {
  color-scheme: dark;
  --canvas: #091116;
  --surface: #101a20;
  --surface-raised: #152229;
  --surface-soft: #0d171d;
  --surface-photo: #f2f0eb;
  --ink: #f3efe6;
  --ink-soft: #d6d4cc;
  --muted: #a2afb2;
  --muted-strong: #7f9095;
  --gold: #dfb775;
  --gold-hover: #f0ca87;
  --gold-wash: rgb(223 183 117 / 10%);
  --line: rgb(223 183 117 / 25%);
  --line-soft: rgb(243 239 230 / 12%);
  --focus: #f4d18b;
  --danger: #ed9c91;
  --font-body: "Noto Sans Khmer", "Khmer OS", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", SimSun, Georgia, serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --page-gutter: clamp(20px, 6.2vw, 96px);
  --content-width: 1360px;
  --header-height: 82px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --shadow-card: 0 14px 42px rgb(0 0 0 / 20%);
  --ease-standard: cubic-bezier(.2, .7, .2, 1);
  --duration-fast: 180ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font: 15px/1.75 var(--font-body); text-rendering: optimizeLegibility; }
body, button, input, select, textarea { font-family: var(--font-body); }
body:lang(km), body:lang(km) button, body:lang(km) input, body:lang(km) select, body:lang(km) textarea { font-family: "Noto Sans Khmer", "Khmer OS", "Leelawadee UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font-size: inherit; }
button { color: inherit; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
h1 { margin: 18px 0 22px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.22; letter-spacing: .015em; }
h1 span { color: var(--gold); }
h2 { margin-bottom: 20px; font-size: clamp(29px, 3.3vw, 46px); line-height: 1.34; letter-spacing: .01em; }
h3 { font-size: 19px; line-height: 1.45; font-weight: 500; }
section { scroll-margin-top: calc(var(--header-height) + 16px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 4px;
}

header {
  position: sticky; inset: 0 0 auto; z-index: 30; display: flex; align-items: center;
  min-height: var(--header-height); padding-inline: var(--page-gutter); gap: clamp(12px, 2vw, 28px);
  border-bottom: 1px solid var(--line-soft); background: rgb(9 17 22 / 94%); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; color: var(--gold); font-size: 19px; line-height: 1.15; letter-spacing: .02em; }
.brand > span { display: block; }
.brand small { display: block; margin-top: 6px; color: var(--muted); font: 9px/1.4 Arial, sans-serif; letter-spacing: .2em; }
header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.75vw, 26px); margin-left: auto; white-space: nowrap; }
header nav a { color: var(--ink-soft); font-size: 12px; transition: color var(--duration-fast) ease; }
header nav a:hover, header nav a[aria-current] { color: var(--gold-hover); }
.navcta { padding: 11px 15px; border: 1px solid var(--gold); background: var(--gold); color: var(--canvas); }
header nav .navcta:hover { background: var(--gold-hover); color: var(--canvas); }
.languages { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; }
.languages button { min-height: 38px; padding: 6px 9px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
.languages button[aria-pressed="true"] { border-color: var(--line); background: var(--gold-wash); color: var(--gold-hover); }
.menu-toggle { display: none; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 12px; }

.eyebrow { margin-bottom: 16px; color: var(--gold); font: 10px/1.7 Arial, sans-serif; letter-spacing: .25em; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 22px; padding: 11px 18px; border: 1px solid var(--gold); border-radius: var(--radius-sm); background: var(--gold); color: var(--canvas); font-size: 13px; font-weight: 600; transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-standard); }
.button:hover { transform: translateY(-2px); border-color: var(--gold-hover); background: var(--gold-hover); }
.button-outline { border-color: var(--line); background: rgb(9 17 22 / 54%); color: var(--ink); }
.button-outline:hover { background: var(--surface-raised); }

.hero { position: relative; isolation: isolate; display: flex; min-height: min(790px, calc(100svh - var(--header-height))); max-height: 900px; align-items: center; overflow: hidden; background: var(--canvas); }
.hero-scene { position: absolute; z-index: -3; inset: 0; overflow: hidden; background: var(--canvas); pointer-events: none; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; opacity: .86; filter: saturate(.86) brightness(.84); animation: scene-drift 30s ease-in-out infinite alternate; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #091116 0%, rgb(9 17 22 / 94%) 23%, rgb(9 17 22 / 72%) 43%, rgb(9 17 22 / 18%) 73%, transparent 100%); content: ""; pointer-events: none; }
#sky { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .95; mask-image: linear-gradient(90deg, transparent 12%, rgb(0 0 0 / 30%) 34%, #000 60%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(100%, var(--content-width)); margin-inline: auto; padding: clamp(60px, 8vh, 104px) var(--page-gutter) 120px; }
.hero-content > * { max-width: 610px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero-kicker { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; letter-spacing: .04em; }
.hero h1 { max-width: 620px; }
.intro { max-width: 510px; margin: 0 0 28px; color: #d0d5d3; font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-social { margin-top: 12px; }
.facebook-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; color: var(--gold); font-size: 12px; }
.facebook-link:hover { color: var(--gold-hover); }
.facebook-icon { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 700 17px/1 Georgia, serif; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 20px; color: var(--muted); font-size: 11px; }
.hero-tags span::before { margin-right: 8px; color: var(--gold); content: "•"; }
.hero-bottom { position: absolute; z-index: 2; right: var(--page-gutter); bottom: 22px; left: var(--page-gutter); display: flex; justify-content: space-between; color: #d3d1c9; font-size: 10px; letter-spacing: .08em; }
.hero-controls { position: absolute; z-index: 4; right: var(--page-gutter); bottom: 60px; display: flex; align-items: center; gap: 10px; }
.hero-controls span { max-width: 230px; color: #c4c8c5; font-size: 9px; text-align: right; }
.hero-controls button { min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgb(9 17 22 / 74%); color: var(--gold-hover); font-size: 11px; backdrop-filter: blur(10px); }
.hero[data-motion="paused"] .hero-scene img { animation-play-state: paused; }
.service-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px var(--page-gutter); border-block: 1px solid var(--line-soft); background: var(--surface); color: var(--ink-soft); font-size: 11px; letter-spacing: .04em; }
.service-strip span::before { margin-right: 9px; color: var(--gold); content: "✧"; }
.service-strip a { color: var(--gold-hover); }

.services, .product-preview, #faq { width: min(100%, var(--content-width)); margin-inline: auto; padding: var(--space-9) var(--page-gutter); }
.sectionhead { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.sectionhead h2 { margin-bottom: 0; }
.sectionhead > p { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.service-rows { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 24px 12px; border-bottom: 1px solid var(--line-soft); transition: background var(--duration-fast) ease, padding var(--duration-fast) var(--ease-standard); }
.service-row:hover { padding-inline: 20px; background: var(--gold-wash); }
.service-no { color: var(--gold); font: 27px/1 Georgia, serif; }
.service-row h3 { margin-bottom: 5px; font-size: 18px; }
.service-row p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.service-link { color: var(--gold-hover); font-size: 12px; }

.occasions { padding: var(--space-9) var(--page-gutter); border-block: 1px solid var(--line-soft); background: var(--surface); }
.occasions > .sectionhead, .occasions > .grid, .occasions > .caption { width: min(100%, calc(var(--content-width) - 2 * var(--page-gutter))); margin-inline: auto; }
.occasions .eyebrow, .occasions .num { color: var(--gold); }
.occasions .sectionhead > p, .occasions .occasion p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; margin-top: 34px; }
.occasion { min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) ease; }
.occasion:hover { transform: translateY(-4px); border-color: var(--gold-hover); }
.num { color: var(--gold); font: 9px/1.5 Arial, sans-serif; letter-spacing: .17em; }
.art { position: relative; display: grid; height: clamp(130px, 14vw, 190px); place-items: center; margin: 18px 0 18px; overflow: hidden; border: 1px solid var(--line-soft); background: radial-gradient(ellipse at 50% 56%, rgb(223 183 117 / 20%), transparent 67%), var(--surface-soft); color: var(--gold); font: clamp(78px, 9vw, 126px)/1 Georgia, serif; }
.art::after { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 45%, rgb(223 183 117 / 5%)); content: ""; }
.a2 { color: #ddc0a4; background: radial-gradient(ellipse at 50% 56%, rgb(193 127 123 / 21%), transparent 68%), var(--surface-soft); }
.a3 { color: #d8b07b; }
.a4 { color: #b5c3c2; background: radial-gradient(ellipse at 50% 56%, rgb(94 130 153 / 19%), transparent 68%), var(--surface-soft); }
.occasion h3 { margin-bottom: 8px; font-size: 16px; }
.occasion p { margin-bottom: 0; font-size: 11px; line-height: 1.8; }
.caption { margin: 22px 0 0; color: var(--muted-strong); font-size: 10px; line-height: 1.7; }

.product-preview { background: var(--canvas); }
.catalog-link, .catalog-back { color: var(--gold-hover); font-size: 12px; }
.catalog-link { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--surface); transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow-card); }
.product-card[hidden] { display: none; }
.product-photo { display: grid; height: 194px; place-items: center; padding: 20px; background: var(--surface-photo); }
.product-photo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-info { padding: 16px 17px 14px; }
.product-code { margin-bottom: 7px; color: var(--gold); font: 9px/1.5 Arial, sans-serif; letter-spacing: .15em; }
.product-info h3 { min-height: 47px; margin-bottom: 4px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.product-description { min-height: 29px; margin-bottom: 14px; color: var(--muted-strong); font: 9px/1.6 Arial, sans-serif; letter-spacing: .025em; }
.product-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-price strong { color: var(--gold-hover); font: 25px/1.2 Georgia, serif; font-variant-numeric: tabular-nums; }
.product-price > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.product-enquire { display: flex; min-height: 42px; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 10px; transition: color var(--duration-fast) ease; }
.product-enquire:hover { color: var(--gold-hover); }

.process { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 120px); padding: var(--space-9) var(--page-gutter); background: var(--surface); }
.process > div, .process > ol { width: min(100%, calc(var(--content-width) / 2)); }
.process > div { justify-self: end; }
.process > ol { justify-self: start; }
.process > div > p:last-child { color: var(--muted); }
.process ol { padding: 0; margin: 0; list-style: none; }
.process li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.process li:first-child { padding-top: 0; }
.process li > span { color: var(--gold); font: 15px/1.6 Georgia, serif; }
.process li h3 { margin-bottom: 5px; font-size: 15px; }
.process li p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
#faq { padding-top: var(--space-9); padding-bottom: var(--space-9); }
#faq h2 { margin-bottom: 20px; }
details { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
summary { display: flex; min-height: 28px; align-items: center; justify-content: space-between; cursor: pointer; font-size: 14px; }
summary::after { color: var(--gold); content: "+"; font-size: 18px; }
details[open] summary { color: var(--gold-hover); }
details[open] summary::after { content: "−"; }
details p { max-width: 780px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.brief { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 96px); padding: var(--space-9) var(--page-gutter); border-top: 1px solid var(--line-soft); background: var(--surface); }
.brief > div, .brief > form { width: min(100%, calc(var(--content-width) / 2)); }
.brief > div { justify-self: end; }
.brief > form { justify-self: start; }
.brief p { color: var(--muted); }
.notice { margin: 16px 0; font-size: 11px; }
.business-contacts { margin: 22px 0; }
.business-contacts p { margin: 0 0 14px; }
.business-contacts span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.primary-person > a { color: var(--gold-hover); font: 28px/1.5 Georgia, serif; font-variant-numeric: tabular-nums; }
.backup-person > a { display: inline-block; min-height: 40px; margin-right: 16px; color: var(--ink-soft); font-size: 13px; }
.brief form { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--canvas); }
.brief label, .search-label { display: block; margin-bottom: 16px; color: var(--ink-soft); font-size: 11px; }
.brief input, .brief select, .brief textarea, .search-label input { width: 100%; min-height: 46px; margin-top: 6px; padding: 10px 12px; border: 1px solid rgb(162 175 178 / 28%); border-radius: var(--radius-sm); background: var(--surface-soft); color: var(--ink); font: 13px/1.6 var(--font-body); color-scheme: dark; }
.brief textarea { min-height: 100px; resize: vertical; }
.brief input::placeholder, .brief textarea::placeholder, .search-label input::placeholder { color: var(--muted-strong); opacity: 1; }
.brief .formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#briefForm > .button { width: 100%; justify-content: center; }
#status { min-height: 1em; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
#result textarea { width: 100%; border: 1px solid var(--line-soft); background: var(--surface-soft); color: var(--ink); }
#result button { min-height: 42px; margin: 8px 8px 0 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--gold-hover); font-size: 12px; }
.telegram-contact { display: grid; grid-template-columns: minmax(0,1fr) 210px; align-items: center; gap: 24px; margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--canvas); }
.telegram-contact .eyebrow { margin-bottom: 8px; }
.telegram-contact h3 { margin-bottom: 6px; font-size: 16px; }
.telegram-contact p { margin-bottom: 8px; font-size: 11px; }
.telegram-qr { display: block; overflow: hidden; border: 10px solid #fff; border-radius: 4px; background: #fff; }
.telegram-qr img { display: block; width: 100%; height: auto; object-fit: contain; }
.qr-original, .telegram-shortcut { display: inline-flex; min-height: 42px; align-items: center; color: var(--gold-hover); font-size: 11px; }
.telegram-section { padding: 0 var(--page-gutter) 48px; background: var(--surface); }
.telegram-section .telegram-contact { width: min(100%, var(--content-width)); margin: 0 auto; }
.social-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px var(--page-gutter); border-block: 1px solid var(--line-soft); background: var(--surface-raised); color: var(--muted); font-size: 11px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px var(--page-gutter) 40px; background: var(--canvas); }
footer .brand { font-size: 16px; }
footer p { margin: 0; color: var(--muted); font-size: 10px; }
footer p:last-child { text-align: right; }
footer a:not(.brand) { color: var(--ink-soft); }
.mobile-contact { display: none; }

.catalog-intro { position: relative; isolation: isolate; min-height: 420px; padding: 34px var(--page-gutter) 58px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--canvas); }
.catalog-skyline { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, #091116 6%, rgb(9 17 22 / 94%) 27%, rgb(9 17 22 / 70%) 49%, rgb(9 17 22 / 25%) 100%), url("/assets/celebration-scene.webp") 76% 52% / cover; opacity: .94; }
.catalog-intro::after { position: absolute; z-index: -2; inset: 0; background: linear-gradient(0deg, var(--canvas) 0%, transparent 50%); content: ""; pointer-events: none; }
.catalog-intro #sky { z-index: -1; opacity: .55; mask-image: linear-gradient(90deg, transparent 17%, #000 60%); }
.catalog-copy { position: relative; z-index: 1; width: min(100%, var(--content-width)); margin-inline: auto; }
.catalog-back { display: inline-flex; min-height: 42px; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.catalog-copy .eyebrow { margin-bottom: 10px; }
.catalog-copy h1 { margin: 8px 0 12px; font-size: clamp(40px, 5vw, 68px); }
.catalog-copy > p { color: var(--ink-soft); font-size: 12px; }
.catalog-copy .catalog-lead { margin-bottom: 7px; color: var(--gold-hover); font: clamp(16px, 1.8vw, 20px)/1.55 var(--font-body); }
.catalog-copy .caption { margin-top: 20px; color: #c2c9c6; }
.catalog-intro .hero-controls { bottom: 20px; }
.catalog-body { width: min(100%, var(--content-width)); margin-inline: auto; padding: 0 var(--page-gutter) 70px; }
.catalog-tools { display: grid; grid-template-columns: minmax(220px, 270px) minmax(0,1fr); align-items: end; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.search-label { margin: 0; }
.search-label input { margin-bottom: 0; }
.category-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.category-filters button, .empty-state button { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 11px; transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, color var(--duration-fast) ease; }
.category-filters button:hover, .empty-state button:hover { border-color: var(--line); color: var(--gold-hover); }
.category-filters button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--canvas); }
.catalog-body #productCount { margin: 16px 0; color: var(--muted); font-size: 11px; }
.catalog-body .product-grid { margin-top: 0; }
.empty-state { padding: 60px 16px; color: var(--muted); text-align: center; }
.empty-state[hidden] { display: none; }
.catalog-body > .caption { margin-top: 20px; }
.catalog-contact { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 56px var(--page-gutter); border-top: 1px solid var(--line); background: var(--surface); }
.catalog-contact > div { width: min(100%, calc(var(--content-width) / 2)); }
.catalog-contact h2 { margin-bottom: 10px; }
.catalog-contact p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.contact-numbers { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font: 22px Georgia, serif; }
.contact-numbers .business-contacts { margin: 8px 0 0; }

@keyframes scene-drift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-.5%,.4%,0); } }
@media (max-width: 1120px) {
  :root { --header-height: 74px; }
  header { gap: 12px; }
  header nav { gap: 12px; }
  header nav a { font-size: 11px; }
  header nav a:not(.navcta) { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  header nav { display: none; position: absolute; inset: calc(100% + 1px) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--page-gutter) 16px; border-bottom: 1px solid var(--line); background: rgb(9 17 22 / 98%); box-shadow: var(--shadow-card); }
  header nav.is-open { display: flex; }
  header nav a { display: block !important; padding: 11px 4px; font-size: 13px; }
  header nav .navcta { margin-top: 5px; padding-inline: 12px; text-align: center; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1121px) {
  header nav .navcta { margin-left: 2px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 24px; --space-9: 66px; }
  .hero { min-height: 690px; max-height: 820px; }
  .hero-scene img { object-position: 70% center; opacity: .7; }
  .hero::after { background: linear-gradient(90deg, rgb(9 17 22 / 97%) 0%, rgb(9 17 22 / 87%) 34%, rgb(9 17 22 / 60%) 67%, rgb(9 17 22 / 34%) 100%); }
  #sky { opacity: .82; mask-image: linear-gradient(90deg, rgb(0 0 0 / 28%), #000 52%); }
  .hero-content { padding-top: 86px; padding-bottom: 132px; }
  .hero h1 { max-width: 540px; font-size: clamp(39px, 9vw, 56px); line-height: 1.27; }
  .hero .intro { max-width: 430px; font-size: 13px; }
  .hero-controls { right: 24px; bottom: 54px; }
  .hero-bottom { bottom: 18px; font-size: 9px; }
  .hero-bottom span:last-child { display: none; }
  .service-strip { justify-content: flex-start; }
  .services, .product-preview, #faq { padding-block: var(--space-9); }
  .sectionhead { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sectionhead > p { margin: 0; }
  .service-row { grid-template-columns: 45px minmax(0,1fr); gap: 12px; padding: 18px 4px; }
  .service-no { font-size: 22px; }
  .service-link { grid-column: 2; }
  .grid { gap: 16px; }
  .art { height: 150px; font-size: 96px; }
  .occasion h3 { font-size: 14px; }
  .occasion p { font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .product-photo { height: 145px; padding: 12px; }
  .product-info { padding: 12px; }
  .product-info h3 { min-height: 43px; font-size: 12px; }
  .product-description { min-height: 27px; margin-bottom: 10px; font-size: 8px; }
  .product-price strong { font-size: 22px; }
  .product-price > span { font-size: 9px; }
  .product-enquire { font-size: 9px; }
  .process, .brief { grid-template-columns: 1fr; gap: 28px; }
  .process > div, .process > ol, .brief > div, .brief > form { width: 100%; justify-self: stretch; }
  .brief .formrow { grid-template-columns: 1fr; gap: 0; }
  .catalog-intro { min-height: 390px; padding-top: 26px; }
  .catalog-skyline { background-position: 67% 50%; opacity: .82; }
  .catalog-copy .eyebrow { margin-top: 6px; }
  .catalog-copy h1 { font-size: clamp(36px, 10vw, 54px); }
  .catalog-intro .hero-controls { right: 24px; bottom: 14px; }
  .catalog-tools { grid-template-columns: 1fr; gap: 14px; }
  .category-filters { gap: 6px; }
  .category-filters button { min-height: 40px; padding: 7px 10px; font-size: 10px; }
  .catalog-contact { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 42px; }
  .catalog-contact > div { width: 100%; }
  .catalog-contact .contact-numbers { font-size: 19px; }
  .telegram-contact { grid-template-columns: 1fr; }
  .telegram-qr { width: 220px; max-width: 100%; justify-self: center; }
  .telegram-section { padding-bottom: 32px; }
  .social-strip { justify-content: flex-start; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 26px 40px; }
  footer p:last-child { text-align: left; }
  .mobile-contact { position: fixed; z-index: 25; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgb(9 17 22 / 94%); box-shadow: var(--shadow-card); backdrop-filter: blur(16px); }
  .mobile-contact a { display: grid; min-height: 42px; place-items: center; border-radius: var(--radius-sm); background: var(--gold); color: var(--canvas); font-size: 11px; font-weight: 600; }
  .mobile-contact a + a { border: 1px solid var(--line); background: transparent; color: var(--gold-hover); }
}
@media (max-width: 520px) {
  :root { --page-gutter: 18px; }
  header { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 6px; min-height: 72px; padding: 10px 14px; }
  header .brand { gap: 6px; font-size: 14px; }
  header .brand small { margin-top: 4px; font-size: 7px; letter-spacing: .13em; }
  .menu-toggle { min-height: 38px; padding: 6px 8px; font-size: 10px; }
  .languages { gap: 0; }
  .languages button { min-height: 36px; padding: 5px 5px; font-size: 10px; }
  .hero { min-height: 680px; }
  .hero-content { padding: 82px var(--page-gutter) 132px; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 9px; letter-spacing: .2em; }
  .hero h1 { margin-block: 14px 18px; font-size: clamp(36px, 10vw, 46px); }
  .hero .intro br { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 44px; gap: 12px; padding: 9px 12px; font-size: 11px; }
  .hero-tags { gap: 5px 11px; font-size: 9px; }
  .hero-controls { right: var(--page-gutter); bottom: 48px; }
  .hero-controls span { max-width: 140px; font-size: 8px; }
  .hero-controls button { min-height: 36px; padding: 5px 8px; font-size: 9px; }
  .hero-bottom { left: var(--page-gutter); right: var(--page-gutter); font-size: 8px; letter-spacing: .03em; }
  .service-strip { gap: 8px 15px; padding-block: 14px; font-size: 9px; }
  .services, .product-preview, #faq { padding-block: 54px; }
  .services h2, .occasions h2, .product-preview h2, .process h2, #faq h2, .brief h2 { font-size: 28px; }
  .grid { gap: 12px; }
  .art { height: 116px; margin-block: 12px; font-size: 76px; }
  .occasion { padding-top: 10px; }
  .occasion h3 { font-size: 12px; }
  .occasion p { font-size: 9px; }
  .product-preview .sectionhead { gap: 14px; }
  .product-preview .catalog-link { align-self: flex-start; }
  .product-grid { gap: 9px; }
  .product-photo { height: 122px; padding: 8px; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 11px; }
  .product-price { align-items: flex-start; flex-direction: column; gap: 1px; }
  .product-price strong { font-size: 21px; }
  .catalog-intro { min-height: 378px; padding-inline: var(--page-gutter); }
  .catalog-copy h1 { font-size: 37px; }
  .catalog-copy .catalog-lead { max-width: 300px; font-size: 15px; }
  .catalog-copy > p { max-width: 300px; font-size: 11px; }
  .catalog-intro .hero-controls { right: var(--page-gutter); bottom: 10px; }
  .catalog-body { padding-inline: var(--page-gutter); }
  .category-filters button { min-height: 38px; padding-inline: 8px; font-size: 9px; }
  .catalog-body #productCount { margin-block: 13px; }
  .catalog-contact { padding-inline: var(--page-gutter); }
  .telegram-contact { padding: 16px; }
  .social-strip { gap: 8px 14px; padding-inline: var(--page-gutter); font-size: 10px; }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  header .brand { font-size: 12px; }
  .languages button { padding-inline: 3px; font-size: 9px; }
  .menu-toggle { padding-inline: 6px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-photo { height: 190px; }
  .product-info h3 { min-height: auto; font-size: 14px; }
  .product-description { min-height: auto; }
  .product-price { align-items: baseline; flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
