:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f2;
  --ink: #2d2a25;
  --muted: #70675d;
  --gold: #b39158;
  --gold-soft: rgba(179, 145, 88, 0.25);
  --line: rgba(45, 42, 37, 0.12);
  --panel: #fffdf9;
  --panel-dark: #253036;
  --shadow: 0 24px 60px rgba(30, 25, 16, 0.12);
  --shadow-soft: 0 14px 34px rgba(30, 25, 16, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", 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 top left, rgba(179,145,88,.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(117,80,52,.06), transparent 35%),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(22px, 4vw, 54px);
  background: rgba(246, 241, 232, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(31, 24, 15, .06);
}
.brand {
  text-decoration: none;
  font: 600 1.4rem var(--serif);
  letter-spacing: .02em;
}
.site-header nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
}
.site-header nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .75rem;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 70px) clamp(22px, 5vw, 60px) clamp(80px, 10vw, 120px);
}
.hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .95fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .73rem;
  font-weight: 600;
  color: var(--gold);
}
.hero h1,
.intro h2,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.03em;
}
.hero h1 { font-size: clamp(3.8rem, 9vw, 7.8rem); }
.hero .lead {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: #463f37;
}
.dedication {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.button-secondary {
  border: 1px solid rgba(45,42,37,.16);
  background: rgba(255,255,255,.6);
}
.button-primary:hover,
.button-secondary:hover { transform: translateY(-1px); }

.hero-art {
  position: relative;
  z-index: 2;
}
.frame {
  position: relative;
  padding: 18px;
  background: linear-gradient(180deg, #fffefb, #f2eadf);
  border: 1px solid rgba(101, 82, 48, 0.13);
  box-shadow: var(--shadow);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(179, 145, 88, 0.22);
  pointer-events: none;
}
.frame-large { max-width: 620px; margin-left: auto; }
.frame-wide { max-width: 860px; }
.frame-feature { max-width: 700px; }
.frame-small { max-width: 520px; }
.dark-frame {
  background: linear-gradient(180deg, #324049, #202a30);
  border-color: rgba(255,255,255,.08);
}
.dark-frame::before { border-color: rgba(255,255,255,.12); }
.framed-image {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hero-image { min-height: 420px; max-height: 700px; }
.portrait { aspect-ratio: 3 / 4; }
.hero-caption {
  width: min(430px, 92%);
  margin: 18px 0 0 28px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255,253,249,.92);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45,42,37,.09);
}
.hero-caption span,
.work-number {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-caption h2 {
  margin: 0 0 6px;
  font: 500 2.2rem/1 var(--serif);
}
.hero-caption p { margin: 0; color: var(--muted); }
.ornament {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(179,145,88,.13);
  pointer-events: none;
}
.ornament-left { left: -160px; top: 90px; }
.ornament-right { right: -200px; bottom: 20px; }

.intro,
.gallery,
.closing { padding: 0 clamp(22px, 5vw, 60px); }
.intro-grid,
.closing-inner,
.section-heading,
.gallery-row,
.gallery-grid {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}
.intro { padding-top: 20px; padding-bottom: 70px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .65fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.intro-main h2,
.section-heading h2,
.closing h2 { font-size: clamp(2.8rem, 6vw, 5.3rem); }
.intro-main p {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 1.06rem;
  color: #4c443d;
}
.intro-note {
  padding: 26px 26px 28px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.note-title {
  margin: 0 0 10px;
  font: 600 1rem var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}
.intro-note p:last-child { margin: 0; color: var(--muted); }

.quote-band {
  margin: 24px 0 90px;
  padding: 0 clamp(22px, 5vw, 60px);
}
.quote-band p {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 38px;
  background: linear-gradient(90deg, rgba(179,145,88,.10), rgba(179,145,88,.04));
  border-top: 1px solid rgba(179,145,88,.24);
  border-bottom: 1px solid rgba(179,145,88,.24);
  text-align: center;
  font: italic 500 clamp(1.4rem, 2.2vw, 2rem)/1.45 var(--serif);
}

.section-heading { margin-bottom: 56px; }
.gallery { padding-bottom: 90px; }
.gallery-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .78fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.gallery-row.reverse { grid-template-columns: minmax(280px, .78fr) minmax(0, 1.15fr); }
.gallery-row.reverse .copy-panel { order: 1; }
.gallery-row.reverse .frame { order: 2; margin-left: auto; }
.highlight .copy-panel { align-self: end; }
.copy-panel {
  padding: 28px 30px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.copy-panel h3,
.card-copy h3 {
  margin: 10px 0 12px;
  font: 500 clamp(2rem, 3vw, 3.15rem)/.98 var(--serif);
}
.copy-panel p,
.card-copy p { margin: 0; color: var(--muted); }
.dark-panel {
  background: var(--panel-dark);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.dark-panel p { color: rgba(255,255,255,.78); }
.dark-panel .work-number { color: #d2b37e; }

.gallery-grid.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  margin-bottom: clamp(56px, 8vw, 110px);
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card-copy {
  padding: 0 10px;
}

.closing {
  padding-bottom: 90px;
}
.closing-inner {
  padding: clamp(46px, 6vw, 72px);
  background: linear-gradient(135deg, #f9f5ee 0%, #efe6d6 100%);
  border: 1px solid rgba(179,145,88,.18);
  box-shadow: var(--shadow);
}
.closing-inner p:not(.kicker):not(.signature) {
  max-width: 760px;
  margin: 28px 0 0;
  color: #4f473f;
  font-size: 1.05rem;
}
.signature {
  margin: 34px 0 0;
  font: italic 500 1.55rem var(--serif);
  color: var(--ink);
}

.postcard-note {
  padding: clamp(44px, 7vw, 86px) clamp(22px, 5vw, 60px);
  background: #f5f0e7;
  border-top: 1px solid var(--line);
}
.postcard-note-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.postcard-note h2 {
  margin: 10px 0 18px;
  font: 500 clamp(2rem, 4vw, 3.4rem)/1.08 var(--serif);
  color: var(--ink);
}
.postcard-note p:not(.kicker) {
  max-width: 700px;
  margin: 0 auto;
  color: #4f473f;
  font-size: 1.05rem;
  line-height: 1.75;
}
.postcard-mail {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.postcard-mail:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.site-footer {
  padding: 24px clamp(22px, 5vw, 60px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.site-footer p {
  max-width: 1360px;
  margin: 0 auto;
}

.image-button {
  border: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.image-button img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.image-button:hover img { transform: scale(1.015); }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(14, 14, 15, .96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(14,14,15,.96); }
.lightbox figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 52px 34px 70px;
}
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; }
.lightbox figcaption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font: 500 1.35rem var(--serif);
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 26px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-inner,
  .intro-grid,
  .gallery-row,
  .gallery-row.reverse,
  .gallery-grid.two-up {
    grid-template-columns: 1fr;
  }
  .frame-large,
  .frame-wide,
  .frame-feature,
  .frame-small { max-width: none; }
  .hero-art { margin-top: 12px; }
  .gallery-row.reverse .copy-panel,
  .gallery-row.reverse .frame { order: initial; }
  .hero-caption { width: calc(100% - 14px); margin: 16px 0 0 14px; }
}

@media (max-width: 720px) {
  .site-header nav { display: none; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .hero-caption { grid-template-columns: 1fr; }
  .quote-band p,
  .copy-panel,
  .closing-inner,
  .intro-note { padding-left: 22px; padding-right: 22px; }
  .frame { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .image-button img,
  .button-primary,
  .button-secondary { transition: none; }
}
