/* =============================================================
   SNIZHANA — stylesheet
   Colours live in the :root block below. Change them there and
   they change everywhere on the site.

   This is a single dark theme on purpose: it matches her logo and
   poster, and black resin work reads far better against it than
   against white.
   ============================================================= */

:root{
  color-scheme: dark;

  /* --- the palette ------------------------------------------ */
  --bg:        #0A0A0B;   /* page background, near-black        */
  --surface:   #131316;   /* cards                              */
  --surface-2: #0E0E10;   /* alternating sections               */
  --ink:       #F2EDE4;   /* main text, warm ivory              */
  --muted:     #A79C8C;   /* secondary text                     */
  --gold:      #D2A857;   /* decorative gold — rules, fills     */
  --gold-ink:  #E6C68C;   /* gold used as TEXT (lighter)        */
  --btn-bg:    #D2A857;   /* primary button                     */
  --btn-bg-h:  #E6C68C;   /* primary button, hovered            */
  --btn-fg:    #0A0A0B;   /* text on the primary button         */
  --line:      rgba(242,237,228,.13);
  --shadow:    0 1px 2px rgba(0,0,0,.5), 0 14px 34px -14px rgba(0,0,0,.75);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 40px 70px -28px rgba(0,0,0,.9);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --r:    12px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- reset ------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
/* Must come before any rule that sets `display`. Without this, an
   element with `display:grid/flex` ignores the HTML hidden attribute
   entirely — which left the lightbox permanently covering the page. */
[hidden]{ display:none !important; }

html{ scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.68;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
button,input,select,textarea{ font:inherit; color:inherit; }
h1,h2,h3{ margin:0; line-height:1.12; font-weight:600; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
ul,ol{ margin:0; padding:0; list-style:none; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:24px; }
.skip{ position:absolute; left:-9999px; top:12px; z-index:100;
  background:var(--btn-bg); color:var(--btn-fg); padding:10px 18px; border-radius:8px; }
.skip:focus{ left:12px; }

/* --- shared type ------------------------------------------- */
.display{ font-family:var(--serif); font-weight:600; letter-spacing:-.012em; }
h1.display{ font-size:clamp(2.5rem,6vw,4.4rem); line-height:1.04; margin:.14em 0 .3em; }
h2.display{ font-size:clamp(2rem,4.3vw,3.1rem); margin:.1em 0 .4em; }

.eyebrow{
  font-size:.72rem; font-weight:500; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold-ink); margin:0;
}
.lede{ font-size:clamp(1.02rem,1.5vw,1.16rem); color:var(--muted); max-width:58ch; }

/* --- buttons ----------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:.86em 1.7em; border-radius:999px; border:1px solid transparent;
  font-size:.92rem; font-weight:500; letter-spacing:.02em; text-decoration:none; cursor:pointer;
  transition:transform .18s var(--ease), background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--btn-bg); color:var(--btn-fg); box-shadow:0 10px 30px -14px var(--gold); }
.btn-primary:hover{ background:var(--btn-bg-h); box-shadow:0 14px 34px -14px var(--gold); }
.btn-ghost{ border-color:var(--line); background:transparent; }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold-ink); }
.btn-sm{ padding:.6em 1.2em; font-size:.85rem; }
:where(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:6px;
}

/* =============== HEADER ==================================== */
.site-head{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:saturate(1.4) blur(16px);
  border-bottom:1px solid transparent; transition:border-color .3s, box-shadow .3s;
}
.site-head.stuck{ border-bottom-color:var(--line); }
.head-inner{ display:flex; align-items:center; gap:20px; height:76px; }
.logo{ display:flex; align-items:center; gap:11px; text-decoration:none; margin-right:auto; }
.logo-mark{ width:40px; height:40px; border-radius:50%; flex:none; }
.logo-words{ display:flex; flex-direction:column; justify-content:center; line-height:1.05; }
.logo-text{
  font-family:var(--serif); font-size:1.22rem; font-weight:600;
  letter-spacing:.16em; white-space:nowrap;
}
.logo-byline{
  font-size:.62rem; letter-spacing:.13em; text-transform:uppercase;
  color:var(--muted); margin-top:.35em; white-space:nowrap;
}

.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  text-decoration:none; font-size:.9rem; color:var(--muted);
  padding:.5em .9em; border-radius:999px; transition:color .18s, background .18s;
}
.nav a:hover{ color:var(--ink); background:rgba(242,237,228,.06); }
.nav .nav-cta{ color:var(--gold-ink); font-weight:500; }
.nav .nav-cta:hover{ background:color-mix(in srgb,var(--gold) 16%,transparent); color:var(--gold-ink); }

.head-tools{ display:flex; align-items:center; gap:8px; }
.lang-btn{
  background:transparent; border:1px solid var(--line); border-radius:999px;
  padding:.42em 1em; font-size:.82rem; font-weight:500; cursor:pointer;
  transition:border-color .18s, color .18s;
}
.lang-btn:hover{ border-color:var(--gold); color:var(--gold-ink); }

.burger{ display:none; width:40px; height:40px; background:none; border:0; cursor:pointer; padding:9px; }
.burger span{ display:block; height:1.5px; background:var(--ink); border-radius:2px;
  transition:transform .25s var(--ease), opacity .2s; }
.burger span+span{ margin-top:6px; }
.burger[aria-expanded="true"] span:first-child{ transform:translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child{ transform:translateY(-3.75px) rotate(-45deg); }

/* =============== HERO ====================================== */
.hero{ position:relative; padding:clamp(44px,7vw,88px) 0 clamp(56px,9vw,112px); overflow:hidden; }
.hero-glow{
  position:absolute; inset:-25% -10% auto -20%; height:80vh; pointer-events:none;
  background:
    radial-gradient(44% 50% at 24% 32%, color-mix(in srgb,var(--gold) 16%,transparent), transparent 70%),
    radial-gradient(38% 44% at 76% 16%, color-mix(in srgb,var(--gold) 10%,transparent), transparent 72%);
  filter:blur(24px);
}
.hero-inner{ position:relative; display:grid; grid-template-columns:1.02fr .98fr;
  gap:clamp(32px,5vw,72px); align-items:center; }
.hero-copy{ max-width:36rem; }
.hero-btns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:6px; }
.hero-stats{
  display:flex; flex-wrap:wrap; gap:clamp(20px,3.4vw,44px);
  margin-top:clamp(30px,5vw,50px); padding-top:26px; border-top:1px solid var(--line);
}
.hero-stats strong{ display:block; font-family:var(--serif); font-size:1.22rem; font-weight:600; }
.hero-stats span{ font-size:.81rem; color:var(--muted); }

.hero-art{ position:relative; aspect-ratio:1/1.02; min-height:360px; }
.hero-tile{
  position:absolute; border-radius:var(--r); overflow:hidden;
  background-size:cover; background-position:center;
  box-shadow:var(--shadow-lg); border:1px solid var(--line);
}
.hero-tile-a{ inset:0 24% 26% 0; z-index:2; }
.hero-tile-b{ inset:14% 0 0 40%; z-index:1; }
.hero-tile-c{ width:36%; aspect-ratio:1/1; left:5%; bottom:0; z-index:3; }

/* =============== SECTIONS ================================== */
.section{ padding:clamp(60px,8.5vw,112px) 0; }
.section-alt{ background:var(--surface-2); border-block:1px solid var(--line); }
.sec-head{ max-width:62ch; margin-bottom:clamp(28px,4vw,46px); }

/* --- filters ----------------------------------------------- */
.filters{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.chip{
  background:transparent; border:1px solid var(--line); border-radius:999px;
  padding:.52em 1.2em; font-size:.86rem; cursor:pointer;
  color:var(--muted); transition:all .2s var(--ease);
}
.chip:hover{ color:var(--ink); border-color:var(--muted); }
.chip[aria-selected="true"]{ background:var(--ink); border-color:var(--ink); color:var(--bg); }

/* --- gallery: masonry via CSS columns -----------------------
   Columns rather than a row grid, so every piece keeps its own
   proportions. Nothing is cropped to fit a box — a tall painting
   stays tall and a wide clock stays wide.                      */
.grid{
  columns:3 300px;
  column-gap:clamp(14px,1.8vw,22px);
}
.card{
  break-inside:avoid; -webkit-column-break-inside:avoid;
  margin:0 0 clamp(14px,1.8vw,22px); width:100%;
  position:relative; display:block;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; box-shadow:var(--shadow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  opacity:0; animation:cardIn .55s var(--ease) forwards;
}
@keyframes cardIn{ from{ opacity:0; transform:translateY(14px) } to{ opacity:1; transform:none } }
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg);
  border-color:color-mix(in srgb,var(--gold) 45%,var(--line)); }

.card-media{ position:relative; cursor:zoom-in; background:var(--surface-2);
  overflow:hidden; display:block; }
/* height:auto — the image dictates the tile's shape, never the reverse */
.card-media img{ width:100%; height:auto; display:block; transition:transform .6s var(--ease); }
.card:hover .card-media img{ transform:scale(1.03); }

/* play affordance on pieces that have a video */
.play{
  position:absolute; inset:auto 12px 12px auto; z-index:2;
  width:44px; height:44px; border-radius:50%;
  background:rgba(10,10,11,.66); backdrop-filter:blur(8px);
  border:1px solid color-mix(in srgb,var(--gold) 45%,transparent);
  display:grid; place-items:center; pointer-events:none;
  transition:background .25s, transform .25s var(--ease);
}
.play::before{
  content:""; width:0; height:0; margin-left:3px;
  border-left:12px solid var(--gold-ink);
  border-block:7.5px solid transparent;
}
.card:hover .play{ background:rgba(10,10,11,.85); transform:scale(1.08); }
.badges{ position:absolute; top:12px; left:12px; z-index:2; display:flex; gap:6px; flex-wrap:wrap; }
.badge{
  background:rgba(10,10,11,.72); backdrop-filter:blur(8px);
  border:1px solid var(--line); border-radius:999px;
  padding:.32em .8em; font-size:.68rem; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted);
}
.badge.gold{ color:var(--gold-ink); border-color:color-mix(in srgb,var(--gold) 40%,transparent); }
.badge.sold{ background:var(--ink); color:var(--bg); border-color:var(--ink); }

