/* The story continues on the same left margin as the film and letter. */
.type-unified {
  --story-edge: clamp(22px, 6.7vw, 28px);
  --warm-paper: var(--paper);
  --muted-cream: #eaded2;
  --wine-rule: #d6b58b66;
}

.site-header-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.desktop-section-nav, .desktop-side-photo { display: none; }

.has-line-entry-dock {
  --line-dock-space: calc(6rem + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: var(--line-dock-space);
}
.has-line-entry-dock .type-unified .hero {
  height: max(320px, calc(100svh - var(--desktop-header-height, 60px) - var(--line-dock-space)));
  min-height: 0;
}

.hero--explained::after {
  inset-block-start: 30%;
  background: linear-gradient(180deg, transparent, #20191c99 43%, #20191cf2 82%, var(--night));
}

.hero--explained .hero-copy {
  inset-inline: var(--story-edge);
  bottom: clamp(56px, 8svh, 70px);
}

.hero--explained .display-word {
  margin-bottom: 18px;
  font-size: clamp(54px, 17.6vw, 75px);
}

.hero--explained h1 {
  line-height: 1.4;
}

.hero--explained .hero-description {
  margin-top: 13px;
  color: var(--muted-cream);
  font-size: clamp(15px, 4.35vw, 17px);
  line-height: 1.6;
  font-weight: 500;
}

.hero-description strong {
  color: var(--cream);
  font-weight: 700;
}

@media (min-width: 768px) {
  .site-shell.type-unified {
    --desktop-header-height: 61px;
    --desktop-column: 430px;
    --desktop-edge: #d6b58b50;
    max-width: none;
    isolation: isolate;
    background: #231a1d;
  }
  .type-unified .site-header {
    min-height: var(--desktop-header-height);
    width: var(--desktop-column);
    margin-inline: auto;
    background: #181214;
    border-bottom-color: var(--desktop-edge);
  }
  .type-unified .site-header,
  .desktop-content {
    outline: 1px solid var(--desktop-edge);
  }
  .desktop-content {
    width: var(--desktop-column);
    margin-inline: auto;
    background: var(--night);
  }
  .type-unified .hero { height: calc(100svh - var(--desktop-header-height)); }
  .type-unified main > section { scroll-margin-top: calc(var(--desktop-header-height) + 10px); }
}

@media (min-width: 960px) {
  .type-unified .desktop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--desktop-column) minmax(0, 1fr);
    align-items: start;
  }
  .desktop-section-nav {
    position: sticky;
    top: var(--desktop-header-height);
    display: grid;
    align-content: center;
    justify-items: end;
    min-height: calc(100svh - var(--desktop-header-height));
    padding-block: 32px;
    padding-inline: clamp(24px, 5.4vw, 98px);
  }
  .desktop-section-nav ul {
    width: min(100%, 214px);
    margin: 0;
    padding: 4px 0 4px 20px;
    list-style: none;
    border-inline-start: 1px solid var(--wine-rule);
  }
  .desktop-section-nav a {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted-cream);
    font-size: var(--type-support);
    font-weight: 500;
    letter-spacing: .03em;
    text-decoration: none;
  }
  .desktop-section-nav a:hover { color: var(--copper); }
  .desktop-section-nav svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--copper);
  }
  .desktop-side-photo {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: block;
    pointer-events: none;
    background:
      linear-gradient(90deg, #21171bb3, #21171bdf 34%, #21171b55 64%, #21171b24),
      linear-gradient(0deg, #1b1417b0, transparent 40%, #1b141720),
      url("assets/desktop-wine-table.webp") 50% 54% / cover;
  }
  .desktop-photo-brand {
    position: absolute;
    inset-inline-end: clamp(28px, 5vw, 92px);
    inset-block-end: clamp(24px, 6.3vh, 72px);
    color: var(--cream);
    font-size: clamp(34px, 4.2vw, 68px);
    text-shadow: 0 2px 18px #140b0e99;
  }
  .desktop-photo-brand::before {
    content: "";
    display: block;
    width: 36px;
    margin: 0 0 12px auto;
    border-top: 1px solid var(--copper);
  }
}

.spread {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
}

.spread > img, .spread::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.spread::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, var(--night), #20191ca8 30%, transparent 76%);
}

