/* "Gallery" design: graphite walls, warm off-white text, and bronze used only as a
   quiet accent, so that the sculptures themselves carry the colour. One modern
   sans-serif (Manrope) throughout; generous space; photographs large. */
:root {
  --bg: #141415;
  --bg-dark: #0d0d0e;
  --surface: #1c1c1e;
  --surface-2: #232326;
  --text: #ebe7df;
  --muted: #9b958b;
  --faint: #6e6961;
  --line: rgba(235, 231, 223, .12);
  --line-strong: rgba(235, 231, 223, .28);
  --bronze: #c39463;
  --bronze-light: #dcb889;
  --green: #8cc4a0;
  --rose: #e39a9a;
  --field: #0d0d0e;      /* form fields */
  --on-text: #0d0d0e;    /* text on a solid text-coloured button */
  --overlay: rgba(13, 13, 14, .7);
  --sans: 'Manrope Variable', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Large headings, the artist's name and quotes: a classical serif, as in
     museum catalogues. Only at large sizes; small text stays in --sans. */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --gap: clamp(20px, 3vw, 36px);
}
/* Other backgrounds, chosen in the admin panel (Настройки → Оформление). */
html[data-theme="stone"] {
  --bg: #2b2926; --bg-dark: #232120; --surface: #353230; --surface-2: #3d3a37; --field: #1f1d1b;
  --text: #f0ece5; --muted: #b3aca1; --faint: #8a8379;
  --line: rgba(240, 236, 229, .13); --line-strong: rgba(240, 236, 229, .3);
  --on-text: #1c1a18; --overlay: rgba(35, 33, 32, .75);
}
html[data-theme="light"] {
  --bg: #f3f0ea; --bg-dark: #e8e3da; --surface: #e6e1d8; --surface-2: #ddd7cc; --field: #fffdf9;
  --text: #1f1d1a; --muted: #67615a; --faint: #8e877c;
  --line: rgba(31, 29, 26, .12); --line-strong: rgba(31, 29, 26, .3);
  --bronze: #94632f; --bronze-light: #7a4f22; --green: #2e7a4d; --rose: #b34848;
  --on-text: #f7f4ee; --overlay: rgba(243, 240, 234, .85);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Always reserve the scrollbar's space, so the layout doesn't jump sideways
   between pages that scroll and pages that don't (e.g. a short Works list). */
html { scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  /* Sticky footer: on short pages, main grows so the footer sits at the bottom. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--bronze); color: var(--on-text); }
:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); }
/* Serif headings: Cormorant's letters are smaller than Manrope's, hence the larger sizes. */
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2.05rem, 3.8vw, 3.05rem); }
h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 20; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.narrow { max-width: 820px; }
.narrow-text { max-width: 44em; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 40px; max-width: 46em; }
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section + .section { padding-top: 0; }
.section-dark { background: var(--bg-dark); padding: clamp(64px, 9vw, 120px) 0; }
.prose { white-space: pre-line; font-size: 1.04rem; }
.link { color: var(--bronze-light); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }

.eyebrow {
  margin: 0 0 18px; color: var(--bronze); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.heading { margin: 0 0 48px; }
h1.heading { font-size: clamp(2.7rem, 6.2vw, 4.5rem); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px; margin-bottom: 52px;
}
.section-head .heading { margin: 0; }
.section-lead { margin: 0; max-width: 32em; color: var(--muted); }

/* Text link with an arrow */
.arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500;
  padding: 4px 0; border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s;
}
.arrow::after { content: '→'; transition: transform .2s; }
.arrow:hover { color: var(--bronze-light); border-color: var(--bronze-light); }
.arrow:hover::after { transform: translateX(4px); }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  background: var(--text); color: var(--on-text); border: 1px solid var(--text);
  padding: 14px 28px; font: 600 .92rem var(--sans); letter-spacing: .02em;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--text); }
.hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.center-btns { justify-content: center; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
/* The artist's name in the serif, like the large name on the home page. */
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.05; letter-spacing: .005em; }
.brand-sub { font-size: .76rem; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 30px; }
.nav a {
  text-decoration: none; padding: 4px 0; font-size: .9rem; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.on { color: var(--text); }
.nav a.on { border-bottom-color: var(--bronze); }
.langs { display: flex; gap: 14px; padding-left: 26px; border-left: 1px solid var(--line); }
.nav .lang { font-size: .8rem; letter-spacing: .08em; }

/* Hero: the work is the protagonist; text is calm and left-aligned. */
.hero-in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 104px);
}
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 7rem); letter-spacing: -.02em; line-height: .98; margin-bottom: 28px; }
.hero-tag { font-size: 1.15rem; color: var(--muted); max-width: 26em; margin: 0 0 40px; }
/* The figure shrinks to the photo itself, so the caption lines up with the
   photo's edge rather than with the empty column around a narrow photo. */
