:root {
  --bg: #050505;
  --text: #f3f1eb;
  --muted: #a7a49d;
  --line: rgba(243,241,235,.28);
  --pad: clamp(18px, 3vw, 42px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 14px; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: var(--pad); mix-blend-mode: difference; }
.solid-header { mix-blend-mode: normal; background: rgba(5,5,5,.92); border-bottom: 1px solid rgba(243,241,235,.12); }
.wordmark { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(24px, 3vw, 42px); line-height: .9; letter-spacing: -.06em; }
nav { display: flex; gap: clamp(18px, 3vw, 42px); }
nav a, .site-footer a { font-size: 11px; font-weight: 600; letter-spacing: .08em; }
nav a { opacity: .72; }
nav a:hover, nav a.active { opacity: 1; }
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 35%, rgba(0,0,0,.32)); pointer-events: none; }
.hero-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(72px, 17vw, 260px); line-height: .8; letter-spacing: -.075em; white-space: nowrap; }
.scroll-cue { position: absolute; bottom: var(--pad); left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .14em; }
.join-section { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: 15vh var(--pad); max-width: 900px; margin: auto; }
.eyebrow { margin: 0 0 18px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
h1 { margin: 0; font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(48px, 9vw, 130px); line-height: .88; letter-spacing: -.065em; }
.join-copy { color: var(--muted); max-width: 360px; line-height: 1.5; margin: 28px 0 34px; }
.join-form, .early-form { display: flex; max-width: 620px; border-bottom: 1px solid var(--line); }
input, select, textarea { border: 0; border-radius: 0; background: transparent; outline: none; }
.join-form input, .early-form input { flex: 1; min-width: 0; padding: 15px 0; text-transform: uppercase; letter-spacing: .06em; }
.join-form button, .early-form button, .contact-form button { border: 0; background: transparent; cursor: pointer; padding: 15px 0 15px 20px; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
::placeholder { color: #77736c; opacity: 1; }
.site-footer { display: flex; justify-content: space-between; padding: 26px var(--pad); border-top: 1px solid rgba(243,241,235,.12); color: #85827b; }
.site-footer span { font-size: 10px; letter-spacing: .08em; }
.page { padding: 150px var(--pad) 80px; min-height: calc(100svh - 70px); }
.blank-work { min-height: 100svh; }
.store-page { display: grid; place-items: center; }
.store-card { width: min(900px, 100%); }
.store-card > p:not(.eyebrow) { margin: 30px 0 45px; color: var(--muted); letter-spacing: .1em; font-size: 11px; }
.early-form { max-width: 700px; }
.contact-page { display: grid; align-items: center; }
.contact-layout { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); align-items: start; }
.email-link { display: inline-block; margin-top: 34px; border-bottom: 1px solid var(--line); padding-bottom: 7px; font-size: 12px; }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { margin-top: 20px; margin-bottom: 7px; font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border-bottom: 1px solid var(--line); padding: 10px 0; resize: vertical; }
.contact-form select { appearance: none; }
.contact-form button { align-self: flex-start; padding: 20px 0 8px; border-bottom: 1px solid var(--text); }
.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; }
@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  nav { gap: 14px; padding-top: 5px; }
  nav a { font-size: 9px; }
  .hero { width: 100vw; height: 100dvh; min-height: 100dvh; }
  .hero-video { width: 100vw; height: 100dvh; object-fit: cover; object-position: center center; }
  .contact-layout { grid-template-columns: 1fr; gap: 70px; }
  .page { padding-top: 125px; }
  h1 { font-size: clamp(46px, 15vw, 88px); }
}
/* ---------- PORTFOLIO ---------- */
/* Every tile is the same 4:5 shape and the image fills it (object-fit: cover), so rows line up with no gaps.
   Tapping a tile opens the full, uncropped image in the viewer. */
.work-page { padding-top: 125px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1vw, 14px); margin: 0; padding: 0; list-style: none; }
.work-item { margin: 0; }
.work-link { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111; cursor: zoom-in; }
.work-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-link:hover img { transform: scale(1.03); }
.work-link:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
@media (min-width: 1400px) { .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .work-page { padding-top: 100px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}
.work-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); border: 0; background: rgba(5,5,5,.97); color: var(--text); }
.work-viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.work-viewer::backdrop { background: rgba(0,0,0,.9); }
.viewer-bar, .viewer-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); }
.viewer-nav { justify-content: center; gap: 40px; }
.viewer-count { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.viewer-btn { border: 0; background: transparent; cursor: pointer; padding: 8px 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; opacity: .72; }
.viewer-btn:hover, .viewer-btn:focus-visible { opacity: 1; }
.viewer-stage { min-height: 0; display: grid; place-items: center; padding: 0 var(--pad); }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; user-select: none; }
@media (prefers-reduced-motion: reduce) { .work-link img { transition: none; } .work-link:hover img { transform: none; } }

