/* ABOUT PAGE */
.about-reference {
  --ar-bg:#000000;
  --ar-paper: #E8E5DE;
  --ar-muted: #B0B0AA;
  --ar-line: #454642;
  --ar-gold: #C5A46D;

  padding-top: 0 !important;
  background: var(--ar-bg);
  color: var(--ar-paper);
  font-family: 'DM Mono', monospace;
}

.about-reference main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2.25vw 55px;
  overflow: hidden;
}

.ar-header {
  height: 66px;
  padding: 0 3.3vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(232, 229, 222, .16);
  background: rgba(10, 11, 10, .96);
  position: relative;
  z-index: 60;
}

.ar-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--ar-paper);
  width: max-content;
}

.ar-brand span {
  font: 16px 'DM Sans', sans-serif;
  letter-spacing: .17em;
}

.ar-brand small {
  font: 9px 'DM Mono', monospace;
  letter-spacing: .13em;
  color: var(--ar-muted);
}

.ar-nav {
  display: flex;
  gap: clamp(22px, 4.2vw, 62px);
  align-items: center;
}

.ar-nav a {
  font: 9px 'DM Mono', monospace;
  letter-spacing: .06em;
  color: var(--ar-paper);
  text-decoration: none;
  opacity: .85;
  padding: 10px 0;
}

.ar-nav a.current {
  border-bottom: 1px solid var(--ar-paper);
}

.ar-audio-mark {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ar-wave {
  width: 76px;
  height: 25px;
  display: block;
  opacity: .75;
  background: linear-gradient(90deg, transparent 0 3%, #d5c9bf 3% 4%, transparent 4% 8%, #d5c9bf 8% 9%, transparent 9% 13%, #d5c9bf 13% 14%, transparent 14% 18%, #d5c9bf 18% 20%, transparent 20% 24%, #d5c9bf 24% 26%, transparent 26% 30%, #d5c9bf 30% 32%, transparent 32% 36%, #d5c9bf 36% 39%, transparent 39% 43%, #d5c9bf 43% 45%, transparent 45% 49%, #d5c9bf 49% 52%, transparent 52% 56%, #d5c9bf 56% 58%, transparent 58% 62%, #d5c9bf 62% 64%, transparent 64% 68%, #d5c9bf 68% 70%, transparent 70% 74%, #d5c9bf 74% 77%, transparent 77% 81%, #d5c9bf 81% 83%, transparent 83% 87%, #d5c9bf 87% 89%, transparent 89% 100%);
  clip-path: polygon(0 47%, 8% 47%, 12% 32%, 15% 65%, 20% 10%, 24% 90%, 28% 35%, 33% 60%, 38% 0, 42% 100%, 46% 27%, 51% 73%, 56% 38%, 61% 62%, 66% 20%, 70% 80%, 75% 40%, 80% 60%, 85% 32%, 90% 68%, 95% 47%, 100% 47%);
}

.ar-sound-button {
  border: 0;
  background: #E8E5DE;
  color: #0B0C0B;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  font-size: 0;
  cursor: pointer;
}

.about-reference .sound-panel {
  z-index: 100;
  top: 62px;
  right: 3vw;
  position: absolute;
}

/* INTRO */

.ar-intro {
  display: grid;
  grid-template-columns: 22% 25% 1fr;
  gap: 3.3%;
  align-items: center;
  padding: 55px 1.3% 27px;
  min-height: 370px;
  border-bottom: 1px solid var(--ar-line);
  background-color: var(--ar-bg);
  background-image: none;
}

.ar-index {
  font: 9px 'DM Mono', monospace;
  letter-spacing: .16em;
  color: var(--ar-paper);
  white-space: nowrap;
}

.ar-intro-title {
  align-self: start;
  padding-top: 2px;
}

.ar-intro-title h1 {
  font: 500 clamp(42px, 4.7vw, 66px)/.96 'DM Sans', sans-serif;
  letter-spacing: -.045em;
  margin: 17px 0 18px;
}

.ar-intro-title h1 i {
  font-style: normal;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--ar-paper);
}

.ar-short-rule {
  width: 54px;
  height: 1px;
  background: var(--ar-paper);
  margin: 18px 0;
}

.ar-intro-title ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ar-intro-title li {
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.8;
}

.ar-intro-copy {
  align-self: center;
  border-left: 1px solid var(--ar-line);
  padding: 0 0 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  height: 100%;
  max-width: 300px;
}

.ar-intro-copy p {
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .015em;
  color: var(--ar-paper);
  margin: 0;
}

.ar-studio-photo {
  height: 280px;
  margin: 0;
  position: relative;
  align-self: center;
}

.ar-studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

.ar-photo-cross {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font: 18px 'DM Mono';
  color: var(--ar-paper);
}

/* WAVEFORM ELEMENTS */

.ar-waveform {
  height: 30px;
  position: relative;
  overflow: hidden;
  opacity: .8;
  background: repeating-linear-gradient(90deg, transparent 0 4px, rgba(218, 215, 209, .6) 4px 5px, transparent 5px 8px);
  clip-path: polygon(0 47%, 3% 43%, 5% 55%, 7% 20%, 9% 78%, 11% 10%, 13% 90%, 15% 35%, 18% 66%, 20% 28%, 22% 72%, 24% 40%, 27% 57%, 30% 20%, 32% 80%, 35% 43%, 38% 58%, 41% 30%, 44% 70%, 47% 43%, 50% 56%, 53% 25%, 56% 75%, 59% 43%, 62% 60%, 65% 30%, 68% 70%, 71% 42%, 74% 58%, 77% 35%, 80% 65%, 83% 43%, 86% 57%, 89% 38%, 92% 62%, 95% 45%, 100% 48%);
}

.ar-waveform-intro {
  margin-top: auto;
  width: 100%;
}

/* JOURNEY */

.ar-journey {
  padding: 22px 1.3% 0;
  border-bottom: 1px solid var(--ar-line);
  background-color: var(--ar-bg);
}

.ar-section-heading {
  display: grid;
  grid-template-columns: 7% auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--ar-line);
}

.ar-section-heading h2 {
  font: 500 22px 'DM Sans', sans-serif;
  letter-spacing: 1.5px;
  margin: 0;
  white-space: nowrap;
}

.ar-section-heading p {
  justify-self: end;
  margin: 0;
  font: 10px 'DM Mono', monospace;
  letter-spacing: 1px;
  color: var(--ar-muted);
  text-align: right;
}

.ar-journey-grid {
    display: grid;
    grid-template-columns: 25% 36% minmax(0, 1fr);
    gap: 2%;
    padding: 14px 0 12px;
    min-height: 410px;
}

.ar-timeline {
  border-right: 1px solid var(--ar-line);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 7% 0 0;
  max-height: 390px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #777 transparent;
}

.ar-timeline:before {
  content: "";
  position: absolute;
  left: 21px;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: var(--ar-line);
}

.ar-timeline-item {
  border: 0;
  background: transparent;
  color: var(--ar-paper);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  flex: 0 0 76px;
  text-align: left;
  padding: 7px 10px 7px 12px;
  position: relative;
  cursor: pointer;
  width: 100%;
  z-index: 1;
}

.ar-timeline-item.active {
  background: rgba(232, 229, 222, .10);
  box-shadow: inset 2px 0 0 var(--ar-gold);
}

.ar-timeline-item:focus-visible {
  outline: 1px solid var(--ar-gold);
  outline-offset: -2px;
}

.ar-timeline-item:hover:not(.active) {
  background: rgba(232, 229, 222, .035);
}

.ar-timeline-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid var(--ar-paper);
  border-radius: 50%;
  background: var(--ar-bg);
  position: relative;
}

.ar-timeline-item.active .ar-timeline-dot:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ar-paper);
}

.ar-timeline-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ar-timeline-text b {
  font: 10px 'DM Mono', monospace;
  letter-spacing: .12em;
  font-weight: 400;
}

.ar-timeline-text small {
  font: 9px 'DM Mono', monospace;
  letter-spacing: .1em;
  color: var(--ar-muted);
}

.ar-chapter {
  padding: 10px 0 0;
  min-width: 0;
}

.ar-chapter-date {
  font: 10px 'DM Mono', monospace;
  letter-spacing: .12em;
  color: var(--ar-paper);
}

.ar-chapter h3 {
  font: 500 17px 'DM Sans', sans-serif;
  margin: 19px 0 27px;
  letter-spacing: .01em;
}

.ar-chapter p {
    font: 10px/1.8 'DM Mono', monospace;
    color: var(--ar-paper);
    margin: 0;
    max-width: none;
}

.ar-chapter-rule {
  height: 1px;
  background: var(--ar-line);
  margin: 23px 0;
}

.ar-focus-label {
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--ar-muted);
}

.ar-chapter ul {
  list-style: none;
  padding: 0;
  margin: 11px 0;
}

.ar-chapter li {
  font: 10px/1.9 'DM Mono', monospace;
  letter-spacing: .02em;
}

.ar-journey-photo {
    height: 320px;
    min-height: 320px;
    position: relative;
    margin: 0;
    border: 1px solid var(--ar-line);
    overflow: hidden;
}

.ar-journey-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(.65) contrast(1.04);
  transition: opacity .25s ease;
}

.ar-journey-photo-date {
  position: absolute;
  right: 4px;
  top: 40%;
  writing-mode: vertical-rl;
  letter-spacing: .2em;
  font-size: 9px;
  background: rgba(8, 9, 8, .75);
  padding: 8px;
}

