:root {
  --bg: #0d1014;
  --surface: #151a21;
  --surface-2: #1d242e;
  --text: #f7f8fa;
  --muted: #aeb7c3;
  --accent: #9ed7ff;
  --accent-contrast: #071018;
  --line: rgba(255,255,255,.1);
  --radius: 22px;
  --max: 1180px;
  --display: ui-serif, Georgia, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.app-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 20; display:flex; align-items:center; justify-content:space-between; min-height:72px; padding: 0 max(22px, calc((100vw - var(--max))/2)); background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom:1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display:flex; align-items:center; gap:12px; }
.brand-mark { width:40px; height:40px; display:grid; place-items:center; border-radius:14px; background:var(--accent); color:var(--accent-contrast); font-weight:900; letter-spacing:-.04em; }
.brand strong, .brand small { display:block; }
.brand small { color:var(--muted); font-size:.74rem; }
.site-header nav { display:flex; gap:24px; color:var(--muted); font-size:.92rem; }
.site-header nav a:hover { color:var(--text); }

.hero { width:min(var(--max), calc(100% - 40px)); margin:32px auto 0; min-height:580px; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr); gap:24px; align-items:stretch; }
.hero-copy, .hero-panel { border:1px solid var(--line); border-radius:calc(var(--radius) + 8px); overflow:hidden; }
.hero-copy { position:relative; padding:clamp(36px,7vw,90px); display:flex; flex-direction:column; justify-content:center; background: radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 34%), var(--surface); }
.hero-copy::after { content:""; position:absolute; right:-80px; bottom:-80px; width:250px; height:250px; border:1px solid color-mix(in srgb,var(--accent) 45%,transparent); border-radius:50%; box-shadow:0 0 0 40px color-mix(in srgb,var(--accent) 5%,transparent),0 0 0 80px color-mix(in srgb,var(--accent) 3%,transparent); }
.eyebrow { color:var(--accent); font-size:.74rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }
h1,h2 { margin:0; font-family:var(--display); font-weight:500; line-height:1.02; }
h1 { max-width:820px; margin-top:18px; font-size:clamp(3.1rem,7.6vw,7rem); letter-spacing:-.05em; }
h2 { font-size:clamp(2.2rem,4.5vw,4.2rem); letter-spacing:-.04em; }
.hero-copy > p { max-width:680px; margin:24px 0 0; color:var(--muted); font-size:1.05rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; position:relative; z-index:2; }
.button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:0 20px; border-radius:999px; border:1px solid var(--line); cursor:pointer; font-weight:800; }
.button-primary { background:var(--accent); color:var(--accent-contrast); border-color:transparent; }
.button-secondary { background:transparent; color:var(--text); }
.hero-panel { padding:34px; display:flex; flex-direction:column; justify-content:flex-end; background:linear-gradient(180deg,var(--surface-2),var(--surface)); }
.hero-panel-label { color:var(--muted); font-size:.7rem; letter-spacing:.16em; }
.hero-panel strong { margin-top:auto; font-size:clamp(5rem,10vw,8rem); line-height:.9; letter-spacing:-.08em; }
.hero-panel small { color:var(--accent); font-weight:700; }
.hero-panel-line { height:1px; margin:24px 0; background:var(--line); }
.hero-panel p { margin:0; color:var(--muted); }

