:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: #141416;
  --line: #2b2929;
  --orange: #ff782b;
  --orange-light: #ff9a62;
  --ink: #f7f4f1;
  --muted: #b4aeaa;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 5.5vw, 4.95rem); font-weight: 850; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 820; }
h1 em { color: var(--orange); font-style: normal; }
.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.accent { color: var(--orange); }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-small { width: 15px; height: 15px; }
.skip { position: fixed; z-index: 10; left: 15px; top: 12px; transform: translateY(-170%); background: var(--orange); color: #110805; padding: 10px 14px; border-radius: 5px; }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 5; background: #0d0d0eef; border-bottom: 1px solid #282421; backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 18px; font-weight: 850; letter-spacing: -.055em; line-height: 1.1; }
.brand img { object-fit: contain; }
.brand-cba { margin-left: 2px; font-size: .84em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 8px/1.15 var(--mono); letter-spacing: .10em; }
.site-nav { display: flex; gap: clamp(17px, 2.6vw, 40px); align-items: center; }
.site-nav a { font-size: 14px; color: #c6bfba; font-weight: 620; position: relative; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after { content: ""; width: 15px; height: 2px; background: var(--orange); position: absolute; bottom: -8px; left: 0; }
.button { min-height: 49px; border-radius: 7px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 760; line-height: 1.25; transition: background .16s, color .16s, border-color .16s; }
.button-primary { color: #160900; background: var(--orange); }
.button-primary:hover { background: #ffa36f; }
.button-secondary { background: #151416; border-color: #363030; }
.button-secondary:hover { background: #211815; border-color: #815034; }
.button-outline { color: var(--orange-light); background: #201510; border-color: #58301d; }
.button-outline:hover { color: #150900; background: var(--orange); border-color: var(--orange); }
.header-cta { min-height: 40px; padding-inline: 12px; }
.menu-toggle { width: 44px; height: 44px; border: 1px solid #563521; background: #1f1612; color: var(--orange-light); border-radius: 7px; display: grid; place-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--orange-light); font: 700 11px/1.5 var(--mono); letter-spacing: .13em; }
.eyebrow > span { display: inline-block; width: 15px; height: 2px; flex: 0 0 15px; background: var(--orange); }
.eyebrow b { opacity: .6; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 78% 48%, #22140d 0%, #100d0c 33%, transparent 63%); }
.hero-grid { min-height: 541px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-block: 60px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin: 17px 0 23px; }
.hero h1 em { font-size: .9em; white-space: nowrap; }
.intro { max-width: 420px; font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-art { isolation: isolate; min-width: 0; aspect-ratio: 1.24; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; inset: 0; position: absolute; border: 1px solid #643721; z-index: -1; border-radius: 12px; background: radial-gradient(ellipse at center, #52271066, #160e0a26 73%); }
.hero-gridlines { position: absolute; inset: 1px; z-index: -1; background-image: linear-gradient(#a45c331a 1px, transparent 1px), linear-gradient(90deg, #a45c331a 1px, transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%); }
.hero-art::after { content: ""; inset: -2px; position: absolute; border: 2px solid var(--orange); border-radius: 14px; clip-path: polygon(0 0, 22px 0, 22px 4px, 4px 4px, 4px 22px, 0 22px, 0 0, 100% 100%, calc(100% - 22px) 100%, calc(100% - 22px) calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) calc(100% - 22px), 100% calc(100% - 22px), 100% 100%); pointer-events: none; opacity: .8; }
.hero-art img { width: 80%; height: auto; filter: drop-shadow(0 12px 36px #000b); }
.art-label { position: absolute; color: #ca987a; font: 10px/1.3 var(--mono); letter-spacing: .12em; }
.art-top { top: 15px; left: 16px; }
.art-bottom { bottom: 15px; right: 16px; }
.art-label i { display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 3px; border-radius: 50%; vertical-align: 1px; }
.art-label b { color: var(--orange); }
.order-strip { background: #121112; border-block: 1px solid var(--line); }
.order-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.order-items > p { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 19px 15px; }
.order-items > p + p { border-left: 1px solid var(--line); }
.order-items .icon { width: 27px; height: 27px; color: var(--orange); }
.order-items strong, .order-items small { display: block; }
.order-items strong { font-size: 14px; }
.order-items small { font-size: 12px; color: var(--muted); }
.section { padding-block: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head h2, .story-process h2 { margin-top: 9px; }
.section-intro { color: var(--muted); margin-top: 10px; }
.search { display: flex; align-items: center; gap: 10px; min-height: 47px; border: 1px solid #3a3331; border-radius: 7px; background: var(--panel); padding-inline: 13px; width: min(100%, 290px); color: var(--orange-light); }
.search:focus-within { border-color: var(--orange); }
.search input { width: 100%; min-width: 0; background: none; border: 0; color: var(--ink); outline: none; padding-block: 10px; }
.search input::placeholder { color: #aaa19b; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 27px 0 23px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 8px 13px; min-height: 42px; border: 1px solid #3a3331; border-radius: 6px; background: var(--panel); color: #ddd5d0; font-size: 13px; font-weight: 680; }
.filters button:hover { border-color: var(--orange); }
.filters button[aria-pressed="true"] { background: #2a1a12; border-color: #934b26; color: #ffad80; }
.result-count { color: var(--muted); font: 12px/1.4 var(--mono); white-space: nowrap; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; align-items: stretch; }
.product { min-width: 0; border: 1px solid #352e2b; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--panel); }
.product-photo { height: clamp(170px, 19vw, 236px); overflow: hidden; position: relative; background: #1e1714; display: grid; place-items: center; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-photo[data-style="studio"] { background: #fff; }
.product-photo[data-style="studio"] img { object-fit: contain; padding: 12px 16px; }
.product-photo[data-style="portrait"] img { object-position: center 25%; }
.product-photo[data-style="frame"] img { object-fit: contain; padding: 8px; }
.product-photo[data-style="frame"], .product-photo[data-style="archive"] { background: #0e0b0c; }
.product-photo[data-style="archive"] img { object-fit: contain; }
.product-photo-placeholder { background: radial-gradient(ellipse at 50% 55%, #322017 0%, transparent 69%), repeating-linear-gradient(135deg, #1c1613 0 1px, #171312 1px 10px); }
.placeholder-mark { display: grid; place-items: center; gap: 8px; font: 10px/1.2 var(--mono); letter-spacing: .06em; color: #c1957d; }
.placeholder-mark .icon { width: 44px; height: 44px; color: #ed9a6b; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 4px; background: #0f0b09f0; color: #fff0e5; border: 1px solid #8b5b41; font: 10px/1.3 var(--mono); }
.product-info { padding: 18px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-category { color: var(--orange-light); font: 700 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.product h3 { margin-top: 7px; font-size: 22px; line-height: 1.14; letter-spacing: -.035em; }
.product-size { margin-top: 6px; color: var(--muted); font-size: 13px; }
.product-price { margin-top: 14px; margin-bottom: 16px; font-size: 19px; font-weight: 800; color: var(--orange-light); line-height: 1.25; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; width: 100%; }
.product-actions .button { min-height: 41px; padding-inline: 11px; font-size: 13px; }
.product-actions .button-primary { flex: 1; }
.product-actions .icon { width: 16px; height: 16px; }
.empty { grid-column: 1 / -1; padding: 34px 24px; border: 1px dashed #63402b; border-radius: 9px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 10px; }
.empty button { margin-top: 17px; }
.contact { padding-top: 12px; }
.contact-inner { border: 1px solid #633822; border-radius: 14px; padding: clamp(25px, 4.5vw, 54px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; background: radial-gradient(ellipse at 90% 55%, #391e11, #1a120f 53%, #151213); }
.contact h2 { margin-top: 12px; font-size: clamp(2.1rem, 4.1vw, 3.4rem); }
.contact p:not(.eyebrow) { color: var(--muted); max-width: 610px; margin-top: 14px; }
.contact p.contact-terms { color: #e7beb0; font-size: 13px; }
.contact-actions { display: grid; justify-items: center; gap: 9px; }
.contact-actions > span { font: 13px/1.5 var(--mono); color: #e0bba7; }
.footer { border-top: 1px solid var(--line); background: #0d0d0e; }
.footer-inner { min-height: 87px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.footer .brand { color: var(--ink); }
.social { display: flex; align-items: center; gap: 6px; }
.social:hover { color: var(--orange-light); }
.story { background: radial-gradient(ellipse at 78% 40%, #25170f, var(--bg) 59%); }
.story-grid { display: grid; grid-template-columns: 1.1fr .85fr; align-items: center; gap: clamp(32px, 8vw, 115px); }
.story h1 { margin-block: 14px 24px; font-size: clamp(3rem, 5.7vw, 5.35rem); }
.story p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 570px; margin-block: 15px; }
.story .button { margin-top: 14px; }
.story-image { overflow: hidden; border: 1px solid #58341f; border-radius: 12px; background: var(--panel); }
.story-image img { width: 100%; height: clamp(310px, 40vw, 475px); object-fit: cover; object-position: center 45%; }
.story-image figcaption { display: flex; align-items: center; gap: 13px; padding: 11px 15px; font-size: 13px; color: var(--muted); }
.story-image figcaption span { color: var(--orange-light); font: 10px/1.3 var(--mono); letter-spacing: .08em; }
.story-process { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { padding: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 9px; }
.steps span { color: var(--orange-light); font: 14px/1.5 var(--mono); }
.steps h3 { margin-block: 10px; font-size: 22px; }
.steps p { color: var(--muted); }
.product-dialog { color: var(--ink); background: var(--panel); border: 1px solid #6b4029; border-radius: 14px; width: min(100% - 30px, 760px); max-height: calc(100dvh - 30px); padding: 0; }
.product-dialog::backdrop { background: #050403d9; }
.dialog-wrap { position: relative; }
.dialog-close { position: absolute; z-index: 2; right: 12px; top: 12px; }
.dialog-close button { background: #140e0cf4; border: 1px solid #8b5b41; color: var(--ink); width: 43px; height: 43px; border-radius: 8px; display: grid; place-items: center; }
.dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-layout .product-photo { height: auto; min-height: 410px; }
.dialog-layout .product-photo img { object-fit: contain; }
.dialog-info { padding: 43px 24px 26px; }
.dialog-info h2 { font-size: clamp(2rem, 5vw, 2.7rem); margin-block: 8px 10px; }
.dialog-description { color: var(--muted); margin: 10px 0 16px; }
.options { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; border: 0; }
.options legend { color: var(--muted); font-size: 13px; padding: 0; margin-bottom: 6px; }
.options label { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #1d1715; border: 1px solid #533829; border-radius: 6px; cursor: pointer; }
.options input { accent-color: var(--orange); }
.options span { display: flex; justify-content: space-between; gap: 10px; width: 100%; font-size: 14px; }
.options strong { color: var(--orange-light); }
.dialog-info .button { width: 100%; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero-grid { min-height: 0; }
  .hero h1 { font-size: clamp(2.65rem, 5.7vw, 4.5rem); }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { gap: 14px; }
  .site-nav { gap: 16px; }
  .header-cta > .icon-small { display: none; }
  .hero-grid { gap: 24px; padding-block: 45px; }
  .hero h1 { font-size: clamp(2.35rem, 5.8vw, 3.45rem); }
  .section { padding-block: 54px; }
  .contact { padding-top: 4px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 77px; }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 8px; }
  .header .brand { font-size: 15px; gap: 6px; }
  .header .brand img { width: 33px; height: 33px; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
  .menu-toggle { order: 2; width: 42px; height: 42px; }
  .menu-toggle:not([hidden]) ~ .site-nav { display: none; }
  .menu-toggle[aria-expanded="true"] ~ .site-nav { display: grid; position: absolute; z-index: 2; gap: 0; top: calc(100% + 7px); right: 0; width: min(100%, 255px); padding: 6px; border-radius: 9px; background: #171414; border: 1px solid #5a3928; }
  .site-nav a { padding: 10px; }
  .site-nav a[aria-current]::after { left: 10px; bottom: 5px; }
  .header-cta { width: 42px; height: 42px; margin-left: auto; padding: 0; font-size: 0; gap: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 37px 27px; }
  .hero h1 { font-size: clamp(2.45rem, 10.2vw, 4rem); margin-bottom: 15px; }
  .hero-art { aspect-ratio: 1.37; }
  .hero-art img { width: 66%; }
  .art-label { font-size: 8px; }
  .art-top { top: 11px; }
  .art-bottom { bottom: 11px; }
  .actions { margin-top: 22px; }
  .order-items { grid-template-columns: 1fr; }
  .order-items > p { justify-content: flex-start; padding: 10px 4px; }
  .order-items > p + p { border-left: 0; border-top: 1px solid var(--line); }
  .order-items .icon { width: 22px; height: 22px; }
  .section-head { align-items: stretch; flex-direction: column; gap: 15px; }
  .search { width: 100%; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; margin-top: 18px; }
  .contact-inner, .story-grid, .steps { grid-template-columns: 1fr; }
  .contact-inner { gap: 21px; }
  .contact-actions { justify-items: start; }
  .footer-inner { min-height: 0; align-items: flex-start; padding-block: 18px; flex-direction: column; gap: 10px; }
  .story-grid { gap: 24px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout .product-photo { min-height: 190px; height: min(32dvh, 235px); }
  .dialog-info { padding: 18px; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .products { grid-template-columns: 1fr; }
  .product-photo { height: 215px; }
  .actions .button { padding-inline: 11px; gap: 7px; }
  .actions .icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.product-photo[data-style="uploaded"] img { object-fit: contain; background: #110f0f; }
.product-gallery { min-width: 0; align-self: stretch; display: grid; grid-template-rows: 1fr auto; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; background: #161313; }
.gallery-thumbs button { display: grid; place-items: center; width: 50px; height: 48px; padding: 2px; border: 1px solid #5b4134; border-radius: 5px; background: #100e0e; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
