:root {
  --ink: #191614;
  --ink-soft: #312b27;
  --paper: #f3f0ea;
  --paper-deep: #e4ddd3;
  --stone: #b8b0a5;
  --taupe: #827466;
  --smoke: #58636a;
  --wine: #4d2726;
  --clay: #9a6655;
  --line: rgba(25, 22, 20, 0.16);
  --line-light: rgba(243, 240, 234, 0.22);
  --shadow: 0 28px 80px rgba(20, 17, 14, 0.24);
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* slow, settled easing for an editorial, cinematic feel */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0.05, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--wine);
  color: var(--paper);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 34px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.72), rgba(10, 8, 7, 0));
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(243, 240, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.nav-links a {
  position: relative;
  opacity: 0.86;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 10, 9, 0.84), rgba(13, 10, 9, 0.32) 48%, rgba(13, 10, 9, 0.1)),
    linear-gradient(180deg, rgba(13, 10, 9, 0.38), rgba(13, 10, 9, 0.08) 44%, rgba(13, 10, 9, 0.76));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 94vh;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--wine);
}

.hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 112px;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.hero-line {
  margin: 14px 0 0;
  color: var(--paper-deep);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
}

.hero-copy {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(243, 240, 234, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button.ghost {
  color: var(--paper);
}

.button.ghost.light {
  border-color: var(--paper);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 110px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.intro-copy .section-kicker {
  display: block;
  margin-bottom: 22px;
}

.intro-copy h2,
.style-lead h2,
.material-copy h2,
.gallery-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.intro-copy p,
.style-lead p,
.material-copy p,
.about-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.intro-grid figure,
.gallery-grid figure,
.editorial-row img,
.about-image {
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.intro-grid figure {
  aspect-ratio: 3 / 4;
}

.intro-grid img,
.gallery-grid img,
.editorial-row img,
.about-image img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position, 50% 50%);
  transform: scale(var(--image-scale, 1.001));
  transition: transform 1300ms var(--ease-out), filter 1300ms var(--ease-out);
}

.intro-grid figure:hover img,
.gallery-grid figure:hover img,
.about-image:hover img,
.photo-card:hover img {
  transform: scale(1.05);
}

.style-language {
  border-top: 1px solid var(--line);
}

.style-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  min-height: 260px;
  background: var(--paper);
  padding: 30px 24px;
}

.principle span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.principle h3 {
  margin: 60px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.principle p {
  margin: 16px 0 0;
  color: var(--taupe);
  font-size: 14px;
  line-height: 1.65;
}

.material-notes {
  border-top: 1px solid var(--line);
}

.material-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 38px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.material-card {
  min-height: 470px;
  margin: 0;
  background: var(--paper);
  padding: 16px;
}

.material-image {
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--stone);
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1000ms var(--ease-out), filter 1000ms var(--ease-out);
}

.material-card:hover .material-image img {
  transform: scale(1.05);
}

.material-linen img {
  object-position: 56% 50%;
}

.material-satin img {
  object-position: 50% 76%;
  transform-origin: 50% 84%;
  transform: scale(1.2);
  filter: contrast(1.02) saturate(0.92);
}

.material-card:hover .material-satin img {
  transform: scale(1.22);
}

.material-tailoring img {
  object-position: 48% 44%;
}

.material-leather img {
  object-position: 62% 38%;
}

.material-card span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.material-card h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.material-card p {
  margin: 14px 0 0;
  color: var(--taupe);
  font-size: 13px;
  line-height: 1.65;
}

.gallery-band {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0;
}

.gallery-heading,
.photo-wall-wrap {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.gallery-heading .section-kicker,
.photo-wall-header .section-kicker {
  color: var(--stone);
}

.gallery-grid {
  display: grid;
  width: min(100% - 48px, var(--max));
  margin: 42px auto 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  aspect-ratio: 3 / 4;
}

.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(243, 240, 234, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(10, 8, 7, 0.45);
  backdrop-filter: blur(12px);
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-within figcaption {
  opacity: 1;
  transform: none;
  background: rgba(10, 8, 7, 0.6);
}

.archive-teaser {
  display: grid;
  width: min(100% - 48px, var(--max));
  margin: 52px auto 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid rgba(243, 240, 234, 0.16);
  padding-top: 30px;
  color: var(--paper);
}

.archive-teaser .section-kicker {
  color: var(--stone);
}

.archive-teaser h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.archive-teaser p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(243, 240, 234, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.archive-teaser-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.archive-teaser-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(243, 240, 234, 0.24);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(243, 240, 234, 0.78);
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.archive-teaser-links a:hover,
.archive-teaser-links a:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

/* Touch devices have no hover — keep captions visible there */
@media (hover: none) {
  .gallery-grid figcaption {
    opacity: 1;
    transform: none;
  }
}

.photo-wall-wrap {
  margin-top: 84px;
  border-top: 1px solid var(--line-light);
  padding-top: 36px;
}

.photo-wall-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.photo-wall-header h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 36px;
  border: 1px solid rgba(243, 240, 234, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(243, 240, 234, 0.8);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.photo-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  background: #12100e;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}

.photo-card.is-in {
  opacity: 1;
  transform: none;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0), rgba(10, 8, 7, 0.76));
  pointer-events: none;
}

.photo-card.tone-dark img {
  filter: brightness(1.16) contrast(1.04);
}

.photo-card figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(243, 240, 234, 0.18);
  padding-top: 8px;
  color: rgba(243, 240, 234, 0.88);
  font-size: 11px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.72);
}

.photo-card figcaption span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-card:hover img {
  transform: scale(var(--image-hover-scale, 1.05));
}

.focus-outfit {
  --image-scale: 1.22;
  --image-hover-scale: 1.26;
  --object-position: 50% 58%;
}

.editorial-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 420px;
  background: var(--ink);
}