.spread-copy {
  width: 100%;
  padding: 48px var(--story-edge) 28px;
}

.spread h2, .itinerary h2, .care h2 {
  margin: 0;
  line-height: 1.56;
  letter-spacing: -.025em;
}

.catalog { background: var(--night); }
.catalog-opening { min-height: clamp(345px, 94vw, 440px); }
.catalog-opening > img { object-position: 62% center; }
.catalog-opening::after {
  background: linear-gradient(0deg, var(--night) 0%, #20191cbf 36%, transparent 85%);
}
.catalog-opening p {
  margin-top: 14px;
  line-height: 1.75;
  color: var(--muted-cream);
}

.catalog .venue-rail {
  padding: 0 var(--story-edge) 24px;
  scroll-padding-left: var(--story-edge);
  scrollbar-color: var(--wine-rule) var(--night);
}
.catalog .venue-rail[data-loop] {
  scroll-snap-type: none;
  scrollbar-width: none;
  overflow-anchor: none;
}
.catalog .venue-rail[data-loop]::-webkit-scrollbar { display: none; }
.catalog .venue-rail figure {
  flex-basis: 86%;
  overflow: hidden;
  background: var(--warm-paper);
  color: var(--ink);
}
.catalog .venue-rail img { height: auto; aspect-ratio: 1.6; }
.catalog .venue-rail figcaption { padding: 12px 17px 17px; }
.catalog .venue-rail figcaption > strong { margin: 0; font-size: var(--type-h4); }

.portrait { min-height: clamp(360px, 99vw, 440px); }
.portrait > img { object-position: 62% 30%; }
.portrait::after {
  background: linear-gradient(0deg, #302027 0%, #241a1ed4 21%, #20191c28 61%, transparent 82%);
}
.admissions { background: #302027; }
.portrait-copy { padding-bottom: 0; }
.admission-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  border-bottom: 1px solid var(--wine-rule);
  padding-bottom: 12px;
  font-size: var(--type-support);
  font-weight: 700;
}
.admission-stat strong {
  font: 600 76px/.95 Wine Display, sans-serif;
  color: var(--copper);
}
.admission-stat strong span { font-size: .51em; margin-left: 3px; }
.admission-details { padding: 18px var(--story-edge) 26px; }
.admission-details > p { line-height: 1.85; }
.admission-details strong { color: var(--copper); }
.career-credits {
  margin: 0;
  padding: 28px var(--story-edge) 8px;
  scroll-margin-top: 78px;
  text-align: left;
}
.career-credits figcaption {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.career-credits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(min(50%, 8em), 1.4fr);
  gap: 12px clamp(8px, 2.5vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1rem, 4.6vw, var(--type-h4));
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.02em;
}
.admissions .admission-stat { margin: 0 0 12px; }
.caption, .review-chart figcaption {
  margin-top: 10px;
  font-size: var(--type-support);
  line-height: 1.7;
  color: var(--muted-cream);
}

.itinerary {
  padding: 0 var(--story-edge) 36px;
  background: var(--warm-paper);
  color: var(--ink);
}
.itinerary-opening {
  margin-inline: calc(-1 * var(--story-edge));
  min-height: clamp(255px, 69vw, 310px);
  background: var(--night);
}
.itinerary-opening > img { object-position: 64% 38%; }
.itinerary-opening::after {
  background: linear-gradient(90deg, #20191cdd, #20191c33 86%),
    linear-gradient(0deg, #20191cbb, transparent 75%);
}
.itinerary-intro { margin-top: 12px; line-height: 1.7; }
.itinerary-list { list-style: none; padding: 0; margin: 9px 0 0; }
.itinerary-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(82px, 28vw, 122px);
  gap: 12px;
  align-items: center;
  border-top: 1px solid #b9a598;
  padding: 15px 0;
}
.itinerary-list li:last-child { border-bottom: 1px solid #b9a598; }
.itinerary-list li:first-child { border-top: 0; }
.step-no {
  display: block;
  font: 600 27px/1 Wine Display, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--wine);
  margin-bottom: 8px;
}
.itinerary-list h3 { line-height: 1.48; letter-spacing: -.025em; text-wrap: pretty; }
.itinerary-list img, .date-print { width: 100%; height: auto; aspect-ratio: 1; }
.itinerary-list img { object-position: center; }
.date-print {
  background: var(--wine);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: var(--type-support);
  line-height: 1.35;
}
.date-print span:first-child { font: 600 34px/1 Wine Display, sans-serif; }
.date-print span:last-child { font: 600 18px/1.5 Wine Display, sans-serif; }
.reservation-note { margin-top: 20px; line-height: 1.75; }

.discretion {
  background: var(--night);
  scroll-margin-top: 64px;
}
.privacy-opening { min-height: clamp(195px, 56vw, 240px); }
.privacy-opening > img { object-position: 42% 39%; }
.privacy-opening .spread-copy { padding-bottom: 18px; }
.privacy-details { padding: 0 var(--story-edge) 8px; }
.has-line-entry-dock .privacy-details { padding-bottom: 32px; }
.discretion .entry-panel { padding-inline: var(--story-edge); }
.admission-criteria {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-inline-start: 1.15em;
  list-style: disc;
  font-size: var(--type-support);
  font-weight: 700;
  line-height: 1.65;
}
.admission-criteria li::marker { color: var(--copper); }
.privacy-details .admission-review {
  margin-top: 14px;
  color: var(--muted-cream);
  font-size: var(--type-support);
  line-height: 1.65;
}
.privacy-details .admission-privacy {
  margin-top: 8px;
  color: var(--cream);
  font-size: var(--type-support);
  font-weight: 700;
  line-height: 1.65;
}
.care {
  padding: 0 var(--story-edge) 36px;
  background: #302027;
  color: var(--cream);
}
.care > h2 { padding-top: 26px; border-top: 1px solid var(--wine-rule); }
.review-chart { margin: 16px 0; }
.type-unified .review-chart h3 { font-size: var(--type-h4); line-height: 1.6; text-wrap: balance; }
.review-chart .evaluation-radar {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 8px auto 0;
}
.review-chart figcaption { text-align: center; margin-top: 0; }
.care-policy { line-height: 1.75; }
.closing-photo { min-height: clamp(360px, 106vw, 455px); }
.closing-photo > img { object-position: 64% center; }
.closing-photo::after {
  background: linear-gradient(0deg, var(--night), #20191ce6 17%, #20191ca8 43%, transparent 80%);
}
.join .closing-photo h2 { margin: 0; }
.closing-note {
  margin-top: 14px;
  color: var(--muted-cream);
  font-size: var(--type-support);
  line-height: 1.7;
}
.join .join-content { padding-inline: var(--story-edge); }

.line-entry-dock {
  position: sticky;
  bottom: 0;
  z-index: 25;
  padding: 8px var(--story-edge) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--night);
  border-top: 1px solid var(--wine-rule);
}

.primary-action.line-entry-action {
  --entry-accent: #e9c69b;
  gap: 8px;
  min-height: 72px;
  margin-top: 0;
  padding: 10px clamp(14px, 4.5vw, 20px);
  color: var(--cream);
  background-color: #562833;
  background-image: linear-gradient(180deg, #6b3745, #5d2d3a 40%, #502430);
  border: 1px solid #905b63;
  border-top-color: #b98381;
  border-radius: 999px;
  box-shadow: 0 3px 10px #10080b55;
  font-size: clamp(1rem, 4.6vw, var(--type-h5));
  line-height: 1.45;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.line-entry-copy { min-width: 0; }
.line-entry-fee {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-cream);
  font-size: clamp(13px, 3.6vw, 14px);
  font-weight: 500;
}
.line-entry-fee strong {
  margin-inline-start: 2px;
  color: var(--entry-accent);
  font-size: 1.24em;
  white-space: nowrap;
}
.line-entry-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: #4c2731;
  background: var(--entry-accent);
}
.line-entry-arrow svg { width: 19px; height: 19px; }
.line-entry-action:hover { border-color: #b98381; }
.line-entry-action:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px #10080b55;
}
@media (prefers-reduced-motion: reduce) {
  .primary-action.line-entry-action { transition: none; }
  .line-entry-action:active { transform: none; }
}

@media (max-width: 359px) {
  .itinerary-list li { grid-template-columns: minmax(0, 1fr) 82px; }
  .date-print span:first-child { font-size: 29px; }
}