.hero-art { margin: 0; width: fit-content; max-width: 100%; justify-self: center; }
.hero-art a { display: block; line-height: 0; }
.hero-art img { display: block; width: auto; height: auto; max-width: 100%; max-height: 78vh; }
/* width 0 + min-width 100%: a long caption wraps under the photo instead of widening the figure. */
.hero-art figcaption { width: 0; min-width: 100%; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.hero-art figcaption span { color: var(--text); font-weight: 500; margin-right: 12px; }

/* Artist statement */
.statement-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 104px) 0; }
.statement-band blockquote {
  margin: 0; max-width: 24em; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 500;
  line-height: 1.3; letter-spacing: 0;
}
.statement-band blockquote::before {
  content: ''; display: block; width: 48px; height: 1px; background: var(--bronze); margin-bottom: 28px;
}

/* Works grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 56px var(--gap); }
.card { display: block; text-decoration: none; }
.card-img { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
/* contain, not cover: the whole sculpture is shown, so a tall figure keeps its top and base. */
.card-img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.04); }
.card-views {
  position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; background: var(--overlay); color: var(--text); padding: 3px 9px;
}
.card-views::before { content: ''; width: 9px; height: 9px; border: 1px solid currentColor; box-shadow: 2px -2px 0 -1px var(--overlay), 2px -2px 0 0 currentColor; }
.card-body { display: block; padding-top: 16px; }
.card-title { display: block; font-size: 1.05rem; font-weight: 500; line-height: 1.35; }
.card-meta { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.card-status { display: block; margin-top: 6px; font-size: .84rem; font-weight: 500; }
.card-status.ok { color: var(--green); }
.card-status.order { color: var(--bronze-light); }
.card-status.sold { color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.chips.mats { margin-bottom: 48px; }
.chips-label { color: var(--faint); font-size: .85rem; margin-right: 6px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 7px 16px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .88rem; transition: all .2s;
}
.chips a:hover { color: var(--text); border-color: var(--line-strong); }
.chips a.on { background: var(--text); border-color: var(--text); color: var(--on-text); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }

.band { background: var(--bg-dark); padding: clamp(64px, 9vw, 120px) 0; }

/* Patina: text on the left, close-ups of the metal on the right */
.patina-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.patina-intro .heading { margin-bottom: 28px; }
/* Text only, until works have real patina close-ups. */
.patina-in.solo { grid-template-columns: minmax(0, 1fr); }
.patina-in.solo .patina-intro { max-width: 46em; }
.patina-text { margin: 0 0 24px; font-size: 1.15rem; line-height: 1.7; }
.patina-note { margin: 0; font-size: .86rem; color: var(--faint); }
.patina-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
.patina-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.patina-ex { display: block; text-decoration: none; }
.patina-pic { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.patina-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.patina-ex:hover .patina-pic img { transform: scale(1.06); }
.patina-name { display: block; font-size: .98rem; font-weight: 500; line-height: 1.4; }
.patina-work { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); }

/* Metal */
.metals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.metal { display: block; text-decoration: none; }
.metal-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.metal-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.metal:hover .metal-img img { transform: scale(1.05); }
.metal-name { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 1.15rem; font-weight: 500; }
.metal-name::after { content: '→'; color: var(--faint); transition: transform .2s, color .2s; }
.metal:hover .metal-name::after { color: var(--bronze-light); transform: translateX(4px); }
.metal-text { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* Lost-wax process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); }
.process li { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.step-n { display: block; margin-bottom: 26px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--bronze); }
.process h3 { margin-bottom: 10px; }
.process p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Text block on the home and About pages (default heading «Бурятская традиция») */
.heritage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.heritage .heading { margin-bottom: 0; }
.heritage-text { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 300; line-height: 1.65; }

/* About */
.about-teaser { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: center; border-top: 1px solid var(--line); }
.section.about-teaser { padding-top: clamp(64px, 9vw, 120px); }
.portrait { flex: 0 1 380px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-teaser > div:last-child { flex: 1 1 380px; max-width: 40em; }
.about-teaser .heading { margin-bottom: 24px; }
.about-teaser .prose { margin: 0 0 28px; color: var(--muted); }
.about { display: flex; gap: clamp(32px, 6vw, 96px); align-items: flex-start; flex-wrap: wrap; }
.about > div:last-child { flex: 1 1 380px; max-width: 44em; }
.frame { display: inline-block; line-height: 0; background: var(--surface); }
.frame img { display: block; }
.frame.small { flex: 0 1 380px; }
.statement { margin: 36px 0 0; padding-left: 24px; border-left: 1px solid var(--bronze); }
.statement blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-weight: 500; line-height: 1.4; }
.statement figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.about-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: start; }
.cv { list-style: none; margin: 0; padding: 0; }
.cv li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cv b { flex: none; min-width: 5.5em; color: var(--bronze); font-weight: 600; }
.cv a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.cv a:hover { color: var(--bronze-light); }
.cv-pdf { margin-top: 28px; }
.cv-short { margin: 0 0 28px; }
.cv-short li { padding: 10px 0; font-size: .95rem; }

