/* Portfolio website — shared visual system based on approved white mockups.
   Offline-safe: no external fonts, frameworks, CDN assets, or fetch requests. */
:root {
  --paper: #fff; --ink: #191d1f; --muted: #666a6b;
  --line: #dedfdd; --soft: #f7f6f3; --accent: #d79620;
  --font-editorial: Georgia, 'Times New Roman', serif;
  --font-ui: Arial, Helvetica, sans-serif;
  --content-width: 1420px; --page-gutter: clamp(22px, 5.4vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.52 var(--font-editorial); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { width: min(100% - 2 * var(--page-gutter), var(--content-width)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; }
.site-brand { font: 30px/1.1 var(--font-editorial); letter-spacing: -.035em; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 48px); align-items: center; }
.site-nav a { position: relative; font-size: 17px; padding: 7px 0 10px; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; background: var(--ink); bottom: 0; left: 0; right: 0; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; padding: 8px 12px; cursor: pointer; }
main { min-height: 60vh; }
.page-intro { padding: clamp(45px, 6vw, 90px) 0 34px; }
.page-title { font-size: clamp(48px, 5.2vw, 76px); line-height: 1.07; letter-spacing: -.045em; font-weight: 400; margin: 0 0 17px; }
.page-description { max-width: 630px; margin: 12px 0 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; }
.accent-rule { display: block; width: 65px; height: 4px; background: var(--accent); margin: 18px 0; }
.eyebrow { font: 11px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: .27em; }
.text-muted, .metadata { color: var(--muted); }
.metadata { font-size: 15px; }
.back-link { display: inline-block; font-size: 17px; margin: 20px 0; }
.back-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); padding: 11px 24px; font-size: 16px; background: transparent; cursor: pointer; min-height: 44px; }
.button:hover { background: var(--soft); }
.button--dark { color: #fff; background: var(--ink); }
.button--dark:hover { background: #3c4142; }
.button-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.home-hero { position: relative; min-height: min(650px, 74vh); overflow: hidden; display: flex; align-items: center; }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.84) 25%, rgba(255,255,255,.65) 55%, rgba(255,255,255,.48) 100%); }
.home-hero__content { position: relative; z-index: 2; padding-block: 70px; }
.home-hero h1 { max-width: 700px; font-size: clamp(42px, 5vw, 76px); line-height: 1.09; letter-spacing: -.035em; font-weight: 400; margin: 30px 0; }
.home-hero .eyebrow { letter-spacing: .34em; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 35px; margin: 20px 0 30px; }
.filter-bar button, .filter-bar a { background: none; border: 0; padding: 4px 0 8px; font-size: 16px; cursor: pointer; border-bottom: 2px solid transparent; }
.filter-bar button[aria-pressed="true"], .filter-bar a[aria-current="page"] { border-bottom-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.gallery-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-card { min-width: 0; }
.gallery-card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.gallery-card--square img { aspect-ratio: 1; }
.gallery-card h2, .gallery-card h3 { font-size: 23px; font-weight: 400; line-height: 1.18; margin: 11px 0 5px; }
.gallery-card p { font-size: 16px; line-height: 1.4; margin: 4px 0; }
.gallery-card .eyebrow { margin-top: 13px; }
.gallery-card[hidden] { display: none !important; }
.category-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 50px; padding-top: 12px; }
.category-sidebar { border-right: 1px solid var(--line); padding-right: 22px; }
.category-sidebar h2 { font-size: 24px; font-weight: 400; margin: 0 0 14px; }
.category-sidebar a { display: block; padding: 9px 10px; font-size: 17px; }
.category-sidebar a[aria-current="page"] { border-left: 3px solid var(--accent); background: var(--soft); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .9fr); gap: clamp(35px, 5vw, 90px); padding: 12px 0 70px; align-items: start; }
.detail-main-image { width: 100%; height: auto; background: #faf9f6; }
.detail-thumbs { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; margin-top: 20px; }
.detail-thumbs button { flex: 0 1 72px; min-width: 0; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.detail-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.detail-thumbs img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.detail-copy h1 { font-size: clamp(40px, 4vw, 62px); font-weight: 400; margin: 0; line-height: 1.12; }
.detail-copy p { font-size: 20px; }
.detail-specs { border-block: 1px solid var(--line); margin: 34px 0; padding: 16px 0; }
.detail-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 7px 0; font-size: 17px; }
.detail-specs dt { font-weight: bold; }
.detail-specs dd { margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .92fr); gap: 55px; padding: 25px 0 80px; }
.article-content { max-width: 900px; }
.article-content h1 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.13; font-weight: 400; margin: 10px 0; }
.article-content h2 { font-size: 32px; font-weight: 400; margin-top: 32px; }
.article-content p { font-size: 19px; line-height: 1.6; }
.article-cover { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; margin: 25px 0; }
.article-sidebar { border-left: 1px solid var(--line); padding-left: 42px; }
.article-sidebar h2 { font-size: 27px; font-weight: 400; }
.cv-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 65px; }
.cv-metric { background: var(--soft); padding: 30px; }
.cv-metric strong { font-size: clamp(32px, 3vw, 48px); font-weight: 400; display: block; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr); gap: 70px; padding: 20px 0 80px; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #c9cbcb; padding: 12px 15px; background: white; color: var(--ink); font-size: 16px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }

.commission-link { text-decoration: underline; text-underline-offset: .15em; }
.home-commission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 2rem; padding-block: 0 4rem; }
.home-commission figure { margin: 0; }
.home-commission img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .home-commission { grid-template-columns: 1fr; }
}

.artwork-zoom [data-room-caption] { color: #fff; margin: 4px 0 0; text-align: center; font-size: 14px; line-height: 20px; }
