:root {
  --wall: #15130f;
  --wall-2: #1d1a15;
  --ink: #f4eee2;
  --muted: #d6ccb8;
  --gold: #c9a45c;
  --gold-soft: #8a7340;
  --line: #3a3326;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 18px/1.7 "Source Sans 3", system-ui, sans-serif; }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.5rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(21, 19, 15, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.mark { font-family: "Cormorant Garamond", serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1; }
.mark span { display: block; font: 600 .72rem "Source Sans 3", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.top nav a:hover { color: var(--gold); }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(ellipse at 70% 40%, #2a241a 0%, var(--wall) 65%); }
.hero-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; font-weight: 600; margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-img { justify-self: center; max-height: 520px; width: auto; border: 10px solid #0d0c09; outline: 1px solid var(--gold-soft); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }

/* galleries */
.gallery { padding: 56px 0 24px; border-top: 1px solid var(--line); }
.gallery:nth-of-type(even) { background: var(--wall-2); }
.note { color: var(--muted); max-width: 52em; margin: 0 0 30px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 26px; }
.work { margin: 0; }
.frame { display: block; width: 100%; padding: 10px; background: #0d0c09; border: 1px solid var(--gold-soft); cursor: zoom-in; box-shadow: 0 14px 28px rgba(0, 0, 0, .45); transition: transform .2s, border-color .2s; }
.frame:hover, .frame:focus-visible { transform: translateY(-3px); border-color: var(--gold); outline: none; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #0d0c09; }
.work figcaption { margin-top: 12px; padding-left: 10px; border-left: 2px solid var(--gold); }
.t { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.m { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* about */
.about { padding: 60px 0 70px; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.about p { color: var(--muted); }
.links { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); background: var(--wall-2); align-self: start; }
.links a { font-weight: 600; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.foot { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .9rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 7, 5, .96); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox img { max-height: 80vh; max-width: min(90vw, 900px); width: auto; margin: 0 auto; border: 8px solid #0d0c09; outline: 1px solid var(--gold-soft); }
.lightbox figcaption { margin-top: 14px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--ink); font-size: 3rem; line-height: 1; cursor: pointer; padding: 10px 16px; }
.lightbox button:hover, .lightbox button:focus-visible { color: var(--gold); outline: none; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

@media (max-width: 760px) {
  .hero { padding-top: 36px; }
  .hero-row, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-img { max-height: 380px; }
  .wall { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .t { font-size: 1.1rem; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}