.card-body{ padding:17px 19px 19px; border-top:1px solid var(--line); }
.card-title{ font-family:var(--serif); font-size:1.4rem; font-weight:600; margin:0 0 .22em; }
.card-blurb{ font-size:.88rem; color:var(--muted); margin:0 0 .95em; line-height:1.6; }
.card-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.card-price{ font-family:var(--serif); font-size:1.2rem; font-weight:600; }
.card-link{
  background:none; border:0; padding:0; cursor:pointer; font-size:.87rem; font-weight:500;
  color:var(--gold-ink); text-decoration:none; border-bottom:1px solid transparent;
  transition:border-color .2s;
}
.card-link:hover{ border-bottom-color:currentColor; }

.gallery-note{
  margin-top:22px; padding:16px 20px; border:1px dashed var(--line); border-radius:var(--r);
  font-size:.88rem; color:var(--muted); text-align:center;
}

/* --- process steps ----------------------------------------- */
.steps{ display:grid; gap:clamp(16px,2vw,22px); grid-template-columns:repeat(auto-fit,minmax(238px,1fr)); }
.step{ position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:26px 24px 22px; box-shadow:var(--shadow); }
.step-n{ display:block; font-family:var(--serif); font-size:2rem; font-weight:600;
  color:var(--gold); line-height:1; margin-bottom:10px; }
