:root {
  color-scheme: light;
  --paper: #f5f3f0;
  --ink: #0c0c0c;
  --line: #d8d4cf;
}

* { box-sizing: border-box; }
html { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; background: var(--paper); color: var(--ink); }
body { margin: 0; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }

.lookbook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 3vw, 4rem) clamp(2rem, 4vw, 6rem) clamp(1rem, 1.5vw, 2rem);
}
.back-link, .brand, .eyebrow, .sort-note, .lookbook-status, .load-more {
  font-size: clamp(1.1rem, 1.1vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.back-link:hover, .back-link:focus-visible { text-decoration: underline; text-underline-offset: 0.3em; }
.brand { white-space: nowrap; }
.lookbook-main { padding: clamp(2rem, 4vw, 6rem); padding-top: clamp(1rem, 1.5vw, 2rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lookbook-intro { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.4rem, 2vw, 2.4rem); }
.eyebrow { margin: 0; }
.sort-note { margin: 0; text-align: right; white-space: nowrap; }
.sort-note span { display: inline; margin-left: 0.5rem; font-weight: 500; letter-spacing: 0; }
.lookbook-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 2vw, 3rem); }
.lookbook-card { min-width: 0; margin: 0; }
.lookbook-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; background: #eae7e2; }
.lookbook-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.lookbook-card figcaption { display: flex; justify-content: space-between; gap: 0.8rem; padding-top: 1rem; color: #55514c; font-size: clamp(1rem, 0.9vw, 1.25rem); line-height: 1.3; }
.lookbook-card figcaption span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lookbook-card time { flex: none; }
.lookbook-status { min-height: 2rem; margin: 3rem 0 0; }
.load-more { display: block; margin: 2rem auto 6rem; padding: 1.2rem 2rem; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.load-more[hidden] { display: none; }
.load-more:hover, .load-more:focus-visible { background: var(--ink); color: var(--paper); }

@media (max-width: 900px) {
  .lookbook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lookbook-header { padding: 1.8rem; }
  .brand { display: none; }
  .lookbook-main { padding: 1rem 1.8rem 5rem; }
  .lookbook-intro { gap: 0.8rem; margin-bottom: 1.4rem; }
  .lookbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .lookbook-card figcaption { display: block; }
  .lookbook-card time { display: block; margin-top: 0.2rem; }
}
