/* ==================== TOKENS ==================== */
:root {
  --bg: #0d0c0b;
  --bg-elev: #16130f;
  --ink: #f2ede4;
  --muted: #8b8378;
  --accent: #c9a15a;       /* aged brass */
  --accent2: #7a3b2e;      /* dried terracotta */
  --line: rgba(242,237,228,0.10);
  --glass: rgba(22,19,15,0.55);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --radius: 2px;
  --container: 1240px;
}

@media (prefers-color-scheme: light) {
  /* reserved for future light theme toggle */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* focus visibility for a11y */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* custom brush cursor over artworks (desktop only) */
.brush-cursor {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, rgba(201,161,90,0.35), transparent 70%);
  transform: translate(-50%,-50%);
  opacity: 0; transition: opacity 200ms var(--ease);
  will-change: transform;
}
@media (hover: none) { .brush-cursor { display: none; } }

/* mouse-follow ambient light */
.ambient-light {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(201,161,90,0.06), transparent 60%);
}

/* floating particles canvas */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ==================== NAV ==================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
  background: linear-gradient(to bottom, rgba(13,12,11,0.85), transparent);
  backdrop-filter: blur(6px);
  transition: padding 300ms var(--ease), background 300ms var(--ease);
}
.nav.scrolled { padding: 12px 32px; background: rgba(13,12,11,0.85); border-bottom: 1px solid var(--line); }
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color 200ms var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent);
  transition: width 250ms var(--ease-out-quart);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-icon-btn {
  background: none; border: none; color: var(--muted); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav-icon-btn:hover { color: var(--accent); background: var(--line); }
.nav-burger { display: none; }
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw);
    background: var(--bg-elev); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 24px; transition: right 350ms var(--ease-in-out-quart); border-left: 1px solid var(--line); }
  .nav-links.open { right: 0; }
  .nav-burger { display: flex; }
}

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px 32px 60px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  filter: saturate(0.7) brightness(0.35);
  transform: scale(1.08);
}
.hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, rgba(13,12,11,0.3), var(--bg) 92%); }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent);
  opacity: 0; animation: fadeUp 800ms var(--ease-out-quart) 200ms forwards;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem); margin: 18px 0 20px; line-height: 1.02;
  opacity: 0; animation: fadeUp 900ms var(--ease-out-quart) 400ms forwards;
}
.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 40px;
  opacity: 0; animation: fadeUp 900ms var(--ease-out-quart) 600ms forwards;
}
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 900ms var(--ease-out-quart) 800ms forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius);
  border: 1px solid var(--accent); transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn-primary { background: var(--accent); color: #16130f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(201,161,90,0.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* signature brush-stroke underline / divider, reused across the site */
.brush-divider { width: 140px; height: 26px; margin: 0 auto; opacity: 0.9; }
.brush-divider path { stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: drawStroke 1200ms var(--ease-out-quart) forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0; animation: fadeUp 900ms var(--ease-out-quart) 1200ms forwards; }
.scroll-cue .line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--accent);
  animation: scrollLine 1800ms ease-in-out infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ==================== SECTIONS ==================== */