.ar-film-perforations {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 28px;
  height: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(5, 6, 5, .9) 10px 17px, transparent 17px 25px);
  border-top: 1px solid rgba(232, 229, 222, .25);
}

.ar-photo-up,
.ar-photo-down {
  position: absolute;
  right: 8px;
  font-size: 12px;
  color: var(--ar-paper);
}

.ar-photo-up { top: 12px; }
.ar-photo-down { bottom: 30px; }

/* ARCHIVE */

.ar-archive-row {
  display: grid;
  grid-template-columns: 16% 29% 1fr;
  gap: 4%;
  align-items: center;
  padding: 12px 0 18px;
  border-top: 1px solid var(--ar-line);
}

.ar-coordinates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 8px/1.6 'DM Mono', monospace;
  letter-spacing: .12em;
  color: var(--ar-muted);
}

.ar-coordinates b {
  font: 22px 'DM Mono', monospace;
  font-weight: 300;
}

.ar-mini-film {
  height: 65px;
  position: relative;
  margin: 0;
  padding: 0 12px;
}

.ar-mini-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.6) sepia(.2);
}

.ar-mini-film:before,
.ar-mini-film:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: repeating-linear-gradient(180deg, #d0c8bd 0 5px, transparent 5px 12px);
}

.ar-mini-film:before { left: 0; }
.ar-mini-film:after { right: 0; }

.ar-waveform-long {
  height: 50px;
}

/* OUTSIDE THE STUDIO */

.ar-outside {
  padding: 25px 1.3% 0;
  background-color: var(--ar-bg);
}

.ar-outside .ar-section-heading {
  grid-template-columns: 7% auto 1fr;
}

.ar-interest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 0 0;
}

.ar-interest-card {
  min-width: 0;
  display: block;
  color: var(--ar-paper);
  text-decoration: none;
  border: 1px solid var(--ar-line);
  background: rgba(255, 255, 255, .015);
  padding: 0 0 12px;
  font-family: 'DM Mono', monospace;
}

.ar-interest-card > img {
  width: 100%;
  height: clamp(145px, 18vw, 205px);
  display: block;
  object-fit: cover;
  filter: none;
}

.ar-interest-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px 10px;
  border-bottom: 1px solid var(--ar-line);
  font: 15px 'DM Sans', sans-serif;
  letter-spacing: 1px;
}

.ar-interest-title b {
  font: 20px 'DM Sans', sans-serif;
  font-weight: 300;
}

.ar-interest-card p {
  padding: 10px 12px 0;
  margin: 0;
  font: 10px/1.7 'DM Mono', monospace;
  color: var(--ar-muted);
}

.ar-interest-trigger {
  appearance: none;
  width: 100%;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ar-interest-trigger:hover {
  border-color: rgba(197, 164, 109, .75);
}

.ar-interest-trigger:focus-visible {
  outline: 1px solid var(--ar-gold);
  outline-offset: 3px;
}

/* LISTENING CARD */

.ar-listening-card {
  display: flex;
  flex-direction: column;
}

.ar-spotify-mock {
  height: clamp(145px, 18vw, 205px);
  padding: 12px;
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-rows: 1fr auto;
  gap: 10px;
  background: linear-gradient(135deg, #2c2a25, #111210 70%);
  border-bottom: 1px solid var(--ar-line);
}

.ar-spotify-mark {
  grid-column: 1 / -1;
  font-size: 17px;
  line-height: 1;
}

.ar-album-art {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  height: 74px;
}

.ar-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.6);
}

.ar-track-info {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  font: 10px 'DM Sans', sans-serif;
}

.ar-track-info small {
  font-size: 8px;
  color: var(--ar-muted);
}

.ar-track-info span {
  font-size: 13px;
  margin-top: 6px;
}

.ar-player-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.ar-mini-wave {
  height: 18px;
  flex: 1;
  background: repeating-linear-gradient(90deg, transparent 0 3px, #c7c0b6 3px 4px, transparent 4px 6px);
  clip-path: polygon(0 45%, 5% 40%, 8% 70%, 12% 10%, 16% 90%, 20% 30%, 24% 70%, 28% 25%, 32% 80%, 36% 35%, 40% 65%, 44% 10%, 48% 90%, 52% 40%, 56% 60%, 60% 20%, 64% 80%, 68% 35%, 72% 65%, 76% 25%, 80% 75%, 84% 40%, 88% 60%, 92% 30%, 96% 70%, 100% 45%);
}

.ar-listening-card .ar-interest-title {
  margin-top: auto;
}

/* MODAL */

.ar-interest-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.ar-interest-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}

.ar-modal-box {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 42px 38px 38px;
  color: #E8E5DE;
  background: rgba(8, 9, 8, .96);
  border: 1px solid rgba(232, 229, 222, .42);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}

.ar-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  color: #E8E5DE;
  font: 28px/1 'DM Sans', sans-serif;
  cursor: pointer;
}

.ar-modal-kicker {
  color: var(--ar-gold);
  font: 9px 'DM Mono', monospace;
  letter-spacing: .15em;
}

.ar-modal-box h2 {
  margin: 22px 0 16px;
  font: 500 27px 'DM Sans', sans-serif;
  letter-spacing: .08em;
}

.ar-modal-box p {
  color: rgba(232, 229, 222, .78);
  font: 12px/1.9 'DM Mono', monospace;
}

.about-reference.modal-open {
  overflow: hidden;
}

/* HOMEPAGE NAVIGATION AND SOUND MENU */

.about-reference .navigation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 55px;
}

.about-reference .brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.about-reference .logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
}

.about-reference .nav-links {
  display: flex;
  gap: 25px;
}

.about-reference .nav-links a {
  font-size: 10px;
  letter-spacing: 1px;
}

.about-reference .sound-toggle {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.about-reference .sound-circle {
  width: 10px;
  height: 10px;
  border: 2px solid #E8E5DE;
  border-radius: 50%;
}

.about-reference .sound-panel {
  position: fixed !important;
  top: 70px !important;
  right: 30px !important;
  z-index: 999 !important;
  width: 350px;
  display: block;
}

.about-reference .sound-panel:not(.open) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.about-reference .sound-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-reference main {
  padding-top: 55px;
}

/* HOMEPAGE SECTION HEADING SCALE */

.about-reference .ar-section-heading h2 {
  font: 500 22px 'DM Sans', sans-serif;
  letter-spacing: 1.5px;
}

.about-reference .ar-section-heading p {
  font: 10px 'DM Mono', monospace;
  letter-spacing: 1px;
}

.about-reference .ar-intro-title h1 {
  font-family: 'DM Sans', sans-serif;
}

/* REMOVE WAVEFORM DECORATIONS */

.about-reference .ar-waveform,
.about-reference .ar-wave,
.about-reference .ar-waveform-intro,
.about-reference .ar-waveform-long {
  display: none !important;
}

/* TIMELINE */

.about-reference .ar-timeline {
  max-height: 390px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #777 transparent;
}

.about-reference .ar-timeline-item {
  flex: 0 0 76px;
}

.about-reference .ar-timeline-item.active {
  background: rgba(232, 229, 222, .10);
  box-shadow: inset 2px 0 0 #C5A46D;
}

.about-reference .ar-timeline-item:focus-visible {
  outline: 1px solid #C5A46D;
  outline-offset: -2px;
}

.about-reference .ar-timeline-item:hover:not(.active) {
  background: rgba(232, 229, 222, .035);
}

/* JOURNEY IMAGE */

.about-reference .ar-journey-grid {
  min-height: 410px;
}

.about-reference .ar-journey-photo img {
  transition: opacity .25s ease;
}

/* OUTSIDE THE STUDIO */

.about-reference .ar-interest-card {
  font-family: 'DM Mono', monospace;
}

.about-reference .ar-interest-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .ar-header {
    grid-template-columns: 1fr auto;
  }

  .ar-nav {
    gap: 17px;
  }

  .ar-nav a {
    font-size: 8px;
  }

  .ar-audio-mark {
    display: none;
  }

  .ar-intro {
    grid-template-columns: 22% 27% 1fr;
    gap: 2%;
  }

  .ar-intro-copy {
    padding-left: 15px;
  }

  .ar-studio-photo {
    height: 235px;
  }

  .ar-journey-grid {
    grid-template-columns: 25% 25% 1fr;
    gap: 2%;
  }

  .ar-timeline-item {
    gap: 15px;
    padding-left: 5px;
  }

  .ar-journey-photo {
    min-height: 340px;
  }

  .ar-interest-grid {
    gap: 8px;
  }

  .ar-interest-title {
    font-size: 11px;
    padding: 10px 8px;
  }

  .ar-interest-card p {
    font-size: 9px;
    padding: 8px;
  }
}