.step h3{ font-family:var(--serif); font-size:1.32rem; margin-bottom:.35em; }
.step p{ font-size:.89rem; color:var(--muted); margin:0; line-height:1.62; }

/* --- about -------------------------------------------------- */
.about-inner{ display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(30px,5vw,72px); align-items:start; }
.about-art{ position:sticky; top:100px; }
.about-tile{ aspect-ratio:4/5; border-radius:var(--r); background-size:cover; background-position:center;
  box-shadow:var(--shadow-lg); border:1px solid var(--line); }
.about-copy p{ color:var(--muted); max-width:56ch; }
.about-quote{
  font-family:var(--serif); font-style:italic; font-size:clamp(1.3rem,2.2vw,1.7rem);
  line-height:1.42; color:var(--ink)!important; max-width:32ch;
  border-left:2px solid var(--gold); padding-left:22px; margin:0 0 1.3em;
}
.sig{ font-family:var(--serif); font-style:italic; font-size:1.7rem; color:var(--ink)!important;
  margin-top:.1em; }

/* --- full artist statement (expandable) --------------------- */
.statement{ border-top:1px solid var(--line); margin-top:26px; padding-top:20px; }
.statement summary{
  cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:.6em;
  font-size:.88rem; font-weight:500; color:var(--gold-ink);
}
.statement summary::-webkit-details-marker{ display:none; }
.statement summary::after{ content:"+"; font-size:1.15em; line-height:1; transition:transform .25s var(--ease); }
.statement[open] summary::after{ transform:rotate(45deg); }
.statement-body{ margin-top:18px; }
.statement-body h3{ font-family:var(--serif); font-size:1.5rem; margin-bottom:.5em; }
.statement-body p{ font-size:.95rem; }