section { position: relative; z-index: 2; padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 900ms var(--ease-out-quart), transform 900ms var(--ease-out-quart); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==================== FILTER BAR ==================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-bottom: 48px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(10px);
}
.search-input {
  flex: 1; min-width: 200px; background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 0.95rem; padding: 8px 4px; transition: border-color 200ms var(--ease);
}
.search-input:focus { border-color: var(--accent); outline: none; }
.search-input::placeholder { color: var(--muted); }
.sort-select {
  background: var(--bg-elev); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 14px; font-size: 0.85rem;
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 7px 14px;
  border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.04em; transition: all 200ms var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip.active { background: var(--accent); color: #16130f; border-color: var(--accent); }

/* ==================== GALLERY GRID / CARDS ==================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px;
}
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev);
  border: 1px solid var(--line); transition: transform 350ms var(--ease-out-quart), box-shadow 350ms var(--ease-out-quart), border-color 350ms var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: rgba(201,161,90,0.4); box-shadow: 0 22px 50px rgba(0,0,0,0.45); }
.card-media { position: relative; overflow: hidden; background: #1a1712; }
.card-media img { width: 100%; height: auto; display: block; transition: transform 700ms var(--ease-out-quart); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::before {
  /* brush stroke reveal on hover */
  content:""; position:absolute; inset:0; background: var(--bg-elev); z-index: 2;
  clip-path: polygon(0 0,100% 0,100% 0,0 0);
  transition: clip-path 550ms var(--ease-out-quart);
}
.card:hover .card-media::before { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); opacity: 0; transition: clip-path 550ms var(--ease-out-quart), opacity 0ms 550ms; }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 3; padding: 8px 14px; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; border-radius: 2px; backdrop-filter: blur(6px);
}
.badge-not-for-sale { background: rgba(122,59,46,0.55); color: #f2ede4; border: 1px solid rgba(242,237,228,0.25); }
.badge-sold { background: rgba(0,0,0,0.6); color: var(--muted); border: 1px solid var(--line); }

.fav-btn {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(13,12,11,0.55); border: 1px solid var(--line); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: transform 200ms var(--ease), color 200ms var(--ease), background 200ms var(--ease);
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.active { color: #e0625a; }
.fav-btn svg { width: 18px; height: 18px; }
.fav-btn.pulse { animation: heartPulse 380ms var(--ease); }
@keyframes heartPulse { 0%{transform:scale(1);} 40%{transform:scale(1.35);} 100%{transform:scale(1);} }

.card-body { padding: 20px 22px 24px; }
.card-year { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.card-title { font-size: 1.3rem; margin: 6px 0 4px; }
.card-medium { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent); }
.card-status-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.card-cta {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color 200ms var(--ease);
}
.card:hover .card-cta { color: var(--accent); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }

/* ==================== SPOTLIGHT ==================== */
.spotlight {
  display: flex; gap: 48px; align-items: center; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; margin-top: 60px;
}
.spotlight img { width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.spotlight-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 700px) { .spotlight { flex-direction: column; text-align: center; } }

/* ==================== DETAIL PAGE ==================== */
.detail-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: flex-start; padding-top: 140px; }
.detail-image { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.detail-image img { width: 100%; }
.detail-meta-row { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 26px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-item .label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta-item .value { font-size: 0.95rem; }
.detail-desc { color: var(--ink); margin: 24px 0; font-size: 1.05rem; }
.detail-story h4 { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.detail-story p { color: var(--muted); }
.detail-price-box { margin-top: 34px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.detail-price { font-family: var(--font-display); font-size: 2rem; color: var(--accent); margin-bottom: 6px; }
.min-offer-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 18px; }
@media (max-width: 900px) { .detail-hero { grid-template-columns: 1fr; padding-top: 110px; } .detail-image { position: static; } }

/* ==================== RELATED ==================== */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px; margin-top: 30px; }

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(8,7,6,0.96); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-stage { position: relative; max-width: 90vw; max-height: 84vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img { max-width: 90vw; max-height: 84vh; object-fit: contain; transition: transform 260ms var(--ease); cursor: zoom-in; border-radius: 2px; }
.lightbox-img.zoomed { cursor: grab; }
.lightbox-caption { position: absolute; bottom: -42px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; }
.lightbox-btn {
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--ink);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.lightbox-btn:hover { background: rgba(255,255,255,0.14); transform: scale(1.06); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-fullscreen { top: 24px; right: 82px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-fullscreen { display: none; }
}

/* ==================== MODAL (Buy / Order / Commission) ==================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1500; background: rgba(8,7,6,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; padding: 36px;
  transform: translateY(24px) scale(0.98); opacity: 0; transition: transform 300ms var(--ease-out-quart), opacity 300ms var(--ease-out-quart);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.modal h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 26px; }

.delivery-option {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; cursor: pointer; transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.delivery-option:hover { border-color: var(--accent); }
.delivery-option.selected { border-color: var(--accent); background: rgba(201,161,90,0.06); }
.delivery-option input { margin-top: 3px; accent-color: var(--accent); }
.delivery-option .dname { font-weight: 600; }
.delivery-option .dcharge { color: var(--accent); font-size: 0.85rem; margin-top: 2px; }
.delivery-option .dnote { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }

.total-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; margin: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total-row .tlabel { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.total-row .tvalue { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); transition: transform 250ms var(--ease); }
.total-row .tvalue.bump { animation: bump 300ms var(--ease); }
@keyframes bump { 0%{transform:scale(1);} 50%{transform:scale(1.12);} 100%{transform:scale(1);} }

.form-field { margin-bottom: 18px; position: relative; }
.form-field label { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); padding: 12px 14px; font-size: 0.95rem; font-family: inherit;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(201,161,90,0.15);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.error input, .form-field.error textarea { border-color: #e0625a; animation: shake 350ms var(--ease); }
.field-error { color: #e0625a; font-size: 0.75rem; margin-top: 6px; display: none; }
.form-field.error .field-error { display: block; }
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-6px);} 75%{transform:translateX(6px);} }

.offer-min-note { font-size: 0.78rem; color: var(--accent); margin-top: 6px; }
.offer-reject { color: #e0625a; font-size: 0.82rem; margin-top: 8px; display: none; }
.offer-reject.show { display: block; animation: shake 350ms var(--ease); }

.modal-actions { display: flex; gap: 14px; margin-top: 8px; }
.modal-actions .btn { flex: 1; justify-content: center; }

.success-check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.success-check svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawStroke 500ms var(--ease-out-quart) 200ms forwards; }

/* ==================== FOOTER ==================== */
footer { border-top: 1px solid var(--line); padding: 60px 0 30px; position: relative; z-index: 2; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.85rem; transition: color 200ms var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; color: var(--muted); font-size: 0.78rem; padding-top: 24px; border-top: 1px solid var(--line); }

/* ==================== LOADING SCREEN ==================== */
#loader {
  position: fixed; inset: 0; z-index: 9998; background: var(--bg); display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 18px; transition: opacity 600ms var(--ease), visibility 600ms;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-canvas { width: 200px; height: 140px; }
.loader-canvas path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900; animation: loaderPaint 1.8s var(--ease-in-out-quart) forwards; }
@keyframes loaderPaint { to { stroke-dashoffset: 0; } }
.loader-text { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ==================== TOAST ==================== */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 3000;
  background: var(--bg-elev); border: 1px solid var(--accent); color: var(--ink); padding: 14px 24px;
  border-radius: var(--radius); font-size: 0.88rem; opacity: 0; pointer-events: none; transition: all 300ms var(--ease-out-quart);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================== PAGE TRANSITION (paint splash) ==================== */
.splash-transition {
  position: fixed; inset: 0; z-index: 8000; pointer-events: none; opacity: 0;
}
.splash-transition.active { opacity: 1; }
.splash-transition circle { transition: r 550ms var(--ease-in-out-quart); }

/* ==================== SOUND TOGGLE ==================== */
.sound-toggle svg .wave { transition: opacity 200ms var(--ease); }
.sound-toggle.muted .wave { opacity: 0.25; }

/* ==================== COMMISSION / CONTACT / ABOUT PAGES ==================== */
.page-hero { padding: 150px 0 60px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content:""; position:absolute; left:8px; top:0; bottom:0; width:1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item::before { content:""; position:absolute; left:-40px; top:4px; width:11px; height:11px; border-radius:50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(201,161,90,0.15); }
.timeline-year { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.05rem; transition: color 200ms var(--ease), padding-left 200ms var(--ease); }
.contact-list a:hover { color: var(--accent); padding-left: 10px; }


/* generic hidden util for JS-driven show/hide */
[hidden] { display: none !important; }
