/*
Theme Name: Vitrine
Theme URI: https://example.com/vitrine
Author: Atelier Studio
Author URI: https://example.com
Description: Vitrine is a gallery-first WooCommerce theme for artists, printmakers and small studios. Dark "gallery after dark" walls lit by a brass accent, a day/night Lights switch, catalogue plates with spec tables, a marquee ticker, an inspect-mode lightbox, and a slide-in cart drawer. Built for originals, editions and prints.
Version: 1.6.1
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vitrine
Tags: e-commerce, gallery, portfolio, dark-mode, two-column, custom-colors, full-width-template, translation-ready
*/

/* ==========================================================================
   VITRINE — Design System
   --------------------------------------------------------------------------
   Concept: "Gallery after dark."
   A dark, matte wall. The artwork is the only light source. A brass
   accent behaves like gallery track lighting; a bone/ivory surface is the
   daylight mode of the same gallery.

   Surfaces        night (default)  ->  day (Lights on)
   --bg            #0B0B0C          ->  #F4F1EA
   --surface       #16161A          ->  #FFFFFF
   --text          #F2EFE9          ->  #14130F
   --accent        brass #C6A461    ->  bronze #8A6A22

   Type
   Display   Bodoni Moda  — high-contrast didone, catalogue voice
   UI/body   Inter Tight  — silent, modern workhorse
   Labels    Space Mono   — accession numbers, specs, buttons

   Signature components
   .plate     catalogue plate: index no., hairline frame, spec table
   .specs     mono key/value spec rows (replaces the old "wall label")
   .ticker    infinite mono marquee
   .lights    day/night switch, persisted in localStorage
   .inspect   full-screen zoom-and-pan lightbox
   .drawer    slide-in mini cart
   ========================================================================== */

/* Fonts are bundled with the theme (SIL Open Font License), so pages make no
   request to Google and render the same offline, behind a firewall or under
   strict privacy rules. Latin range only; other scripts fall back to the
   system serif / sans. */
@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 900;font-display:swap;src:url(assets/fonts/bodoni-moda-latin-opsz-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 900;font-display:swap;src:url(assets/fonts/bodoni-moda-latin-opsz-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/inter-tight-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Mono';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/space-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Mono';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/space-mono-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Mono';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/space-mono-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root{
  /* --- night (default gallery) --- */
  --bg:#0B0B0C;
  --bg-2:#08080A;
  --surface:#16161A;
  --surface-2:#1E1E23;
  --text:#F2EFE9;
  --text-2:#B3AEA3;
  --text-3:#8F8B81;
  --hair:rgba(242,239,233,.14);
  --hair-soft:rgba(242,239,233,.07);
  --hair-strong:rgba(242,239,233,.34);
  --accent:#C6A461;
  --accent-deep:#E0C383;
  --accent-ink:#0B0B0C;
  --accent-wash:rgba(198,164,97,.12);
  --danger:#D4553C;
  --ok:#8FA98B;
  --img-bg:#0E0E10;
  --shadow:0 30px 70px -30px rgba(0,0,0,.85);
  --glow:radial-gradient(60% 60% at 50% 45%, rgba(198,164,97,.20), rgba(198,164,97,0) 70%);
  --scrim:rgba(8,8,10,.78);

  --font-display:'Bodoni Moda', 'Times New Roman', serif;
  --font-ui:'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --gutter:clamp(1.25rem, 4vw, 4.5rem);
  --container:1520px;
  --section-y:clamp(4.5rem, 9vw, 9.5rem);
  --radius:2px;
  --ease:cubic-bezier(.22,.61,.36,1);

  --header-h:76px;
}

/* --- day (Lights on) — the same gallery with the shutters open --- */
:root[data-lights="on"]{
  --bg:#F4F1EA;
  --bg-2:#EBE7DE;
  --surface:#FFFFFF;
  --surface-2:#F7F4EE;
  --text:#14130F;
  --text-2:#5E5B54;
  --text-3:#66625A;
  --hair:rgba(20,19,15,.15);
  --hair-soft:rgba(20,19,15,.075);
  --hair-strong:rgba(20,19,15,.38);
  --accent:#84641E;
  --accent-deep:#6B5117;
  --accent-ink:#FFFDF7;
  --accent-wash:rgba(132,100,30,.10);
  --danger:#AE3226;
  --ok:#5C7A58;
  --img-bg:#E4DFD4;
  --shadow:0 26px 60px -34px rgba(28,24,16,.42);
  --glow:radial-gradient(60% 60% at 50% 45%, rgba(132,100,30,.10), rgba(132,100,30,0) 70%);
  --scrim:rgba(244,241,234,.82);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-ui);
  font-size:16.5px;
  font-weight:400;
  line-height:1.62;
  letter-spacing:.002em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  transition:background-color .5s var(--ease), color .5s var(--ease);
}
body.is-locked{ overflow:hidden; padding-right:var(--sbw,0px); }
img,svg,video{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
table{ border-collapse:collapse; }
hr{ border:0; border-top:1px solid var(--hair); margin:0; }
::selection{ background:var(--accent); color:var(--accent-ink); }

/* keyboard focus, always visible */
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:1px; }
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:999;
  background:var(--accent); color:var(--accent-ink);
  padding:.8rem 1.2rem; font-family:var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em;
}
.skip-link:focus{ left:1rem; top:1rem; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:400;
  line-height:1.03;
  letter-spacing:-.015em;
  margin:0 0 .5em;
  color:var(--text);
}
h1{ font-size:clamp(2.9rem, 7.2vw, 6.6rem); }
h2{ font-size:clamp(2.1rem, 4.4vw, 4rem); }
h3{ font-size:clamp(1.35rem, 2vw, 1.9rem); line-height:1.14; }
h4{ font-size:clamp(1.05rem, 1.3vw, 1.25rem); line-height:1.25; }
p{ margin:0 0 1.15em; color:var(--text-2); max-width:70ch; }
h1+p, h2+p, h3+p{ margin-top:.2em; }
em,i{ font-style:italic; }
strong,b{ font-weight:600; color:var(--text); }
a.ul{ border-bottom:1px solid var(--hair-strong); padding-bottom:1px; transition:border-color .3s, color .3s; }
a.ul:hover{ border-color:var(--accent); color:var(--accent); }

.eyebrow,.kicker{
  font-family:var(--font-mono);
  font-size:.68rem;
  font-weight:400;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--text-3);
  display:block;
  margin:0 0 1.25em;
}
.eyebrow--accent{ color:var(--accent); }
.lede{
  font-size:clamp(1.02rem, 1.25vw, 1.2rem);
  line-height:1.6;
  color:var(--text-2);
  max-width:46ch;
}
.serif-italic{ font-family:var(--font-display); font-style:italic; }
.mono{ font-family:var(--font-mono); font-size:.78rem; letter-spacing:.04em; }
.num{ font-family:var(--font-mono); font-feature-settings:"tnum"; }

/* section index numeral: 01 / 02 / 03 */
.idx{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.18em;
  color:var(--accent);
  display:inline-block;
  margin-bottom:1.1rem;
  padding-left:2.6rem;
  position:relative;
}
.idx::before{
  content:''; position:absolute; left:0; top:.62em;
  width:1.9rem; height:1px; background:var(--hair-strong);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap{ width:100%; max-width:var(--container); margin:0 auto; padding:0 var(--gutter); }
.wrap--narrow{ max-width:900px; }
.wrap--mid{ max-width:1160px; }
.section{ padding:var(--section-y) 0; }
.section--tight{ padding:clamp(3rem,5vw,5rem) 0; }
.section--surface{ background:var(--surface); }
.section--edge{ border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); }

/* section head: rule + index + title + action */
.sec-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:clamp(1.5rem,4vw,4rem);
  padding-bottom:1.6rem;
  border-bottom:1px solid var(--hair);
  margin-bottom:clamp(2rem,4vw,3.6rem);
}
.sec-head__l{ flex:1 1 auto; min-width:0; }
.sec-head__l h2{ margin:0; }
.sec-head__l .idx{ margin-bottom:.9rem; }
.sec-head__r{ flex:0 0 auto; display:flex; align-items:center; gap:1.4rem; padding-bottom:.5rem; }
.sec-head p{ margin:0; max-width:34ch; font-size:.92rem; }
@media (max-width:760px){
  .sec-head{ flex-direction:column; align-items:flex-start; }
  .sec-head__r{ padding-bottom:0; }
}

/* 12-col grid helper */
.grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:var(--gutter); }
.grid--gap-sm{ gap:clamp(1rem,2vw,1.75rem); }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.09s; }
.reveal[data-delay="2"]{ transition-delay:.18s; }
.reveal[data-delay="3"]{ transition-delay:.27s; }
.reveal[data-delay="4"]{ transition-delay:.36s; }
.reveal[data-delay="5"]{ transition-delay:.45s; }

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

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn{
  --btn-bg:transparent;
  --btn-fg:var(--text);
  --btn-bd:var(--hair-strong);
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:.7em;
  font-family:var(--font-mono);
  font-size:.72rem; font-weight:400; letter-spacing:.16em; text-transform:uppercase;
  padding:1.15em 1.9em;
  background:var(--btn-bg); color:var(--btn-fg);
  border:1px solid var(--btn-bd); border-radius:0;
  cursor:pointer; overflow:hidden;
  transition:color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover{ transform:translateY(-2px); }
.btn--solid{ --btn-bg:var(--accent); --btn-fg:var(--accent-ink); --btn-bd:var(--accent); }
.btn--solid:hover{ --btn-bg:var(--accent-deep); --btn-bd:var(--accent-deep); }
.btn--ink{ --btn-bg:var(--text); --btn-fg:var(--bg); --btn-bd:var(--text); }
.btn--ink:hover{ --btn-bg:var(--accent); --btn-fg:var(--accent-ink); --btn-bd:var(--accent); }
.btn--ghost:hover{ --btn-bg:var(--text); --btn-fg:var(--bg); --btn-bd:var(--text); }
.btn--sm{ padding:.9em 1.4em; font-size:.66rem; }
.btn--lg{ padding:1.35em 2.4em; }
.btn--wide{ width:100%; }
.btn[disabled],.btn.is-disabled{ opacity:.35; cursor:not-allowed; transform:none; }

/* text link with animated rule */
.link-rule{
  display:inline-flex; align-items:center; gap:.8em;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text); padding-bottom:.35em; position:relative;
}
.link-rule::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:right;
  transition:transform .45s var(--ease);
}
.link-rule:hover::after{ transform:scaleX(1); transform-origin:left; }
.link-rule svg{ width:1em; height:1em; transition:transform .45s var(--ease); }
.link-rule:hover svg{ transform:translateX(4px); }

/* --------------------------------------------------------------------------
   6. Tags, badges, rules
   -------------------------------------------------------------------------- */