/* =============== FORM ====================================== */
.form-wrap{ max-width:840px; }
.form{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(22px,3.4vw,38px); box-shadow:var(--shadow); }
.row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:.82rem; font-weight:500; margin-bottom:6px; color:var(--muted); }
.field input,.field select,.field textarea{
  width:100%; padding:.78em .95em; border-radius:9px; background:var(--bg);
  border:1px solid var(--line); transition:border-color .2s, box-shadow .2s; font-size:.96rem;
}
.field textarea{ resize:vertical; min-height:124px; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 22%,transparent);
}
.field.invalid input,.field.invalid textarea{ border-color:#E0674F; }
.err{ display:none; font-style:normal; font-size:.78rem; color:#E0674F; margin-top:5px; }
.field.invalid .err{ display:block; }
.hp{ position:absolute; left:-9999px; }

.form-foot{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:6px; }
.fine{ font-size:.78rem; color:var(--muted); margin:0; flex:1 1 220px; }
.form-msg{ margin-top:18px; padding:16px 18px; border-radius:9px; font-size:.91rem; }
.form-msg h4{ margin:0 0 .3em; font-family:var(--serif); font-size:1.25rem; font-weight:600; }
.form-msg p{ margin:0; }
.form-msg.ok{ background:color-mix(in srgb,var(--gold) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--gold) 38%,transparent); }
.form-msg.bad{ background:rgba(224,103,79,.1); border:1px solid rgba(224,103,79,.4); }
.form-msg a{ color:var(--gold-ink); }

.contact-strip{ margin-top:clamp(30px,4vw,44px); text-align:center; }
.contact-strip h3{ font-family:var(--serif); font-size:1.55rem; margin-bottom:.65em; }
.contact-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }

/* =============== FOOTER ==================================== */
.site-foot{ border-top:1px solid var(--line); padding:46px 0; background:var(--bg); }
.foot-inner{ display:flex; flex-wrap:wrap; gap:18px 32px; align-items:center; justify-content:space-between; }
.foot-brand{ font-family:var(--serif); font-size:1.25rem; letter-spacing:.16em; margin:0; }
.foot-byline{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin:.4em 0 0; }
.foot-tag{ font-size:.78rem; color:var(--gold-ink); letter-spacing:.06em; margin:.5em 0 0; }
.foot-city,.foot-legal{ font-size:.81rem; color:var(--muted); margin:0; }