@media (max-width: 650px) {
  .about-reference main {
    padding: 85px 4vw 35px;
  }

  .about-reference .navigation {
    position: absolute;
  }

  .ar-header {
    height: auto;
    min-height: 68px;
    padding: 12px 4vw;
    grid-template-columns: 1fr auto;
  }

  .ar-brand span {
    font-size: 13px;
  }

  .ar-brand small {
    font-size: 7px;
  }

  .about-reference .nav-links {
    display: flex;
    gap: 10px;
  }

  .about-reference .nav-links a {
    font-size: 8px;
  }

  .ar-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 10px;
    padding-top: 9px;
  }

  .ar-nav a {
    font-size: 8px;
    padding: 4px 0;
  }

  .ar-intro {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 35px 2% 22px;
    background-position: center;
  }

  .ar-intro-title {
    grid-column: 1;
  }

  .ar-intro-copy {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-left: 15px;
  }

  .ar-intro-title h1 {
    font-size: 48px;
  }

  .ar-intro-title li {
    font-size: 8px;
  }

  .ar-studio-photo {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 220px;
    width: 100%;
  }

  .ar-intro-copy p {
    font-size: 9px;
  }

  .ar-section-heading,
  .ar-outside .ar-section-heading {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .ar-section-heading h2 {
    font-size: 18px;
    letter-spacing: .1em;
  }

  .ar-section-heading p {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    font-size: 8px;
  }

  .ar-journey-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ar-timeline {
    border-right: 0;
    border-bottom: 1px solid var(--ar-line);
    padding: 0 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    max-height: 340px;
  }

  .ar-timeline:before {
    display: none;
  }

  .ar-timeline-item {
    min-height: 64px;
    flex-basis: 64px;
    gap: 10px;
    padding: 7px 4px;
  }

  .ar-timeline-text b {
    font-size: 8px;
  }

  .ar-timeline-text small {
    font-size: 7px;
  }

  .ar-chapter {
    padding: 0 3px 10px;
  }

  .ar-chapter h3 {
    margin: 12px 0;
  }

  .ar-chapter p {
    max-width: none;
  }

  .ar-journey-photo {
    min-height: 290px;
    height: 65vw;
  }

  .ar-archive-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .ar-archive-note {
    grid-column: 1 / -1;
  }

  .ar-waveform-long {
    grid-column: 1 / -1;
  }

  .ar-interest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ar-interest-card > img,
  .ar-spotify-mock {
    height: 145px;
  }

  .ar-interest-title {
    font-size: 10px;
  }

  .ar-interest-card p {
    font-size: 8px;
  }

  .ar-modal-box {
    padding: 38px 24px 28px;
  }

  .about-reference .ar-timeline {
    max-height: 340px;
  }

  .about-reference .ar-section-heading h2 {
    font-size: 18px;
  }

  .about-reference .ar-archive-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 390px) {
  .ar-intro {
    grid-template-columns: 1fr;
  }

  .ar-intro-copy {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
    padding: 0;
  }

  .ar-studio-photo {
    grid-column: 1;
    grid-row: auto;
  }

  .ar-interest-grid {
    grid-template-columns: 1fr;
  }

  body.about-reference {
    background-color: #0B0C0B !important;
    color: #E8E5DE !important;
}

    body.about-reference,
    body.about-reference main,
    body.about-reference .ar-intro,
    body.about-reference .ar-journey,
    body.about-reference .ar-outside {
        background: #000000 !important;
        background-image: none !important;
    
}


/* =========================================
   MODAL REFINEMENTS — NOVEMBER 2026
========================================= */

/* True black throughout */
.ar-interest-modal,
.ar-modal-box.ar-cooking-modal {
    background: #000000 !important;
}

.ar-modal-backdrop {
    background: rgba(0, 0, 0, 0.94) !important;
}

.ar-modal-box.ar-cooking-modal {
    background-color: #000000 !important;
    border-color: rgba(232, 229, 222, 0.45);
}

/* Better overall proportions */
.ar-modal-top {
    min-height: 390px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
    gap: 28px;
    padding: 28px 30px 24px 50px;
}

/* Keep the title and subtitle from overlapping */
.ar-modal-heading-row {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: center;
    padding-right: 25px;
}

.ar-cooking-modal .ar-modal-heading-row h2 {
    font-size: clamp(48px, 4.5vw, 72px);
    line-height: 1;
    letter-spacing: 0.015em;
    white-space: nowrap;
}

.ar-modal-subtitle {
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.14em;
}

/* More balanced intro text */
.ar-modal-copy {
    margin-top: 24px;
    max-width: 760px;
}

.ar-modal-copy p {
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 12px;
}

/* Kitchen image proportions */
.ar-modal-kitchen-image {
    min-height: 350px;
}

.ar-modal-kitchen-image img {
    min-height: 350px;
    object-fit: cover;
}

/* Bottom content spacing */
.ar-modal-bottom {
    min-height: 350px;
    grid-template-columns: 1.05fr 0.9fr 1.1fr;
    gap: 24px;
    padding: 12px 32px 26px 50px;
}

.ar-modal-feature-image,
.ar-modal-feature-image img {
    min-height: 320px;
}

/* Recipe heading */
.ar-modal-recipe {
    padding-top: 18px;
    padding-right: 22px;
}

.ar-modal-section-title {
    font-size: 16px;
    letter-spacing: 0.09em;
}

/* Remove decorative artwork and old navigation */
.ar-modal-herb-art,
.ar-modal-static-label,
.ar-modal-categories {
    display: none !important;
}

/* Favorite food images */
.ar-modal-favorite-grid {
    gap: 12px;
    padding-top: 22px;
}

.ar-modal-favorite img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 900px) {
    .ar-modal-top {
        grid-template-columns: 1fr 0.8fr;
        padding: 26px 24px 22px;
    }

    .ar-modal-heading-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ar-cooking-modal .ar-modal-heading-row h2 {
        font-size: clamp(48px, 7vw, 68px);
    }

    .ar-modal-bottom {
        grid-template-columns: 1fr 1fr;
        padding: 20px 24px;
    }

    .ar-modal-feature-image {
        grid-row: span 2;
    }

    .ar-modal-recipe {
        border-right: 0;
    }

    .ar-modal-favorites {
        grid-column: 2;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ar-modal-top {
        display: flex;
        flex-direction: column;
        padding: 24px 20px;
    }

    .ar-modal-heading-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ar-cooking-modal .ar-modal-heading-row h2 {
        font-size: clamp(44px, 13vw, 64px);
        white-space: normal;
    }

    .ar-modal-subtitle {
        font-size: 12px;
    }

    .ar-modal-bottom {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .ar-modal-feature-image,
    .ar-modal-feature-image img {
        height: 260px;
        min-height: 260px;
    }

    .ar-modal-recipe {
        border-bottom: 1px solid #454642;
        padding-bottom: 22px;
    }
}

}


/* =========================================
   FULL-SCREEN EDITORIAL INTEREST MODAL
========================================= */

/* Modal overlay */
.ar-interest-modal {
    padding: clamp(12px, 2.5vw, 42px);
}

.ar-interest-modal.is-open {
    overflow-y: auto;
}

.ar-modal-backdrop {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(7px);
}

/* Main modal window */
.ar-modal-box.ar-cooking-modal {
    width: min(1450px, 100%);
    max-width: 1450px;
    max-height: calc(100vh - 48px);

    overflow-y: auto;
    padding: 0;

    background: #000000;
    border: 1px solid rgba(232, 229, 222, 0.58);

    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72);

    display: grid;
    grid-template-rows: auto auto;

    scrollbar-width: thin;
    scrollbar-color: #68645c #000000;
}

/* Close button */
.ar-cooking-modal .ar-modal-close {
    z-index: 5;
    top: 18px;
    right: 22px;

    font-size: 34px;
    line-height: 1;
    color: #E8E5DE;
}

.ar-cooking-modal .ar-modal-close:hover {
    color: #C5A46D;
}


/* =========================================
   TOP SECTION
========================================= */

.ar-modal-top {
    min-height: 390px;

    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);

    gap: 28px;
    padding: 30px 30px 24px 50px;

    border-bottom: 1px solid #454642;
}

.ar-modal-story {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 0 0 26px;
}

/* Section number */
.ar-cooking-modal .ar-modal-kicker {
    display: block;

    margin: 0 0 28px;

    color: #C5A46D;

    font: 11px 'DM Mono', monospace;
    letter-spacing: 0.16em;
}


/* =========================================
   TITLE AND SUBTITLE
========================================= */

.ar-modal-heading-row {
    display: grid;

    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);

    align-items: center;
    gap: 20px;

    padding-right: 20px;
}

.ar-cooking-modal .ar-modal-heading-row h2 {
    margin: 0;

    color: #E8E5DE;

    font: 500 clamp(42px, 3.5vw, 62px)/1 'DM Sans', sans-serif;

    letter-spacing: 0.015em;
    white-space: nowrap;
}

.ar-modal-subtitle {
    padding: 0 0 17px;

    border-bottom: 1px solid #77736b;

    color: #E8E5DE;

    font: 15px/1.55 'DM Mono', monospace;
    letter-spacing: 0.14em;
}


/* =========================================
   INTRODUCTION TEXT
========================================= */

.ar-modal-copy {
    margin-top: 24px;
    max-width: 780px;
}

.ar-modal-copy p {
    margin: 0 0 13px;

    color: rgba(232, 229, 222, 0.88);

    font: 13px/1.65 'DM Mono', monospace;
    letter-spacing: 0.035em;
}


/* =========================================
   KITCHEN IMAGE
========================================= */

.ar-modal-kitchen-image {
    min-height: 350px;
    height: auto;
    margin: 0 0 24px;
    overflow: hidden;
    align-self: stretch;
}

.ar-modal-kitchen-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}


/* =========================================
   BOTTOM SECTION
========================================= */

.ar-modal-bottom {
    min-height: 360px;

    display: grid;

    grid-template-columns: 1.08fr 0.88fr 1.08fr;

    gap: 24px;

    padding: 12px 32px 22px 50px;
}


/* Main recipe photograph */
.ar-modal-feature-image {
    min-height: 320px;

    margin: 0;
    overflow: hidden;
}

.ar-modal-feature-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 320px;

    object-fit: cover;
}


/* =========================================
   MOST RECENT RECIPE
========================================= */