.tag{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase;
  padding:.5em .8em;
  border:1px solid var(--hair); color:var(--text-2);
  background:color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter:blur(6px);
}
.tag--sold{ color:var(--danger); border-color:color-mix(in srgb, var(--danger) 55%, transparent); }
.tag--accent{ color:var(--accent); border-color:color-mix(in srgb, var(--accent) 55%, transparent); }
.tag--ok{ color:var(--ok); border-color:color-mix(in srgb, var(--ok) 50%, transparent); }
.tag::before{
  content:''; width:5px; height:5px; border-radius:50%; background:currentColor; flex:0 0 auto;
}
.tag--plain::before{ display:none; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.gl-header{
  position:sticky; top:0; z-index:120;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(14px) saturate(120%);
  border-bottom:1px solid var(--hair-soft);
  transition:background-color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease);
}
.gl-header__bar{
  display:flex; align-items:center; gap:clamp(1rem,3vw,3rem);
  height:var(--header-h);
  width:100%; max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
}
.gl-header.is-stuck .gl-header__bar{ height:64px; }
.gl-header__bar{ transition:height .45s var(--ease); }

/* brand */
.brand{ display:flex; align-items:center; gap:.85rem; flex:0 0 auto; }
.brand__mark{
  width:30px; height:30px; flex:0 0 auto;
  border:1px solid var(--hair-strong); border-radius:50%;
  display:grid; place-items:center;
  font-family:var(--font-display); font-size:.82rem; font-style:italic;
  color:var(--accent);
  transition:border-color .4s var(--ease), transform .6s var(--ease);
}
.brand:hover .brand__mark{ border-color:var(--accent); transform:rotate(-12deg); }
.brand__type{
  font-family:var(--font-display);
  font-size:1.28rem; letter-spacing:.005em; line-height:1;
  display:flex; flex-direction:column; gap:.22em;
}
.brand__type small{
  font-family:var(--font-mono); font-size:.54rem; letter-spacing:.28em; text-transform:uppercase;
  color:var(--text-3);
}
.brand img{ max-height:34px; width:auto; }

/* primary nav */
.nav{ margin-left:auto; }
.nav > ul{ list-style:none; display:flex; align-items:center; gap:clamp(1.2rem,2.4vw,2.6rem); margin:0; padding:0; }
.nav li{ position:relative; }
.nav a{
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-2); padding:.5em 0; display:inline-block; position:relative;
  transition:color .3s var(--ease);
}
.nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--accent);
  transform:scaleX(0); transform-origin:right; transition:transform .45s var(--ease);
}
.nav a:hover, .nav .current-menu-item > a{ color:var(--text); }
.nav a:hover::after, .nav .current-menu-item > a::after{ transform:scaleX(1); transform-origin:left; }
/* dropdown */
.nav ul.sub-menu{
  list-style:none; margin:0; padding:.6rem 0; min-width:220px;
  position:absolute; left:-1rem; top:100%;
  background:var(--surface); border:1px solid var(--hair);
  box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav li:hover > ul.sub-menu, .nav li:focus-within > ul.sub-menu{ opacity:1; visibility:visible; transform:none; }
.nav ul.sub-menu li{ padding:0; }
.nav ul.sub-menu a{ display:block; padding:.55rem 1.2rem; }

/* tools */
.tools{ display:flex; align-items:center; gap:.35rem; flex:0 0 auto; }
.tool{
  position:relative;
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--text-2); background:none; border:1px solid transparent; cursor:pointer;
  padding:.7em .85em; border-radius:0;
  transition:color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.tool:hover{ color:var(--text); border-color:var(--hair); }
.tool svg{ width:16px; height:16px; flex:0 0 auto; }
.tool__label{ display:inline; }
.count{
  font-family:var(--font-mono); font-size:.6rem; line-height:1;
  min-width:1.55em; height:1.55em; padding:0 .35em;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent); color:var(--accent-ink); border-radius:99px;
}

/* lights switch */
.lights{ position:relative; }
.lights__track{
  width:44px; height:22px; border:1px solid var(--hair-strong); border-radius:99px;
  position:relative; flex:0 0 auto; transition:border-color .3s, background-color .3s;
}
.lights__dot{
  position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%;
  background:var(--text-2); transition:transform .45s var(--ease), background-color .45s var(--ease);
}
:root[data-lights="on"] .lights__dot{ transform:translateX(22px); background:var(--accent); }
.lights__icon{ display:grid; place-items:center; }
.lights__icon svg{ width:15px; height:15px; }
.lights .is-moon{ display:none; }
:root[data-lights="on"] .lights .is-moon{ display:block; }
:root[data-lights="on"] .lights .is-sun{ display:none; }

/* scroll progress */
.gl-header__prog{
  position:absolute; left:0; bottom:-1px; height:1px; width:100%;
  background:var(--accent); transform:scaleX(0); transform-origin:left; opacity:.9;
}

/* burger */
.burger{
  display:none; background:none; border:1px solid var(--hair); cursor:pointer;
  padding:.65em .8em;
}
.burger span{ display:block; width:20px; height:1px; background:var(--text); }
.burger span+span{ margin-top:5px; }

/* mobile drawer nav */
.mnav{
  position:fixed; inset:0; z-index:200;
  background:var(--bg);
  transform:translateY(-100%); visibility:hidden;
  transition:transform .6s var(--ease), visibility .6s;
  display:flex; flex-direction:column;
  padding:var(--gutter);
  overflow-y:auto;
}
.mnav.is-open{ transform:none; visibility:visible; }
.mnav__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:clamp(2rem,6vw,4rem); }
.mnav__close{ background:none; border:1px solid var(--hair); padding:.7em .9em; cursor:pointer; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; }
.mnav ul{ list-style:none; margin:0 0 auto; padding:0; }
.mnav ul li{ border-bottom:1px solid var(--hair-soft); }
.mnav ul a{
  display:flex; align-items:baseline; gap:1rem;
  font-family:var(--font-display); font-size:clamp(2rem,9vw,3.4rem);
  padding:.5em 0; line-height:1.1;
}
.mnav ul a .n{ font-family:var(--font-mono); font-size:.62rem; color:var(--accent); letter-spacing:.14em; }
.mnav__foot{ display:flex; flex-wrap:wrap; gap:1rem 2rem; padding-top:2rem; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); }

@media (max-width:1180px){
  .nav{ display:none; }
  .burger{ display:block; }
  .tool__label{ display:none; }
  .tool svg{ width:18px; height:18px; }
}
@media (min-width:1081px){ .mnav{ display:none; } }

/* --------------------------------------------------------------------------
   8. The catalogue plate (signature component)
   -------------------------------------------------------------------------- */
.plate{ position:relative; margin:0; }
.plate__frame{
  position:relative; overflow:hidden;
  background:var(--img-bg);
  border:1px solid var(--hair);
  aspect-ratio:var(--ar,.8);
}
.plate__frame img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease), opacity .6s var(--ease); }
.plate:hover .plate__frame img{ transform:scale(1.035); }
/* corner ticks — a printed registration mark */
.plate__tick{
  position:absolute; width:9px; height:9px; border:1px solid var(--accent);
  opacity:0; transition:opacity .45s var(--ease), transform .45s var(--ease);
  transform:scale(.6); pointer-events:none; z-index:3;
}
.plate__tick--tl{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.plate__tick--tr{ top:-1px; right:-1px; border-left:0; border-bottom:0; }
.plate__tick--bl{ bottom:-1px; left:-1px; border-right:0; border-top:0; }
.plate__tick--br{ bottom:-1px; right:-1px; border-left:0; border-top:0; }
.plate:hover .plate__tick{ opacity:1; transform:scale(1); }

.plate__no{
  position:absolute; top:0; left:0; z-index:3;
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.16em;
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  color:var(--text-2);
  padding:.5em .7em;
  border-right:1px solid var(--hair-soft); border-bottom:1px solid var(--hair-soft);
  backdrop-filter:blur(4px);
}
.plate__badges{ position:absolute; top:.75rem; right:.75rem; z-index:3; display:flex; flex-direction:column; gap:.4rem; align-items:flex-end; }
.plate__body{ padding-top:1.15rem; display:flex; flex-direction:column; gap:.85rem; }
.plate__title{
  font-family:var(--font-display); font-size:1.22rem; line-height:1.15; margin:0; font-weight:400;
}
.plate__title a{ transition:color .3s var(--ease); }
.plate:hover .plate__title a{ color:var(--accent); }
.plate__meta{
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-3); display:flex; flex-wrap:wrap; gap:.35em .8em;
}
.plate__meta span{ position:relative; }
.plate__meta span+span::before{ content:'/'; margin-right:.8em; color:var(--hair-strong); }
.plate__foot{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; border-top:1px solid var(--hair-soft); padding-top:.85rem; }
.plate__price{ font-family:var(--font-mono); font-size:.82rem; color:var(--text); letter-spacing:.02em; }
.plate__price del{ color:var(--text-3); margin-right:.5em; }
.plate__price ins{ text-decoration:none; color:var(--accent); }
.plate__state{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3); }
.plate__state.is-sold{ color:var(--danger); }
.plate__state.is-few{ color:var(--accent); }
.plate__hint{
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); opacity:0; transform:translateY(4px);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.plate:hover .plate__hint{ opacity:1; transform:none; }

/* plate variant: bare (no chrome, image only, for rails) */
.plate--bare .plate__frame{ border:0; }

/* --------------------------------------------------------------------------
   9. Spec rows (mono key/value, replaces the old wall label)
   -------------------------------------------------------------------------- */
.specs{ display:grid; gap:0; margin:0; border-top:1px solid var(--hair-soft); }
.specs > div{
  display:grid; grid-template-columns:minmax(88px, 26%) 1fr;
  gap:1rem; align-items:baseline;
  padding:.6rem 0; border-bottom:1px solid var(--hair-soft);
}
.specs dt{
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-3); margin:0;
}
.specs dd{ margin:0; font-size:.9rem; color:var(--text); }
.specs--tight > div{ padding:.45rem 0; }

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.hero{
  position:relative;
  padding:clamp(3rem,7vw,6.5rem) 0 clamp(3rem,6vw,5.5rem);
  border-bottom:1px solid var(--hair-soft);
  overflow:hidden;
}
.hero__inner{
  display:grid; grid-template-columns:1fr 1.05fr;
  gap:clamp(2rem,5vw,5.5rem); align-items:center;
}
.hero__copy{ position:relative; z-index:2; padding-right:clamp(0rem,2vw,2rem); }
.hero__title{ margin-bottom:.42em; letter-spacing:-.03em; }
.hero__title em{ display:block; font-style:italic; color:var(--accent); }
.hero__lede{ font-size:clamp(1rem,1.2vw,1.14rem); max-width:40ch; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:.9rem; margin:2.4rem 0 0; }
.hero__stats{
  display:flex; flex-wrap:wrap; gap:clamp(1.5rem,3vw,3rem);
  margin:clamp(2.5rem,5vw,4rem) 0 0; padding-top:1.8rem; border-top:1px solid var(--hair-soft);
}
.hero__stat{ margin:0; }
.hero__stat dt{
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--text-3); margin-bottom:.35em;
}
.hero__stat dd{ margin:0; font-family:var(--font-display); font-size:1.5rem; line-height:1; }