.editorial-row img {
  min-height: 420px;
  border-right: 1px solid rgba(243, 240, 234, 0.12);
  object-fit: cover;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 74px;
  align-items: center;
}

.about-image {
  aspect-ratio: 3 / 4;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: 14px;
  font-weight: 700;
}

.contact {
  background: var(--wine);
  color: var(--paper);
  padding: 96px 0;
}

.contact-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.contact .section-kicker {
  color: var(--paper-deep);
}

.contact h2 {
  max-width: 780px;
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(243, 240, 234, 0.14);
  padding: 24px 34px;
  background: var(--ink);
  color: rgba(243, 240, 234, 0.72);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.archive-body .site-header {
  color: var(--ink);
  background: rgba(243, 240, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.archive-page {
  min-height: 100vh;
  padding: 112px 0 100px;
  background: var(--paper);
}

.archive-hero {
  display: grid;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 64px;
  align-items: end;
  padding: 46px 0 34px;
  border-bottom: 1px solid var(--line);
}

.archive-hero h1 {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.005em;
}

.archive-hero p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.moodboard-section,
.chapter-section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 72px 0 0;
}

.moodboard-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.moodboard-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.85fr 0.85fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mood-card {
  min-height: 360px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  padding: 26px;
}

.mood-card > span,
.chapter-card span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
}

.mood-card h3,
.chapter-card h3 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.08;
}

.mood-card p,
.chapter-card p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.swatch {
  display: flex;
  min-height: 86px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
  color: var(--paper);
  background: var(--swatch);
}

.swatch:nth-child(4),
.swatch:nth-child(8) {
  color: var(--ink);
}

.swatch b {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.texture-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.texture-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 1 / 1.08;
}

.texture-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texture-item figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  border-top: 1px solid rgba(243, 240, 234, 0.2);
  padding-top: 7px;
  color: rgba(243, 240, 234, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.72);
}

.texture-linen img {
  object-position: 56% 50%;
}

.texture-satin img {
  object-position: 50% 76%;
  transform-origin: 50% 84%;
  transform: scale(1.16);
}

.texture-tailoring img {
  object-position: 48% 44%;
}

.texture-leather img {
  object-position: 62% 38%;
}

.code-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.code-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chapter-card {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  cursor: pointer;
  padding: 16px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.chapter-card:hover,
.chapter-card:focus-visible {
  border-color: rgba(25, 22, 20, 0.34);
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.chapter-card img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.chapter-card > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--taupe);
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.chapter-link-text {
  margin-top: 28px;
  color: var(--wine) !important;
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.chapter-detail-section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding-top: 82px;
  scroll-margin-top: 94px;
}

.chapter-detail {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.chapter-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.chapter-detail-header h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.02;
}

.chapter-detail-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.chapter-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.chapter-photo-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  background: #12100e;
}

.chapter-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position, 50% 50%);
  transform: scale(var(--image-scale, 1.001));
  transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}

.chapter-photo-card:hover img {
  transform: scale(var(--image-hover-scale, 1.045));
}

.chapter-photo-card.tone-dark img {
  filter: brightness(1.16) contrast(1.04);
}

.chapter-photo-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0), rgba(10, 8, 7, 0.72));
  content: "";
  pointer-events: none;
}

.chapter-photo-card figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(243, 240, 234, 0.18);
  padding-top: 8px;
  color: rgba(243, 240, 234, 0.9);
  font-size: 11px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.72);
}