.ar-modal-recipe {
    position: relative;

    min-width: 0;

    padding: 18px 24px 8px 0;

    border-right: 1px solid #454642;

    overflow: hidden;
}

.ar-modal-section-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 14px;

    border-bottom: 1px solid #77736b;

    color: #E8E5DE;

    font: 16px 'DM Mono', monospace;
    letter-spacing: 0.09em;
}

/* Recipe title */
.ar-modal-recipe h3 {
    margin: 18px 0 14px;

    color: #E8E5DE;

    font: 13px/1.55 'DM Mono', monospace;

    letter-spacing: 0.08em;
    font-weight: 400;
}

/* Recipe description */
.ar-modal-recipe p {
    margin: 0;

    color: rgba(232, 229, 222, 0.8);

    font: 12px/1.65 'DM Mono', monospace;
}


/* =========================================
   FAVORITE PLANT-BASED FINDS
========================================= */

.ar-modal-favorites {
    min-width: 0;

    padding: 18px 0 8px;
}

.ar-modal-favorites .ar-modal-section-title {
    font-size: 13px;
    letter-spacing: 0.09em;
}

/* Food image grid */
.ar-modal-favorite-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    padding-top: 22px;
}

/* Individual food images */
.ar-modal-favorite img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1.15;

    object-fit: cover;

    border: 1px solid #454642;

    filter: saturate(0.75);
}

/* Food names */
.ar-modal-favorite h4 {
    margin: 10px 0 7px;

    color: #E8E5DE;

    font: 11px/1.4 'DM Mono', monospace;

    letter-spacing: 0.09em;
    font-weight: 400;
}

/* Food descriptions */
.ar-modal-favorite p {
    margin: 0;

    color: rgba(232, 229, 222, 0.78);

    font: 9px/1.55 'DM Mono', monospace;

    letter-spacing: 0.08em;
}


/* =========================================
   REMOVE UNWANTED DECORATIONS
========================================= */

.ar-modal-static-label,
.ar-modal-herb-art,
.ar-modal-categories {
    display: none !important;
}


/* =========================================
   GENERAL PAGE BEHAVIOR
========================================= */

.about-reference.modal-open {
    overflow: hidden;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {

    .ar-modal-top {
        grid-template-columns: 1fr 0.8fr;
        gap: 20px;

        padding-left: 28px;
    }

    .ar-modal-heading-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ar-modal-subtitle {
        max-width: 420px;
    }

    .ar-cooking-modal .ar-modal-heading-row h2 {
        font-size: clamp(42px, 5vw, 58px);
    }

    .ar-modal-bottom {
        grid-template-columns: 1fr 1fr;
        padding-left: 28px;
    }

    .ar-modal-feature-image {
        grid-row: span 2;
    }

    .ar-modal-recipe {
        border-right: 0;
        padding-right: 0;
    }

    .ar-modal-favorites {
        grid-column: 2;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .ar-interest-modal {
        padding: 8px;
        align-items: flex-start;
    }

    .ar-modal-box.ar-cooking-modal {
        max-height: calc(100dvh - 16px);
    }

    .ar-modal-top {
        display: flex;
        flex-direction: column;

        padding: 25px 20px 0;

        gap: 20px;
    }

    .ar-cooking-modal .ar-modal-kicker {
        margin-bottom: 24px;
        font-size: 9px;
    }

    .ar-cooking-modal .ar-modal-close {
        top: 12px;
        right: 14px;
        font-size: 30px;
    }

    .ar-modal-heading-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding-right: 22px;
    }

    .ar-cooking-modal .ar-modal-heading-row h2 {
        font-size: clamp(42px, 12vw, 62px);
        white-space: normal;
    }

    .ar-modal-subtitle {
        font-size: 12px;
    }

    .ar-modal-copy {
        margin-top: 22px;
    }

    .ar-modal-copy p {
        font-size: 11px;
        line-height: 1.65;
    }

    .ar-modal-kitchen-image,
    .ar-modal-kitchen-image img {
        min-height: 220px;
        height: 220px;
    }

    .ar-modal-bottom {
        display: flex;
        flex-direction: column;

        padding: 18px 20px 24px;

        gap: 18px;
    }

    .ar-modal-feature-image,
    .ar-modal-feature-image img {
        min-height: 260px;
        height: 260px;
    }

    .ar-modal-recipe {
        border-right: 0;
        border-bottom: 1px solid #454642;

        padding: 8px 0 24px;
    }

    .ar-modal-section-title {
        font-size: 15px;
    }

    .ar-modal-favorites .ar-modal-section-title {
        font-size: 11px;
    }

    .ar-modal-favorite-grid {
        gap: 9px;
        padding-top: 18px;
    }

    .ar-modal-favorite h4 {
        font-size: 9px;
    }

    .ar-modal-favorite p {
        font-size: 8px;
    }

}


/* =========================================
   WATCHING — CINEMATIC FILM ARCHIVE
   Separate layout; leaves the Cooking modal styles intact.
========================================= */
.ar-modal-box.ar-film-modal {
  width: min(1450px, 100%);
  max-width: 1450px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 0;
  background: #080908;
  border: 1px solid rgba(232,229,222,.58);
  box-shadow: 0 24px 90px rgba(0,0,0,.72);
  scrollbar-width: thin;
  scrollbar-color: #68645c #080908;
}
.ar-film-modal[hidden] { display: none !important; }
.ar-film-modal .ar-modal-close {
  z-index: 5; top: 18px; right: 22px;
  color: #E8E5DE; font: 34px/1 'DM Sans',sans-serif;
}
.ar-film-modal .ar-modal-close:hover { color: #C5A46D; }
.ar-film-top {
  min-height: 365px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(360px,.95fr);
  gap: 28px;
  padding: 32px 30px 0 48px;
  border-bottom: 1px solid #454642;
}
.ar-film-intro { min-width: 0; display: flex; flex-direction: column; padding-bottom: 24px; }
.ar-film-kicker {
  display: block; margin: 0 0 30px; color: #C5A46D;
  font: 11px 'DM Mono',monospace; letter-spacing: .16em;
}
.ar-film-heading-row {
  display: grid; grid-template-columns: minmax(190px,.72fr) minmax(250px,1.28fr);
  align-items: center; gap: 25px; padding-right: 25px;
}
.ar-film-heading-row h2 {
  margin: 0; color: #E8E5DE;
  font: 500 clamp(58px,6vw,88px)/.95 'DM Sans',sans-serif;
  letter-spacing: .025em;
}
.ar-film-subtitle {
  padding: 0 0 16px; border-bottom: 1px solid #77736b;
  color: #E8E5DE; font: 15px/1.55 'DM Mono',monospace; letter-spacing: .15em;
}
.ar-film-copy { max-width: 700px; margin-top: 28px; padding-right: 25px; }
.ar-film-copy p {
  margin: 0 0 12px; color: rgba(232,229,222,.88);
  font: 13px/1.65 'DM Mono',monospace; letter-spacing: .035em;
}
.ar-film-header-image { min-height: 330px; height: 100%; margin: 0; overflow: hidden; }
.ar-film-header-image img {
  display: block; width: 100%; height: 100%; min-height: 330px;
  object-fit: cover; filter: saturate(.68) brightness(.78);
}
.ar-film-content {
  display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.72fr);
  gap: 28px; padding: 14px 24px 18px 24px;
}
.ar-film-feature-image {
  position: relative; min-height: 450px; margin: 0; overflow: hidden;
  background: #111;
}
.ar-film-feature-image img {
  display: block; width: 100%; height: 100%; min-height: 450px;
  object-fit: cover; filter: saturate(.65) sepia(.12) brightness(.82);
}
.ar-film-frame-edge {
  position: absolute; inset: 0 auto 0 0; width: 42px;
  border-right: 1px solid rgba(232,229,222,.2);
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(8,9,8,.95) 9px 24px, transparent 24px 39px);
}
.ar-film-archive { min-width: 0; padding: 10px 0 0; }
.ar-film-favorites-heading {
  display: flex; align-items: center; gap: 17px; min-height: 34px;
  color: #E8E5DE;
}
.ar-film-square { width: 14px; height: 14px; flex: 0 0 14px; background: #E8E5DE; }
.ar-film-favorites-heading h3 {
  margin: 0; font: 18px 'DM Mono',monospace; font-weight: 400; letter-spacing: .12em;
}
.ar-film-heading-rule { height: 1px; flex: 1; background: #77736b; }
.ar-film-count { white-space: nowrap; font: 10px 'DM Mono',monospace; letter-spacing: .12em; }
.ar-film-arrows { white-space: nowrap; font: 22px 'DM Sans',sans-serif; margin-left: 4px; }
.ar-film-favorite-grid {
  display: flex; flex-wrap: nowrap; gap: 16px;
  min-width: 0; overflow-x: auto; overflow-y: hidden;
  padding: 20px 0 24px; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.ar-film-favorite { flex: 0 0 125px; width: 125px; min-width: 125px; scroll-snap-align: start; }
.ar-film-favorite img {
  display: block; width: 100%; aspect-ratio:  .78 / 1; object-fit: cover;
  border: 1px solid #454642; filter: saturate(.72) brightness(.9);
}
.ar-film-favorite h4 {
  min-height: 2.8em; margin: 9px 0 5px; color: #E8E5DE;
  font: 10px/1.45 'DM Mono',monospace; font-weight: 400; letter-spacing: .09em;
}
.ar-film-favorite p {
  margin: 0; color: rgba(232,229,222,.8);
  font: 9px 'DM Mono',monospace; letter-spacing: .12em;
}
.ar-film-bottom-row {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr);
  gap: 24px; align-items: center; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid #454642;
}
.ar-film-other-label {
  display: block; margin-bottom: 12px; color: #E8E5DE;
  font: 11px 'DM Mono',monospace; letter-spacing: .13em;
}
.ar-film-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.ar-film-tags span {
  padding: 7px 10px; border: 1px solid #77736b; color: #E8E5DE;
  font: 9px 'DM Mono',monospace; letter-spacing: .08em;
}
.ar-film-quote {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  margin: 0; padding: 12px 0 12px 24px; border-left: 1px solid #77736b;
}
.ar-film-quote span { color: #C5A46D; font: 18px Georgia,serif; }
.ar-film-quote p {
  margin: 0; color: rgba(232,229,222,.9);
  font: italic 10px/1.8 'DM Mono',monospace; letter-spacing: .1em;
}

@media (max-width: 1000px) {
  .ar-film-top { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); padding-left: 28px; gap: 20px; }
  .ar-film-heading-row { grid-template-columns: 1fr; gap: 14px; }
  .ar-film-subtitle { max-width: 430px; }
  .ar-film-content { grid-template-columns: minmax(210px,.65fr) minmax(0,1.35fr); gap: 20px; }
  .ar-film-favorite-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 18px; }
  .ar-film-favorite img { aspect-ratio: 1 / 1.12; }
  .ar-film-bottom-row { grid-template-columns: 1fr; }
  .ar-film-quote { margin-top: 4px; }
}
@media (max-width: 650px) {
  .ar-film-modal { max-height: calc(100dvh - 16px); }
  .ar-film-modal .ar-modal-close { top: 12px; right: 14px; font-size: 30px; }
  .ar-film-top { display: flex; flex-direction: column; padding: 25px 20px 0; gap: 18px; }
  .ar-film-kicker { margin-bottom: 22px; font-size: 9px; }
  .ar-film-heading-row { display: flex; flex-direction: column; align-items: flex-start; padding-right: 24px; }
  .ar-film-heading-row h2 { font-size: clamp(48px,14vw,72px); }
  .ar-film-subtitle { font-size: 11px; }
  .ar-film-copy { margin-top: 18px; padding-right: 0; }
  .ar-film-copy p { font-size: 10px; line-height: 1.65; }
  .ar-film-header-image, .ar-film-header-image img { height: 210px; min-height: 210px; }
  .ar-film-content { display: flex; flex-direction: column; padding: 16px 16px 22px; gap: 18px; }
  .ar-film-feature-image, .ar-film-feature-image img { height: 280px; min-height: 280px; }
  .ar-film-archive { padding-top: 0; }
  .ar-film-favorites-heading { gap: 10px; }
  .ar-film-favorites-heading h3 { font-size: 14px; }
  .ar-film-count { font-size: 8px; }
  .ar-film-arrows { font-size: 18px; }
  .ar-film-favorite-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 9px; padding-top: 16px; }
  .ar-film-favorite h4 { font-size: 9px; }
  .ar-film-favorite p { font-size: 8px; }
  .ar-film-bottom-row { gap: 16px; margin-top: 18px; padding-top: 16px; }
  .ar-film-tags { gap: 7px; }
  .ar-film-tags span { font-size: 8px; padding: 6px 8px; }
  .ar-film-quote { padding-left: 14px; }
}