.hero__art{ position:relative; }
.hero__art .plate__frame{ aspect-ratio:5/4; }
.hero__glow{
  position:absolute; inset:-18% -12% -6% -12%; z-index:0; pointer-events:none;
  background:var(--glow);
  opacity:.85;
  transform:translate3d(var(--glow-x,0), var(--glow-y,0), 0);
  transition:transform .8s var(--ease);
}
.hero__caption{
  margin-top:1.5rem; display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:1rem 2rem;
  padding-top:1.1rem; border-top:1px solid var(--hair);
}
.hero__caption-l{ max-width:44ch; }
.hero__caption-l h3{ margin:0 0 .3em; font-size:clamp(1.25rem,1.8vw,1.6rem); }
.hero__scroll{
  position:absolute; left:var(--gutter); bottom:1.5rem; z-index:2;
  display:flex; align-items:center; gap:.7rem;
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-3);
}
.hero__scroll i{ display:block; width:46px; height:1px; background:var(--hair-strong); position:relative; overflow:hidden; }
.hero__scroll i::after{ content:''; position:absolute; inset:0; background:var(--accent); animation:scan 2.4s var(--ease) infinite; }
@keyframes scan{ 0%{ transform:translateX(-100%);} 60%,100%{ transform:translateX(100%);} }

@media (max-width:1000px){
  .hero__inner{ grid-template-columns:1fr; gap:clamp(2rem,6vw,3rem); }
  .hero__art{ order:-1; }
  .hero__art .plate__frame{ aspect-ratio:4/5; max-height:62vh; }
  .hero__scroll{ display:none; }
}

/* --------------------------------------------------------------------------
   11. Ticker / marquee
   -------------------------------------------------------------------------- */
.ticker{
  border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
  background:var(--bg-2);
  padding:1.05rem 0; overflow:hidden; position:relative;
  --speed:34s;
}
.ticker__track{ display:flex; width:max-content; animation:slide var(--speed) linear infinite; }
.ticker:hover .ticker__track{ animation-play-state:paused; }
.ticker__group{ display:flex; align-items:center; flex:0 0 auto; }
.ticker__item{
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--text-2); padding:0 1.6rem; white-space:nowrap;
}
.ticker__item b{ color:var(--accent); font-weight:400; }
.ticker__dot{ color:var(--accent); font-size:.5rem; }
@keyframes slide{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker__track{ animation:none; } }

/* --------------------------------------------------------------------------
   12. Works grid
   -------------------------------------------------------------------------- */
.works{ padding:var(--section-y) 0; }
.works__grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(2rem,3.2vw,3.6rem) clamp(1.25rem,2.4vw,2.6rem);
}
/* editorial rhythm: stagger every other column */
.works__grid > *:nth-child(3n+2){ transform:translateY(clamp(1.5rem,4vw,3.5rem)); }
@media (max-width:1000px){
  .works__grid{ grid-template-columns:repeat(2,1fr); }
  .works__grid > *:nth-child(3n+2){ transform:none; }
}
@media (max-width:620px){
  .works__grid{ grid-template-columns:1fr; }
}

/* --------------------------------------------------------------------------
   13. Statement / split band
   -------------------------------------------------------------------------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5.5rem); align-items:center; }
.split--art-left .split__media{ order:-1; }
.split__media{ position:relative; }
.split__media img{ width:100%; aspect-ratio:4/3; object-fit:cover; border:1px solid var(--hair); }
.split__media .plate__frame{ aspect-ratio:4/3; }
.split__body h2{ margin-bottom:.55em; }
.quote{
  font-family:var(--font-display); font-style:italic;
  font-size:clamp(1.5rem,3vw,2.6rem); line-height:1.22; color:var(--text); margin:0 0 1.6rem;
  letter-spacing:-.015em;
}
.quote::before{ content:'“'; color:var(--accent); }
.quote::after{ content:'”'; color:var(--accent); }
@media (max-width:880px){
  .split{ grid-template-columns:1fr; }
  .split--art-left .split__media{ order:0; }
}

/* process steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.5rem,3vw,3rem); }
.step{ border-top:1px solid var(--hair); padding-top:1.6rem; }
.step__n{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.2em; color:var(--accent); display:block; margin-bottom:1.2rem; }
.step h3{ margin-bottom:.5em; }
.step p{ font-size:.92rem; margin:0; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; gap:2rem; } }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.gl-footer{ border-top:1px solid var(--hair); margin-top:clamp(3rem,6vw,6rem); background:var(--bg-2); }
.gl-footer__top{
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:clamp(1.5rem,3vw,3.5rem);
  padding:clamp(3rem,6vw,5.5rem) 0 clamp(2.5rem,4vw,4rem);
}
.gl-footer h4{
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--text-3); margin:0 0 1.3em; font-weight:400;
}
.gl-footer ul{ list-style:none; margin:0; padding:0; }
.gl-footer li{ margin-bottom:.6em; }
.gl-footer li a{ font-size:.92rem; color:var(--text-2); transition:color .3s, padding-left .3s; }
.gl-footer li a:hover{ color:var(--accent); }
.gl-footer p{ font-size:.92rem; }
.gl-footer__word{
  font-family:var(--font-display);
  font-size:clamp(4rem,17vw,15rem);
  line-height:.8; letter-spacing:-.04em;
  color:transparent;
  -webkit-text-stroke:1px var(--hair-strong);
  padding:0 0 .1em; margin:0;
  white-space:nowrap; overflow:hidden;
  user-select:none;
}
:root[data-lights="on"] .gl-footer__word{ -webkit-text-stroke:1px var(--hair-strong); }
.gl-footer__bottom{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem 2rem;
  padding:1.6rem 0 2.4rem; border-top:1px solid var(--hair-soft);
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-3);
}
.gl-footer__bottom a:hover{ color:var(--accent); }
@media (max-width:900px){ .gl-footer__top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .gl-footer__top{ grid-template-columns:1fr; } }

/* newsletter */
.subscribe{ display:flex; border:1px solid var(--hair-strong); max-width:360px; }
.subscribe input[type=email]{
  flex:1; min-width:0; border:0; background:transparent; padding:.95em 1em;
  font-family:var(--font-ui); font-size:.88rem; color:var(--text);
}
.subscribe input[type=email]::placeholder{ color:var(--text-3); }
.subscribe button{
  border:0; border-left:1px solid var(--hair-strong); background:var(--text); color:var(--bg);
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.16em; text-transform:uppercase;
  padding:0 1.2em; cursor:pointer; transition:background-color .3s, color .3s;
}
.subscribe button:hover{ background:var(--accent); color:var(--accent-ink); }
.subscribe__note{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.1em; color:var(--text-3); margin-top:.75rem; }
/* ==========================================================================
   WOOCOMMERCE — shared shell
   ========================================================================== */
.woocommerce-page .site-main, .site-main{ display:block; }
.woocommerce .woocommerce-breadcrumb,
.wc-breadcrumb{
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-3); margin:0 0 2rem; padding-top:clamp(1.5rem,3vw,2.5rem);
}
.woocommerce .woocommerce-breadcrumb a:hover{ color:var(--accent); }
.woocommerce .woocommerce-breadcrumb .bc-sep{ color:var(--hair-strong); }

/* page title bar */
.shop-hero{ padding:clamp(2.5rem,5vw,4.5rem) 0 clamp(1.5rem,3vw,2.5rem); }
.shop-hero h1{ margin:0; font-size:clamp(2.4rem,5.6vw,5rem); letter-spacing:-.03em; }
.shop-hero__lede{ margin-top:1.2rem; max-width:52ch; }
.shop-hero__count{
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3);
}

/* toolbar: result count + ordering */
.shop-bar{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem 2rem;
  padding:1.1rem 0; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
  margin-bottom:clamp(2rem,4vw,3.4rem);
}
.shop-bar .woocommerce-result-count{
  margin:0; font-family:var(--font-mono); font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3);
}
.woocommerce-ordering{ margin:0; }
.woocommerce-ordering select{
  appearance:none; -webkit-appearance:none;
  background:transparent; border:1px solid var(--hair); color:var(--text);
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase;
  padding:.8em 2.6em .8em 1em; cursor:pointer; border-radius:0;
  background-image:linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
}
.woocommerce-ordering select:hover{ border-color:var(--accent); }
.woocommerce-ordering select option{ background:var(--surface); color:var(--text); }

/* product loop grid — used by WooCommerce archives & shortcodes */
ul.products{
  display:grid !important;
  grid-template-columns:repeat(var(--cols,3), minmax(0,1fr));
  gap:clamp(2rem,3.2vw,3.6rem) clamp(1.25rem,2.4vw,2.6rem) !important;
  list-style:none !important; margin:0 !important; padding:0 !important;
}
@media (max-width:1000px){ ul.products{ --cols:2; } }
@media (max-width:620px){ ul.products{ --cols:1; } }
ul.products::before, ul.products::after{ display:none !important; }
ul.products li.product{ list-style:none !important; margin:0 !important; width:auto !important; float:none !important; clear:none !important; }
ul.products li.product a{ display:block; }
ul.products li.product a img{ margin:0; width:100%; }

/* pagination */
.woocommerce-pagination{ margin:clamp(3rem,6vw,5rem) 0 0; }
.woocommerce-pagination ul{ list-style:none; display:flex; gap:.4rem; justify-content:center; margin:0; padding:0; border:0 !important; }
.woocommerce-pagination ul li{ border:0 !important; margin:0 !important; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span{
  display:grid; place-items:center; min-width:44px; height:44px; padding:0 .6em;
  font-family:var(--font-mono); font-size:.7rem; color:var(--text-2);
  border:1px solid var(--hair); background:transparent;
  transition:color .3s, border-color .3s, background-color .3s;
}
.woocommerce-pagination ul li a:hover{ color:var(--text); border-color:var(--accent); }
.woocommerce-pagination ul li span.current{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }

/* notices */
.woocommerce-notices-wrapper{ margin:1.5rem 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  list-style:none;
  display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem;
  padding:1.1rem 1.3rem; margin:0 0 .8rem;
  border:1px solid var(--hair); border-left:2px solid var(--accent);
  background:var(--surface); color:var(--text); font-size:.9rem;
}
.woocommerce-error{ border-left-color:var(--danger); }
.woocommerce-message .button, .woocommerce-info .button{
  margin-left:auto; font-family:var(--font-mono); font-size:.64rem; letter-spacing:.14em; text-transform:uppercase;
  background:var(--text); color:var(--bg); border:1px solid var(--text); padding:.85em 1.3em; border-radius:0;
}
.woocommerce-message .button:hover{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register{
  border:1px solid var(--hair); padding:1.6rem; background:var(--surface); border-radius:0;
}

/* generic WC buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit{
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  background:var(--text); color:var(--bg); border:1px solid var(--text); border-radius:0;
  padding:1.05em 1.6em; line-height:1; cursor:pointer;
  transition:background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover{
  background:var(--accent); border-color:var(--accent); color:var(--accent-ink);
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
  background:var(--accent); border-color:var(--accent); color:var(--accent-ink);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover{ background:var(--accent-deep); border-color:var(--accent-deep); }

/* prices */
.woocommerce-Price-amount{ font-family:var(--font-mono); }
.woocommerce del{ color:var(--text-3); }
.woocommerce ins{ text-decoration:none; }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
.woocommerce div.product{
  display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);
  gap:clamp(2rem,5vw,5.5rem);
  align-items:start;
  padding:clamp(2rem,4vw,4rem) 0 clamp(3rem,6vw,5rem);
}
.woocommerce div.product > *:nth-child(n+3){ grid-column:1 / -1; }
@media (max-width:980px){ .woocommerce div.product{ grid-template-columns:1fr; } }

.product-media{
  /* The painting stays pinned while the text scrolls, so the whole block
     (painting, caption and thumbnails) has to fit the window. Without this a
     tall work is taller than the screen and its lower part can never be seen
     while it is pinned. --extras-h is the space the caption and thumbnails use. */
  --pin-top:calc(var(--header-h) + 1.5rem);
  --extras-h:3.75rem;
  --fit:max(18rem, calc(100svh - var(--pin-top) - 1rem - var(--extras-h)));
  align-self:stretch;           /* as tall as the text beside it, so the pinned part has room to travel */
}
.product-media{ display:flex; justify-content:center; }   /* centre the painting in its column instead of leaving a gap beside it */
.product-media__pin{ position:sticky; top:var(--pin-top); align-self:flex-start; width:fit-content; max-width:100%; }
.product-media.has-thumbs{ --extras-h:11.6rem; }
@media (max-width:980px){
  .product-media{ --fit:none; }
  .product-media{ display:block; }
  .product-media__pin{ position:static; width:100%; }
  .inspect-stage{ width:100%; }
  .inspect-stage img{ width:100%; max-height:none; }
}
.inspect-stage{
  position:relative; display:grid; place-items:center; width:fit-content; max-width:100%; padding:0; border:1px solid var(--hair);
  background:var(--img-bg); cursor:zoom-in; overflow:hidden;
}
.inspect-stage img{
  width:auto; max-width:100%; height:auto; max-height:var(--fit,none);
  transition:transform 1.2s var(--ease);
}
.inspect-stage:hover img{ transform:scale(1.02); }
.inspect-stage__cue{
  position:absolute; right:.9rem; bottom:.9rem; z-index:2;
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text); background:color-mix(in srgb, var(--bg) 76%, transparent);
  border:1px solid var(--hair); padding:.55em .8em; backdrop-filter:blur(5px);
}
.inspect-stage__cue svg{ width:12px; height:12px; }
.product-thumbs{
  /* One scrolling row of fixed-height thumbnails, so the pinned painting can
     reserve a known amount of space for them. */
  display:grid; grid-auto-flow:column; grid-auto-columns:5.25rem;
  gap:.6rem; margin-top:.7rem; overflow-x:auto; scrollbar-width:thin;
}
.product-thumbs button{
  padding:0; border:1px solid var(--hair); background:var(--img-bg); cursor:pointer; overflow:hidden;
  aspect-ratio:4/5; transition:border-color .3s var(--ease), opacity .3s;
  opacity:.62;
}
.product-thumbs button:hover{ opacity:1; }
.product-thumbs button.is-active{ border-color:var(--accent); opacity:1; }
.product-thumbs img{ width:100%; height:100%; object-fit:cover; }