/* =============== LIGHTBOX ================================== */
.lightbox{
  position:fixed; inset:0; z-index:90; display:grid; place-items:center; padding:24px;
  background:rgba(6,6,7,.93); backdrop-filter:blur(10px); animation:fade .25s var(--ease);
}
@keyframes fade{ from{opacity:0} to{opacity:1} }
.lb-figure{ margin:0; max-width:min(1040px,94vw); max-height:88vh; display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; box-shadow:var(--shadow-lg); }
.lb-figure img,.lb-figure video{ width:100%; max-height:64vh; object-fit:contain; background:#000; display:block; }
.lb-figure figcaption{ padding:18px 22px 22px; }
.lb-figure h3{ font-family:var(--serif); font-size:1.6rem; margin:0 0 .25em; }
.lb-figure p{ color:var(--muted); font-size:.92rem; margin:0; }
.lb-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:14px; }
.lb-count{ font-size:.78rem; color:var(--muted); letter-spacing:.08em; }
.lb-close,.lb-nav{
  position:absolute; z-index:2; background:rgba(255,255,255,.09); color:#fff;
  border:1px solid rgba(255,255,255,.2); border-radius:50%; cursor:pointer;
  display:grid; place-items:center; transition:background .2s, transform .2s;
}
.lb-close{ top:20px; right:22px; width:44px; height:44px; font-size:1.7rem; line-height:1; }
.lb-nav{ top:50%; margin-top:-24px; width:48px; height:48px; font-size:2rem; line-height:1; }
.lb-prev{ left:max(16px,3vw); } .lb-next{ right:max(16px,3vw); }
.lb-close:hover,.lb-nav:hover{ background:rgba(255,255,255,.2); }
.lb-nav:hover{ transform:scale(1.07); }
body.lb-open{ overflow:hidden; }

/* =============== REVEAL ON SCROLL ==========================
   Scoped to .js so that if JavaScript never runs, the content is
   simply visible rather than stuck at opacity 0.               */
.js .reveal{ opacity:0; transform:translateY(20px);
  transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in{ opacity:1; transform:none; }

/* =============== RESPONSIVE ================================ */
@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:470px; margin-inline:auto; min-height:320px; }
  .about-inner{ grid-template-columns:1fr; }
  .about-art{ position:static; max-width:330px; }
}
@media (max-width:720px){
  body{ font-size:16px; }
  .burger{ display:block; }
  .nav{
    position:fixed; inset:76px 0 auto; flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg); border-bottom:1px solid var(--line); padding:8px 20px 20px;
    transform:translateY(-130%); transition:transform .32s var(--ease); box-shadow:var(--shadow-lg);
  }
  .nav.open{ transform:none; }
  .nav a{ padding:.85em .4em; font-size:1.04rem; border-radius:8px; }
  .nav .nav-cta{ margin-top:6px; text-align:center; background:var(--btn-bg); color:var(--btn-fg); }
  .row{ grid-template-columns:1fr; gap:0; }
  .grid{ columns:2 220px; }
  .about-quote{ padding-left:18px; }
  .foot-inner{ flex-direction:column; align-items:flex-start; }
  .lb-nav{ width:42px; height:42px; }
  .lb-prev{ left:8px; } .lb-next{ right:8px; }
}
@media (max-width:460px){
  .grid{ columns:1; }
}

/* "DECO ART HAUS" is a long wordmark. At full size the header needs
   ~433px, so below 470px it shrinks and the byline drops (it's still
   in the footer). Keep this breakpoint above 440 or the language
   button gets pushed off the edge on small phones. */
@media (max-width:470px){
  .site-head .wrap{ padding-inline:16px; }
  .head-inner{ gap:10px; }
  .logo{ gap:8px; min-width:0; }
  .logo-mark{ width:34px; height:34px; }
  .logo-text{ font-size:1.02rem; letter-spacing:.1em; }
  .logo-byline{ display:none; }
  .lang-btn{ padding:.4em .72em; font-size:.76rem; }
  .burger{ width:36px; margin-right:-6px; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms!important; transition-duration:.001ms!important; }
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1; transform:none; }
  .card{ opacity:1; animation:none; }
}
