body.is-pub {
  background: var(--paper);
  color: var(--ink);
}

body.is-pub a:hover {
  color: var(--accent);
}

.pub {
  width: min(42rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: calc(1.4rem + env(safe-area-inset-top, 0px)) max(0px, env(safe-area-inset-right, 0px)) calc(5rem + env(safe-area-inset-bottom, 0px)) max(0px, env(safe-area-inset-left, 0px));
}

body.is-pub .site-rail {
  background: var(--paper);
}

.pub-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.pub-scroll .pub {
  padding-top: 1.6rem;
}

.pub-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.pub-header {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--muted);
}

.pub h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--accent);
}

.pub h2 {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 2.4rem 0 0.55rem;
}

.pub-lead,
.pub-body {
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.pub-more {
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--mist);
}

.pub-more h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.pub-more ul {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pub-more li {
  margin: 0.35rem 0;
}

.guide-steps {
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.25rem;
}

.guide-steps li {
  margin: 0 0 1.7rem;
  font-size: 1.08rem;
  line-height: 1.6;
}

.guide-steps li p {
  margin: 0;
}

.guide-steps img {
  width: 100%;
  height: auto;
  margin-top: 0.85rem;
  border: 1px solid var(--mist);
  border-radius: 16px;
  background: #fff;
}

.pub-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.6rem;
}

.pub-info {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 0.95rem;
  line-height: 1.45rem;
  text-align: center;
}

.text-link {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

body.is-pub.is-takedown {
  overflow: hidden;
}

.pub-takedown {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
  background: rgba(0, 0, 0, 0.62);
}

.pub-takedown[hidden] {
  display: none;
}

.pub-takedown-sheet {
  position: relative;
  width: min(24rem, 100%);
  max-height: calc(100% - 1rem);
  overflow: auto;
  padding: 1.35rem 1.2rem 1.5rem;
  background: #fff;
  color: #211922;
  border-radius: 16px;
}

.pub-takedown-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: #211922;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pub-takedown-sheet h2 {
  margin: 0 2.4rem 0.45rem 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.pub-takedown-done,
.takedown-note {
  margin: 0 0 0.9rem;
  color: #767676;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pub-takedown form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pub-takedown form + form {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #efefef;
}

.pub-takedown form p,
.pub-takedown label {
  margin: 0;
}

.pub-takedown img {
  width: 228px;
  height: 84px;
  border-radius: 12px;
  background: #f3f3f3;
}

.pub-takedown input:not([type="checkbox"]):not([type="hidden"]) {
  display: block;
  width: 8rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d6d6da;
  border-radius: 8px;
  background: #fff;
  color: #211922;
  font: inherit;
}

.pub-takedown-check {
  text-align: left;
}

.pub-check {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 0 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  line-height: 3.2rem;
  text-align: center;
}

.pub-takedown-home {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.pub-takedown-home:hover {
  color: #fff;
}

.pub-takedown form button {
  justify-self: start;
  margin-top: 0.2rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pub-stage {
  position: relative;
  margin: 1.6rem 0;
}

.pub-stage .media-strip {
  display: block;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.pub-stage .media-strip.is-carousel {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pub-stage .media-strip.is-carousel::-webkit-scrollbar {
  display: none;
}

.pub-stage .media-slide {
  width: 100%;
}

.pub-stage .media-strip.is-carousel .media-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.pub-media {
  width: 100%;
  height: min(78vh, 36rem);
  object-fit: cover;
}

.pub-stage .media-dots {
  position: relative;
  max-width: calc(100% - 0.8rem);
  margin: 0.75rem auto 0;
}

@media (max-width: 719px) {
  .pub {
    width: 100%;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .pub-stage {
    width: 100vw;
    margin-left: calc(-1 * max(1rem, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right, 0px)));
  }

  .pub-media {
    height: min(78vh, 34rem);
  }

  .look-copy h2 {
    font-size: 1.45rem;
  }
}

.look-list {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}

.look-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--mist);
}

.look-thumb:has(> img:not([src]):not(.is-miss)) {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f6dce6;
}

.look-thumb:has(> img:not([src]):not(.is-miss))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.72) 50%, transparent 64%);
  transform: translate3d(-120%, 0, 0);
  animation: media-sheen 2.2s ease-in-out infinite;
  pointer-events: none;
}

.look-thumb > img:not([src]) {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .look-thumb:has(> img:not([src]):not(.is-miss))::after {
    animation: none;
    transform: none;
    background: rgba(255, 255, 255, 0.34);
  }
}

.look-media {
  width: 100%;
  height: 52vw;
  max-height: 22rem;
  object-fit: cover;
}

.look-copy h2 {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.look-copy h2 a {
  text-decoration: none;
}

.related {
  margin-top: 3rem;
}

.related > h2 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 1.6rem;
}

.related > .pin-board {
  column-count: 2;
  column-gap: 0.85rem;
  margin: 0.4rem 0 0;
}

.related > .pin-board:not(.is-laid) > .shot,
.related > .pin-board.is-laid > .shot {
  visibility: visible;
  position: relative;
  left: auto;
  top: auto;
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  break-inside: avoid;
}

.related > .pin-board > .shot > a {
  display: block;
  text-decoration: none;
}

@media (min-width: 720px) {
  .look-row {
    grid-template-columns: 15rem 1fr;
    align-items: start;
  }

  .look-media {
    height: 20rem;
  }
}