/* WooCommerce's own stylesheet gives the summary width:48% and a float, which
   inside this grid squeezed the text into under half of its column. */
.woocommerce div.product div.summary.entry-summary,
.woocommerce-page div.product div.summary.entry-summary{ float:none; width:100%; margin:0; position:relative; }
.summary .product_title{
  font-family:var(--font-display); font-size:clamp(2.1rem,3.6vw,3.3rem); line-height:1.02; margin:.25em 0 .35em;
  letter-spacing:-.025em;
}
.summary .price{
  font-family:var(--font-mono); font-size:1.15rem; color:var(--text);
  display:block; margin:1.1rem 0 1.4rem;
}
.summary .price ins{ color:var(--accent); }
.summary .price del{ margin-right:.6em; font-size:.85em; }
.summary .woocommerce-product-details__short-description{ color:var(--text-2); font-size:1rem; }
.summary .woocommerce-product-details__short-description p{ max-width:46ch; }

/* availability line */
.stock-line{
  display:flex; align-items:center; gap:.7rem;
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-3); margin:0 0 1.6rem;
}
.stock-line .dot{ width:6px; height:6px; border-radius:50%; background:var(--ok); }
.stock-line.is-sold .dot{ background:var(--danger); }
.stock-line.is-sold{ color:var(--danger); }
.stock-line.is-few .dot{ background:var(--accent); }
.stock-line.is-few{ color:var(--accent); }

/* add to cart form */
.woocommerce div.product form.cart{
  display:flex; flex-wrap:wrap; gap:.8rem; align-items:stretch;
  margin:0 0 1.6rem; padding:1.4rem 0; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
}
.woocommerce div.product form.cart .quantity{
  display:inline-flex; align-items:stretch; border:1px solid var(--hair); margin:0;
}
.woocommerce div.product form.cart .quantity label{ display:none; }
.woocommerce div.product form.cart .quantity.hidden{ display:none; }
/* WooCommerce adds clearfix pseudo-elements to this form. Inside a flex row they
   become empty items and the gap pushes the button in from both edges. */
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after{ display:none; }
.woocommerce div.product form.cart input.qty{
  width:64px; padding:1em .5em; border:0; background:transparent; text-align:center;
  font-family:var(--font-mono); font-size:.85rem; -moz-appearance:textfield;
}
.woocommerce div.product form.cart input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.qty-btn{
  border:0; background:transparent; color:var(--text-2); width:44px; cursor:pointer;
  font-family:var(--font-mono); font-size:1rem; line-height:1;
  transition:color .25s, background-color .25s;
}
.qty-btn:hover{ color:var(--accent); background:var(--accent-wash); }
.woocommerce div.product .single_add_to_cart_button{
  flex:1 1 200px;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  background:var(--accent); color:var(--accent-ink); border:1px solid var(--accent);
  padding:1.25em 2rem; border-radius:0; cursor:pointer;
  transition:background-color .35s var(--ease), transform .35s var(--ease);
}
.woocommerce div.product .single_add_to_cart_button:hover{ background:var(--accent-deep); border-color:var(--accent-deep); transform:translateY(-2px); }
.woocommerce div.product .single_add_to_cart_button.disabled,
.woocommerce div.product .single_add_to_cart_button[disabled]{ background:var(--surface-2); border-color:var(--hair); color:var(--text-3); cursor:not-allowed; transform:none; }

/* pure-CSS detail spec table (theme-native, under price) */
.detail-specs{ margin:0 0 1.6rem; }

/* accordion */
.accordion{ border-top:1px solid var(--hair); }
.accordion__item{ border-bottom:1px solid var(--hair); }
.accordion__trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background:none; border:0; cursor:pointer; text-align:left;
  padding:1.2rem 0;
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text);
}
.accordion__trigger:hover{ color:var(--accent); }
.accordion__trigger .plus{ position:relative; width:12px; height:12px; flex:0 0 auto; }
.accordion__trigger .plus::before, .accordion__trigger .plus::after{
  content:''; position:absolute; background:currentColor; transition:transform .4s var(--ease), opacity .4s;
}
.accordion__trigger .plus::before{ left:0; right:0; top:5.5px; height:1px; }
.accordion__trigger .plus::after{ top:0; bottom:0; left:5.5px; width:1px; }
.accordion__item.is-open .accordion__trigger .plus::after{ transform:scaleY(0); opacity:0; }
.accordion__panel{ overflow:hidden; height:0; transition:height .45s var(--ease); }
.accordion__inner{ padding:0 0 1.5rem; }
.accordion__inner p:last-child{ margin-bottom:0; }

/* related / upsells */
.related.products, .upsells.products{ margin-top:clamp(3rem,6vw,5.5rem); padding-top:clamp(2rem,4vw,3rem); border-top:1px solid var(--hair); }
.related.products > h2, .upsells.products > h2{ font-size:clamp(1.6rem,2.6vw,2.3rem); margin-bottom:clamp(1.5rem,3vw,2.5rem); }
.woocommerce-tabs{ margin-top:clamp(3rem,6vw,5rem); }

/* ==========================================================================
   CART / CHECKOUT / ACCOUNT
   ========================================================================== */
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce{ padding:clamp(2rem,4vw,3.5rem) 0 clamp(3rem,6vw,5rem); }
.woocommerce table.shop_table{
  border:0; border-collapse:collapse; width:100%; margin:0 0 2rem; border-radius:0;
}
.woocommerce table.shop_table th{
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3);
  padding:.9rem .6rem; border-bottom:1px solid var(--hair-strong); text-align:left; background:transparent;
}
.woocommerce table.shop_table td{
  padding:1.2rem .6rem; border-bottom:1px solid var(--hair); vertical-align:middle; background:transparent;
}
.woocommerce table.shop_table tbody tr:hover td{ background:var(--hair-soft); }
.woocommerce table.shop_table td.product-name a{ font-family:var(--font-display); font-size:1.05rem; }
.woocommerce table.shop_table td.product-name a:hover{ color:var(--accent); }
.woocommerce table.shop_table td.product-thumbnail img{ width:74px; border:1px solid var(--hair); }
.woocommerce table.shop_table td.product-price, .woocommerce table.shop_table td.product-subtotal{
  font-family:var(--font-mono); font-size:.82rem;
}
.woocommerce table.shop_table td.actions{ padding:1.4rem .6rem; border-bottom:0; }
.woocommerce .coupon{ display:flex; gap:.6rem; }
.woocommerce .coupon input.input-text{
  border:1px solid var(--hair); background:transparent; padding:.95em 1em; color:var(--text);
  font-family:var(--font-mono); font-size:.72rem; min-width:180px;
}
.cart-collaterals{ display:grid; grid-template-columns:1fr minmax(280px,420px); gap:clamp(1.5rem,4vw,4rem); }
@media (max-width:880px){ .cart-collaterals{ grid-template-columns:1fr; } }
.cart_totals{
  border:1px solid var(--hair); padding:1.6rem; background:var(--surface);
}
.cart_totals h2{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--text-3); margin:0 0 1.2rem; }
.cart_totals table.shop_table td, .cart_totals table.shop_table th{ border-bottom:1px solid var(--hair-soft); padding:.7rem 0; }
.cart_totals .order-total td{ font-family:var(--font-mono); color:var(--text); border-bottom:0; }
.woocommerce .checkout_coupon, .woocommerce .wc-proceed-to-checkout{ margin-top:1.2rem; }
.woocommerce .wc-proceed-to-checkout a.checkout-button{
  display:block; width:100%; text-align:center; background:var(--accent); border-color:var(--accent); color:var(--accent-ink);
  padding:1.3em 1.6em;
}
.woocommerce-checkout .col2-set{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,3vw,3rem); width:auto; float:none; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2{ width:auto; float:none; }
@media (max-width:880px){ .woocommerce-checkout .col2-set{ grid-template-columns:1fr; } }
.woocommerce h3#order_review_heading, .woocommerce-checkout h3{ font-size:1.4rem; }
.woocommerce-checkout #payment{
  background:var(--surface); border:1px solid var(--hair); border-radius:0; padding:1.6rem; margin-top:1.5rem;
}
.woocommerce-checkout #payment ul.payment_methods{ border-bottom:1px solid var(--hair); }
.woocommerce-checkout #payment div.payment_box{ background:var(--surface-2); border-radius:0; }
.woocommerce-checkout #payment div.payment_box::before{ display:none; }
.woocommerce form .form-row{ padding:0; margin:0 0 1.1rem; }
.woocommerce form .form-row label{
  display:block; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-3); margin-bottom:.55rem;
}
.woocommerce form .form-row .required{ color:var(--danger); text-decoration:none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single{
  border:1px solid var(--hair); background:var(--surface-2); color:var(--text);
  padding:.95em 1em; width:100%; border-radius:0; font-family:var(--font-ui); font-size:.92rem;
  transition:border-color .3s;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{ border-color:var(--accent); outline:none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text{ border-color:var(--danger); }
.woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li{ border-bottom:1px solid var(--hair-soft); }
.woocommerce-MyAccount-navigation li a{
  display:block; padding:.9rem 0; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-2);
}
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover{ color:var(--accent); }
.woocommerce-account .woocommerce-MyAccount-content{ padding-left:clamp(0rem,3vw,3rem); }

/* ==========================================================================
   PAGES (about / contact / generic)
   ========================================================================== */
.page-hero{ padding:clamp(2.5rem,6vw,6rem) 0 clamp(1.5rem,3vw,3rem); border-bottom:1px solid var(--hair); }
.page-hero h1{ margin:0; font-size:clamp(2.4rem,6.4vw,5.6rem); letter-spacing:-.03em; }
.page-hero__lede{ margin:1.6rem 0 0; }
.page-body{ padding:clamp(2.5rem,5vw,5rem) 0; }
.page-body h2{ margin-top:1.4em; }
.page-body h2:first-child{ margin-top:0; }
.page-body h3{ margin-top:1.6em; }
.page-body ul, .page-body ol{ color:var(--text-2); max-width:70ch; padding-left:1.2em; }
.page-body li{ margin-bottom:.5em; }
.page-body blockquote{
  margin:2.5rem 0; padding-left:1.6rem; border-left:1px solid var(--accent);
  font-family:var(--font-display); font-style:italic; font-size:1.35rem; line-height:1.4; color:var(--text);
}
.page-body img{ border:1px solid var(--hair); }
.page-body figure{ margin:2.5rem 0; }
.page-body figcaption{ font-family:var(--font-mono); font-size:.64rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-3); margin-top:.8rem; }
.prose-columns{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:clamp(1.5rem,4vw,4rem); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5.5rem); align-items:start; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-block{ border-top:1px solid var(--hair); padding-top:1.2rem; margin-bottom:2rem; }
.contact-block dt{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3); margin-bottom:.4em; }
.contact-block dd{ margin:0 0 1rem; font-size:.98rem; }
.form-field{ margin-bottom:1.2rem; }
.form-field label{ display:block; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3); margin-bottom:.55rem; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; border:1px solid var(--hair); background:var(--surface-2); color:var(--text);
  padding:1em; font-family:var(--font-ui); font-size:.95rem; border-radius:0; transition:border-color .3s;
}
.form-field input:focus, .form-field textarea:focus{ border-color:var(--accent); outline:none; }
.form-field .hint{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.1em; color:var(--text-3); margin-top:.5rem; }