.archive-page .photo-wall-wrap {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.archive-page .photo-wall-header .section-kicker {
  color: var(--wine);
}

.archive-page .photo-wall-header h3 {
  color: var(--ink);
}

.archive-page .filter-button {
  border-color: var(--line);
  color: var(--ink-soft);
}

.archive-page .filter-button:hover,
.archive-page .filter-button:focus-visible,
.archive-page .filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================
   Motion system
   ============================================================ */

/* --- Scroll reveal: a slow, settled rise (with optional stagger) --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1100ms var(--ease-out),
    transform 1100ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Images framed inside a reveal block ease out of a slight zoom as they enter */
.reveal img {
  transform: scale(1.09);
}

.reveal.is-visible img {
  transform: scale(1);
}

/* --- Header + nav settle in on first paint --- */
.brand-mark,
.nav-links {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 900ms var(--ease-out) 200ms,
    transform 900ms var(--ease-out) 200ms;
}

.is-loaded .brand-mark,
.is-loaded .nav-links {
  opacity: 1;
  transform: none;
}

/* --- Hero: image fades up under a slow Ken Burns drift --- */
.hero-media {
  opacity: 0;
  transition: opacity 1700ms var(--ease-out);
}

.is-loaded .hero-media {
  opacity: 1;
}

.hero-media img {
  animation: heroDrift 30s ease-in-out 700ms infinite alternate both;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12);
  }
}

/* --- Hero copy rises in sequence once the page is ready --- */
.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1200ms var(--ease-out),
    transform 1200ms var(--ease-out);
}

.is-loaded .hero-content > * {
  opacity: 1;
  transform: none;
}

.is-loaded .hero-content > .eyebrow {
  transition-delay: 300ms;
}

.is-loaded .hero-content > h1 {
  transition-delay: 480ms;
}

.is-loaded .hero-content > .hero-line {
  transition-delay: 760ms;
}

.is-loaded .hero-content > .hero-copy {
  transition-delay: 980ms;
}

.is-loaded .hero-content > .hero-actions {
  transition-delay: 1180ms;
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 22px;
  }

  .nav-links {
    max-width: 68vw;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero h1 {
    font-size: 82px;
  }

  .hero-line {
    font-size: 32px;
  }

  .principles,
  .material-grid,
  .editorial-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 86px 0;
  }

  .intro,
  .style-lead,
  .material-copy,
  .about,
  .archive-hero,
  .moodboard-heading,
  .archive-teaser,
  .chapter-detail-header {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .archive-hero h1 {
    font-size: 56px;
  }

  .intro-grid {
    grid-column: auto;
  }

  .intro-copy h2,
  .style-lead h2,
  .material-copy h2,
  .gallery-heading h2,
  .about-copy h2,
  .contact h2 {
    font-size: 42px;
  }

  .gallery-grid,
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .moodboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .chapter-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand-mark {
    font-size: 16px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 10, 9, 0.78), rgba(13, 10, 9, 0.22)),
      linear-gradient(180deg, rgba(13, 10, 9, 0.34), rgba(13, 10, 9, 0.12) 42%, rgba(13, 10, 9, 0.74));
  }

  .hero-content {
    min-height: 92vh;
    width: min(100% - 36px, var(--max));
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-line {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .section,
  .gallery-heading,
  .gallery-grid,
  .archive-teaser,
  .photo-wall-wrap,
  .contact-inner,
  .archive-hero,
  .moodboard-section,
  .chapter-section,
  .chapter-detail-section {
    width: min(100% - 36px, var(--max));
  }

  .section,
  .gallery-band {
    padding: 72px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid .offset {
    margin-top: 0;
  }

  .intro-copy h2,
  .style-lead h2,
  .material-copy h2,
  .gallery-heading h2,
  .about-copy h2,
  .contact h2 {
    font-size: 34px;
  }

  .principles,
  .material-grid,
  .editorial-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-heading,
  .archive-teaser,
  .photo-wall-header,
  .archive-hero {
    display: block;
  }

  .archive-teaser-links {
    justify-content: flex-start;
    margin: 20px 0 18px;
  }

  .archive-page {
    padding-top: 96px;
  }

  .archive-hero {
    padding: 36px 0 28px;
  }

  .archive-hero h1 {
    font-size: 40px;
  }

  .archive-hero p:last-child {
    margin-top: 22px;
  }

  .moodboard-section,
  .chapter-section {
    padding-top: 56px;
  }

  .moodboard-heading {
    display: block;
  }

  .moodboard-heading h2 {
    margin-top: 12px;
    font-size: 34px;
  }

  .moodboard-grid,
  .chapter-grid,
  .chapter-card {
    grid-template-columns: 1fr;
  }

  .mood-card {
    min-height: auto;
    padding: 22px;
  }

  .material-card {
    min-height: auto;
  }

  .swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-card img {
    min-height: auto;
    aspect-ratio: 3 / 4;
  }

  .chapter-detail-section {
    padding-top: 64px;
  }

  .chapter-detail-header {
    display: block;
  }

  .chapter-detail-header h2 {
    font-size: 36px;
  }

  .chapter-detail-header p {
    margin-top: 18px;
  }

  .chapter-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .filter-controls {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .editorial-row img {
    min-height: 300px;
  }

  .site-footer {
    display: block;
    padding: 22px 18px;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .hero-content > *,
  .brand-mark,
  .nav-links,
  .hero-media,
  .photo-card,
  .gallery-grid figcaption {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal img,
  .hero-media img {
    transform: none !important;
  }
}