/* Buyer reviews */
.reviews { border-top: 1px solid var(--line); }
.section.reviews { padding-top: clamp(64px, 9vw, 120px); }
.reviews .heading { margin-bottom: 40px; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 56px; }
.review { margin: 0; padding-left: 24px; border-left: 1px solid var(--bronze); }
.review blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; font-weight: 500; line-height: 1.4; }
.review figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; }

/* "Usually replies within a day" under the contacts and forms */
.reply-note { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.studio { margin: 0; }
.studio figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }

/* Call to action */
.cta { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; }
.cta-in h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.015em; }
.cta-in p { margin: 0; max-width: 36em; color: var(--muted); }

/* Commission page */
.commission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.commission h2.sub { font-size: 1.35rem; font-weight: 500; margin-bottom: 16px; }
.commission .side { position: sticky; top: 24px; }
.commission .side .form { margin-top: 0; }
.ornate-list { list-style: none; padding: 0; margin: 0 0 36px; }
.ornate-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); }
.ornate-list li::before { content: ''; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--bronze); }
.steps-list { list-style: none; margin: 0 0 48px; padding: 0; counter-reset: st; }
.steps-list li { counter-increment: st; display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: '0' counter(st); flex: none; min-width: 2em; padding-top: .2em; font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--bronze); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.mini-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mini-grid a:hover img { transform: scale(1.05); }

/* Inner pages: a calm left-aligned header, like a gallery wall label */
.section.page { padding-top: clamp(48px, 7vw, 96px); }
.page-head { margin-bottom: 48px; }
.page-head .heading { margin: 0; }
.page-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 64px; }
.count { font-size: .32em; font-weight: 500; color: var(--bronze); margin-left: .4em; vertical-align: super; letter-spacing: 0; }
.filters { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.tabs a { text-decoration: none; padding: 4px 0; font-size: 1rem; font-weight: 500; color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-bottom-color: var(--bronze); }
.filters .chips { margin: 0; }
.empty { color: var(--muted); padding: 48px 0; }

/* About page */
.section.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.section.about.solo { grid-template-columns: minmax(0, 1fr); }
.section.about .portrait { flex: none; position: sticky; top: 24px; }
.about-text .heading { font-size: clamp(3.1rem, 7.2vw, 5.8rem); letter-spacing: -.02em; line-height: 1; margin-bottom: 36px; }
.bio { margin: 0; font-size: 1.08rem; max-width: 38em; }
.statement-by { margin: 24px 0 0; color: var(--muted); font-size: .92rem; }
.about-more .heading { margin-bottom: 28px; }
.studio img { display: block; width: 100%; }

/* Contact page */
.section.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .heading { margin-bottom: 24px; }
.contact .section-lead { margin-bottom: 40px; }
.contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 28px; }
.contact-list a { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 300; text-decoration: none; padding: 6px 0; letter-spacing: -.01em; transition: color .2s; }
.contact-list a:hover { color: var(--bronze-light); }
.contact .form { margin-top: 0; }

/* 404 */
.not-found { min-height: 50vh; }
.big-code { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(5.5rem, 17vw, 12rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--faint); }
.not-found .heading { margin-bottom: 40px; }

