:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --ink-3: #1d1d21;
  --bone: #efe8dc;
  --bone-dim: #b9b2a6;
  --mute: #8a857c;
  --blood: #c4262e;
  --blood-hi: #e2333c;
  --line: rgba(239, 232, 220, .12);
  --display: "UnifrakturCook", "Old English Text MT", serif;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 12, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font: 400 30px/1 var(--display); text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--blood-hi); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a {
  font: 500 14px/1 var(--head); letter-spacing: 1.6px; text-transform: uppercase;
  text-decoration: none; color: var(--bone-dim);
}
.nav a:hover, .nav a[aria-current] { color: var(--bone); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 2px;
  background: var(--blood); color: #fff;
  font: 600 15px/1 var(--head); letter-spacing: 1.8px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blood-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--bone-dim); }
.nav .btn { padding: 11px 16px; font-size: 13px; color: #fff; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 26px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; overflow: hidden; }
.hero-wall {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 3px;
  opacity: .55;
}
.hero-wall img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,.35) 0%, rgba(11,11,12,.55) 45%, var(--ink) 96%);
}
.hero-copy { position: relative; z-index: 2; padding: 120px 0 72px; }
.eyebrow {
  font: 500 13px/1 var(--head); letter-spacing: 3px; text-transform: uppercase; color: var(--blood-hi);
  margin: 0 0 18px;
}
.hero h1 { font: 400 clamp(64px, 12vw, 150px)/.9 var(--display); margin: 0 0 22px; letter-spacing: 1px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 620px; color: var(--bone); margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .hero-wall { grid-template-columns: repeat(3, 1fr); } }

/* ---------- strips & sections ---------- */
.strip { border-block: 1px solid var(--line); background: var(--ink-2); }
.strip ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
  font: 500 14px/1.2 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--bone-dim);
}
.strip li::before { content: "✦"; color: var(--blood); margin-right: 10px; }
section { padding: 88px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
h2 { font: 600 clamp(32px, 4.6vw, 54px)/1 var(--head); text-transform: uppercase; letter-spacing: 1px; margin: 0; }
h2 em { font: 400 1.1em/1 var(--display); text-transform: none; font-style: normal; color: var(--blood-hi); letter-spacing: 0; }
.sec-head p { margin: 10px 0 0; color: var(--bone-dim); max-width: 560px; }
.more { font: 500 14px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--blood-hi); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--bone); }

/* ---------- styles cards ---------- */
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.style-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; background: var(--ink-3); }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s; filter: brightness(.72); }
.style-card:hover img { transform: scale(1.06); filter: brightness(.9); }
.style-card div { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.style-card h3 { font: 600 24px/1.05 var(--head); text-transform: uppercase; margin: 0 0 4px; }
.style-card span { font: 500 13px/1 var(--head); letter-spacing: 2px; color: var(--bone-dim); text-transform: uppercase; }

/* ---------- gallery grid ---------- */
.grid { columns: 4 260px; column-gap: 10px; }
.grid a {
  display: block; margin: 0 0 10px; break-inside: avoid; position: relative; overflow: hidden;
  background: var(--ink-3); cursor: zoom-in;
}
.grid img { width: 100%; transition: transform .5s ease; }
.grid a:hover img { transform: scale(1.035); }
.grid a[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button {
  font: 500 13px/1 var(--head); letter-spacing: 1.6px; text-transform: uppercase;
  padding: 11px 16px; border-radius: 2px; border: 0; cursor: pointer;
  background: var(--ink-3); color: var(--bone-dim);
}
.filters button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.filters button b { font-weight: 400; opacity: .6; margin-left: 6px; }
.count { color: var(--mute); font-size: 15px; margin: -10px 0 22px; }

/* ---------- about / book ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split p { color: var(--bone-dim); }
.split p strong { color: var(--bone); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; color: var(--bone-dim); }
.steps li::before {
  content: counter(s, decimal-leading-zero); font: 600 22px/1.3 var(--head); color: var(--blood-hi);
}
.steps strong { display: block; color: var(--bone); font: 600 18px/1.3 var(--head); text-transform: uppercase; letter-spacing: 1px; }
.book { background: var(--ink-2); border-block: 1px solid var(--line); }
.note { font-size: 14px; color: var(--mute); }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 72px 0 24px; }
.page-head h1 { font: 600 clamp(40px, 7vw, 84px)/.95 var(--head); text-transform: uppercase; margin: 0 0 14px; }
.page-head p { color: var(--bone-dim); max-width: 640px; margin: 0; }
.crumbs { font: 500 13px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.crumbs a { color: var(--bone-dim); text-decoration: none; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--mute); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 34px; color: var(--bone); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--bone-dim); text-decoration: none; }
footer a:hover { color: var(--bone); }
.credit { width: 100%; font-size: 13px; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(5, 5, 6, .96); align-items: center; justify-content: center;
}
.lb.open { display: flex; }
.lb img { max-width: min(94vw, 1400px); max-height: 88vh; width: auto; object-fit: contain; }
.lb button {
  position: absolute; border: 0; background: rgba(255,255,255,.06); color: var(--bone);
  width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer;
}
.lb button:hover { background: rgba(255,255,255,.14); }
.lb .x { top: 16px; right: 16px; }
.lb .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--bone-dim); font-size: 14px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