/* =========================================
   INDEPENDENT OUTSIDE-THE-STUDIO POPUPS
========================================= */
.ar-interest-modal[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

.ar-interest-modal.is-open[aria-hidden="false"] {
    visibility: visible;
    pointer-events: auto;
}

.ar-simple-modal {
    width: min(520px, 100%);
    background: #000000;
}

.ar-modal-box.ar-film-modal {
    background: #000000;
}


/* =========================================
   PLAYING — VIDEO GAME ARCHIVE
   Mirrors the Film modal's editorial layout.
========================================= */
.ar-modal-box.ar-games-modal {
  width: min(1450px, calc(100vw - 52px));
  max-width: 1450px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0;
  color: #e8e5de;
  background: #000;
  border: 1px solid rgba(232,229,222,.58);
  box-shadow: 0 24px 90px rgba(0,0,0,.72);
  scrollbar-width: thin;
  scrollbar-color: #68645c #000;
}
.ar-games-modal .ar-modal-close {
  z-index: 5;
  top: 18px;
  right: 22px;
  color: #e8e5de;
  font: 34px/1 'DM Sans', sans-serif;
}
.ar-games-modal .ar-modal-close:hover { color: #c5a46d; }
.ar-games-top {
  min-height: 365px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(360px,.95fr);
  gap: 28px;
  padding: 32px 30px 0 48px;
  border-bottom: 1px solid #454642;
}
.ar-games-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.ar-games-kicker {
  display: block;
  margin: 0 0 30px;
  color: #c5a46d;
  font: 11px 'DM Mono', monospace;
  letter-spacing: .16em;
}
.ar-games-heading-row {
  display: flex;
  align-items: center;
  padding-right: 25px;
}
.ar-games-heading-row h2 {
  margin: 0;
  color: #e8e5de;
  font: 500 clamp(58px,6vw,88px)/.95 'DM Sans', sans-serif;
  letter-spacing: .025em;
  white-space: nowrap;
}
.ar-games-copy {
  max-width: 700px;
  margin-top: 28px;
  padding-right: 25px;
}
.ar-games-copy p {
  margin: 0 0 12px;
  color: rgba(232,229,222,.88);
  font: 13px/1.65 'DM Mono', monospace;
  letter-spacing: .035em;
}
.ar-games-header-image {
  min-width: 0;
  min-height: 330px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #10110f;
}
.ar-games-header-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(.68) brightness(.78);
}
.ar-games-content {
  display: grid;
  grid-template-columns: minmax(280px,.78fr) minmax(0,1.72fr);
  gap: 28px;
  padding: 14px 24px 18px;
  align-items: start;
}
.ar-games-feature {
  position: relative;
  display: block;
  min-width: 0;
  height: 360px;
  overflow: hidden;
  background: #111;
  color: #e8e5de;
  text-decoration: none;
}
.ar-games-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.65) brightness(.62);
  transition: transform .35s ease, filter .35s ease;
}
.ar-games-feature:hover img {
  transform: scale(1.025);
  filter: saturate(.85) brightness(.72);
}
.ar-games-feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px;
  background: linear-gradient(180deg, transparent 15%, rgba(0,0,0,.82) 100%);
}
.ar-games-feature-kicker,
.ar-games-feature-link {
  font: 9px 'DM Mono', monospace;
  letter-spacing: .14em;
}
.ar-games-feature-kicker { color: #c5a46d; }
.ar-games-feature-title {
  font: 500 clamp(26px,3vw,42px)/.98 'DM Sans', sans-serif;
  letter-spacing: .025em;
}
.ar-games-feature-link { padding-top: 12px; border-top: 1px solid rgba(232,229,222,.55); }
.ar-games-archive { min-width: 0; padding: 10px 0 0; }
.ar-games-favorites-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 34px;
  color: #e8e5de;
}
.ar-games-favorites-heading h3 {
  margin: 0;
  font: 18px 'DM Mono', monospace;
  font-weight: 400;
  letter-spacing: .12em;
}
.ar-games-heading-rule { height: 1px; flex: 1; background: #77736b; }
.ar-games-count { white-space: nowrap; font: 10px 'DM Mono', monospace; letter-spacing: .12em; }
.ar-games-carousel-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0 38px;
}
.ar-games-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ar-games-track::-webkit-scrollbar { display: none; }
.ar-game-tile {
  flex: 0 0 125px;
  width: 125px;
  min-width: 125px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e8e5de;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: .9;
}
.ar-game-tile img {
  display: block;
  width: 100%;
  aspect-ratio: .78 / 1;
  object-fit: cover;
  border: 1px solid #454642;
  filter: saturate(.72) brightness(.9);
  transition: filter .2s, border-color .2s, transform .2s;
}
.ar-game-tile span {
  display: block;
  min-height: 2.8em;
  margin: 9px 0 0;
  color: #e8e5de;
  font: 10px/1.45 'DM Mono', monospace;
  letter-spacing: .09em;
}
.ar-game-tile:hover,
.ar-game-tile.is-selected { opacity: 1; }
.ar-game-tile:hover img,
.ar-game-tile.is-selected img {
  border-color: #c5a46d;
  filter: saturate(.95);
  transform: translateY(-2px);
}
.ar-game-tile:focus-visible,
.ar-games-scroll:focus-visible { outline: 1px solid #c5a46d; outline-offset: 3px; }
.ar-games-scroll {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  border: 1px solid #77736b;
  background: #080908;
  color: #e8e5de;
  font-size: 22px;
  cursor: pointer;
}
.ar-games-scroll:hover { color: #c5a46d; border-color: #c5a46d; }
.ar-games-scroll-left { left: 0; }
.ar-games-scroll-right { right: 0; }
.ar-games-board-row {
  display: block;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #454642;
}
.ar-games-other-label {
  display: block;
  margin-bottom: 12px;
  color: #e8e5de;
  font: 11px 'DM Mono', monospace;
  letter-spacing: .13em;
}
.ar-games-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.ar-games-tags span {
  padding: 7px 10px;
  border: 1px solid #77736b;
  color: #e8e5de;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .08em;
}
.ar-games-modal img.image-unavailable { visibility: hidden; }

@media (max-width: 1000px) {
  .ar-games-top { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); padding-left: 28px; gap: 20px; }
  .ar-games-heading-row h2 { font-size: clamp(48px,6vw,72px); }
  .ar-games-content { grid-template-columns: minmax(210px,.65fr) minmax(0,1.35fr); gap: 20px; }
  .ar-game-tile { flex-basis: 112px; width: 112px; min-width: 112px; }
}
@media (max-width: 650px) {
  .ar-games-modal { max-height: calc(100dvh - 16px); }
  .ar-games-modal .ar-modal-close { top: 12px; right: 14px; font-size: 30px; }
  .ar-games-top { display: flex; flex-direction: column; padding: 25px 20px 0; gap: 18px; }
  .ar-games-kicker { margin-bottom: 22px; font-size: 9px; }
  .ar-games-heading-row h2 { font-size: clamp(46px,14vw,72px); white-space: normal; }
  .ar-games-copy { margin-top: 18px; padding-right: 0; }
  .ar-games-copy p { font-size: 10px; line-height: 1.65; }
  .ar-games-header-image, .ar-games-header-image img { height: 210px; min-height: 210px; }
  .ar-games-content { display: flex; flex-direction: column; padding: 16px 16px 22px; gap: 18px; }
  .ar-games-feature { width: 100%; height: 240px; }
  .ar-games-archive { width: 100%; padding-top: 0; }
  .ar-games-favorites-heading { gap: 10px; }
  .ar-games-favorites-heading h3 { font-size: 14px; }
  .ar-games-count { font-size: 8px; }
  .ar-games-track { gap: 12px; padding-top: 16px; }
  .ar-game-tile { flex-basis: 108px; width: 108px; min-width: 108px; }
  .ar-game-tile span { font-size: 9px; }
  .ar-games-tags { gap: 7px; }
  .ar-games-tags span { font-size: 8px; padding: 6px 8px; }
}

/* ==========================================
   LISTENING MODAL
   Cinematic Spotify Playlist
========================================== */

.ar-listening-modal {
  position: relative;
  width: min(1600px, 100%);
  max-width: 1600px;
  min-height: 650px;
  background-color: #000000 !important;
  background-image:
    linear-gradient(
      90deg,
      #000000 0%,
      rgba(0,0,0,.98) 45%,
      rgba(0,0,0,.60) 100%
    ),
    url("images/about/outside the studio/turntable-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(232,229,222,.65);
  overflow: hidden;
  padding: 65px 60px;
  box-shadow: none;
}

.ar-listening-modal .ar-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 10;
  color: #E8E5DE;
  font-size: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.ar-listening-modal .ar-modal-close:hover {
  color: #C5A46D;
}

.ar-listening-content {
  position: relative;
  z-index: 2;
  width: 72%;
  max-width: 1080px;
}

.ar-listening-kicker {
  display: block;
  margin-bottom: 30px;
  color: #C5A46D;
  font: 11px 'DM Mono', monospace;
  letter-spacing: .16em;
}

.ar-listening-heading {
  display: flex;
  align-items: center;
  gap: 50px;
}

.ar-listening-heading h2 {
  margin: 0;
  color: #E8E5DE;
  font: 500 clamp(55px, 7vw, 100px)/1 'DM Sans', sans-serif;
  letter-spacing: .025em;
}

.ar-listening-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 55px;
}

.ar-listening-wave span {
  display: block;
  width: 2px;
  background: #E8E5DE;
  opacity: .85;
}

.ar-listening-wave span:nth-child(1),
.ar-listening-wave span:nth-child(12) { height: 12px; }

.ar-listening-wave span:nth-child(2),
.ar-listening-wave span:nth-child(11) { height: 22px; }

.ar-listening-wave span:nth-child(3),
.ar-listening-wave span:nth-child(10) { height: 35px; }

.ar-listening-wave span:nth-child(4),
.ar-listening-wave span:nth-child(9) { height: 48px; }

.ar-listening-wave span:nth-child(5),
.ar-listening-wave span:nth-child(8) { height: 28px; }

.ar-listening-wave span:nth-child(6),
.ar-listening-wave span:nth-child(7) { height: 55px; }

.ar-listening-rule {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: #77736b;
}

.ar-listening-description {
  max-width: 850px;
  margin: 0 0 26px;
  color: #E8E5DE;
  font: 15px/1.8 'DM Mono', monospace;
  letter-spacing: .035em;
}

.ar-spotify-embed {
  width: 100%;
  max-width: 1080px;
  overflow: hidden;
  border: 1px solid rgba(232,229,222,.25);
  border-radius: 12px;
  background: #121212;
}

.ar-spotify-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}

