/* ---------- Tokens ---------- */
:root {
  --bg: #f6f3ec;
  --bg-cream: #ece6d8;
  --bg-dark: #1a1d22;
  --ink: #1a1d22;
  --ink-soft: #4a4742;
  --ink-mute: #8a857d;
  --rule: #d8d2c2;
  --rule-dark: #2a2e34;
  --accent: #6b4423;
  --on-dark: #f6f3ec;
  --on-dark-soft: #b8b3a8;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--narrow { max-width: 760px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__brand-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 11px; letter-spacing: 0.08em; }
  .nav__brand-tag { display: none; }
}
@media (max-width: 520px) {
  .nav__links a:nth-child(4),
  .nav__links a:nth-child(5) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(560px, 88vh, 880px);
  overflow: hidden;
  background: var(--bg-dark);
}
.hero__image {
  position: absolute;
  inset: 0;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 100%);
}
.hero__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 7vw, 88px);
  color: var(--on-dark);
}
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(255,255,255,0.92);
  margin: 0;
  max-width: 38ch;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}
.section--cream {
  background: var(--bg-cream);
}
.section--quote {
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 20px;
  font-weight: 500;
}
.eyebrow--light { color: var(--on-dark-soft); }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  max-width: 22ch;
}
.section__intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 56px;
}
.section--dark .section__intro { color: var(--on-dark-soft); }

/* ---------- Story ---------- */
.grid--story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story__copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  margin: 0 0 28px;
}
.story__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.story__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.95);
}
.caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 12px 0 0;
}
@media (max-width: 800px) {
  .grid--story { grid-template-columns: 1fr; }
}

/* ---------- Feature (current restoration) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.feature__image figure { margin: 0; }
.feature__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.feature__image figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--on-dark-soft);
  margin-top: 12px;
}
.feature__meta {
  border-top: 1px solid var(--rule-dark);
  padding-top: 28px;
  align-self: end;
}
.feature__meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature__meta dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 4px;
}
.feature__meta dd {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0;
  color: var(--on-dark);
}
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; }
}

/* ---------- Workshop notes (quoted passage) ---------- */
.notes {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule-dark);
  max-width: 760px;
}
.notes__quote {
  margin: 24px 0 0;
  padding: 0;
}
.notes__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  color: var(--on-dark);
  margin: 0 0 22px;
}
.notes__quote p:last-child { margin-bottom: 0; }
.notes__quote em { font-style: normal; letter-spacing: 0.02em; }

/* ---------- Two-up ---------- */
.grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}
.grid--two figure { margin: 0; }
.grid--two figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.grid--two figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 12px;
}
@media (max-width: 700px) {
  .grid--two { grid-template-columns: 1fr; }
}

/* ---------- Project (archive) ---------- */
.project {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(60px, 7vw, 100px);
}
.project:last-child { margin-bottom: 0; }
.project--reverse { grid-template-columns: 1fr 1.4fr; }
.project--reverse .project__images { order: 2; }
.project--reverse .project__copy { order: 1; }
.project__images {
  display: grid;
  gap: 16px;
}
.project__hero-img img,
.project__sub-img img {
  width: 100%;
  object-fit: cover;
}
.project__hero-img img { aspect-ratio: 3 / 2; }
.project__sub-img img { aspect-ratio: 4 / 3; }
.project__copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 8px;
  line-height: 1.1;
}
.project__meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 20px;
}
.project__copy p:not(.project__meta) {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 800px) {
  .project, .project--reverse { grid-template-columns: 1fr; }
  .project--reverse .project__images { order: 0; }
  .project--reverse .project__copy { order: 0; }
}

/* ---------- Gala gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.gallery figure {
  margin: 0;
  grid-column: span 2;
}
.gallery__lg { grid-column: span 6 !important; }
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.gallery__lg img {
  aspect-ratio: 16 / 9 !important;
}
.gallery figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--on-dark-soft);
  margin-top: 10px;
}
@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure { grid-column: span 1; }
  .gallery__lg { grid-column: span 2 !important; }
  .gallery__lg img { aspect-ratio: 4 / 3 !important; }
}

/* ---------- Quote ---------- */
.section--quote blockquote {
  margin: 0;
  font-family: var(--serif);
}
.section--quote blockquote p {
  font-size: clamp(28px, 3.4vw, 42px);
  font-style: italic;
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--ink);
}
.section--quote blockquote footer {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 4px;
}
.footer__tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin: 0;
}
.footer__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin: 0 0 8px;
}
.footer__grid p:not(.footer__label):not(.footer__brand):not(.footer__tag) {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
}
.footer__grid a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 0.2s ease;
}
.footer__grid a:hover { border-color: var(--on-dark-soft); }
.footer__sig {
  margin: 32px 0 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
