:root {
  --bg: #111110;
  --bg-2: #1a1917;
  --text: #ece7df;
  --muted: #a39d93;
  --accent: #c8a97e;
  --line: rgba(236, 231, 223, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid, .site-header.always { background: rgba(17, 17, 16, .92); backdrop-filter: blur(8px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.45rem; text-decoration: none; letter-spacing: .04em; }
.brand span { color: var(--accent); }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a.link { text-decoration: none; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font: inherit; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav ul {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 24px 20px;
  }
  .nav ul.open { display: flex; }
  .nav ul a.link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border: 1px solid var(--text);
  text-decoration: none; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s; cursor: pointer; background: transparent; color: var(--text); font-family: var(--sans);
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #17140f; }
.btn.solid:hover { background: var(--text); border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(17,17,16,.92) 100%); }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 40%, rgba(17,17,16,.95) 100%); }
}
.hero h1, .hero .sub { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 12vh; width: 100%; }
.hero .sub { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-style: italic; color: var(--text); margin-bottom: 1rem; }
.hero p.body { max-width: 600px; color: #d8d2c8; }
.page-hero { min-height: 62vh; }
.page-hero .wrap { padding-bottom: 8vh; }

/* Sections */
section.block { padding: 110px 0; }
section.block.tight { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 520px; }

/* Collection cards */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7)); }
.card span { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-family: var(--serif); font-size: 1.7rem; }
.card small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) { .collections { grid-template-columns: repeat(2, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.strip a { display: block; overflow: hidden; aspect-ratio: 1; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .3s; }
.strip a:hover img { transform: scale(1.04); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.filters button {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 0 0 14px; cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px;
}
.filters button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }
.gallery { columns: 3 320px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; position: relative; cursor: zoom-in; overflow: hidden; background: var(--bg-2); }
.gallery figure img { width: 100%; transition: transform .7s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; font-family: var(--serif); font-size: 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
.gallery figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: none) { .gallery figcaption { opacity: 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 7, .97); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 72px 16px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px 24px; flex-wrap: wrap; }
.lb-bar h2 { font-size: 1.6rem; margin: 0; }
.lb-bar small { color: var(--accent); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; }
.lb-btn { position: absolute; background: none; border: 0; color: var(--text); font-size: 2.2rem; cursor: pointer; padding: 12px 16px; opacity: .7; line-height: 1; }
.lb-btn:hover { opacity: 1; }
.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: 700px) { .lb-stage { padding: 56px 8px 8px; } .lb-prev, .lb-next { top: auto; bottom: 90px; transform: none; } }

/* Forms */
form.contact { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 14px 16px; font: 400 1rem var(--sans);
  letter-spacing: normal; text-transform: none; border-radius: 0;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { border: 1px solid var(--line); background: var(--bg-2); padding: 28px; }
.form-msg { padding: 16px 18px; border: 1px solid var(--accent); display: none; }
.form-msg.show { display: block; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.inline-form input { flex: 1 1 240px; }

/* Prose pages */
.prose { padding-top: 150px; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

.fade { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; } * { transition: none !important; } }