.catalog-shell { width:min(var(--max), calc(100% - 40px)); margin:100px auto 0; }
.section-heading { display:grid; grid-template-columns:1fr minmax(240px,380px); gap:26px; align-items:end; }
.search-box input { width:100%; min-height:52px; padding:0 18px; border:1px solid var(--line); border-radius:16px; outline:none; color:var(--text); background:var(--surface); }
.search-box input:focus { border-color:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent); }
.filters { display:flex; flex-direction:column; gap:14px; margin-top:34px; }
.filter-row { display:flex; align-items:flex-start; gap:14px; }
.filter-label { min-width:110px; padding-top:9px; color:var(--muted); font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.filter-options { display:flex; flex-wrap:wrap; gap:8px; }
.filter-chip { min-height:38px; padding:0 14px; border-radius:999px; border:1px solid var(--line); background:transparent; cursor:pointer; color:var(--muted); }
.filter-chip.active { color:var(--accent-contrast); background:var(--accent); border-color:var(--accent); font-weight:800; }
.catalog-meta { min-height:52px; display:flex; align-items:center; justify-content:space-between; margin-top:24px; color:var(--muted); border-top:1px solid var(--line); }
.link-button { border:0; background:none; color:var(--accent); cursor:pointer; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.product-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); cursor:pointer; transition:transform .2s ease,border-color .2s ease; }
.product-card:hover { transform:translateY(-4px); border-color:color-mix(in srgb,var(--accent) 45%,var(--line)); }
.product-media { aspect-ratio:4/3; overflow:hidden; background:var(--surface-2); }
.product-media img { width:100%; height:100%; object-fit:cover; }
.product-copy { padding:20px; }
.product-topline { display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; }
.product-copy h3 { margin:10px 0 8px; font-size:1.25rem; line-height:1.15; }
.product-copy p { margin:0; color:var(--muted); font-size:.92rem; }
.product-footer { margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.product-price { font-weight:900; }
.product-open { color:var(--accent); font-weight:800; font-size:.86rem; }
.empty-state { padding:70px 20px; text-align:center; color:var(--muted); }
.empty-state strong { color:var(--text); font-size:1.25rem; }

.contact { width:min(var(--max), calc(100% - 40px)); margin:110px auto 0; padding:clamp(34px,6vw,72px); border:1px solid var(--line); border-radius:calc(var(--radius) + 8px); background:linear-gradient(135deg,var(--surface),var(--surface-2)); }
.contact p { max-width:700px; color:var(--muted); margin:18px 0 28px; }
footer { width:min(var(--max), calc(100% - 40px)); margin:50px auto 0; padding:26px 0 38px; display:flex; align-items:center; justify-content:space-between; color:var(--muted); border-top:1px solid var(--line); }

.product-dialog { width:min(820px,calc(100% - 28px)); max-height:90vh; padding:0; overflow:auto; border:1px solid var(--line); border-radius:28px; color:var(--text); background:var(--surface); box-shadow:0 35px 100px rgba(0,0,0,.5); }
.product-dialog::backdrop { background:rgba(0,0,0,.72); backdrop-filter:blur(5px); }
.dialog-close { position:sticky; z-index:2; top:14px; float:right; margin:14px 14px 0 0; width:42px; height:42px; border:1px solid var(--line); border-radius:50%; background:color-mix(in srgb,var(--surface) 88%,transparent); cursor:pointer; }
.dialog-grid { display:grid; grid-template-columns:1fr 1fr; }
.dialog-grid img { width:100%; height:100%; min-height:450px; object-fit:cover; background:var(--surface-2); }
.dialog-copy { padding:50px 36px 36px; }
.dialog-copy h2 { margin-top:10px; font-size:clamp(2rem,5vw,3.8rem); }
.dialog-copy > p { color:var(--muted); }
.dialog-attributes { display:grid; gap:0; margin:28px 0; border-top:1px solid var(--line); }
.dialog-attribute { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); }
.dialog-attribute span:first-child { color:var(--muted); }

@media (max-width:900px){
  .hero { grid-template-columns:1fr; min-height:0; }
  .hero-panel { min-height:280px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dialog-grid { grid-template-columns:1fr; }
  .dialog-grid img { min-height:0; aspect-ratio:4/3; }
}
@media (max-width:640px){
  .site-header { padding-inline:18px; }
  .site-header nav { display:none; }
  .hero,.catalog-shell,.contact,footer { width:min(100% - 24px,var(--max)); }
  .hero { margin-top:12px; gap:12px; }
  .hero-copy { padding:42px 22px 50px; min-height:520px; }
  .section-heading { grid-template-columns:1fr; align-items:stretch; }
  .filter-row { flex-direction:column; gap:8px; }
  .filter-label { min-width:0; padding-top:0; }
  .product-grid { grid-template-columns:1fr; gap:12px; }
  .contact { margin-top:70px; padding:34px 22px; }
  footer { align-items:flex-start; gap:10px; flex-direction:column; }
  .dialog-copy { padding:34px 22px 28px; }
}