/* blog / index */
.post-list{ display:grid; gap:clamp(2rem,4vw,4rem); }
.post-card{ display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(1.5rem,4vw,4rem); align-items:center; padding-bottom:clamp(2rem,4vw,4rem); border-bottom:1px solid var(--hair); }
@media (max-width:820px){ .post-card{ grid-template-columns:1fr; } }
.entry-meta{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3); display:flex; gap:1rem; margin-bottom:1rem; }

/* 404 */
.err-page{ min-height:58vh; display:grid; place-items:center; text-align:center; padding:var(--section-y) 0; }
.err-page .big{ font-family:var(--font-display); font-size:clamp(5rem,22vw,15rem); line-height:.8; color:transparent; -webkit-text-stroke:1px var(--hair-strong); margin:0 0 .2em; }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:320;
  width:min(440px, 100%);
  background:var(--bg-2);
  border-left:1px solid var(--hair);
  display:flex; flex-direction:column;
  transform:translateX(102%);
  transition:transform .55s var(--ease);
  box-shadow:var(--shadow);
}
.drawer.is-open{ transform:none; }
.drawer__head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.4rem 1.5rem; border-bottom:1px solid var(--hair);
}
.drawer__title{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--text); margin:0; }
.drawer__close{ background:none; border:1px solid var(--hair); color:var(--text-2); padding:.6em .8em; cursor:pointer; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; }
.drawer__close:hover{ color:var(--accent); border-color:var(--accent); }
.drawer__body{ flex:1 1 auto; overflow-y:auto; padding:1.5rem; }
.drawer__foot{ border-top:1px solid var(--hair); padding:1.5rem; display:grid; gap:.9rem; }
.drawer__row{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-2); }
.drawer__row b{ font-size:1rem; color:var(--text); letter-spacing:0; }
.drawer .woocommerce-mini-cart{ list-style:none; margin:0; padding:0; }
.drawer .woocommerce-mini-cart__total{ display:none; }
.drawer .cart-item{ display:grid; grid-template-columns:64px 1fr auto; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--hair-soft); align-items:start; }
.drawer .cart-item img{ width:64px; aspect-ratio:4/5; object-fit:cover; border:1px solid var(--hair); }
.drawer .cart-item__title{ font-family:var(--font-display); font-size:1rem; line-height:1.2; margin:0 0 .3em; }
.drawer .cart-item__meta{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); }
.drawer .cart-item__price{ font-family:var(--font-mono); font-size:.78rem; }
.drawer .cart-item__remove{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-3); border:0; background:none; cursor:pointer; }
.drawer .cart-item__remove:hover{ color:var(--danger); }
.drawer .cart-empty{ font-family:var(--font-display); font-style:italic; font-size:1.3rem; color:var(--text-2); }

.scrim{
  position:fixed; inset:0; z-index:300; background:var(--scrim);
  opacity:0; visibility:hidden; transition:opacity .5s var(--ease), visibility .5s;
  backdrop-filter:blur(3px);
}
.scrim.is-on{ opacity:1; visibility:visible; }

/* ==========================================================================
   INSPECT (zoom + pan lightbox)
   ========================================================================== */
.inspect{
  position:fixed; inset:0; z-index:400;
  background:color-mix(in srgb, var(--bg) 96%, black);
  display:grid; grid-template-rows:auto 1fr auto;
  opacity:0; visibility:hidden;
  transition:opacity .45s var(--ease), visibility .45s;
}
.inspect.is-open{ opacity:1; visibility:visible; }
.inspect__bar{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.1rem var(--gutter); border-bottom:1px solid var(--hair);
}
.inspect__name{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-2); margin:0; }
.inspect__tools{ display:flex; gap:.5rem; }
.inspect__tools button{
  background:none; border:1px solid var(--hair); color:var(--text-2); cursor:pointer;
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; padding:.65em .9em;
}
.inspect__tools button:hover{ color:var(--accent); border-color:var(--accent); }
.inspect__stage{
  position:relative; overflow:hidden; display:grid; place-items:center;
  padding:clamp(1rem,3vw,2.5rem);
  cursor:zoom-in;
  touch-action:none;            /* we handle pinch, drag and swipe ourselves */
  overscroll-behavior:contain;
}
.inspect__stage.is-grabbing{ cursor:grabbing; }
.inspect__stage.is-grabbing img{ transition:none; }
.inspect__hint--touch{ display:none; }
@media (hover:none){
  .inspect__hint--pointer{ display:none; }
  .inspect__hint--touch{ display:inline; }
}
.inspect__stage img{
  max-width:100%; max-height:100%; width:auto; height:auto;
  object-fit:contain;
  transform:translate(var(--ix,0), var(--iy,0)) scale(var(--iz,1));
  transition:transform .18s linear;
  user-select:none; -webkit-user-drag:none;
  border:1px solid var(--hair);
}
.inspect__foot{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  padding:.9rem var(--gutter); border-top:1px solid var(--hair);
  font-family:var(--font-mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3);
}
.inspect__dots{ display:flex; gap:.5rem; }
.inspect__dots button{ width:8px; height:8px; border-radius:50%; border:1px solid var(--hair-strong); background:transparent; cursor:pointer; padding:0; }
.inspect__dots button.is-active{ background:var(--accent); border-color:var(--accent); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.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; }
.center{ text-align:center; }
.center p, .center .lede{ margin-left:auto; margin-right:auto; }
.mt-0{ margin-top:0 !important; } .mb-0{ margin-bottom:0 !important; }
.mt-s{ margin-top:1rem !important; } .mt-m{ margin-top:2rem !important; } .mt-l{ margin-top:clamp(2.5rem,5vw,4.5rem) !important; }
.hair-top{ border-top:1px solid var(--hair); }
.text-2{ color:var(--text-2); }
.accent{ color:var(--accent); }
.stack-s{ display:grid; gap:.6rem; }
.stack-m{ display:grid; gap:1.4rem; }
.stack-l{ display:grid; gap:clamp(1.5rem,3vw,3rem); }
.flex-between{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }

/* WooCommerce blocks / widgets written by plugins inherit our type */
.widget, .wp-block-group{ color:var(--text); }
.wp-block-image img{ border:1px solid var(--hair); }