/* ---------- STORE ---------- */
.store-page:has(.store-shop:not([hidden])) { display: block; padding-top: 125px; }
.store-shop[hidden], .store-card[hidden] { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.product-card { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.product-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.product-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.product-card:hover .product-img img, .product-card:focus-visible .product-img img { transform: scale(1.03); }
.product-card:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
.product-card.is-sold .product-img img { opacity: .45; }
.product-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.product-price { color: var(--muted); white-space: nowrap; }
.store-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 80px); margin-top: 110px; padding-top: 40px; border-top: 1px solid rgba(243,241,235,.12); }
.store-info h3 { margin: 0 0 12px; font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.store-info p { margin: 0; line-height: 1.6; max-width: 34ch; }
.store-info a { border-bottom: 1px solid var(--line); }
.product-dialog { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 1px solid rgba(243,241,235,.15); background: var(--bg); color: var(--text); overflow: auto; }
.product-dialog::backdrop { background: rgba(0,0,0,.82); }
.dialog-close { position: sticky; top: 0; z-index: 2; display: block; margin: 0 0 0 auto; padding: 16px 20px; border: 0; background: var(--bg); cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.dialog-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 60px); padding: 0 clamp(18px, 3vw, 40px) clamp(24px, 4vw, 50px); align-items: start; }
.dialog-gallery { display: grid; gap: 12px; }
.dialog-gallery img { display: block; width: 100%; height: auto; background: #111; }
.dialog-info { position: sticky; top: 56px; }
.dialog-info h2 { margin: 0; font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(30px, 4vw, 52px); line-height: .92; letter-spacing: -.05em; font-weight: 400; }
.dialog-price { margin: 18px 0 24px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.dialog-desc { line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.dialog-details { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(243,241,235,.12); }
.dialog-details li { padding: 10px 0; border-bottom: 1px solid rgba(243,241,235,.12); font-size: 12px; letter-spacing: .04em; }
.product-action { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.buy-btn { display: inline-block; padding: 16px 30px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.buy-btn:hover { opacity: .85; }
.sold-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.text-link { border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.dialog-note { margin: 18px 0 0; font-size: 10px; letter-spacing: .06em; color: #77736c; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .store-page:has(.store-shop:not([hidden])) { padding-top: 100px; }
  .product-grid { gap: 12px; }
  .store-info { grid-template-columns: 1fr; margin-top: 70px; }
  .dialog-body { grid-template-columns: 1fr; }
  .dialog-info { position: static; order: -1; }
}

/* ---------- FRONT PAGE ---------- */
.front { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--pad); max-width: 1200px; margin: 0 auto; }
.front-title { font-size: clamp(72px, 17vw, 240px); line-height: .8; margin: 0 0 clamp(36px, 7vh, 80px) -.04em; }
.front-nav { display: flex; flex-direction: column; gap: clamp(6px, 1.2vh, 14px); }
.front-nav a { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(28px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; width: fit-content; opacity: .6; transition: opacity .2s; }
.front-nav a:hover, .front-nav a:focus-visible { opacity: 1; }
@media (hover: none) { .front-nav a { opacity: 1; } }

/* ---------- CONTACT FORM STATUS ---------- */
.form-status { margin: 22px 0 0; min-height: 1.4em; font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: var(--muted); }
.form-status[data-state="success"] { color: var(--text); }
.form-status[data-state="error"] { color: #ff8a7a; }
.contact-form button:disabled { opacity: .5; cursor: default; }

/* ---------- PROJECTS ---------- */
.projects-page { padding-top: 150px; }
.pj-intro { max-width: 1400px; margin: 0 auto 120px; }
.pj-lede { max-width: 52ch; margin: 30px 0 60px; color: var(--muted); line-height: 1.6; font-size: 15px; }
.pj-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(243,241,235,.12); }
.pj-index a { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(243,241,235,.12); transition: padding .25s ease, color .25s; }
.pj-index a:hover, .pj-index a:focus-visible { padding-left: 10px; }
.pj-idx-n { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pj-idx-t { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.05; }
.pj-idx-m { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; text-align: right; }
.project { max-width: 1400px; margin: 0 auto; padding: 90px 0; border-top: 1px solid rgba(243,241,235,.12); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 90px); scroll-margin-top: 90px; }
.pj-text { position: sticky; top: 120px; align-self: start; }
.pj-num { margin: 0 0 18px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pj-title { margin: 0; font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: clamp(38px, 5vw, 76px); line-height: .9; letter-spacing: -.055em; }
.pj-sub { margin: 14px 0 26px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pj-meta { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(243,241,235,.12); }
.pj-meta li { padding: 9px 0; border-bottom: 1px solid rgba(243,241,235,.12); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.pj-body p { margin: 0 0 16px; line-height: 1.65; font-size: 14.5px; max-width: 60ch; }
.inline-link { border-bottom: 1px solid var(--text); }
.pj-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pj-tags li { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border: 1px solid rgba(243,241,235,.22); color: var(--muted); }
.pj-lead { display: block; background: #111; cursor: zoom-in; overflow: hidden; }
.pj-lead img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: cover; transition: transform .6s ease; }
.pj-lead:hover img { transform: scale(1.015); }
.pj-grid { list-style: none; margin: clamp(6px, 1vw, 12px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.pj-grid-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pj-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111; cursor: zoom-in; }
.pj-tile img, .pj-tile video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.pj-tile:hover img { transform: scale(1.03); }
.pj-tile:focus-visible, .pj-lead:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
.pj-video { cursor: pointer; }
.pj-video-tag { position: absolute; left: 8px; top: 8px; padding: 4px 7px; background: rgba(5,5,5,.7); font-size: 9px; font-weight: 600; letter-spacing: .14em; pointer-events: none; }
.pj-label { margin: 0 0 22px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.pj-extra { margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(243,241,235,.12); }
.pj-extra-item + .pj-extra-item { margin-top: 40px; }
.pj-extra h4, .more-item h4 { margin: 0; font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: 22px; letter-spacing: -.03em; }
.pj-extra-meta { margin: 6px 0 10px; font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.pj-extra p:not(.pj-extra-meta), .more-item p:not(.pj-extra-meta) { margin: 0; line-height: 1.6; max-width: 60ch; }
.pj-more { max-width: 1400px; margin: 0 auto; padding: 90px 0; border-top: 1px solid rgba(243,241,235,.12); scroll-margin-top: 90px; }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.more-item .pj-tile { margin-bottom: 14px; }
.pj-cta { max-width: 1400px; margin: 0 auto; padding: 100px 0 40px; border-top: 1px solid rgba(243,241,235,.12); }
.pj-cta-line { margin: 0 0 30px; font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(28px, 4vw, 56px); line-height: .95; letter-spacing: -.045em; max-width: 18ch; }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; padding: 70px 0; }
  .pj-text { position: static; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .projects-page { padding-top: 110px; }
  .pj-intro { margin-bottom: 70px; }
  .pj-index a { grid-template-columns: 34px 1fr; }
  .pj-idx-m { grid-column: 2; text-align: left; }
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pj-lead img { max-height: 75vh; }
}
@media (prefers-reduced-motion: reduce) { .pj-tile img, .pj-lead img, .pj-index a { transition: none; } a.pj-tile:hover img, .pj-lead:hover img { transform: none; } }

/* ---------- COMMERCIAL LIST: one big image per project, title over it ---------- */
.commercial-page { padding-top: 125px; }
.cm-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1400px; display: grid; gap: clamp(14px, 2.5vw, 36px); }
.cm-card { position: relative; display: block; height: min(82vh, 860px); overflow: hidden; background: #111; }
.cm-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.72)); pointer-events: none; }
.cm-card:hover img { transform: scale(1.02); }
.cm-card:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
.cm-cap { position: absolute; z-index: 1; left: clamp(18px, 3vw, 44px); right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 40px); display: grid; gap: 10px; }
.cm-num { font-size: 10px; font-weight: 600; letter-spacing: .16em; opacity: .8; }
.cm-title { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(40px, 7vw, 110px); line-height: .88; letter-spacing: -.055em; }
.cm-meta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.commercial-page .pj-more { margin-top: 90px; }
/* project detail pages */
.project-detail .project { border-top: 0; padding-top: 30px; }
.pj-back { display: block; max-width: 1400px; margin: 0 auto; font-size: 11px; font-weight: 600; letter-spacing: .1em; opacity: .72; }
.pj-back:hover { opacity: 1; }
.pj-pager { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; padding: 50px 0; border-top: 1px solid rgba(243,241,235,.12); }
.pj-pager a { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.05; }
.pj-pager a:last-child { text-align: right; }
.pj-pager span { display: block; margin-bottom: 10px; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
@media (max-width: 700px) {
  .commercial-page { padding-top: 100px; }
  .cm-card { height: 72vh; }
  .project-detail { padding-top: 100px; }
}
@media (prefers-reduced-motion: reduce) { .cm-card img { transition: none; } .cm-card:hover img { transform: none; } }
