@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper: #efe6d3;
  --rust: #a44921;
  --moss: #626b29;
  --ochre: #c59a37;
  --cornflower: #8499bd;
  --ink: #30251e;
  --rule: #30251e55;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --section: clamp(2rem, 4.5vw, 4.75rem);
  --display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 Arial, sans-serif; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, p { margin-top: 0; }
h2 { font: 400 clamp(3rem, 6.5vw, 7rem)/.87 var(--serif); letter-spacing: -.025em; margin-bottom: .42em; }
em { font-weight: inherit; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }

.masthead, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  padding: 1.15rem var(--gutter);
}
.masthead { border-bottom: 1px solid var(--rule); }
.brand { color: var(--rust); font: 800 1.75rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.brand small { font-size: .75em; }
nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(.8rem, 3vw, 2.8rem); }
nav a, footer a { font-size: .875rem; }
nav a:not(:hover):not([aria-current]) { text-decoration: none; }
.label { font: 700 1rem/1.2 var(--display); letter-spacing: .11em; text-transform: uppercase; }
.line { font: 400 clamp(1.42rem, 2.5vw, 2.25rem)/1.12 var(--serif); margin: .65em 0 1.15em; }
.material {
  color: var(--paper);
  background: var(--moss);
}
.material-copy p, .studio p { max-width: 47ch; }
.material .label { border-bottom: 1px solid var(--ochre); width: fit-content; padding-bottom: .35rem; }
figcaption { font-size: .875rem; }
.material-preview img { aspect-ratio: 5 / 4; object-fit: cover; }
.studio h2 { color: var(--rust); }
.studio-text p:last-child { margin-bottom: 0; }
footer { background: var(--ink); color: var(--paper); }
footer span { font: 700 1.4rem/1.1 var(--display); }
footer small { font-size: 1rem; }
@media (max-width: 720px) {
  .masthead { align-items: flex-start; }
}

.motion-header, .motion-chapter {
  padding-inline: max(var(--gutter), calc((100% - 79rem) / 2));
}
.motion-header { padding-top: var(--section); border-top: 1px solid var(--rule); }
.editorial-title {
  font: 400 clamp(3.9rem, 10.5vw, 10rem)/.91 var(--serif);
  letter-spacing: -.05em;
  margin-bottom: .37em;
}
.editorial-title em { white-space: nowrap; }
.motion-header .editorial-title { color: var(--rust); font-size: clamp(3.5rem, 8vw, 8rem); margin-bottom: .35em; }
.motion-index {
  border-block: 1px solid var(--rule);
  padding-block: .9rem;
}
.motion-index a { font-variant-numeric: tabular-nums; }
.motion-index span { margin-left: .25em; }

.motion-chapter { padding-block: var(--section); }
.motion-venezia { padding-top: clamp(1.5rem, 3.5vw, 3.5rem); }
.motion-lead { max-width: 33rem; }
.motion-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.motion-caption { max-width: 34rem; }
.motion-caption .label { margin-bottom: 1.1rem; }
.motion-caption h3 { font: 400 clamp(2.9rem, 6vw, 6rem)/.87 var(--serif); letter-spacing: -.025em; margin: 0 0 .42em; }
.motion-caption p:not(.label) { max-width: 34ch; }
.motion-caption .motion-signature {
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: .85rem;
  font: italic 400 1.25rem/1.15 var(--serif);
}