/* Print */
@media print{
  .gl-header, .gl-footer, .drawer, .scrim, .inspect, .ticker{ display:none !important; }
  body{ background:#fff; color:#000; }
}
/* ==========================================================================
   PLATE — interaction layer
   (hover detail swap, quick add bar, accession numbering)
   ========================================================================== */
.plate__link{ display:block; position:relative; height:100%; }
.plate__link img{ display:block; }
.plate__img{ width:100%; height:100%; object-fit:cover; }
.plate__img--alt{
  position:absolute; inset:0;
  opacity:0;
  transition:opacity .7s var(--ease);
}
.plate:hover .plate__img--alt,
.plate:focus-within .plate__img--alt{ opacity:1; }
.plate:hover .plate__link .plate__img:not(.plate__img--alt){ opacity:.0; }
.plate__link .plate__img{ transition:transform 1.1s var(--ease), opacity .6s var(--ease); }

.plate__no{ display:flex; align-items:center; gap:.6em; }
.plate__quick{
  position:absolute; left:0; right:0; bottom:0; z-index:4;
  display:flex; padding:.6rem;
  transform:translateY(104%);
  transition:transform .5s var(--ease);
}
.plate:hover .plate__quick,
.plate:focus-within .plate__quick{ transform:none; }
.plate__quick-btn{
  flex:1 1 auto; text-align:center;
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase;
  padding:.95em 1em; border:1px solid var(--accent);
  background:var(--accent); color:var(--accent-ink);
  cursor:pointer; border-radius:0;
  transition:background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.plate__quick-btn:hover{ background:var(--accent-deep); border-color:var(--accent-deep); }
.plate__quick-btn.is-dead{ background:color-mix(in srgb, var(--bg) 88%, transparent); color:var(--text-3); border-color:var(--hair); cursor:not-allowed; }
@media (hover: none){
  .plate__quick{ transform:none; }
  .plate:hover .plate__link .plate__img:not(.plate__img--alt){ opacity:1; }
}

/* ==========================================================================
   HERO / WORKS fine-tuning
   ========================================================================== */
.hero__art .plate__frame{
  aspect-ratio:4/5;
  max-height:min(78vh, 860px);
  background:var(--img-bg);
}
.hero__art .plate__frame img{ object-fit:contain; }
.works__grid > *:nth-child(3n+2) .plate{ transform:translateY(clamp(1.5rem,4vw,3.5rem)); }
@media (max-width:1000px){ .works__grid > *:nth-child(3n+2) .plate{ transform:none; } }

/* Product gallery wrapper written by WooCommerce */
.woocommerce-product-gallery{ margin:0; }
.woocommerce-product-gallery img{ width:100%; }
.inspect-stage{ color:inherit; font:inherit; text-align:left; }
.inspect-stage img{ pointer-events:none; }

/* ==========================================================================
   DRAWER / FOOTER details
   ========================================================================== */
.drawer .cart-item__thumb img{ width:64px; aspect-ratio:4/5; object-fit:cover; border:1px solid var(--hair); }

/* Quantity stepper: hide the plugin-written label, keep the field */
.quantity label.screen-reader-text, .quantity .screen-reader-text{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* Sale flash nudge */
.woocommerce span.onsale{ display:none; }

/* ==========================================================================
   Fallback when WooCommerce is not active
   ========================================================================== */
.vitrine-no-wc{ padding:var(--section-y) 0; }
/* ==========================================================================
   RESPONSIVE CORRECTIONS
   ========================================================================== */

/* The footer wordmark is sized by its container rather than the viewport, so
   the studio name never clips once the content column stops growing. */
.gl-footer .wrap{ container-type:inline-size; }
.gl-footer__word{ font-size:clamp(2.2rem, 16.4cqw, 22rem); letter-spacing:-.035em; }
@supports not (font-size:1cqw){
  .gl-footer__word{ font-size:clamp(2.2rem, 12.5vw, 10rem); }
}

/* Header: the tools row takes the free space and the brand is allowed to
   shrink, so nothing is pushed past the gutter on narrow screens. */
.brand{ min-width:0; }
.brand__type{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

@media (max-width:1080px){
  .tools{ margin-left:auto; gap:.15rem; }
  .gl-header__bar{ gap:.6rem; }
  .tool{ padding:.55em .6em; }
  .lights__track{ width:38px; height:20px; }
  .lights__dot{ width:14px; height:14px; top:2px; }
  :root[data-lights="on"] .lights__dot{ transform:translateX(18px); }
  .brand__type{ font-size:1.1rem; }
  .brand__type small{ display:none; }
  .brand__mark{ width:26px; height:26px; font-size:.72rem; }
  .burger{ padding:.6em .7em; }
}

@media (max-width:420px){
  .count{ min-width:1.4em; height:1.4em; font-size:.55rem; }
  .gl-header__bar{ gap:.4rem; }
  .tool{ padding:.5em .5em; }
}

/* Ticker sits inside its own overflow context; keep its track out of the
   document's scrollable area on every width. */
.ticker{ contain:paint; }
/* ==========================================================================
   WOOCOMMERCE STYLE OVERRIDES

   woocommerce.css colours prices and stock with
   `.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product
   p.price { color:#958e09 }`. :where() keeps its specificity low but not
   zero, so the theme restates those values with an equal-or-heavier selector
   instead of reaching for !important.
   ========================================================================== */
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price,
.woocommerce div.product .summary .price{
  color:var(--text);
  font-family:var(--font-mono);
  font-size:1.15rem;
  font-weight:400;
  letter-spacing:.01em;
  line-height:1.4;
  margin:1.1rem 0 1.4rem;
}
.woocommerce div.product .summary .price ins{
  color:var(--accent);
  text-decoration:none;
  font-weight:400;
}
.woocommerce div.product .summary .price del{
  color:var(--text-3);
  font-size:.85em;
  margin-right:.6em;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .plate__price .price{
  color:var(--text);
}
.woocommerce div.product .stock{
  color:var(--text-2);
  font-family:var(--font-mono);
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.woocommerce div.product form.cart table.variations td,
.woocommerce div.product form.cart table.variations th{
  border:0;
  padding:.4rem 0;
  vertical-align:middle;
}
.woocommerce .quantity input.qty{
  font-family:var(--font-mono);
  border:0;
  background:transparent;
}
/* ==========================================================================
   QUANTITY GUARD
   WooCommerce renders a hidden qty field for sold-individually products (a
   one-off original). Showing a stepper there would imply a choice that does
   not exist, so the control is removed where the field is hidden.
   ========================================================================== */
.quantity:has(> input[type="hidden"]){ display:none; }

/* ==========================================================================
   WOOCOMMERCE CART / CHECKOUT BLOCKS
   New WooCommerce installs create block-based Cart and Checkout pages. The
   classic shortcodes get the full treatment above; these rules keep the block
   UI readable and on-brand if you keep the blocks. They are additive — if a
   selector does not apply to your WooCommerce version, nothing breaks.
   ========================================================================== */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout{ color:var(--text); }

.wc-block-cart .wc-block-cart__main,
.wc-block-checkout .wc-block-components-sidebar,
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-cart-items,
.wc-block-components-panel,
.wc-block-components-radio-control,
.wc-block-components-notice-banner,
.wc-block-components-address-form{
  background:var(--surface);
  color:var(--text);
  border-color:var(--hair);
}

.wc-block-cart-items__row,
.wc-block-components-order-summary-item,
.wc-block-components-totals-item,
.wc-block-components-panel__button,
.wc-block-components-radio-control__option{
  border-color:var(--hair);
}

.wc-block-components-title,
.wc-block-components-panel__button,
.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name{
  color:var(--text);
  font-family:var(--font-display);
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__total-price,
.wc-block-components-product-price{ color:var(--text); }

.wc-block-components-product-metadata,
.wc-block-components-order-summary-item__description,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__description,
.wc-block-components-shipping-rates-control__package{ color:var(--text-2); }

.wc-block-cart-item__image img{ border:1px solid var(--hair); }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  background:var(--accent);
  color:var(--accent-ink);
  border:1px solid var(--accent);
  border-radius:0;
  padding:1.15em 1.7em;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover{
  background:var(--accent-deep);
  border-color:var(--accent-deep);
  color:var(--accent-ink);
}
.wc-block-components-button.is-link,
.wc-block-components-button.is-link:hover{ color:var(--accent); text-decoration:none; }

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input{
  background:var(--surface-2);
  color:var(--text);
  border:1px solid var(--hair);
  border-radius:0;
}
.wc-block-components-text-input.has-error input{ border-color:var(--danger); }
.wc-block-components-text-input label,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label,
.wc-block-components-validation-error p{ color:var(--text-2); }
.wc-block-components-validation-error p{ color:var(--danger); }
.wc-block-components-notice-banner.is-info{ border-left:2px solid var(--accent); }
.wc-block-components-notice-banner.is-error{ border-left:2px solid var(--danger); }
.wc-block-components-loading-mask{ background:var(--bg-2); }
.product form.cart .quantity:has(> input[type="hidden"]),
.woocommerce .quantity:has(> input[type="hidden"]){ display:none; }
/* ==========================================================================
   NOTICES & EMPTY STATES
   WooCommerce ships a blue "i" glyph on info notices; on these walls the
   notices are brass-ruled panels instead.
   ========================================================================== */
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before{
  content:"";
  display:inline-block;
  flex:0 0 auto;
  width:7px; height:7px;
  border-radius:50%;
  background:var(--accent);
  font-family:inherit;
  font-size:0;
  margin-right:.9rem;
}
.woocommerce .woocommerce-error::before{ background:var(--danger); }
.woocommerce .woocommerce-error{ border-left-color:var(--danger); }
.woocommerce .woocommerce-error .button{
  background:var(--danger); border-color:var(--danger); color:#fff;
}
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-info .button:hover{
  background:var(--accent); border-color:var(--accent); color:var(--accent-ink);
}

/* Empty cart: treat it as a designed state rather than a stray sentence. */
.woocommerce-cart .cart-empty{
  font-family:var(--font-display);
  font-size:clamp(1.3rem,2.2vw,1.9rem);
  line-height:1.35;
  padding:2rem 1.7rem;
  margin:0 0 1.1rem;
}
.woocommerce-cart .return-to-shop{ margin:0; }
.woocommerce-cart .return-to-shop .button{ margin-top:0; }

/* Empty shop / no results. */
.woocommerce .woocommerce-no-products-found,
.woocommerce .products .woocommerce-info{ margin:0 0 2rem; }

/* ==========================================================================
   15. Settings-driven additions (Vitrine > settings in the admin)
   Everything below is inert until the matching setting is used, so a fresh
   install looks exactly like 1.0.
   ========================================================================== */

/* Announcement bar: one mono line above the header */
.announce{
  position:relative; background:var(--accent); color:var(--accent-ink);
  text-align:center; padding:.6rem 3.2rem; line-height:1.5;
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase;
}
.announce__text{ margin:0; max-width:none; color:inherit; }
.announce a{ color:inherit; margin-left:.9em; border-bottom:1px solid currentColor; padding-bottom:1px; }
.announce a:hover{ opacity:.7; }
.announce__close{
  position:absolute; right:.8rem; top:50%; transform:translateY(-50%);
  width:30px; height:30px; display:grid; place-items:center;
  border:0; background:transparent; color:inherit; cursor:pointer; opacity:.75; transition:opacity .25s;
}
.announce__close:hover{ opacity:1; }
.announce__close svg{ width:12px; height:12px; }
html.announce-off .announce{ display:none; }

/* Honeypot field for the sign-up and enquiry forms */
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }

/* Form round-trip messages */
.form-status{
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.1em; line-height:1.65;
  margin:.9rem 0 0; padding:.7rem .95rem; border:1px solid var(--hair-strong); max-width:none;
}
.form-status--ok{ border-color:var(--ok); color:var(--ok); }
.form-status--err{ border-color:var(--danger); color:var(--danger); }
#enquiry .form-status{ margin:0 0 1.6rem; }

/* Footer social links */
.gl-footer__social{
  display:flex; flex-wrap:wrap; gap:.5rem 1.8rem; margin:0 0 2rem;
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.18em; text-transform:uppercase;
}
.gl-footer__social a{ color:var(--text-2); border-bottom:1px solid var(--hair); padding-bottom:2px; transition:color .3s, border-color .3s; }
.gl-footer__social a:hover{ color:var(--accent); border-color:var(--accent); }

/* Enquiry line under the buy button */
.enquiry-line{
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-3); max-width:none; margin:1.1rem 0 0;
}
.enquiry-line__sep{ color:var(--hair-strong); }

/* Free-shipping meter in the cart drawer */
.ship-meter{ margin:0 0 1.5rem; padding-bottom:1.25rem; border-bottom:1px solid var(--hair); }
.ship-meter p{
  margin:0 0 .7rem; max-width:none; color:var(--text-2);
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.12em; text-transform:uppercase; line-height:1.6;
}
.ship-meter b{ color:var(--accent); font-weight:400; }
.ship-meter__bar{ display:block; height:2px; background:var(--hair); }
.ship-meter__bar i{ display:block; height:100%; background:var(--accent); transition:width .7s var(--ease); }

/* Appearance switches (body classes set from the Appearance tab) */
.vitrine-flat .works__grid > *:nth-child(3n+2),
.vitrine-flat .works__grid > *:nth-child(3n+2) .plate{ transform:none !important; }
.vitrine-no-reveal .reveal{ opacity:1; transform:none; transition:none; }
.vitrine-no-glow .hero__glow{ display:none; }
.vitrine-no-progress .gl-header__prog{ display:none; }
@media (min-width:1001px){
  .vitrine-cols-2 ul.products{ --cols:2; }
  .vitrine-cols-4 ul.products{ --cols:4; }
}

/* Process section follows however many steps are written (2 to 6) */
@media (min-width:821px){
  .steps[data-count="2"]{ grid-template-columns:repeat(2,1fr); }
  .steps[data-count="4"]{ grid-template-columns:repeat(4,1fr); }
}

/* Sign-up block placed in content with [vitrine_subscribe] */
.signup-inline{ max-width:460px; margin:2.5rem 0; }
.signup-inline h4{ margin-bottom:.8rem; }

/* ==========================================================================
   16. How to buy and Commissions pages (1.2.0)
   ========================================================================== */

/* Numbered rows: number | title | text */
.timeline{ list-style:none; margin:0; padding:0; border-top:1px solid var(--hair); }
.timeline__row{
  display:grid; grid-template-columns:4.5rem minmax(0,1fr) minmax(0,1.7fr);
  gap:1rem clamp(1.2rem,3vw,3rem); align-items:baseline;
  padding:clamp(1.3rem,2.4vw,2rem) 0; border-bottom:1px solid var(--hair);
}
.timeline__n{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.2em; color:var(--accent); }
.timeline__title{ font-size:clamp(1.35rem,2.3vw,1.9rem); margin:0; }
.timeline__text{ margin:0; max-width:56ch; color:var(--text-2); }
@media (max-width:820px){
  .timeline__row{ grid-template-columns:3rem 1fr; }
  .timeline__text{ grid-column:2; }
}

/* Wider fact sheet used for payment and delivery */
.specs--wide > div{ grid-template-columns:minmax(7rem,.5fr) minmax(0,2fr); }
.specs--wide{ max-width:860px; }

/* Care notes: four across on wide screens */
@media (min-width:1101px){ .steps--care[data-count="4"]{ grid-template-columns:repeat(4,1fr); } }

.prose-extra{ margin-top:1.6rem; }

/* Touch targets: on phones and tablets, give small text links and the viewer's
   zoom buttons a comfortable 44px hit area without changing how they look. */
@media (pointer:coarse){
  .inspect__tools button{ min-width:44px; min-height:44px; }
  .woocommerce .woocommerce-breadcrumb a,
  .gl-footer ul a,
  .gl-footer__social a{ display:inline-block; padding:.7rem .15rem; margin:-.7rem -.15rem; }
  .gl-footer ul li{ margin-bottom:.15rem; }
}

/* ==========================================================================
   16. The Collection — every work, filtered, and the previous / next pager
   ========================================================================== */
.coll-stats{
  display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 0; margin:2rem 0 0;
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3);
}
.coll-stats span + span::before{
  content:""; display:inline-block; width:3px; height:3px; margin:0 1.1rem; border-radius:50%;
  background:var(--accent); vertical-align:middle; position:relative; top:-1px;
}

/* Filter bar: stays under the header while the wall scrolls */
.coll-bar{
  position:sticky; top:64px; z-index:30;   /* sits directly under the header once it has settled to its 64px height */
  background:var(--bg); border-bottom:1px solid var(--hair);
}
@supports (background:color-mix(in srgb, red 50%, blue)){
  .coll-bar{ background:color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
}
.coll-bar__inner{ display:flex; align-items:center; justify-content:space-between; gap:.4rem 2rem; }
.coll-tabs{ display:flex; gap:0 1.9rem; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; min-width:0; }
.coll-tabs::-webkit-scrollbar{ display:none; }
.coll-tabs a{
  position:relative; flex:0 0 auto; padding:1.2rem 0; white-space:nowrap;
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-2);
  transition:color .3s;
}
.coll-tabs a sup{ margin-left:.5em; font-size:.82em; color:var(--text-3); }
.coll-tabs a::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease);
}
.coll-tabs a:hover{ color:var(--text); }
.coll-tabs a[aria-current]{ color:var(--text); }
.coll-tabs a[aria-current]::after{ transform:scaleX(1); }

.coll-tools{ display:flex; align-items:center; gap:.6rem 1.2rem; flex:0 0 auto; }
.seg{ display:inline-flex; border:1px solid var(--hair); }
.seg a{
  padding:.78em 1.1em; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-2); transition:color .3s, background-color .3s;
}
.seg a + a{ border-left:1px solid var(--hair); }
.seg a:hover{ color:var(--text); }
.seg a[aria-current]{ background:var(--accent); color:var(--accent-ink); }
.coll-sort{ margin:0; }
.coll-sort select{
  appearance:none; -webkit-appearance:none;
  background:transparent; border:1px solid var(--hair); color:var(--text); border-radius:0; cursor:pointer;
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase;
  padding:.82em 2.6em .82em 1em;
  background-image:linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
}
.coll-sort select:hover{ border-color:var(--accent); }
.coll-sort select option{ background:var(--surface); color:var(--text); }

.coll-wall{ padding-top:clamp(2rem,4vw,3.4rem); }
.coll-count{
  margin:0 0 clamp(1.6rem,3vw,2.6rem); max-width:none;
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3);
}
.coll-grid{ row-gap:clamp(3rem,5vw,5.2rem); padding-bottom:clamp(1.5rem,4vw,3.5rem); } /* room for the staggered middle column, which is offset with a transform */
.coll-empty{ max-width:34rem; margin:0 auto; padding:clamp(3rem,8vw,7rem) 0; text-align:center; }
.coll-empty h2{ font-size:clamp(1.8rem,3.4vw,2.8rem); margin-bottom:1rem; }
.coll-empty .lede{ margin:0 auto 2rem; }

