/* Dark House Prints. Press black, paper plates, process inks used only as print marks. */
:root {
  --ink: #000; --plate: #121212; --plate-2: #1b1b1b; --rule: #2c2c2c; --paper: #e8e8e4; --paper-2: #d9d9d4;
  --text: #f5f5f2; --mute: #9a9a96; --dim: #6c6c69;
  --cyan: #00aeef; --magenta: #ec008c; --yellow: #ffe500;
  --wide: 'Archivo', system-ui, sans-serif;
  --r: 4px; --max: 1280px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.55 var(--wide); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* type scale: 1.25 minor third on a 17px base, display in Archivo Expanded */
h1, h2, h3, .display { font-stretch: 125%; font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #d6d6d2; max-width: 34em; }
.small { font-size: 14px; color: var(--mute); }
.mute { color: var(--mute); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid var(--text);
  background: var(--text); color: var(--ink); font-weight: 700; font-stretch: 112%; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: #555; }
.btn.ghost:hover { border-color: var(--text); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.wide { width: 100%; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: #555; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--magenta); }

/* registration mark, the one recurring ornament */
.reg { width: 18px; height: 18px; flex: none; }

/* ---------- announcement + header ---------- */
.announce { background: var(--plate); border-bottom: 1px solid var(--rule); font-size: 13px; color: #cfcfcb; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; text-align: center; }
.announce .dots { display: flex; gap: 4px; } .announce .dots i { width: 7px; height: 7px; border-radius: 50%; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: block; width: 168px; color: var(--text); flex: none; }
.brand svg { width: 100%; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: var(--r); font-weight: 600; font-stretch: 110%; color: #cfcfcb; }
.nav a:hover { color: var(--text); background: var(--plate-2); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); border-radius: 0; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 14px; border: 1.5px solid #444; border-radius: var(--r); font-weight: 700; font-stretch: 110%; }
.cart-btn:hover { border-color: var(--text); }
.cart-btn b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--magenta); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.cart-btn b:empty { display: none; }
.menu-btn { display: none; background: none; border: 1.5px solid #444; border-radius: var(--r); padding: 8px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .site-head .wrap { gap: 12px; }
  .brand { width: 132px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #000; border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--text); }
}

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 112px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head p { max-width: 36em; color: var(--mute); margin: 12px 0 0; }
.rule-top { border-top: 1px solid var(--rule); }
.plate { background: var(--plate); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.press { position: relative; padding: clamp(28px, 5vw, 64px) clamp(8px, 3vw, 40px); }
.press .marks span { position: absolute; width: 26px; height: 26px; border-color: #3a3a3a; border-style: solid; border-width: 0; }
.press .marks span:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.press .marks span:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.press .marks span:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.press .marks span:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.press .regs { position: absolute; inset: 0; pointer-events: none; }
.press .regs svg { position: absolute; width: 20px; color: #444; }
.plates { position: relative; isolation: isolate; aspect-ratio: 1066 / 223; }
.plates svg { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.plates .c { color: var(--cyan); animation: regC 1.6s cubic-bezier(.2, .7, .1, 1) .25s both; }
.plates .m { color: var(--magenta); animation: regM 1.6s cubic-bezier(.2, .7, .1, 1) .25s both; }
.plates .y { color: var(--yellow); animation: regY 1.6s cubic-bezier(.2, .7, .1, 1) .25s both; }
@keyframes regC { from { transform: translate(-2.2%, -6%); opacity: .2 } 40% { opacity: 1 } to { transform: none } }
@keyframes regM { from { transform: translate(1.8%, 7%); opacity: .2 } 40% { opacity: 1 } to { transform: none } }
@keyframes regY { from { transform: translate(.6%, -9%); opacity: .2 } 40% { opacity: 1 } to { transform: none } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: clamp(32px, 5vw, 56px); }
.hero-grid h1 { font-size: clamp(36px, 5vw, 68px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-proof .tile:nth-child(2) { transform: translateY(-28px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-proof .tile:nth-child(2) { transform: none; } }

/* paper tiles hold product mockups like a photo plate */
.tile { background: var(--paper); border-radius: var(--r); overflow: hidden; position: relative; }
.tile svg { width: 100%; height: auto; aspect-ratio: 1; }
.tile.dark { background: #222; }

/* ---------- services list ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc h3 { font-size: clamp(26px, 3.6vw, 46px); transition: transform .25s; }
.svc p { color: var(--mute); margin: 10px 0 0; max-width: 44em; }
.svc .go { display: inline-flex; gap: 14px; margin-top: 12px; font-weight: 700; font-stretch: 110%; font-size: 15px; }
.svc .go a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #555; }
.svc .go a:hover { text-decoration-color: var(--magenta); }
.svc .tile { width: 150px; }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr 84px; gap: 14px; } .svc .tile { width: 84px; } }

/* ---------- studio feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature .demo { position: relative; }
.chip { position: absolute; background: #000; border: 1px solid #3a3a3a; border-radius: var(--r); padding: 8px 12px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border: 1.5px solid #444; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-stretch: 125%; }
.steps b { display: block; font-stretch: 112%; }
.steps span { color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- design cards ---------- */
.grid-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.dcard { text-decoration: none; display: block; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.dcard .tile { transition: transform .2s; }
.dcard:hover .tile { transform: translateY(-3px); }
.dcard h3 { font-size: 17px; font-stretch: 112%; font-weight: 700; margin: 12px 0 2px; }
.dcard .small { margin: 0; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.strip > * { scroll-snap-align: start; }

/* ---------- price table ---------- */
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th, .ptable td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--rule); }
.ptable th { font-stretch: 112%; font-weight: 700; color: var(--mute); font-size: 14px; }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.ptable tbody tr:hover { background: var(--plate); }

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.socials a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; font-stretch: 125%; }
.socials a:hover { color: #fff; } .socials a svg { width: 30px; height: 30px; color: var(--mute); } .socials a:hover svg { color: var(--magenta); }

/* ---------- forms ---------- */
label { display: block; font-size: 14px; font-weight: 600; color: #cfcfcb; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; background: #0b0b0b; border: 1.5px solid #333; border-radius: var(--r); }
textarea { min-height: 120px; resize: vertical; }
.input:focus, select:focus, textarea:focus { border-color: var(--text); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.err { color: #ff6b8f; font-size: 14px; min-height: 1.4em; }
.ok { color: #7fe0a6; }
.drop { border: 1.5px dashed #444; border-radius: var(--r); padding: 22px; text-align: center; color: var(--mute); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--text); color: var(--text); }

/* colour swatches + size grid */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #000; box-shadow: 0 0 0 1px #444; cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sizes label { margin: 0; text-align: center; font-size: 13px; color: var(--mute); }
.sizes input { text-align: center; padding: 8px 4px; min-height: 40px; margin-top: 4px; }
.seg { display: inline-flex; border: 1.5px solid #333; border-radius: var(--r); overflow: hidden; flex-wrap: wrap; }
.seg button { background: none; border: 0; padding: 10px 16px; cursor: pointer; font-weight: 600; font-stretch: 110%; color: var(--mute); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ink); }

/* ---------- modal ---------- */
dialog { border: 1px solid #333; border-radius: 6px; background: #0c0c0c; color: var(--text); padding: 0; width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 24px); }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-grid > div { padding: clamp(18px, 3vw, 32px); }
.modal-close { position: absolute; right: 10px; top: 10px; background: #000; border: 1px solid #333; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 20px; z-index: 2; }
@media (max-width: 760px) { .modal-grid { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--ink); padding: 12px 18px; border-radius: var(--r); font-weight: 700; z-index: 99; transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 56px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 14px; color: var(--mute); margin: 0 0 12px; font-weight: 600; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; color: #d6d6d2; }
.foot-grid a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--dim); }
.foot-base a { color: var(--mute); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page head ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--rule); }
.page-head p { margin: 16px 0 0; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed #333; border-radius: var(--r); color: var(--mute); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #333; border-radius: 99px; font-size: 13px; color: #cfcfcb; background: none; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; }
.filters .input { max-width: 280px; min-height: 40px; }

/* ---------- blanks ---------- */
.grid-blanks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.blank h3 { font-size: 20px; margin: 14px 0 4px; }
.blank .spec { font-size: 14px; color: var(--mute); margin: 0 0 10px; }
.blank .packs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: var(--r); margin-bottom: 12px; }
.blank .packs div { padding: 8px 10px; border-right: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
.blank .packs div:last-child { border-right: 0; }
.blank .packs b { display: block; color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }
.blank .packs div.on { background: var(--plate-2); }
.blank .dots { display: flex; gap: 4px; margin: 8px 0 0; flex-wrap: wrap; }
.blank .dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px #444; }
.fill-bar { height: 6px; background: #222; border-radius: 3px; overflow: hidden; margin-top: 10px; }
.fill-bar i { display: block; height: 100%; background: var(--magenta); transition: width .2s; }
.fill-bar.done i { background: #2fbf71; }

/* ---------- cart ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-grid .card { background: var(--plate); border: 1px solid var(--rule); border-radius: 6px; padding: 20px; position: sticky; top: 90px; }
.line-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.line-item:first-child { border-top: 1px solid var(--rule); }
.line-item .tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.line-item h3 { font-size: 18px; font-stretch: 112%; }
.line-item p { margin: 4px 0 0; font-size: 14px; color: var(--mute); }
.line-item .amt { font-weight: 800; font-stretch: 112%; text-align: right; }
.line-item .acts { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; }
.line-item .acts button, .line-item .acts a { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; cursor: pointer; }
.line-item .bad { color: #ff6b8f; font-size: 14px; margin-top: 6px; }
.price-box .line { display: flex; justify-content: space-between; font-size: 15px; color: #cfcfcb; margin-bottom: 4px; }
.price-box .big { font-size: 30px; font-weight: 800; font-stretch: 112%; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } .cart-grid .card { position: static; } .line-item { grid-template-columns: 84px minmax(0, 1fr); } .line-item .amt { grid-column: 2; text-align: left; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-grid p { max-width: 38em; color: #d6d6d2; }
.steps.how { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps.how li { grid-template-columns: 1fr; }
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-stretch: 112%; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--mute); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: #cfcfcb; margin: 0 0 20px; max-width: 44em; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .about-grid, .quote-grid { grid-template-columns: 1fr; } .steps.how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps.how { grid-template-columns: 1fr; } }

/* ---------- dashboard ---------- */
.adm-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-status { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.adm-status span { font-size: 12px; padding: 4px 10px; border-radius: 99px; border: 1px solid #333; }
.adm-status .on { border-color: #1d5a38; color: #a9f0c6; } .adm-status .off { border-color: #5a4700; color: #ffe58a; }
.adm-tabs { margin-bottom: 22px; }
.adm-card { background: var(--plate); border: 1px solid var(--rule); border-radius: 6px; padding: 18px; margin-bottom: 14px; }
.adm-card h3 { font-size: 18px; font-stretch: 112%; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.adm-card .meta { color: var(--mute); font-size: 14px; margin: 6px 0 12px; }
.adm-items { display: grid; gap: 10px; margin: 10px 0; }
.adm-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; font-size: 14px; }
.adm-item img, .adm-item .tile { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.adm-item a { color: var(--cyan); margin-right: 10px; }
.badge { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: #222; color: #ddd; font-stretch: 100%; font-weight: 600; }
.badge.paid, .badge.new { background: var(--magenta); color: #fff; } .badge.pending { background: #333; color: #aaa; } .badge.shipped, .badge.delivered, .badge.done { background: #1d5a38; color: #fff; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.adm-grid .adm-card { margin: 0; }
.adm-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #000; border-radius: 4px; margin-bottom: 10px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table td, .adm-table th { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: left; }
.adm-table input[type=number] { width: 90px; min-height: 36px; padding: 4px 8px; }
