/* Reputation — Alison’s private fashion issue. All rules stay in this chapter. */
.reputation {
  --rep-ink: #101010;
  --rep-paper: #f0ece5;
  --rep-muted: #bcb9b2;
  --rep-rule: #3c3c3a;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--rep-ink);
  color: var(--rep-paper);
  font-family: 'Avenir Next', 'Segoe UI', Arial, sans-serif;
}
.reputation, .reputation__header, .reputation__palette, .reputation__looks {
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 20px);
}
/* Poets casts a soft shadow onto Reputation instead of blending into it. */
.reputation::before { content: ""; position: absolute; z-index: 5; top: -24px; left: -4%; width: 108%; height: 24px; background: #000; box-shadow: 0 9px 20px 7px rgb(0 0 0 / 72%); pointer-events: none; }
.reputation__paper-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #b9b2a305 4px, transparent 5px);
}
.reputation__paper-noise span {
  position: absolute;
  top: 600px;
  right: -60px;
  width: 600px;
  color: #eeeae2;
  opacity: .024;
  font: 700 58px/1.18 'Times New Roman', serif;
  transform: rotate(-10deg);
}
.reputation__layout {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 28px 0 max(35px, env(safe-area-inset-bottom, 0px));
}
.reputation__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #797771;
  margin-bottom: 18px;
}
.reputation__kicker, .reputation__issue {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .19em;
}
.reputation__issue { color: var(--rep-muted); font-size: 9px; letter-spacing: .14em; }
.reputation__cover {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr .75fr .8fr;
  grid-template-rows: 430px;
  gap: 9px;
}
.reputation__cover-main, .reputation__cover-detail { min-width: 0; min-height: 0; position: relative; overflow: hidden; background: #242424; }
.reputation__cover-main::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #0000 28%, #0002 48%, #080808dd 100%);
}
.reputation__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reputation__cover-main img { object-position: 50% 15%; }
.reputation__cover-detail--elegance img { object-position: 49% 18%; }
.reputation__cover-detail--rebel img { object-position: 50% 24%; }
.reputation__cover-title { position: absolute; z-index: 1; bottom: 28px; left: 28px; right: 14px; }
.reputation__edition { margin: 0 0 11px; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .2em; }
.reputation__header h2 { margin: 0; font: 300 clamp(32px, 4.3vw, 62px)/.98 'Avenir Next', 'Segoe UI', Arial, sans-serif; letter-spacing: -.045em; }
.reputation__header h2 span { white-space: nowrap; }
.reputation__cover-seal {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  border: 1px solid #ebe6dcad;
  color: #f0ece5;
  background: #101010b8;
  font: italic 26px/1 'Times New Roman', serif;
  transform: rotate(6deg);
}
.reputation__brief { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; padding: 28px 0 31px; }
.reputation__intro { margin: 0; max-width: 555px; font-size: 15px; line-height: 1.85; color: #d6d3cd; }
.reputation__tagline { margin: 0; padding-left: 26px; border-left: 1px solid #665e58; font: italic 23px/1.4 'Times New Roman', serif; color: #e5dfd5; }
.reputation__snake { position: absolute; width: 27px; right: 12px; bottom: 106px; stroke: #aaa49b; stroke-width: 1.5; opacity: .42; pointer-events: none; }
.reputation__stage { position: relative; border-top: 1px solid var(--rep-rule); border-bottom: 1px solid var(--rep-rule); overflow-anchor: none; }
.reputation__reveal {
  display: none;
  position: absolute;
  z-index: 5;
  top: 52px;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #aaa79f;
  border-radius: 0;
  background: #111;
  color: var(--rep-paper);
  cursor: pointer;
  font: 500 11px/1.5 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  letter-spacing: .12em;
  transition: background .2s, color .2s;
}
.reputation__reveal svg { width: 26px; height: 14px; flex: 0 0 auto; }
.reputation__reveal:hover { background: var(--rep-paper); color: #101010; }
.reputation.has-js:not(.is-revealed) .reputation__reveal { display: flex; }
.reputation__reveal:focus-visible, .reputation__swatch:focus-visible, .reputation__look-track:focus-visible { outline: 2px solid #f0ece5; outline-offset: 5px; }
.reputation__doors { display: none; position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; perspective: 1200px; }
.reputation.has-js .reputation__doors { display: flex; }
.reputation__doors > span {
  position: relative;
  width: 50%;
  overflow: hidden;
  background: linear-gradient(100deg, #161616, #1c1c1b 88%, #111);
  border-right: 1px solid #393936;
  transform-origin: left center;
  transition: transform .95s cubic-bezier(.35,.05,.2,1), opacity .8s ease;
}
.reputation__doors > span:last-child { transform-origin: right center; border: 0; background: linear-gradient(90deg, #111, #1c1c1b 10%, #161616); }
.reputation__doors i { position: absolute; top: 22px; left: 24px; color: #aaa399; opacity: .055; font: normal 50px/1 'Times New Roman', serif; letter-spacing: -.03em; white-space: nowrap; }
.reputation__doors > span:last-child i { left: auto; right: 24px; }
.reputation.is-revealed .reputation__doors > span:first-child { transform: translateX(-15%) rotateY(-100deg); opacity: 0; }
.reputation.is-revealed .reputation__doors > span:last-child { transform: translateX(15%) rotateY(100deg); opacity: 0; }
.reputation.has-js:not(.is-revealed) .reputation__revealed { height: 104px; padding: 0; overflow: hidden; visibility: hidden; opacity: 0; }
.reputation__revealed { padding: 32px 0 36px; opacity: 1; transition: opacity .6s ease .18s; }
.reputation__section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.reputation__section-heading > span { color: var(--rep-muted); font-size: 9px; font-weight: 500; line-height: 1.5; letter-spacing: .2em; }
.reputation__section-heading h3 { margin: 0; font: normal 24px/1.25 'Times New Roman', serif; letter-spacing: .015em; }
.reputation__palette { padding-bottom: 30px; }
.reputation__swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin: 24px auto 0; }
.reputation__swatch { display: grid; gap: 13px; justify-items: center; min-width: 0; min-height: 76px; padding: 7px 3px; border: 0; background: none; color: #d4d1ca; cursor: pointer; }
.reputation__swatch > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #777976; border-radius: 50%; background: var(--swatch); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .2s, transform .2s; }
.reputation__swatch:hover > span { transform: translateY(-2px); }
.reputation__swatch.is-selected > span { outline-color: #ede7de; }
.reputation__swatch svg { opacity: 0; width: 16px; height: 16px; stroke-width: 1.6; color: #f3f0e9; }
.reputation__swatch.is-selected svg { opacity: 1; }
.reputation__swatch:nth-child(2) svg { color: #191919; }
.reputation__swatch b { font: 500 10px/1.4 'Avenir Next', 'Segoe UI', Arial, sans-serif; letter-spacing: .065em; white-space: nowrap; }
.reputation__color-note { margin: 15px 0 0; min-height: 24px; color: #c2beb6; text-align: center; font: italic 15px/1.6 'Times New Roman', serif; }
.reputation__looks { border-top: 1px solid var(--rep-rule); padding-top: 28px; }
.reputation__swipe-hint { display: none; }
.reputation__look-track { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 25px; margin-top: 26px; }
.reputation__look { min-width: 0; }
.reputation__look:nth-child(2) { padding-top: 36px; }
.reputation__look:nth-child(3) { padding-top: 72px; }
.reputation__look figure { aspect-ratio: 2 / 3; margin: 0; overflow: hidden; background: #252525; }
.reputation__look img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reputation__look:nth-child(1) img { object-position: 50% 35%; }
.reputation__look:nth-child(2) img { object-position: 50% 20%; }
.reputation__look:nth-child(3) img { object-position: 50% 50%; }
.reputation__look > div { padding: 18px 0 0; }
.reputation__look > div > span { display: block; color: #b1afa8; font-size: 8px; font-weight: 500; line-height: 1.5; letter-spacing: .19em; }
.reputation__look h4 { margin: 7px 0 11px; font: 400 clamp(19px, 1.65vw, 24px)/1.2 'Times New Roman', serif; letter-spacing: .005em; }
.reputation__look p { margin: 0; max-width: 350px; color: #cbc8c1; font-size: 13px; line-height: 1.8; }
.reputation__advice { max-width: 660px; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid #343432; text-align: center; color: #d3cbc0; font: italic 17px/1.7 'Times New Roman', serif; }
.reputation__footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 23px; color: #bbb5ac; font-size: 9px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; }
.reputation__footer strong { display: grid; place-items: center; width: 27px; height: 31px; border: 1px solid #77736b; font: italic 18px/1 'Times New Roman', serif; transform: rotate(-6deg); }
@media (min-width: 701px) and (max-width: 1000px) {
  .reputation__layout { width: calc(100% - 64px); }
  .reputation__cover { grid-template-rows: 350px; }
  .reputation__cover-title { left: 20px; bottom: 22px; }
  .reputation__edition { font-size: 8px; letter-spacing: .13em; }
  .reputation__header h2 { font-size: 32px; }
  .reputation__brief { gap: 35px; }
  .reputation__intro { font-size: 14px; }
  .reputation__tagline { font-size: 21px; padding-left: 18px; }
  .reputation__look-track { gap: 18px; }
}
@media (max-width: 700px) {
  .reputation__layout { width: auto; margin: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); padding-top: 21px; }
  .reputation__masthead { margin-bottom: 13px; padding-bottom: 12px; gap: 12px; }
  .reputation__kicker { font-size: 9px; letter-spacing: .14em; }
  .reputation__issue { max-width: 86px; text-align: right; font-size: 7px; letter-spacing: .09em; }
  .reputation__cover { grid-template-columns: 1.55fr 1fr; grid-template-rows: 142px 142px; gap: 5px; }
  .reputation__cover-main { grid-row: span 2; }
  .reputation__cover-main img { object-position: 50% 16%; }
  .reputation__cover-main::after { background: linear-gradient(180deg, #0000 30%, #0002 48%, #080808df 100%); }
  .reputation__cover-detail--elegance img { object-position: 50% 14%; }
  .reputation__cover-detail--rebel img { object-position: 50% 16%; }
  .reputation__cover-title { left: 16px; bottom: 17px; right: 9px; }
  .reputation__edition { max-width: 165px; margin-bottom: 9px; font-size: 7px; line-height: 1.5; letter-spacing: .13em; }
  .reputation__header h2 { font-size: clamp(36px, 12.2vw, 61px); line-height: .93; letter-spacing: -.035em; }
  .reputation__header h2 span { display: block; }
  .reputation__header h2 span + span { margin-top: 3px; }
  .reputation__cover-seal { right: 10px; bottom: 11px; width: 30px; height: 35px; font-size: 21px; }
  .reputation__brief { display: block; padding: 21px 0 23px; }
  .reputation__intro { font-size: 13px; line-height: 1.8; }
  .reputation__tagline { margin-top: 13px; padding: 0; border: 0; font-size: 17px; line-height: 1.45; }
  .reputation__reveal { padding: 12px 16px; gap: 15px; font-size: 9px; letter-spacing: .1em; }
  .reputation__reveal svg { width: 22px; }
  .reputation__doors i { top: 28px; font-size: 34px; }
  .reputation__revealed { padding-top: 27px; padding-bottom: 25px; }
  .reputation__section-heading { display: block; }
  .reputation__section-heading > span { font-size: 8px; }
  .reputation__section-heading h3 { margin-top: 8px; font-size: clamp(20px, 5.6vw, 25px); }
  .reputation__palette { padding-bottom: 27px; }
  .reputation__swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 5px; margin-top: 20px; }
  .reputation__swatch { grid-column: span 2; gap: 12px; min-height: 73px; }
  .reputation__swatch:nth-child(4) { grid-column: 2 / span 2; }
  .reputation__swatch:nth-child(5) { grid-column: 4 / span 2; }
  .reputation__swatch > span { width: 35px; height: 35px; }
  .reputation__swatch b { font-size: 8px; letter-spacing: .025em; }
  .reputation__color-note { min-height: 42px; margin-top: 14px; font-size: 14px; }
  .reputation__looks { padding-top: 26px; }
  .reputation__swipe-hint { display: flex; align-items: center; gap: 9px; margin: 12px 0 0; color: #bcb7ad; font-size: 10px; line-height: 1.6; }
  .reputation__swipe-hint svg { width: 19px; height: 12px; flex: 0 0 auto; }
  .reputation__look-track { display: flex; gap: 15px; overflow-x: auto; margin: 21px -20px 0; padding: 0 20px 18px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #777269 transparent; }
  .reputation__look { flex: 0 0 82%; scroll-snap-align: start; }
  .reputation__look:nth-child(2), .reputation__look:nth-child(3) { padding-top: 0; }
  .reputation__look figure { aspect-ratio: 3 / 4; }
  .reputation__look:nth-child(1) img { object-position: 50% 32%; }
  .reputation__look:nth-child(2) img { object-position: 50% 20%; }
  .reputation__look > div { padding-top: 17px; }
  .reputation__look h4 { font-size: 23px; }
  .reputation__look p { font-size: 12px; line-height: 1.8; }
  .reputation__advice { margin-top: 24px; padding-top: 20px; font-size: 15px; line-height: 1.65; }
  .reputation__footer { padding-top: 21px; gap: 10px; font-size: 7px; letter-spacing: .045em; }
  .reputation__footer strong { flex: 0 0 25px; }
  .reputation__snake { width: 22px; right: 2px; bottom: 85px; }
}
@media (prefers-reduced-motion: reduce) {
  .reputation *, .reputation *::before, .reputation *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A section-bound backdrop follows the reader without viewport-fixed positioning. */
.reputation__backdrop {
  position: sticky;
  z-index: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  margin-bottom: -100dvh;
  background: linear-gradient(rgb(0 0 0 / 11%), rgb(0 0 0 / 11%)), url("assets/reputation-archive-background.webp") center center / cover no-repeat;
  pointer-events: none;
}
.reputation__layout { position: relative; z-index: 1; }


/* Reputation logo replaces the word inside titles (white version for the dark section). */
.reputation__logo { height: 1.1em; vertical-align: -.2em; }
.reputation__edition .reputation__logo { display: block; height: 30px; margin-bottom: 6px; }
.reputation__section-heading h3 .reputation__logo { height: 1.15em; vertical-align: -.22em; }
.reputation__look h4 .reputation__logo { height: 1.05em; vertical-align: -.2em; }
.reputation__doors i .reputation__logo { height: 1em; vertical-align: top; }
.reputation__footer .reputation__logo { height: 1.8em; vertical-align: -.55em; }
@media (max-width: 700px) {
  .reputation__edition .reputation__logo { height: 24px; }
}
.reputation img.era-logo { width: auto; max-width: 100%; object-fit: contain; }