.coll-pager{ position:relative; z-index:2; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:1rem 1.6rem; margin-top:clamp(3rem,6vw,5rem); }
.coll-pager ol{ list-style:none; display:flex; gap:.4rem; margin:0; padding:0; }
.coll-pager a{
  display:grid; place-items:center; min-width:44px; height:44px; padding:0 .8em;
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; color:var(--text-2);
  border:1px solid var(--hair); transition:color .3s, border-color .3s, background-color .3s;
}
.coll-pager a:hover{ color:var(--text); border-color:var(--accent); }
.coll-pager a[aria-current]{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.coll-pager__step{ text-transform:uppercase; letter-spacing:.14em; }

.coll-close__inner{ max-width:46rem; margin:0 auto; text-align:center; padding-top:clamp(3rem,6vw,5rem); border-top:1px solid var(--hair); }
.coll-close h2{ font-size:clamp(1.9rem,3.8vw,3.1rem); margin-bottom:1rem; }
.coll-close .lede{ margin:0 auto 2rem; }
.coll-close__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:.8rem; margin:0; }

@media (max-width:760px){
  .coll-bar__inner{ flex-direction:column; align-items:stretch; }
  .coll-tools{ justify-content:space-between; padding-bottom:.9rem; }
  .coll-sort select{ max-width:48vw; }
}

/* Previous / next work, under each painting's page */
.work-pager{
  grid-column:1 / -1; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:1rem 2rem;
  margin-top:clamp(3rem,6vw,5.5rem); padding-top:clamp(1.4rem,3vw,2.2rem); border-top:1px solid var(--hair);
}
.work-pager__link{ display:flex; flex-direction:column; gap:.35rem; min-width:0; }
.work-pager__link--next{ text-align:right; align-items:flex-end; }
.work-pager__label{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3); transition:color .3s; }
.work-pager__title{ font-family:var(--font-display); font-size:clamp(1.15rem,2vw,1.7rem); line-height:1.15; letter-spacing:-.01em; color:var(--text); transition:color .3s; overflow-wrap:anywhere; }
.work-pager__link:hover .work-pager__title{ color:var(--accent-deep); }
.work-pager__link:hover .work-pager__label{ color:var(--accent); }
.work-pager__all{ font-family:var(--font-mono); font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; }
@media (max-width:700px){
  .work-pager{ grid-template-columns:1fr 1fr; }
  .work-pager__all{ grid-column:1 / -1; order:3; justify-self:center; }
}

/* The Collection: filter bar on small screens stacks and never overflows */
@media (max-width:700px){
  .coll-bar__inner{ flex-direction:column; align-items:stretch; gap:.7rem; }
  .coll-tools{ width:100%; justify-content:space-between; gap:.6rem; }
  .coll-sort{ flex:1 1 auto; min-width:0; }
  .coll-sort select{ width:100%; max-width:100%; }
}
.coll-tabs a{ align-items:baseline; }

/* ==========================================================================
   Whole-work display
   Uploads are never cropped. The hero box takes the exact shape of the featured
   work (--ar is its width / height), as large as the screen allows. In grids, a
   work close to 4:5 fills its plate; any other shape sits inside it on a mount.
   ========================================================================== */
:root{ --hero-h:min(78vh, 860px); }
@media (max-width:1000px){ :root{ --hero-h:min(64vh, 580px); } }

.hero__art{ --art-w:min(100%, calc(var(--hero-h) * var(--ar, .8))); }
.hero__art .plate--hero .plate__frame{
  aspect-ratio:var(--ar, .8);
  width:var(--art-w);
  max-height:none;
  margin-inline:auto;
}
.hero__art .plate--hero .plate__img{ width:100%; height:100%; object-fit:contain; }
.hero__art .hero__caption{ width:var(--art-w); margin-inline:auto; }

.plate--fit .plate__img{
  object-fit:contain;
  box-sizing:border-box;
  padding:clamp(.9rem, 7%, 2.2rem);
}
.plate--fit .plate__frame{ background:var(--img-bg); }


/* ==========================================================================
   Refinement layer (1.4)
   Readability, rhythm, depth and motion. Everything below respects reduced
   motion and both the night and day walls.
   ========================================================================== */

/* Typography: balanced headlines, tidy paragraph endings, crisper rendering */
html{ scrollbar-width:thin; scrollbar-color:var(--hair-strong) transparent; }
body{ font-kerning:normal; text-rendering:optimizeLegibility; font-optical-sizing:auto; }
h1,h2,h3,.hero__title,.page-hero__title{ text-wrap:balance; }
p,li,figcaption{ text-wrap:pretty; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:1px; }

/* Links inside running text must be recognisable without relying on colour */
.woocommerce-breadcrumb a,
.prose a,.entry-content p a,.page-hero__lede a{ text-decoration:underline; text-decoration-color:var(--hair-strong); text-underline-offset:.28em; text-decoration-thickness:1px; transition:text-decoration-color .3s, color .3s; }
.woocommerce-breadcrumb a:hover,.prose a:hover,.entry-content p a:hover,.page-hero__lede a:hover{ color:var(--accent); text-decoration-color:var(--accent); }

/* Film grain: a whisper of texture that makes flat black feel like a wall */
body::after{
  content:""; position:fixed; inset:0; z-index:9998; pointer-events:none; opacity:.07; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-lights="on"] body::after{ opacity:.09; }

/* Hero: headline sized so the buttons always sit on the first screen */
.hero{ padding:clamp(2.2rem,5vw,4.4rem) 0 clamp(2.6rem,5vw,4.6rem); }
.hero::before{ content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(110% 85% at 72% 38%, transparent 38%, rgba(0,0,0,.34) 100%); }
:root[data-lights="on"] .hero::before{ background:radial-gradient(110% 85% at 72% 38%, transparent 45%, rgba(60,45,15,.10) 100%); }
.hero__art{ z-index:1; }
.hero__title{ font-size:clamp(2.7rem,5.5vw,5.4rem); line-height:1.02; letter-spacing:-.028em; max-width:11.5em; }
.hero__lede{ font-size:clamp(1.02rem,1.25vw,1.18rem); }
.hero__cta{ margin-top:1.9rem; }
.hero__stats{ margin-top:clamp(1.9rem,3.6vw,3rem); padding-top:1.5rem; }