.ar-listening-spotify-link {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  min-width: 450px;
  margin-top: 28px;
  padding: 17px 24px;
  border: 1px solid #C5A46D;
  color: #E8E5DE;
  text-decoration: none;
  font: 12px 'DM Mono', monospace;
  letter-spacing: .15em;
  transition: background .3s, color .3s;
}

.ar-listening-spotify-link:hover {
  background: #C5A46D;
  color: #000;
}

.ar-listening-spotify-link > span:first-child {
  font-size: 22px;
}

.ar-listening-arrow {
  margin-left: auto;
  font-size: 22px;
}

/* TABLET */

@media (max-width: 900px) {
  .ar-listening-modal {
    padding: 55px 30px;
    min-height: auto;
  }

  .ar-listening-content {
    width: 100%;
  }

  .ar-listening-heading {
    gap: 25px;
  }

  .ar-listening-heading h2 {
    font-size: clamp(48px, 9vw, 75px);
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .ar-listening-modal {
    padding: 35px 20px;
    min-height: auto;
  }

  .ar-listening-heading {
    flex-wrap: wrap;
    gap: 18px;
  }

  .ar-listening-heading h2 {
    font-size: clamp(42px, 12vw, 65px);
  }

  .ar-listening-wave {
    transform: scale(.8);
    transform-origin: left center;
  }

  .ar-listening-description {
    font-size: 11px;
  }

  .ar-spotify-embed iframe {
    height: 352px;
  }

  .ar-listening-spotify-link {
    width: 100%;
    min-width: 0;
    font-size: 10px;
    padding: 14px;
  }
}

@media (max-width: 700px) {
  .ar-games-modal { overflow-y: auto; }
  .ar-games-main { display: block; padding: 16px 18px 12px; }
  .ar-board-games { margin: 12px 18px 16px; padding-top: 12px; }
  .ar-board-game-tile { flex-basis: 92px; }
  .ar-film-content { grid-template-columns: 1fr; }
  .ar-film-letterboxd { height: 260px; }
}


/* Board-game names use the same quiet text-tag treatment as Favorite TV Shows. */
.ar-games-modal .ar-board-games {
  margin: 0 clamp(28px, 4vw, 64px);
  padding: 16px 0 24px;
  border-top: 1px solid #454642;
}
.ar-games-modal .ar-board-games .ar-film-other-label {
  margin-bottom: 10px;
}
.ar-games-modal .ar-board-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  max-height: none;
  overflow: visible;
}
.ar-games-modal .ar-board-game-tags span {
  padding: 0;
  border: 0;
  color: #bdb8ae;
  font: 9px/1.7 'DM Mono', monospace;
  letter-spacing: .08em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .ar-games-modal .ar-board-games { margin: 0 20px; padding: 14px 0 18px; }
  .ar-games-modal .ar-board-game-tags { gap: 6px 10px; }
  .ar-games-modal .ar-board-game-tags span { font-size: 8px; }
}


/* ==========================================
   FINAL EDITORIAL MODAL LAYOUT
   Film is the reference; Video Games mirrors it.
========================================== */

.ar-film-modal,
.ar-games-modal {
  width: min(1450px, calc(100vw - 52px));
  max-width: 1450px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 0;
  background: #000;
}

.ar-film-top,
.ar-games-top {
  height: 365px;
  min-height: 365px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .95fr);
  gap: 28px;
  padding: 32px 30px 0 48px;
  border-bottom: 1px solid #454642;
  box-sizing: border-box;
}

.ar-film-intro,
.ar-games-intro {
  min-width: 0;
  padding-bottom: 24px;
}

.ar-film-header-image,
.ar-games-header-image {
  display: block;
  width: 100%;
  height: 305px;
  min-height: 305px;
  margin: 0;
  overflow: hidden;
}

.ar-film-header-image img,
.ar-games-header-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ar-games-content,
.ar-film-content {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.72fr);
  gap: 28px;
  padding: 14px 24px 18px;
  align-items: start;
  box-sizing: border-box;
}

.ar-games-feature {
  height: 360px;
  min-height: 360px;
}

.ar-games-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-games-archive,
.ar-film-archive {
  min-width: 0;
}

.ar-games-track,
.ar-film-favorite-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.ar-games-track::-webkit-scrollbar,
.ar-film-favorite-grid::-webkit-scrollbar {
  display: none;
}

.ar-game-tile {
  flex: 0 0 125px;
  width: 125px;
  min-width: 125px;
}

.ar-game-tile img {
  display: block;
  width: 100%;
  aspect-ratio: .78 / 1;
  object-fit: cover;
}

.ar-games-modal .ar-board-games {
  margin: 0 24px;
  padding: 16px 0 22px;
  border-top: 1px solid #454642;
}

.ar-games-modal .ar-board-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ar-games-modal .ar-board-game-tags span {
  padding: 7px 10px;
  border: 1px solid #77736b;
  color: #e8e5de;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .08em;
}

@media (max-width: 1000px) {
  .ar-film-top,
  .ar-games-top {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 20px;
    padding-left: 28px;
  }

  .ar-film-content,
  .ar-games-content {
    grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr);
    gap: 20px;
  }
}