.motion-venezia-details, .motion-rome-images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .66fr);
  align-items: start;
  gap: clamp(.75rem, 2.6vw, 2.75rem);
}
.motion-venezia-details {
  max-width: 53rem;
  margin: clamp(1.25rem, 3vw, 3rem) 0 0 auto;
}
.motion-venezia-details figure:nth-child(2) { margin-top: clamp(.75rem, 3vw, 3rem); }
.motion-roma { background: var(--cornflower); }
.motion-roma .motion-spread { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.motion-rome-images figure:nth-child(2) { align-self: end; margin-bottom: 9%; }
.motion-como { border-bottom: 1px solid var(--rule); }
.motion-como-image { max-width: 30rem; justify-self: center; }
.motion-como .motion-caption h3 em { display: block; margin-top: .12em; }
@media (max-width: 720px) {
  .motion-spread, .motion-roma .motion-spread { grid-template-columns: 1fr; }
  .editorial-title em { display: inline-block; }
  .motion-caption .label { margin-bottom: .8rem; }
  .motion-rome-images { align-items: end; }
}

.lookbook-opening, .lookbook-close {
  padding: var(--section) max(var(--gutter), calc((100% - 76rem) / 2));
}
.lookbook-opening {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-top: clamp(2rem, 4.5vw, 5rem);
  background: var(--cornflower);
}
.lookbook-intro { display: grid; gap: clamp(1.25rem, 3vw, 3rem); }
.lookbook-intro .editorial-title { margin-bottom: .2em; }
.lookbook-intro .line { margin: 0; }
.lookbook-jump { display: inline-block; margin-top: 1rem; }
.lookbook-thread {
  width: min(44%, 12rem);
  margin-left: clamp(.5rem, 4vw, 5rem);
}
.lookbook-lead {
  background: var(--paper);
  padding: clamp(.6rem, 1.5vw, 1.45rem);
  width: min(100%, 35rem);
  justify-self: end;
}
.lookbook figcaption { padding-top: .55rem; }
.lookbook-close {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  color: var(--paper);
  background: var(--moss);
}
.lookbook-close figure { max-width: 31rem; }

@media (max-width: 720px) {
  .lookbook-opening, .lookbook-close { grid-template-columns: 1fr; }
  .lookbook-intro { grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 20%); align-items: end; gap: .75rem; }
  .lookbook-intro .editorial-title { font-size: clamp(3rem, 12vw, 5.2rem); }
  .lookbook-thread { width: 100%; margin: 0; }
  .lookbook-thread figcaption { font-size: .75rem; }
  .lookbook-lead { justify-self: start; }
}
.home-opening, .material, .home-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: var(--section) max(var(--gutter), calc((100% - 72rem) / 2));
}
.home-opening {
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  gap: clamp(1.5rem, 4.8vw, 5rem);
  padding-block: clamp(1.25rem, 3vw, 3rem);
  background: var(--cornflower);
}
.home-tote {
  width: min(100%, 35rem);
  justify-self: center;
}
.home-tote svg {
  display: block;
  width: 100%;
  height: auto;
}
.home-tote-pencil {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.65;
  stroke-linecap: round;
  opacity: .72;
}
.home-tote, .home-intro, .material-copy { position: relative; }
.home-doodle {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.home-doodle-quatrefoil {
  top: 24%;
  left: 13%;
  width: clamp(2rem, 9%, 3.35rem);
  opacity: .88;
  mix-blend-mode: multiply;
  transform: rotate(-13deg);
}
.home-doodle-ribbon {
  left: clamp(8.5rem, 14vw, 13rem);
  bottom: calc(100% + .8rem);
  width: clamp(3.25rem, 6vw, 5.8rem);
  opacity: .9;
  mix-blend-mode: multiply;
  transform: rotate(18deg);
}
.home-doodle-needle {
  top: -.5rem;
  right: 7%;
  width: clamp(3.75rem, 9vw, 7.5rem);
  opacity: .88;
  transform: rotate(-8deg);
}
.home-intro h1 {
  max-width: 17ch;
  margin: 0 0 .7em;
  font: 400 clamp(2.75rem, 4.25vw, 4.7rem)/.98 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
@media (prefers-reduced-motion: no-preference) {
  .home-tote-pencil {
    stroke-dasharray: 1;
    animation: home-tote-line 1.35s .18s ease-out both;
  }
  @keyframes home-tote-line {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
}
.material { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.home-editorial {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  width: min(100%, 23rem);
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.5rem);
  padding-block: .9rem;
  border-block: 1px solid var(--rule);
}
.home-editorial-photo { display: block; }
.home-editorial h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: .98; margin-bottom: .25em; }

.material-notes {
  padding: var(--section) max(var(--gutter), calc((100% - 72rem) / 2));
}
.material-notes-heading {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 3vw, 2rem);
  margin-bottom: clamp(1.4rem, 3vw, 2.75rem);
}
.material-notes-heading h1 {
  color: var(--rust);
  font-size: clamp(2.95rem, 8vw, 7.5rem);
  margin-bottom: 0;
}
.notes-doodle {
  pointer-events: none;
  user-select: none;
}
.notes-doodle-ribbon {
  flex: none;
  width: clamp(2.35rem, 5vw, 4.5rem);
  opacity: .82;
  mix-blend-mode: multiply;
  transform: rotate(18deg);
}
.material-study {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  grid-template-areas: "lead copy" "lead details";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: clamp(1.15rem, 2.5vw, 2.4rem) clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.5rem, 3vw, 3rem);
}
.material-study + .material-study { margin-top: var(--section); }
.notes-doodle-quatrefoil {
  position: absolute;
  top: 0;
  right: clamp(.6rem, 3vw, 2.25rem);
  width: clamp(2rem, 3.8vw, 3.2rem);
  padding-inline: .4rem;
  background: var(--paper);
  transform: translateY(-50%);
}
.material-study-copy { grid-area: copy; }
.material-study-copy h2 { font-size: clamp(2.45rem, 4.5vw, 4.75rem); }
.material-study-copy h3 {
  margin: 1.05em 0 .35em;
  font: 400 clamp(1.6rem, 2.5vw, 2.3rem)/1.05 var(--serif);
}
.material-study-copy p { max-width: 40ch; }
.material-study-copy p:last-child { margin-bottom: 0; }
.material-study-lead { grid-area: lead; }
.material-study-details {
  grid-area: details;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.2rem);
}
.notes-doodle-needle {
  grid-column: 1 / -1;
  justify-self: end;
  width: clamp(4.25rem, 9vw, 7.25rem);
  margin-right: .4rem;
  filter: brightness(.55);
  opacity: .86;
  transform: rotate(-8deg);
}

@media (max-width: 720px) {
  .home-opening, .material, .home-closing { grid-template-columns: 1fr; }
  .home-opening { gap: .5rem; padding-block: .75rem 2rem; }
  .home-tote { width: min(100%, 27rem); }
  .home-intro { width: min(100%, 27rem); justify-self: center; }
  .home-intro h1 { font-size: clamp(2.05rem, 7.8vw, 3.2rem); }
  .home-doodle-ribbon { bottom: .25rem; left: auto; right: 5%; }
  .home-editorial { grid-template-columns: minmax(4.25rem, 24%) minmax(0, 1fr); }
  .material-study {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "lead" "details";
    grid-template-rows: auto;
  }
}

@media (max-width: 360px) {
  .material-notes-heading h1 { font-size: 2.65rem; }
}