/* Header: a little more presence once the page moves */
.gl-header.is-stuck{
  background:color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter:blur(20px) saturate(150%);
  box-shadow:0 18px 40px -30px rgba(0,0,0,.9);
}
:root[data-lights="on"] .gl-header.is-stuck{ box-shadow:0 18px 40px -30px rgba(40,30,10,.35); }

/* Plates: frames lift, images arrive softly */
.plate__frame{ box-shadow:inset 0 0 0 1px var(--hair-soft); transition:transform .9s var(--ease), box-shadow .9s var(--ease); }
.plate:hover .plate__frame{ transform:translateY(-6px); box-shadow:var(--shadow), inset 0 0 0 1px var(--hair); }
.plate__frame img{ animation:plateIn 1s var(--ease) backwards; }
@keyframes plateIn{ from{ opacity:0; transform:scale(1.02); } to{ opacity:1; transform:none; } }

/* Buttons: a slow sheen on the solid brass button */
.btn--solid{ position:relative; overflow:hidden; isolation:isolate; }
.btn--solid::after{ content:""; position:absolute; inset:0; z-index:-1; transform:translateX(-130%);
  background:linear-gradient(110deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%); transition:transform .9s var(--ease); }
.btn--solid:hover::after{ transform:translateX(130%); }

/* Smooth page-to-page transitions (browsers without support simply navigate) */
@view-transition{ navigation:auto; }
.gl-header{ view-transition-name:site-header; }
::view-transition-old(root),::view-transition-new(root){ animation-duration:.3s; animation-timing-function:var(--ease); }

/* Quick-buy bar on phones: price and button stay in reach on a work's page */
.buybar{ display:none; }
@media (max-width:900px){
  .buybar{
    display:flex; align-items:center; justify-content:space-between; gap:1rem;
    position:fixed; left:0; right:0; bottom:0; z-index:115;
    padding:.8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom));
    background:color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter:blur(18px) saturate(140%);
    border-top:1px solid var(--hair); transform:translateY(110%); transition:transform .55s var(--ease);
  }
  .buybar.is-on{ transform:none; }
  .buybar__info{ display:flex; flex-direction:column; min-width:0; }
  .buybar__title{ font-family:var(--font-display); font-size:1.05rem; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--text); }
  .buybar__price{ font-family:var(--font-mono); font-size:.78rem; color:var(--text-2); }
  .buybar__price del{ color:var(--text-3); margin-right:.4em; }
  .buybar__price ins{ text-decoration:none; color:var(--accent); }
  body.has-buybar{ padding-bottom:5.2rem; }
}

@media (prefers-reduced-motion:reduce){
  @view-transition{ navigation:none; }
  .plate__frame img{ animation:none; }
  .btn--solid::after{ display:none; }
  .plate:hover .plate__frame{ transform:none; }
}

/* WooCommerce paints breadcrumb links a fixed grey; use the theme's own readable tone */
.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-breadcrumb a{ color:var(--text-2); }
.woocommerce .woocommerce-breadcrumb a:hover{ color:var(--accent); }


/* ==========================================================================
   Quiet refinement (1.5)
   Calmer, more spacious, more restrained. The brass accent is kept for the
   one thing on each screen that matters.
   ========================================================================== */
body::after,.hero::before{ content:none; display:none; }
.hero__scroll{ display:none; }
.lights .tool__label{ display:none; }

.hero{ padding:clamp(3rem,7vw,6.5rem) 0 clamp(3.5rem,7vw,6.5rem); }
.hero__title{ font-size:clamp(2.4rem,4.6vw,4.4rem); letter-spacing:-.02em; line-height:1.06; font-weight:400; }
.section{ padding-block:clamp(4rem,9vw,8rem); }

/* Labels: lighter tracking, no shouting */
.plate__meta,.plate__state,.plate__no{ letter-spacing:.06em; }
.plate__meta{ font-size:.68rem; text-transform:none; }
.plate__state{ text-transform:none; font-size:.7rem; }
.plate__foot{ border-top:0; padding-top:0; }
.plate__body{ gap:.5rem; padding-top:1rem; }
.plate__title{ font-size:1.18rem; }

/* Cards: the picture speaks; tags and hints stay out of the way */
.plate__tick{ display:none; }
.plate:not(.plate--hero) .plate__no,
.plate__hint{ display:none; }
.plate__frame,.plate:hover .plate__frame{ box-shadow:none; }
.plate:hover .plate__frame{ transform:none; }
.plate:hover .plate__frame img{ transform:scale(1.02); }
.plate--hero .plate__no{ opacity:.8; }

/* Footer wordmark: present, not loud */
.gl-footer__word{ opacity:.35; }

/* Primary action only: solid brass; sheen removed */
.btn--solid::after{ display:none; }

/* The Artist: a single calm reading column */
.artist-bio{ max-width:40rem; margin-inline:auto; }
.artist-bio h2{ font-family:var(--font-display); font-weight:400; font-size:clamp(1.8rem,3.4vw,2.6rem); line-height:1.1; margin:0 0 .5rem; }
.artist-bio .artist-role{ color:var(--text-2); font-size:.95rem; letter-spacing:.02em; margin:0 0 2.4rem; padding-bottom:1.6rem; border-bottom:1px solid var(--hair); }
.artist-bio p{ font-size:1.06rem; line-height:1.85; color:var(--text); margin:0 0 1.5em; }
.artist-bio__cta{ margin-top:3rem !important; }

/* Order received / account: billing and shipping addresses sit side by side, aligned to the order table */
.woocommerce-order .woocommerce-customer-details{ margin-top:clamp(2rem,4vw,3rem); }
.woocommerce-order .woocommerce-customer-details .col2-set,
.woocommerce-order .woocommerce-columns--addresses,
.woocommerce-account .woocommerce-Addresses{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,3vw,3rem);
  width:auto; float:none; align-items:start;
}
.woocommerce-order .woocommerce-customer-details .col2-set::before,
.woocommerce-order .woocommerce-customer-details .col2-set::after{ display:none; }
.woocommerce-order .woocommerce-customer-details .col-1,
.woocommerce-order .woocommerce-customer-details .col-2,
.woocommerce-order .woocommerce-column,
.woocommerce-account .woocommerce-Address{ float:none; width:auto; max-width:none; margin:0; padding:0; }
.woocommerce-order .woocommerce-column__title,
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-bacs-bank-details h2,
.woocommerce-order h2{ font-size:clamp(1.4rem,2.4vw,1.9rem); line-height:1.15; margin:0 0 1rem; }
.woocommerce-order address{ font-style:normal; margin:0; padding:0; border:0; line-height:1.7; }
@media (max-width:640px){
  .woocommerce-order .woocommerce-customer-details .col2-set,
  .woocommerce-order .woocommerce-columns--addresses{ grid-template-columns:1fr; }
}
.woocommerce-order .woocommerce-customer-details address,
.woocommerce-order .woocommerce-column address{ padding:0; border:0; background:none; }

/* ==========================================================================
   Insights: live art news (1.6)
   ========================================================================== */
.insights__stamp{ display:flex; align-items:center; gap:.7rem; margin:1.8rem 0 0; font-size:.86rem; color:var(--text-2); }
.insights__dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 var(--accent); animation:insPulse 2.6s ease-out infinite; }
@keyframes insPulse{ 0%{ box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 80%,100%{ box-shadow:0 0 0 9px transparent; } }
@media (prefers-reduced-motion:reduce){ .insights__dot{ animation:none; } }

.insights__filters{ display:flex; flex-wrap:wrap; gap:.55rem; margin-bottom:clamp(1.8rem,4vw,3rem); }
.chip{
  font:inherit; font-size:.86rem; color:var(--text-2); background:transparent; cursor:pointer;
  border:1px solid var(--hair); padding:.55em 1.1em; border-radius:99px; transition:color .25s, border-color .25s, background .25s;
}
.chip:hover{ color:var(--text); border-color:var(--hair-strong); }
.chip.is-on{ color:var(--accent-ink); background:var(--accent); border-color:var(--accent); }

.story{ margin:0; }
.story[hidden],.insights__lead[hidden]{ display:none; }
.story__link{ display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.story__media{ display:block; aspect-ratio:3/2; overflow:hidden; background:var(--surface-2); }
.story__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform 1s var(--ease); }
.story__link:hover .story__media img{ transform:scale(1.025); }
.story__body{ display:flex; flex-direction:column; gap:.55rem; padding-top:1rem; flex:1; }
.story__meta{ font-size:.78rem; color:var(--accent); letter-spacing:.02em; }
.story__title{ font-family:var(--font-display); font-size:1.32rem; line-height:1.18; color:var(--text); transition:color .25s; }
.story__link:hover .story__title{ color:var(--accent); }
.story__excerpt{ font-size:.94rem; line-height:1.6; color:var(--text-2); }
.story__source{ margin-top:auto; padding-top:.4rem; font-size:.8rem; color:var(--text-3); }
.story__source i{ font-style:normal; margin:0 .25em; }

.insights__lead{ margin-bottom:clamp(2.5rem,5vw,4.5rem); padding-bottom:clamp(2.5rem,5vw,4.5rem); border-bottom:1px solid var(--hair); }
.story--lead .story__link{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(1.5rem,4vw,4rem); align-items:center; }
.story--lead .story__media{ aspect-ratio:16/10; }
.story--lead .story__body{ padding-top:0; gap:.9rem; }
.story--lead .story__title{ font-size:clamp(1.9rem,3.6vw,3rem); line-height:1.08; }
.story--lead .story__excerpt{ font-size:1.05rem; }
.story--lead.story--text .story__link{ display:block; max-width:46rem; }

.insights__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(2rem,3.5vw,3.2rem) clamp(1.5rem,3vw,2.6rem); }
.story--text:not(.story--lead) .story__link{ border-top:1px solid var(--hair); padding-top:1.1rem; }
.story--text:not(.story--lead) .story__body{ padding-top:0; }
.insights__empty{ color:var(--text-2); padding:3rem 0; }
.insights__note{ margin:clamp(2.5rem,5vw,4rem) 0 0; font-size:.82rem; color:var(--text-3); max-width:46rem; }

.museums{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.8rem,3vw,2.8rem) clamp(1.5rem,3vw,2.6rem); }
.museum{ border-top:1px solid var(--hair); padding-top:1.1rem; }
.museum__city{ font-size:.8rem; color:var(--accent); }
.museum__name{ font-family:var(--font-display); font-weight:400; font-size:1.4rem; margin:.3rem 0 .5rem; }
.museum__name a:hover{ color:var(--accent); }
.museum p{ margin:0; font-size:.94rem; line-height:1.6; color:var(--text-2); }

@media (max-width:980px){ .insights__grid,.museums{ grid-template-columns:repeat(2,minmax(0,1fr)); } .story--lead .story__link{ grid-template-columns:1fr; } }
@media (max-width:620px){ .insights__grid,.museums{ grid-template-columns:1fr; } .insights__filters{ flex-wrap:nowrap; overflow-x:auto; margin-inline:calc(var(--gutter) * -1); padding-inline:var(--gutter); scrollbar-width:none; } .chip{ white-space:nowrap; } }


/* Header menu: seven short items stay on one line */
.nav > ul{ gap:clamp(1rem,1.9vw,2.1rem); flex-wrap:nowrap; }
.nav a{ white-space:nowrap; letter-spacing:.1em; font-size:.68rem; }
