:root {
  --ink: #f6f0e5;
  --paper: #11100d;
  --muted: #c8bda9;
  --soft: rgba(246, 240, 229, 0.12);
  --line: rgba(246, 240, 229, 0.18);
  --gold: #d9b56f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #2d271d 0%, var(--paper) 35%, #090807 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.18; z-index: 20;
  background-image: linear-gradient(115deg, rgba(255,255,255,.03), rgba(0,0,0,.04));
  mix-blend-mode: soft-light;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(10,9,7,.82), rgba(10,9,7,0));
}
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.brand em { color: var(--gold); font-style: normal; }
.brand-mark { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
nav { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,3,.80), rgba(5,4,3,.26) 50%, rgba(5,4,3,.68)), linear-gradient(to top, #11100d 0%, rgba(17,16,13,0) 45%); }
.hero-copy { position: relative; width: min(980px, calc(100% - 40px)); margin: 0 clamp(20px, 7vw, 104px) 10vh; }
.eyebrow, .section-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .98; margin: 0; }
h1 { font-size: clamp(48px, 8vw, 116px); letter-spacing: -.055em; max-width: 920px; }
h2 { font-size: clamp(34px, 5vw, 72px); letter-spacing: -.04em; }
.lede { max-width: 670px; font-size: clamp(18px, 2vw, 24px); color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--ink); color: #14110d; border-color: var(--ink); }
.ghost { background: rgba(255,255,255,.04); color: var(--ink); backdrop-filter: blur(14px); }
.hero-note { position: absolute; right: clamp(20px, 5vw, 70px); bottom: 9vh; width: min(280px, 32vw); padding: 22px; border: 1px solid var(--line); background: rgba(17,16,13,.42); backdrop-filter: blur(16px); border-radius: 26px; box-shadow: var(--shadow); }
.hero-note span { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.hero-note p { color: var(--muted); line-height: 1.45; }
.section { padding: clamp(70px, 9vw, 140px) clamp(20px, 7vw, 104px); }
.story-grid, .contact-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.story-copy p, .private-copy p, .contact-card p { color: var(--muted); font-size: 18px; line-height: 1.75; margin-top: 0; }
.work-section { padding-top: 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { max-width: 760px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-card { position: relative; grid-column: span 4; min-height: 460px; border: 0; border-radius: 34px; overflow: hidden; padding: 0; background: #222; cursor: zoom-in; box-shadow: var(--shadow); }
.gallery-card.tall { min-height: 620px; }
.gallery-card.wide { grid-column: span 4; min-height: 540px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 58%); }
.gallery-card span { position: absolute; left: 24px; bottom: 22px; z-index: 1; font-family: Georgia, serif; font-size: 28px; }
.private-panel { margin: 0 clamp(20px, 7vw, 104px); padding: clamp(36px, 6vw, 72px); border: 1px solid var(--line); border-radius: 42px; display: grid; grid-template-columns: 1fr minmax(320px, .55fr); gap: 44px; background: linear-gradient(135deg, rgba(217,181,111,.14), rgba(255,255,255,.04)); box-shadow: var(--shadow); }
.access-card { align-self: center; padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: rgba(5,4,3,.34); }
.access-card label { display: block; color: var(--gold); margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; }
.password-row { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 14px 16px; background: rgba(255,255,255,.08); color: var(--ink); outline: none; }
.form-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.quote-section { text-align: center; }
blockquote { margin: 0 auto; max-width: 920px; color: var(--ink); font-family: Georgia, serif; font-size: clamp(32px, 5vw, 72px); line-height: 1.08; letter-spacing: -.04em; }
.contact-card { border-left: 1px solid var(--line); padding-left: 32px; }
.contact-card a { display: block; margin-bottom: 14px; color: var(--gold); font-size: 22px; }
footer { padding: 36px clamp(20px, 7vw, 104px); color: var(--muted); border-top: 1px solid var(--line); }
dialog { width: min(92vw, 980px); border: 1px solid var(--line); border-radius: 30px; padding: 0; background: #090807; color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
dialog img { width: 100%; max-height: 78vh; object-fit: contain; }
dialog p { margin: 0; padding: 18px 22px 24px; color: var(--muted); }
.close { position: absolute; top: 12px; right: 12px; border: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); color: white; font-size: 28px; cursor: pointer; }
@media (max-width: 900px) {
  nav { display: none; }
  .hero-note { display: none; }
  .story-grid, .private-panel, .contact-section { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card.wide, .gallery-card.tall { grid-column: auto; min-height: 430px; }
  .password-row { flex-direction: column; }
  .section-heading { display: block; }
}
@media (max-width: 560px) {
  .site-header { padding: 18px; }
  .hero-copy { margin-bottom: 7vh; }
  .button { width: 100%; text-align: center; }
}