/* Work page */
.work-page { padding-top: 28px; padding-bottom: clamp(64px, 9vw, 120px); }
.back { display: inline-flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.back::before { content: '←'; transition: transform .2s; }
.back:hover { color: var(--text); }
.back:hover::before { transform: translateX(-4px); }
.more-works { border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 28px; }
/* Like the home page photo: the block shrinks to the photo itself, so the
   thumbnails line up with the photo's edge, not with the empty column. */
.work-art { position: sticky; top: 20px; width: fit-content; max-width: 100%; justify-self: center; }
.stage { display: block; cursor: zoom-in; line-height: 0; }
.stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80vh; }
/* width 0 + min-width 100%: many thumbnails wrap under the photo instead of widening the block. */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; width: 0; min-width: 100%; }
/* Each view: the picture, and under it what it shows (Front, Back, Detail…). */
.thumb { width: 80px; padding: 0; cursor: pointer; background: none; border: 0; color: var(--muted); font: inherit; text-align: left; opacity: .7; transition: opacity .2s, color .2s; }
.thumb-img { display: block; width: 80px; height: 80px; background: var(--surface); border: 1px solid transparent; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-label { display: block; margin-top: 5px; font-size: .78rem; line-height: 1.25; }
.thumb:hover, .thumb.on { opacity: 1; color: var(--text); }
.thumb.on .thumb-img { border-color: var(--text); }
.work-cat { color: var(--bronze); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.work-info h1 { margin-bottom: 28px; font-size: clamp(2.3rem, 4.5vw, 3.4rem); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-right: 28px; font-size: .92rem; }
.facts dd { margin: 0; }
/* Status and price at the top of the work page form: one block with the inquiry. */
.form-buy { padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-buy .buy-price { margin-bottom: 0; }
.form-alt { margin: 16px 0 0; }
.buy-status { font-size: .9rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.buy-status.ok { color: var(--green); }
.buy-status.order { color: var(--bronze-light); }
.buy-price { font-size: 2rem; font-weight: 300; letter-spacing: -.02em; margin-bottom: 18px; }
/* No price set: a quiet line, not the biggest words on the page. */
.buy-price.ask { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; }
.buy-note { margin: 18px 0 0; font-size: .86rem; color: var(--muted); }

/* Forms */
.form { background: var(--surface); padding: clamp(22px, 3vw, 34px); margin: 32px 0; scroll-margin-top: 20px; }
.form h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 20px; }
.form label { display: block; font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.form input, .form textarea, .form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 16px var(--sans);
  color: var(--text); background: var(--field); border: 1px solid var(--line-strong); border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--bronze-light); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form small { display: block; margin-top: 6px; font-size: .8rem; color: var(--faint); }
.note { padding: 12px 16px; margin: 0 0 18px; font-weight: 500; }
.note.ok { background: rgba(140, 196, 160, .1); color: var(--green); border: 1px solid rgba(140, 196, 160, .35); }
.note.err { background: rgba(227, 154, 154, .1); color: var(--rose); border: 1px solid rgba(227, 154, 154, .35); }

.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.contact-links a:hover { color: var(--bronze-light); border-color: var(--bronze-light); }
.contact-links.big { justify-content: center; font-size: 1.2rem; margin: 24px 0 8px; }

/* Footer */
.bottom { background: var(--bg-dark); color: var(--muted); padding: 48px 0 28px; font-size: .92rem; }
.bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.bottom-name { font-size: .98rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.bottom-tag { max-width: 30em; }
.bottom-nav, .bottom-links { display: flex; flex-direction: column; gap: 6px; }
.bottom-nav a, .bottom-links a { color: var(--text); text-decoration: none; }
.bottom-nav a:hover, .bottom-links a:hover { color: var(--bronze-light); }
.bottom-copy { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 30; background: rgba(8, 8, 9, .97); display: flex; align-items: center; justify-content: center; padding: 16px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { position: absolute; background: transparent; color: var(--text); border: 1px solid var(--line-strong); width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { border-color: var(--text); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .88rem; }

@media (max-width: 1080px) {
  .metals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-in, .work, .commission, .patina-in, .heritage, .section.about, .section.contact { grid-template-columns: minmax(0, 1fr); }
  .section.about .portrait, .commission .side { position: static; }
  .section.about .portrait { order: -1; max-width: 420px; }
  .hero-in { padding-top: 32px; }
  /* Phones: name, tagline and buttons first, so the call to action is on the first screen. */
  .hero-art img { max-height: 56vh; }
  .work-art { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait, .frame.small { flex-basis: 100%; max-width: 420px; }
  .lightbox { padding: 64px 8px; }
}
@media (max-width: 560px) {
  .top-in { flex-direction: column; align-items: flex-start; }
  .nav { gap: 6px 20px; }
  .langs { padding-left: 0; border-left: 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .metals, .patina-grid { gap: 32px 14px; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .section-head { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