@media (max-width: 650px) {
  .ar-film-modal,
  .ar-games-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .ar-film-top,
  .ar-games-top {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 25px 20px 18px;
    gap: 18px;
  }

  .ar-film-header-image,
  .ar-games-header-image {
    height: 210px;
    min-height: 210px;
  }

  .ar-film-content,
  .ar-games-content {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 22px;
    gap: 18px;
  }

  .ar-games-feature {
    width: 100%;
    height: 240px;
    min-height: 240px;
  }

  .ar-games-archive,
  .ar-film-archive {
    width: 100%;
  }
}


/* TARGETED FIX: keep the Letterboxd artwork inside its feature panel.
   This does not change the Film layout, Games layout, or Watching modal. */
.ar-film-content > .ar-film-letterboxd {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 0;
  max-height: 360px;
  margin: 0;
  overflow: hidden;
  align-self: start;
}

.ar-film-content > .ar-film-letterboxd img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top left;
}

@media (max-width: 650px) {
  .ar-film-content > .ar-film-letterboxd {
    height: 260px;
    max-height: 260px;
  }
}


/* FILM: make Favorite TV Show tags use the full row width.
   Four equal columns keep seven labels to two rows on desktop. */
.ar-film-bottom-row .ar-film-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 9px;
}

.ar-film-bottom-row .ar-film-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

@media (max-width: 650px) {
  .ar-film-bottom-row .ar-film-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}


/* MODAL BOUNDARY FIX:
   Prevent Film and Video Games dialogs from widening the page.
   Their poster/game tracks remain independently horizontally scrollable. */
.ar-interest-modal {
  max-width: 100vw;
  overflow-x: hidden;
}

.ar-modal-box.ar-film-modal,
.ar-modal-box.ar-games-modal {
  box-sizing: border-box;
  width: min(1450px, calc(100vw - 52px));
  max-width: calc(100vw - 52px);
  min-width: 0;
  overflow-x: hidden;
}

.ar-film-top,
.ar-games-top,
.ar-film-content,
.ar-games-content,
.ar-film-archive,
.ar-games-archive,
.ar-film-bottom-row,
.ar-games-modal .ar-board-games {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Keep horizontal scrolling limited to the actual carousels. */
.ar-film-carousel-wrap,
.ar-games-carousel-wrap {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ar-film-favorite-grid,
.ar-games-track {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width: 650px) {
  .ar-modal-box.ar-film-modal,
  .ar-modal-box.ar-games-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
}


/* FILM: Favorite TV Shows occupies the full archive width.
   The old two-column row reserved space for a quote that is no longer present. */
.ar-film-bottom-row {
  display: block;
  width: 100%;
  min-width: 0;
}

.ar-film-bottom-row .ar-film-other {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.ar-film-bottom-row .ar-film-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 9px;
}

.ar-film-bottom-row .ar-film-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 650px) {
  .ar-film-bottom-row .ar-film-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   FINAL MODAL SYSTEM — Film and Video Games
   Compact centered dialogs; no modal-level scrolling.
   Only the poster/game tracks scroll horizontally.
========================================================= */

.ar-interest-modal {
  padding: 24px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ar-interest-modal .ar-modal-backdrop {
  background: rgba(0, 0, 0, .68) !important;
  backdrop-filter: blur(3px);
}

.ar-modal-box.ar-film-modal,
.ar-modal-box.ar-games-modal {
  width: min(1240px, calc(100vw - 96px));
  max-width: calc(100vw - 96px);
  max-height: min(860px, calc(100dvh - 80px));
  min-width: 0;
  overflow: hidden !important;
  box-sizing: border-box;
  margin: auto;
}

/* Compact shared editorial headers */
.ar-film-top {
  height: 300px;
  min-height: 300px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 26px;
  padding: 26px 28px 20px 38px;
  overflow: hidden;
  box-sizing: border-box;
}

.ar-games-top {
  height: auto;
  min-height: 320px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 26px;
  padding: 26px 28px 34px 38px;
  overflow: visible;
  box-sizing: border-box;
}

.ar-film-header-image,
.ar-games-header-image {
  height: 225px;
  min-height: 225px;
  overflow: hidden;
}

.ar-film-header-image img,
.ar-games-header-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

/* Shared compact lower two-column layout */
.ar-film-content,
.ar-games-content {
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.8fr);
  gap: 24px;
  padding: 16px 24px 18px;
  min-width: 0;
  overflow: hidden;
}

.ar-film-content > .ar-film-letterboxd {
  width: 100%;
  height: 280px;
  max-height: 280px;
  min-height: 0;
  overflow: hidden;
}

.ar-film-content > .ar-film-letterboxd img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top left;
}

.ar-games-feature {
  height: 300px;
  min-height: 300px;
  overflow: hidden;
}

.ar-games-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep carousels internally scrollable, never the dialog itself. */
.ar-film-archive,
.ar-games-archive {
  min-width: 0;
  overflow: hidden;
}

.ar-film-carousel-wrap,
.ar-games-carousel-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 0 38px;
}

.ar-film-favorite-grid,
.ar-games-track {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ar-film-favorite-grid::-webkit-scrollbar,
.ar-games-track::-webkit-scrollbar {
  display: none;
}

/* Identical arrow treatment for Film and Games */
.ar-film-scroll,
.ar-games-scroll {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  padding: 0;
  border: 1px solid #77736b;
  border-radius: 0;
  background: #080908;
  color: #e8e5de;
  font: 22px/1 'DM Sans', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ar-film-scroll:hover,
.ar-games-scroll:hover {
  color: #c5a46d;
  border-color: #c5a46d;
  background: #080908;
}

.ar-film-scroll-left,
.ar-games-scroll-left { left: 0; }

.ar-film-scroll-right,
.ar-games-scroll-right { right: 0; }

/* Film TV tags and Board Game tags: same compact label system.
   No oversized equal-width tiles. */
.ar-film-bottom-row {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #454642;
}

.ar-film-bottom-row .ar-film-other,
.ar-games-modal .ar-board-games {
  width: 100%;
  min-width: 0;
}

.ar-film-tags,
.ar-games-modal .ar-board-game-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  width: 100%;
}

.ar-film-tags span,
.ar-games-modal .ar-board-game-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 6px 9px;
  border: 1px solid #77736b;
  border-radius: 0;
  background: transparent;
  color: #e8e5de;
  font: 9px/1.35 'DM Mono', monospace;
  letter-spacing: .07em;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.ar-games-modal .ar-board-games {
  margin: 0 24px;
  padding: 14px 0 18px;
  border-top: 1px solid #454642;
}

/* Responsive layout: still no scrolling on the popup itself. */
@media (max-width: 900px) {
  .ar-modal-box.ar-film-modal,
  .ar-modal-box.ar-games-modal {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 40px);
  }

  .ar-film-top,
  .ar-games-top {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr);
    height: 240px;
    min-height: 240px;
    padding: 22px 22px 0;
    gap: 18px;
  }

  .ar-film-header-image,
  .ar-games-header-image {
    height: 195px;
    min-height: 195px;
  }

  .ar-film-content,
  .ar-games-content {
    grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
    gap: 16px;
    padding: 14px 18px;
  }

  .ar-film-content > .ar-film-letterboxd {
    height: 230px;
    max-height: 230px;
  }

  .ar-games-feature {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 650px) {
  .ar-interest-modal {
    padding: 10px;
  }

  .ar-modal-box.ar-film-modal,
  .ar-modal-box.ar-games-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .ar-film-top,
  .ar-games-top {
    height: 190px;
    min-height: 190px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    padding: 18px 16px 0;
    gap: 12px;
  }

  .ar-film-header-image,
  .ar-games-header-image {
    height: 150px;
    min-height: 150px;
  }

  .ar-film-content,
  .ar-games-content {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .ar-film-content > .ar-film-letterboxd {
    height: 170px;
    max-height: 170px;
  }

  .ar-games-feature {
    height: 190px;
    min-height: 190px;
  }

  .ar-film-tags span,
  .ar-games-modal .ar-board-game-tags span {
    font-size: 7px;
    padding: 5px 6px;
  }
}


/* COOKING MODAL ONLY:
   Match the compact outer dimensions and opaque treatment of Film/Games.
   Preserve all existing Cooking content, grid, typography, and internal spacing. */
.ar-modal-box.ar-cooking-modal {
  width: min(1240px, calc(100vw - 96px));
  max-width: calc(100vw - 96px);
  max-height: min(860px, calc(100dvh - 80px));
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(232, 229, 222, .58);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .72);
}

/* Same dimmed, blurred page backdrop used by Film and Video Games. */
.ar-interest-modal:has(.ar-modal-box.ar-cooking-modal) .ar-modal-backdrop {
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(3px);
}

@media (max-width: 900px) {
  .ar-modal-box.ar-cooking-modal {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 40px);
  }
}

@media (max-width: 650px) {
  .ar-modal-box.ar-cooking-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
}

/* LETTERBOXD — COMPACT FRAME + CONTAINED HOVER */

.ar-film-content {
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.8fr);
  gap: 28px;
}

.ar-film-content > a.ar-film-letterboxd {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: 340px;
  margin: 0 auto;
  padding: 0; /* ADD THIS */
  overflow: hidden;
  border: 1px solid #454642;
  box-sizing: border-box;
}

.ar-film-content > a.ar-film-letterboxd img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.10);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.ar-film-content > a.ar-film-letterboxd:hover img {
  transform: scale(1.14);
  filter: saturate(0.95) brightness(0.95);
}

