:root {
  color-scheme: dark;
  --yellow: #ffd430;
  --green: #c6f43d;
  --blue: #55d8ff;
  --bg: #080c0b;
  --panel: #121c18;
  --ink: #f7f9f5;
  --muted: #b6c2bc;
  --line: #303f3a;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --radius: 1rem;
  font-family: Inter, Geist, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body.has-editor { padding-bottom: 6.5rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip { position: fixed; top: .25rem; left: 1rem; padding: .6rem 1rem; background: var(--yellow); color: #111; transform: translateY(-150%); z-index: 12; }
.skip:focus { transform: translateY(0); }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.shell { width: min(100% - var(--gutter) * 2, 87rem); margin-inline: auto; }
.site-header { position: relative; z-index: 1; border-bottom: 1px solid #ffffff1a; background: #090f0c; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; height: 5.4rem; align-items: center; gap: 1.5rem; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .85rem; }
.brand img { height: 4.35rem; width: 4.35rem; object-fit: contain; border-radius: 50%; }
.header-inner .brand img { width: 4.65rem; height: 4.65rem; flex-shrink: 0; }
.brand-text { font-weight: 830; font-size: 1.02rem; line-height: 1.15; max-width: 8rem; letter-spacing: -.025em; }
nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
nav a { white-space: nowrap; font-weight: 680; font-size: .96rem; color: #e5ede8; }
nav a:hover, .footer a:hover { color: var(--blue); }
.nav-toggle { display: none !important; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.85rem; border-radius: .65rem; padding: .65rem 1rem; font-weight: 780; white-space: normal; border: 1px solid transparent; line-height: 1.25; transition: filter 160ms, border-color 160ms, background-color 160ms; }
.button.yellow { color: #121404; background: var(--yellow); }
.button.green { color: #111500; background: var(--green); }
.button.ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.button.outline { color: var(--ink); border-color: var(--blue); background: var(--bg); }
.button:hover:not(:disabled) { filter: brightness(1.13); }
.icon-button { border: 1px solid var(--line); color: var(--ink); background: var(--panel); border-radius: .55rem; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; }
.hero { position: relative; min-height: clamp(28rem, 43vw, 41rem); isolation: isolate; display: grid; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 0 100%, #142419 0%, transparent 58%); }
.hero-art { position: absolute; inset: 0 0 0 34%; z-index: -1; overflow: hidden; border-top-left-radius: min(39vw, 31rem) min(48vw, 37rem); border-left: .28rem solid var(--yellow); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080c0bb5, transparent 56%), linear-gradient(0deg,#080c0b54,transparent 28%); }
.hero-copy { padding-block: 4.5rem; }
.hero-copy h1 { max-width: 53rem; font-size: clamp(3.05rem, 6.45vw, 7rem); line-height: 1; letter-spacing: -.071em; font-weight: 900; text-shadow: 0 .05em .16em #090c0bbf; overflow-wrap: anywhere; }
.hero-line { display: block; color: var(--yellow); }
.hero-accent { color: var(--blue); }
.hero-dot { color: var(--green); }
.hero-copy p { max-width: min(100%, 31rem); font-size: clamp(1.05rem, 1.65vw, 1.35rem); color: #e4eee9; margin: 1.1rem 0 1.7rem; text-shadow: 0 2px 8px #000; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.hero-buttons .button { padding-inline: 1.15rem; min-height: 3rem; }
.hero-buttons .ghost { background: #090c0bcc; border-color: #a9b4ac80; }
.content { border-top: 1px solid color-mix(in srgb, var(--blue) 62%, #25322a); padding-top: clamp(1.85rem, 4.3vw, 3.7rem); }
.section { margin-bottom: clamp(2.7rem, 5.4vw, 5rem); }
.section-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.3rem; }
.section-head h2, .contact-banner h2 { font-size: clamp(1.85rem, 3.15vw, 3.4rem); letter-spacing: -.052em; font-weight: 850; text-wrap: balance; }
.rule { flex: 0 1 clamp(2.2rem, 11vw, 8rem); height: 2px; background: var(--green); }
.rule.blue { background: var(--blue); }
.section-note { color: var(--muted); margin: -.6rem 0 1rem; }
.select-control { position: relative; display: inline-grid; align-items: center; min-width: 0; }
.select-control select { appearance: none; font: inherit; font-weight: 650; width: 100%; min-height: 2.6rem; padding: .47rem 2rem .47rem .7rem; color: var(--ink); background: #0d1713; border: 1px solid #475e54; border-radius: .48rem; cursor: pointer; }
.select-control > .icon { position: absolute; right: .55rem; width: 1.05rem; height: 1.05rem; color: var(--blue); pointer-events: none; }
.editor-dialog .select-control select { min-height: 2.85rem; font-weight: 480; }
.model-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-auto-rows: minmax(10.1rem, auto); gap: .8rem; }
.model-grid .photo-tile:first-child { grid-row: span 2; min-height: 21rem; }
.model-grid:has(.photo-tile:only-child) { grid-template-columns: minmax(0, 1fr); }
.model-grid .photo-tile:only-child { grid-row: auto; min-height: clamp(15rem, 34vw, 25rem); }
.model-grid .rounded-model { aspect-ratio: 1.45; min-height: 0; }
.model-grid .rounded-model:only-child { min-height: 0; width: min(100%, 40rem); }
.photo-tile { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); position: relative; min-width: 0; isolation: isolate; min-height: 10rem; display: flex; align-items: end; transition: border-color 160ms; }
.photo-tile::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#070c0af2 3%, #080e0b7a 32%, transparent 68%); pointer-events: none; }
#shape-tile::after { background: linear-gradient(0deg, #070c0abe, #080e0b49 17%, transparent 39%); }
#shape-tile .shape-cover-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(11px) brightness(.58); transform: scale(1.12); }
#shape-tile .tile-image { object-fit: contain; object-position: center 43%; transform: none; }
.photo-tile .tile-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease-out; }
.photo-tile:focus-within { border-color: var(--blue); }
@media (hover: hover) {
  .photo-tile:hover { border-color: color-mix(in srgb, var(--blue) 48%, var(--line)); }
  .photo-tile:hover .tile-image { transform: scale(1.035); }
}
.tile-body { width: 100%; padding: .9rem; display: flex; align-items: center; gap: .65rem; }
.tile-body h3 { font-size: clamp(1.05rem, 2vw, 1.6rem); letter-spacing: -.035em; }
.tile-title { flex: 1; min-width: 0; }
.tile-title button { padding: .1rem 0; text-align: left; border: 0; color: inherit; background: none; overflow-wrap: anywhere; }
.tile-title button:hover { color: var(--blue); }
.add { border: 0; border-radius: .55rem; width: 2.75rem; height: 2.75rem; flex-shrink: 0; display: inline-grid; place-items: center; background: var(--yellow); color: #141400; }
.add:hover { filter: brightness(1.18); }
.add.in-cart { background: var(--blue); }
.model-catalog { min-width: 0; }
.shape-disclosure { display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; min-width: min(8.2rem, 100%); min-height: 2.75rem; padding: .45rem .7rem; cursor: pointer; border: 1px solid var(--blue); border-radius: .55rem; background: #102020; color: var(--ink); font-weight: 820; }
.shape-disclosure > .icon { color: var(--blue); }
.shape-disclosure:hover, .shape-disclosure[aria-expanded=true] { background: #1a3130; }
.shape-disclosure[aria-expanded=true] > .icon { transform: rotate(180deg); }
.shape-products { margin-top: 1.05rem; padding-top: .85rem; border-top: 1px solid #3a6259; }
.shape-products h3 { margin-bottom: .7rem; font-size: clamp(1.1rem, 2.5vw, 1.32rem); }
.shape-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: .65rem; }
.shape-product { position: relative; overflow: hidden; min-width: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
.shape-product:focus-within { border-color: var(--blue); }
.shape-product-image { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.shape-product-info { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: .55rem; padding: .6rem; }
.shape-product-info h4 { margin: 0; }
.shape-product-info h4 button { width: 100%; padding: .08rem 0; background: none; color: var(--ink); border: 0; text-align: left; font-weight: 780; line-height: 1.17; overflow-wrap: anywhere; }
.shape-product-info h4 button:hover { color: var(--blue); }
.shape-product-add { width: 100%; min-height: 2.75rem; padding: .38rem .45rem; font-size: .85rem; text-align: center; }
.shape-purchase { min-width: 0; }
.quantity-control { display: grid; grid-template-columns: minmax(1.75rem, 1fr) minmax(1.5rem, auto) minmax(1.75rem, 1fr); min-height: 2.75rem; border: 1px solid var(--blue); border-radius: .65rem; overflow: hidden; color: var(--ink); background: #142523; }
.quantity-control button { display: grid; place-items: center; min-width: 0; padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 1.15rem; font-weight: 820; }
.quantity-control button:hover { color: #121404; background: var(--blue); }
.quantity-control button:focus-visible { outline-offset: -3px; }
.quantity-amount { display: grid; place-items: center; min-width: 0; padding-inline: .25rem; border-inline: 1px solid #2e514e; font-size: .86rem; font-weight: 820; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .shape-product-add > .icon { display: none; }
}
.accessory-grid, .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.accessory-grid .photo-tile { min-height: clamp(9rem, 16vw, 15rem); }
.accessory-grid .tile-body > .icon { color: var(--green); align-self: center; }
.project-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; }
.project-pagination span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.project-tile { flex-direction: column; align-items: stretch; }
.project-tile::after { content: none; }
.project-open { display: block; width: 100%; flex-shrink: 0; padding: 0; border: 0; background: none; }
.project-open:focus-visible { outline-offset: -4px; }
.project-image { width: 100%; aspect-ratio: 1; object-fit: cover; }
.project-card-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .65rem; padding: .8rem; }
.project-card-info h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.18; font-weight: 800; overflow-wrap: anywhere; }
.project-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.project-card-actions .add { width: auto; display: inline-flex; gap: .4rem; padding-inline: .65rem; font-size: .875rem; font-weight: 800; }
.project-video-band { display: grid; grid-template-columns: minmax(9rem, .75fr) minmax(0, 2.25fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); margin-bottom: clamp(2.7rem, 5.4vw, 5rem); padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--panel); }
.project-video-copy h2 { font-size: clamp(1.85rem, 3.15vw, 3.4rem); letter-spacing: -.052em; text-wrap: balance; }
.project-video-grid { min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .45rem; }
.project-video-preview { min-width: 0; position: relative; overflow: hidden; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: .65rem; background: var(--bg); }
.project-video-preview:focus-visible { outline-offset: -4px; }
.project-video-preview video { display: block; width: 100%; height: 100%; aspect-ratio: 9 / 16; max-height: 30rem; object-fit: cover; pointer-events: none; }
.project-video-play { position: absolute; bottom: .65rem; left: .65rem; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid #ffffff8c; border-radius: 50%; color: white; background: #080c0bbd; font-size: .9rem; }
.empty { color: var(--muted); padding: .7rem 0; }
.cart-bubble { position: fixed; z-index: 5; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 3.65rem; height: 3.65rem; border: 1px solid var(--yellow); border-radius: 50%; color: #121404; background: var(--yellow); box-shadow: 0 8px 24px #000a; }
.cart-bubble > .icon { width: 1.7rem; height: 1.7rem; }
.cart-bubble:hover { filter: brightness(1.12); }
.cart-badge { position: absolute; top: -.3rem; right: -.25rem; display: grid; place-items: center; min-width: 1.6rem; min-height: 1.6rem; padding-inline: .2rem; border: 2px solid var(--bg); border-radius: 999px; color: #111500; background: var(--green); font-size: .76rem; font-weight: 850; font-variant-numeric: tabular-nums; }
body:has(.editor-bar) .cart-bubble { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
.quote-content { display: flex; flex-direction: column; min-height: 0; gap: .45rem; padding: .4rem .7rem .65rem; }
.quote-content > .button { flex-shrink: 0; width: 100%; min-height: 2.75rem; padding: .45rem .65rem; font-size: .9rem; }
.quote-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: .12rem .22rem .3rem .12rem; }
.quote-scroll > .owner-tools { margin: .12rem 0 .25rem; }
.quote-details-fields { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: .45rem; margin: .65rem 0 0; padding: 0; border: 0; }
.quote-details-fields legend { padding: 0 0 .32rem; font-size: .92rem; font-weight: 820; color: var(--blue); }
.quote-details-fields .field { min-width: 0; gap: .15rem; font-size: .88rem; }
.quote-details-fields .field:first-of-type { grid-column: 1 / -1; }
.quote-details-fields .field input:not([type=color]) { min-height: 2.35rem; padding: .32rem .5rem; font-size: 1rem; }
.quote-list { list-style: none; padding: 0; margin: 0; }
.quote-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 2rem; gap: .35rem; padding: .35rem 0; align-items: center; border-bottom: 1px solid var(--line); }
.quote-list img { width: 2.2rem; height: 2.2rem; object-fit: cover; border-radius: .35rem; }
.quote-item { min-width: 0; display: grid; gap: .22rem; }
.quote-item strong { font-size: .92rem; line-height: 1.15; overflow-wrap: anywhere; }
.quote-project > .icon { justify-self: center; color: var(--blue); }
.quote-project p { font-size: .82rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote-item-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem .4rem; }
.quote-list .quantity-control { grid-template-columns: 1.65rem minmax(1.25rem, auto) 1.65rem; min-height: 2rem; border-radius: .5rem; }
.quote-list .quantity-control button { font-size: 1rem; }
.quote-list .quantity-amount { font-size: .8rem; }
.quote-remove { display: grid; place-items: center; min-height: 2rem; padding: 0; border: 0; background: none; color: var(--muted); }
.quote-remove:hover { color: var(--ink); }
.quote-kind { color: var(--muted); font-size: .82rem; }
.quote-empty { padding-block: .3rem .95rem; color: var(--muted); }
.contact-banner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.1rem, 3vw, 2.5rem); padding: 1.5rem clamp(1.15rem, 3vw, 2.5rem); border-left: 4px solid var(--yellow); background: linear-gradient(115deg, #162019, #101511); border-radius: .7rem; margin-bottom: 3.5rem; }
.contact-banner p { color: var(--muted); margin-top: .45rem; }
.project-survey { min-width: 0; display: grid; gap: .85rem; }
.survey-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .85rem; }
.project-survey .field { min-width: 0; display: block; font-size: .95rem; }
.project-survey .field input, .project-survey .field textarea { display: block; min-height: 2.8rem; margin-top: .35rem; font-size: 1rem; font-weight: 450; }
.project-survey .field textarea { min-height: 6.5rem; resize: vertical; }
.survey-optional { color: var(--muted); font-size: .86rem; font-weight: 500; }
.project-survey > .button { justify-self: start; }
.footer { border-top: 1px solid var(--line); background: linear-gradient(120deg, #101913 0%, #0a1210 64%, #0d1b1b 100%); padding-block: 2.5rem 5rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.4rem; padding-bottom: 1.8rem; }
.footer h2 { font-size: 1rem; color: var(--yellow); margin-bottom: .85rem; }
.footer .brand { margin-bottom: .55rem; }
.footer p { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem .75rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: .55rem; padding: .4rem .55rem; font-size: .88rem; }
.footer-social .icon { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: .8rem 1.25rem; color: var(--muted); font-size: .89rem; }
.footer-bottom .credit { color: var(--ink); display: flex; align-items: center; gap: .7rem; max-width: 100%; padding: .45rem .65rem .45rem .48rem; border: 1px solid #35616b; border-radius: .7rem; background: #0d1e23; }
.footer-bottom a.credit:hover { border-color: var(--blue); color: var(--ink); background: #132b33; }
.credit-logo { width: 2.75rem; height: 2.75rem; object-fit: contain; flex: 0 0 auto; mix-blend-mode: lighten; }
.credit-text { display: grid; gap: .1rem; line-height: 1.35; overflow-wrap: anywhere; }
.credit-text > :first-child { font-weight: 680; }
.credit-domain, .credit > .icon { color: var(--blue); }
.credit-domain { font-size: .85rem; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .15rem .9rem; }
.owner-link { text-decoration: underline; text-underline-offset: 3px; border: 0; background: none; color: var(--green); padding: .55rem 0; text-align: left; }
.owner-link:hover { color: var(--blue); }
.owner-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: .55rem 0; }
.hero .owner-tools { position: absolute; top: .55rem; right: var(--gutter); }
.edit-action { border: 1px dashed var(--yellow); color: var(--yellow); padding: .45rem .65rem; min-height: 2.35rem; background: #12160ff0; font-weight: 750; border-radius: .5rem; display: inline-flex; align-items: center; gap: .35rem; }
.edit-action:hover { background: #293018; }
.section-head .owner-tools { margin: 0 0 0 auto; }
.tile-editor { position: absolute; top: .45rem; left: .45rem; z-index: 1; }
.editor-bar { position: fixed; z-index: 5; bottom: max(.65rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(34rem, calc(100% - 1.2rem)); padding: .65rem .7rem; color: var(--ink); background: #121c18; border: 1px solid #46645c; border-radius: 1rem; box-shadow: 0 12px 45px #000b; display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.editor-state, .editor-controls { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.editor-state > .icon { width: 2.4rem; height: 2.4rem; padding: .52rem; color: var(--blue); border: 1px solid #3b5e63; border-radius: .7rem; background: #142629; }
.editor-state strong, .editor-state span { display: block; line-height: 1.35; }
.editor-state span { color: var(--muted); font-size: .84rem; }
.editor-bar .button { padding: .58rem .8rem; }
.editor-more { position: relative; flex: 0 0 auto; }
.editor-more summary { cursor: pointer; display: grid; place-items: center; width: 2.85rem; height: 2.85rem; border: 1px solid #425a51; border-radius: .65rem; background: #1b2922; color: var(--ink); list-style: none; }
.editor-more summary::-webkit-details-marker { display: none; }
.editor-more[open] summary { border-color: var(--blue); }
.editor-menu { position: absolute; bottom: calc(100% + .85rem); right: 0; display: grid; gap: .25rem; width: max-content; min-width: 11.5rem; padding: .4rem; background: #15201a; border: 1px solid #46645c; border-radius: .75rem; box-shadow: 0 10px 32px #000a; }
.editor-menu .button { justify-content: flex-start; border: 1px solid transparent; background: transparent; }
.editor-menu .button:hover { background: #223229; }
dialog { width: min(34rem, calc(100% - 2rem)); max-height: min(86dvh, 48rem); color: var(--ink); background: #111916; border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem; }
dialog::backdrop { background: #030705c9; backdrop-filter: blur(4px); }
dialog:has(.dialog-photo, .dialog-video) { width: min(52rem, calc(100% - 2rem)); }
.dialog-video { display: block; width: 100%; max-height: min(67dvh, 37rem); background: #050807; border-radius: .55rem; }
.cart-dialog { position: fixed; inset: auto calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) auto; width: min(26rem, calc(100% - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right))); max-height: min(36rem, calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom))); margin: 0; padding: 0; overflow: hidden; border-color: var(--blue); border-top: .25rem solid var(--yellow); background: linear-gradient(150deg, #15221c, #0e1612); box-shadow: 0 10px 32px #000b; }
.cart-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.cart-dialog::backdrop { background: #03070582; backdrop-filter: none; }
.cart-dialog .dialog-head { margin: 0; padding: .5rem .75rem; border-bottom: 1px solid var(--line); }
.cart-dialog .dialog-head .icon-button { width: 2.4rem; height: 2.4rem; }
.cart-dialog .dialog-head h2 { overflow-wrap: anywhere; letter-spacing: -.035em; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.dialog-head h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
.dialog-photo { width: 100%; max-height: 57dvh; object-fit: contain; border-radius: .55rem; margin: .5rem 0 1rem; background: var(--bg); }
.dialog-fields { display: grid; gap: .85rem; }
.field { display: grid; gap: .3rem; font-weight: 700; }
.field input:not([type=color]), .field textarea { width: 100%; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: .55rem; padding: .65rem; }
.field textarea { min-height: 5.25rem; resize: vertical; }
.field input[type=color] { height: 2.6rem; width: 4.25rem; padding: .2rem; border: 1px solid var(--line); background: var(--bg); border-radius: .4rem; }
.field-hint { color: var(--muted); font-size: .9rem; font-weight: 400; }
.dialog-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.dialog-actions .danger { margin-left: auto; color: #ffaeaa; }
.editor-dialog { width: min(42rem, calc(100% - 2rem)); max-height: min(48rem, calc(100dvh - 2rem)); padding: 0; border: 1px solid #3d5850; border-top: 2px solid var(--blue); border-radius: 1.2rem; background: #101914; box-shadow: 0 24px 100px #000b; overflow: hidden; }
.editor-dialog[open], .editor-form { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.editor-dialog .dialog-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .85rem 1rem; margin: 0; background: linear-gradient(120deg, #1b2b22, #131e19 72%); border-bottom: 1px solid #354c42; }
.editor-dialog .dialog-head h2 { font-size: clamp(1.12rem, 3.4vw, 1.65rem); font-weight: 820; letter-spacing: -.025em; overflow-wrap: anywhere; }
.editor-dialog .dialog-head .icon-button { background: #18251e; border-color: #415a50; }
.editor-heading-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .72rem; border: 1px solid #3d6270; color: var(--blue); background: #182e34; }
.editor-form { grid-template-rows: minmax(0, 1fr) auto; }
.editor-scroll { min-height: 0; display: grid; grid-auto-rows: max-content; align-content: start; gap: .8rem; padding: .9rem 1rem 1rem; overflow: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #4e6b5c #142019; }
.editor-section { min-width: 0; padding: .9rem; background: #17221b; border: 1px solid #33483e; border-radius: .85rem; }
.editor-section h3 { margin-bottom: .75rem; font-size: .93rem; line-height: 1.2; color: var(--blue); font-weight: 790; }
.editor-section .dialog-fields { gap: .72rem; }
.editor-dialog .field { min-width: 0; font-weight: 690; gap: .34rem; }
.editor-dialog .field input:not([type=color]), .editor-dialog .field textarea { min-width: 0; min-height: 2.85rem; border: 1px solid #40534a; border-radius: .58rem; padding: .66rem .73rem; background: #0f1713; font-size: 1rem; font-weight: 480; }
.editor-dialog .field input:not([type=color]):focus, .editor-dialog .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.editor-dialog .field textarea { min-height: 5rem; }
.editor-columns, .editor-palette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.editor-palette { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editor-swatch { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; min-width: 0; }
.editor-swatch output { font: .82rem ui-monospace, monospace; color: var(--muted); }
.editor-dialog .field input[type=color] { width: 3rem; height: 2.8rem; border: 1px solid #526760; padding: .15rem; border-radius: .58rem; background: #0f1713; cursor: pointer; }
.editor-dialog input[type=color]::-webkit-color-swatch-wrapper { padding: .18rem; }
.editor-dialog input[type=color]::-webkit-color-swatch { border: 0; border-radius: .32rem; }
.editor-image { display: grid; grid-template-columns: minmax(4.75rem, 24%) minmax(0, 1fr); gap: .8rem; padding: .6rem; background: #101b16; border: 1px dashed #4b655b; border-radius: .75rem; min-width: 0; }
.editor-image.wide { grid-template-columns: 1fr; gap: 0; padding: 0; border-style: solid; overflow: hidden; }
.editor-image-preview { position: relative; display: grid; place-items: center; align-self: stretch; min-height: 5.25rem; overflow: hidden; background: #203129; border-radius: .5rem; }
.editor-image-preview .icon { color: #91b5a3; }
.editor-image-preview:has(img:not([hidden])) .icon { visibility: hidden; }
.editor-image-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.editor-image-preview img[hidden] { display: none; }
.editor-image.wide .editor-image-preview { min-height: clamp(7rem, 26vw, 11rem); border-radius: 0; }
.editor-image.wide img { object-fit: cover; object-position: 50% 49%; }
.editor-image-info { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: space-between; gap: .35rem .6rem; min-width: 0; }
.editor-image.wide .editor-image-info { padding: .65rem .8rem; }
.editor-image-label { font-weight: 740; font-size: .95rem; }
.editor-image-name { order: 3; flex: 1 1 100%; overflow-wrap: anywhere; }
.editor-file { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: .42rem .65rem; gap: .4rem; color: var(--blue); background: #18282a; border: 1px solid #41616a; border-radius: .55rem; font-size: .9rem; font-weight: 750; cursor: pointer; position: relative; }
.editor-file:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.editor-file input { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; }
.editor-order { display: flex; gap: .5rem; }
.editor-footer { position: relative; padding: .7rem 1rem .8rem; background: #17241c; border-top: 1px solid #41574c; box-shadow: 0 -5px 20px #0003; }
.editor-footer-actions, .editor-primary { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.editor-primary { margin-left: auto; }
.editor-footer-actions .danger { color: #ffb8ad; border-color: #704e49; background: #2b1d1a; }
.editor-footer .field-hint { margin-top: .43rem; font-size: .83rem; }
.editor-error { margin-bottom: .45rem; padding: .45rem .65rem; color: #ffd3c9; background: #38221c; border: 1px solid #855549; border-radius: .5rem; }
.quote-preview { width: 100%; min-height: 12rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: .5rem; resize: vertical; padding: .75rem; margin: .8rem 0 0; }
#notice { position: fixed; bottom: calc(5.4rem + env(safe-area-inset-bottom)); z-index: 6; left: 50%; transform: translateX(-50%); background: #19241d; border: 1px solid var(--green); padding: .65rem .9rem; border-radius: .55rem; max-width: calc(100% - 2rem); width: max-content; }
#notice:empty { display: none; }
body:has(.editor-bar) #notice { bottom: calc(9.8rem + env(safe-area-inset-bottom)); }
@media (max-width: 1030px) {
  .header-inner { gap: .75rem; }
  .header-inner .brand-text { display: none; }
  nav { gap: 1.25rem; }
}
@media (max-width: 730px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; height: 5.25rem; }
  .nav-toggle { display: inline-grid !important; justify-self: end; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem var(--gutter); box-shadow: 0 12px 20px #0008; }
  .site-header nav.open { display: grid; gap: .15rem; }
  .site-header nav a { padding: .7rem 0; }
  .hero { min-height: clamp(28rem, 88vw, 34rem); align-items: end; }
  .hero-art { inset: 0 0 0 13%; border-top-left-radius: 35% 42%; border-left-width: .25rem; }
  .hero-art::after { background: linear-gradient(0deg,#090c0b 2%,#090c0bf0 18%,#090c0b1a 88%),linear-gradient(90deg,#090c0bb0,transparent 79%); }
  .hero-art img { object-position: 64% 42%; }
  .hero-copy { padding-block: 4rem 2rem; }
  .hero-copy h1 { font-size: clamp(2.95rem, 10.9vw, 4.7rem); }
  .hero-copy p { margin: .65rem 0 1.15rem; }
  .model-grid { grid-auto-rows: minmax(8.6rem, auto); }
  .model-grid .photo-tile:first-child { min-height: 18rem; }
  .contact-banner { grid-template-columns: minmax(0, 1fr); }
  .projects-grid { grid-template-columns: minmax(0, 24rem); }
  .project-video-band { grid-template-columns: minmax(0, 1fr); }
  .project-video-grid { grid-auto-columns: min(72%, 17rem); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: .35rem; }
  .project-video-preview { scroll-snap-align: start; }
  .projects-grid.is-swipeable { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: var(--blue) var(--panel); }
  .projects-grid.is-swipeable .project-tile { scroll-snap-align: start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.3rem 1rem; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom .credit { justify-self: start; }
  .footer-actions { justify-content: flex-start; }
}
@media (max-width: 460px) {
  .section-head { gap: .6rem; flex-wrap: wrap; }
  .section-head .rule { min-width: 1rem; }
  .section-head .owner-tools { flex-basis: 100%; }
  .model-grid { gap: .55rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-grid .photo-tile:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 13.3rem; }
  .shape-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-grid .rounded-model { grid-column: 1 / -1; }
  .tile-body { padding: .55rem; gap: .35rem; }
  .tile-body .add { width: 2.5rem; height: 2.5rem; }
  .tile-body h3 { font-size: 1rem; }
  .accessory-grid { gap: .55rem; grid-template-columns: 1fr; }
  .accessory-grid .photo-tile { min-height: 9rem; }
  .projects-grid.is-swipeable { gap: .55rem; grid-auto-columns: 82%; }
  .contact-banner { padding: 1rem; }
  .footer-links { grid-template-columns: 1fr; }
  .editor-bar { padding: .5rem; gap: .35rem; }
  .editor-state { gap: .35rem; }
  .editor-state > .icon { display: none; }
  .editor-state strong { font-size: .91rem; }
  .editor-state span { font-size: .78rem; }
  .editor-controls { gap: .35rem; }
  .editor-controls .button { padding-inline: .52rem; font-size: .89rem; }
  .editor-controls .button > .icon { display: none; }
  .editor-more summary { width: 2.75rem; }
  .editor-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: .9rem; }
  .editor-dialog .dialog-head { padding: .62rem .7rem; gap: .5rem; }
  .editor-heading-icon { width: 2.45rem; height: 2.45rem; }
  .editor-scroll { padding: .66rem .68rem; gap: .65rem; }
  .editor-section { padding: .7rem; }
  .editor-columns { grid-template-columns: 1fr; }
  .editor-image-info { gap: .28rem; }
  .editor-image-name { order: 0; }
  .editor-footer { padding: .6rem .68rem; }
  .editor-footer .button { min-height: 2.75rem; padding-inline: .58rem; font-size: .9rem; }
  .editor-primary .button .icon { display: none; }
  .editor-footer .field-hint { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-tile, .photo-tile .tile-image, .button { transition: none; }
  .photo-tile:hover .tile-image { transform: none; }
}
body:has(.editor-bar) { padding-bottom: 6rem; }