.ar-film-content > a.ar-film-letterboxd:hover {
  border-color: #c5a46d;
}

/* FAVORITE FILMS — MATCH VIDEO GAMES HOVER EFFECT */

.ar-film-favorite img {
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    border-color 0.2s ease;
}

.ar-film-favorite:hover img {
  border-color: #c5a46d;
  filter: saturate(.95);
  transform: translateY(-2px);
}
/* LISTENING CARD — FULL SQUARE PLAYLIST ARTWORK */

/* LISTENING CARD — FULL IMAGE, ORIGINAL CARD DIMENSIONS */

.ar-spotify-mock {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(145px, 18vw, 205px);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: #111210;
  border-bottom: 1px solid var(--ar-line);
}

.ar-album-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ar-album-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

/* Hide the old miniature player elements */
.ar-spotify-mark,
.ar-track-info,
.ar-player-row {
  display: none;
}

/* LISTENING — MATCH OTHER CARDS HOVER */

.ar-listening-card {
  transition: border-color 0.2s ease;
}

.ar-listening-card:hover {
  border-color: rgba(197, 164, 109, .75);
}

.ar-listening-card:focus-visible {
  outline: 1px solid #C5A46D;
  outline-offset: 3px;
}

/* REMOVE EXTRA DIVIDER ABOVE LISTENING TITLE */

.ar-listening-card .ar-spotify-mock {
  border-bottom: none;
}
/* =========================================================
   MOBILE-ONLY FIXES — ABOUT PAGE
   Appended overrides only. Desktop rules above remain intact.
========================================================= */
@media (max-width: 650px) {
  /* Keep the intro text and portrait in separate rows.
     The previous two-column layout made the portrait overlap the copy. */
  .about-reference .ar-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 30px 4% 24px;
  }

  .about-reference .ar-intro-title,
  .about-reference .ar-intro-copy,
  .about-reference .ar-studio-photo {
    grid-column: 1 / -1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  .about-reference .ar-intro-title { order: 1; }
  .about-reference .ar-intro-copy {
    order: 2;
    padding: 0;
    border-left: 0;
    max-width:  none;
  }
  .about-reference .ar-studio-photo {
    order: 3;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
  }
  .about-reference .ar-studio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-reference .ar-intro-copy p {
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: break-word;
  }
  .about-reference .ar-intro-title h1 {
    font-size: clamp(48px, 13vw, 68px);
    line-height: .95;
  }

  /* Let every outside-the-studio popup use the phone's full width
     and scroll vertically instead of clipping its contents. */
  .about-reference .ar-interest-modal {
    padding: 10px;
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .about-reference .ar-interest-modal .ar-modal-box,
  .about-reference .ar-interest-modal .ar-listening-modal {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: calc(100dvh - 20px);
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .about-reference .ar-modal-box.ar-cooking-modal {
    padding: 0;
  }

  .about-reference .ar-modal-top,
  .about-reference .ar-film-top,
  .about-reference .ar-games-top {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 18px;
    padding: 26px 18px 18px;
    overflow: visible;
    box-sizing: border-box;
  }

  .about-reference .ar-modal-heading-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding-right: 28px;
  }

  .about-reference .ar-modal-copy,
  .about-reference .ar-film-copy,
  .about-reference .ar-games-copy {
    width: 100%;
    max-width: none;
    margin-top: 14px;
    padding: 0;
  }

  .about-reference .ar-modal-copy p,
  .about-reference .ar-film-copy p,
  .about-reference .ar-games-copy p {
    font-size: 11px;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  .about-reference .ar-modal-kitchen-image,
  .about-reference .ar-modal-kitchen-image img,
  .about-reference .ar-film-header-image,
  .about-reference .ar-film-header-image img,
  .about-reference .ar-games-header-image,
  .about-reference .ar-games-header-image img {
    width: 100%;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .about-reference .ar-modal-bottom,
  .about-reference .ar-film-content,
  .about-reference .ar-games-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 18px;
    padding: 18px;
    overflow: visible;
    box-sizing: border-box;
  }

  .about-reference .ar-modal-feature-image,
  .about-reference .ar-modal-feature-image img,
  .about-reference .ar-games-feature {
    width: 100%;
    min-width: 0;
    height: 240px;
    min-height: 240px;
  }

  .about-reference .ar-film-archive,
  .about-reference .ar-games-archive {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .about-reference .ar-film-carousel-wrap,
  .about-reference .ar-games-carousel-wrap {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .about-reference .ar-film-favorite-grid,
  .about-reference .ar-games-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .about-reference .ar-games-modal .ar-board-games {
    width: auto;
    margin: 0 18px 18px;
    padding: 16px 0 22px;
  }

  .about-reference .ar-games-modal .ar-board-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-reference .ar-listening-modal {
    min-height: 0;
    padding: 42px 18px 22px;
  }

  .about-reference .ar-listening-content {
    width: 100%;
    max-width: none;
  }

  .about-reference .ar-listening-heading {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 390px) {
  .about-reference .ar-intro { padding-right: 3%; padding-left: 3%; }
  .about-reference .ar-intro-copy p { font-size: 11px; }
  .about-reference .ar-interest-modal { padding: 6px; }
  .about-reference .ar-interest-modal .ar-modal-box,
  .about-reference .ar-interest-modal .ar-listening-modal {
    max-height: calc(100dvh - 12px);
  }
}


/* ==========================================================
   ABOUT PAGE — MOBILE-ONLY HEADER + POPUP SCROLL FIX
   Appended overrides only; desktop rules above remain intact.
========================================================== */
@media (max-width: 650px) {
  /* Return to the original two-row navigation arrangement. */
  body.about-reference .navigation {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 34px !important;
    grid-template-rows: auto auto auto !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 5px !important;
    row-gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 18px 13px !important;
    box-sizing: border-box !important;
  }

  body.about-reference .navigation > .brand {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  body.about-reference .navigation > .brand .logo {
    font-size: 15px !important;
    letter-spacing: 3px !important;
  }

  body.about-reference .navigation > .nav-links {
    grid-column: 1 / 4 !important;
    grid-row: 2 / 4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px 4px !important;
    align-items: center !important;
    justify-items: center !important;
    min-width: 0 !important;
  }

  body.about-reference .navigation > .nav-links a {
    display: block !important;
    padding: 3px 0 !important;
    font-size: 8px !important;
    letter-spacing: .35px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.about-reference .navigation > .sound-toggle {
    grid-column: 4 !important;
    grid-row: 2 / 4 !important;
    justify-self: center !important;
    align-self: center !important;
    width: 28px !important;
    height: 28px !important;
  }

  /* Film and Games: scroll the popup vertically; keep the carousels
     as their own horizontal swipe areas. Cooking is not targeted. */
  body.about-reference #playingModal.is-open,
  body.about-reference #watchingModal.is-open {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.about-reference #playingModal .ar-modal-box.ar-games-modal,
  body.about-reference #watchingModal .ar-modal-box.ar-film-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.about-reference #playingModal .ar-games-top,
  body.about-reference #watchingModal .ar-film-top {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 16px !important;
    padding: 24px 18px 18px !important;
    overflow: visible !important;
  }

  body.about-reference #playingModal .ar-games-content,
  body.about-reference #watchingModal .ar-film-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 16px 16px 22px !important;
    box-sizing: border-box !important;
  }

  body.about-reference #playingModal .ar-games-archive,
  body.about-reference #watchingModal .ar-film-archive,
  body.about-reference #playingModal .ar-games-carousel-wrap,
  body.about-reference #watchingModal .ar-film-carousel-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.about-reference #playingModal .ar-games-track,
  body.about-reference #watchingModal .ar-film-favorite-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px !important;
    padding: 16px 0 22px !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body.about-reference #playingModal .ar-game-tile,
  body.about-reference #watchingModal .ar-film-favorite {
    flex: 0 0 116px !important;
    width: 116px !important;
    min-width: 116px !important;
    scroll-snap-align: start !important;
  }

  body.about-reference #playingModal .ar-game-tile img,
  body.about-reference #watchingModal .ar-film-favorite img {
    display: block !important;
    width: 100% !important;
  }
}


/* =====================================================
   SHARED MOBILE HEADER — CONSISTENT ACROSS ALL PAGES
   Mobile-only override. Desktop navigation is untouched.
===================================================== */
@media (max-width: 650px) {
  body.about-reference .navigation {
    position: relative !important;
    z-index: 100 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px 18px 13px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(232, 229, 222, .35) !important;
  }

  body.about-reference .navigation > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  body.about-reference .navigation > .brand .logo {
    display: block !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 3px !important;
    white-space: nowrap !important;
  }

  body.about-reference .navigation > .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    order: initial !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: initial !important;
    justify-items: center !important;
    gap: 10px 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
    overflow: visible !important;
  }

  body.about-reference .navigation > .nav-links a {
    display: block !important;
    min-width: 0 !important;
    padding: 3px 0 !important;
    font-family: "DM Mono", monospace !important;
    font-size: clamp(7px, 2vw, 9px) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: .25px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.about-reference .navigation > .sound-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  body.about-reference .navigation > .sound-toggle .sound-circle {
    width: 12px !important;
    height: 12px !important;
  }

  body.about-reference .sound-panel {
    top: 12px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 380px) {
  body.about-reference .navigation {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  body.about-reference .navigation > .nav-links {
    column-gap: 2px !important;
  }

  body.about-reference .navigation > .nav-links a {
    font-size: 6.8px !important;
    letter-spacing: 0 !important;
  }
}
