@media (aspect-ratio > 1/1) {
  .opening {
    background:linear-gradient(110deg,#f2e9da 0%,#eee3d2 46%,#e8d9c5 100%);
  }
  /* Carry only the empty plaster and tabletop behind the headline. The products
     stay on the registered plate at their original proportions. */
  .opening::before {
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:65%;
    z-index:-3;
    pointer-events:none;
    background:url("assets/opening-registered-1280.webp") left center / 390% 100% no-repeat;
    opacity:.76;
    mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.67) 8%,#000 24%,#000 76%,transparent);
  }
  @media (min-width:1281px) {
    .opening::before {background-image:url("assets/opening-registered-1672.webp")}
  }
  .opening .hero-photo {
    inset:0 0 0 auto;
    width:auto;
    max-width:100%;
    height:100%;
    aspect-ratio:1672/941;
    object-fit:cover;
    object-position:right center;
    background:transparent;
    /* Anchor the feather to the photograph itself, even on an ultrawide screen. */
    mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.17) 5%,
      rgba(0,0,0,.58) 12%,rgba(0,0,0,.93) 21%,#000 28%);
  }
}

#choose .choose-inner {align-items:start}
#choose h2 {font-size:clamp(27px,2.7vw,42px);margin:0 0 12px}
.category-title {display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.category-title a {font-size:14px;text-decoration:underline;text-underline-offset:4px}
#choose .occasion-options a {font-size:15px}

html[data-film] #track, html[data-pending] #track {height:410svh}
#ridge-still .static-photo img {display:block;width:100%;height:100%;object-fit:cover;object-position:68% center}
#ridge-still .static-photo {aspect-ratio:1.75;min-height:0}
.story-footer {justify-content:space-between}
#track .stage {--scene-button:var(--slate);--scene-label:var(--cream)}
#track .stage.dark {--scene-button:var(--on-slate);--scene-label:var(--ink)}
#track .scene-actions {gap:4px 18px;margin-top:12px}
#track .story-copy a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  font-size:16px;line-height:1.2;font-weight:700;white-space:nowrap}
#track .story-copy .textlink {padding:0 17px;border-radius:3px;background:var(--scene-button);
  color:var(--scene-label);text-decoration:none}
#track .scene-actions a {margin:0}
#track .scene-actions .shop-all {color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
#track .story-copy a:hover {text-decoration:underline;text-underline-offset:4px}
#track .story-copy a:focus-visible {outline:2px solid var(--scene-button);outline-offset:3px}
#ridge-still .still-links {gap:2px 18px}
#ridge-still .still-links a {display:inline-flex;align-items:center;min-height:44px;font-size:16px;
  line-height:1.25;font-weight:600;text-underline-offset:4px}
#track .stage.portrait .scene-actions {margin-top:6px}
/* A single matte keeps the controls legible as daylight gives way to slate. */
#track .stage .story-footer {background:var(--paper);color:var(--ink)}
#track .stage .meter:before {background:var(--seam)}
#track .stage .story-footer :focus-visible {outline-color:var(--action)}
@media(max-width:650px) and (orientation:portrait){
  [data-analytics-choice] {box-shadow:none;border-color:#adafa6}
  html[data-pending] #track .stage {background-color:var(--paper)}
  .stage .portrait-movie {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0}
  .stage .portrait-movie.show {opacity:1}
}

/* Homepage category directory */
#choose.home-directory {
  background: #efede6;
  color: #252d2b;
  padding: clamp(30px,3.4vw,55px) var(--edge) clamp(25px,2.6vw,42px);
}
.home-directory .directory-inner {max-width:1512px;margin-inline:auto}
.home-directory .directory-top {display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 clamp(18px,1.6vw,27px)}
#choose.home-directory h2 {font-size:clamp(31px,3.4vw,58px);line-height:.99;letter-spacing:-.055em;margin:0}
.home-directory .directory-jumps {display:flex;align-items:baseline;gap:clamp(14px,2.1vw,34px)}
.home-directory .directory-jumps a,.home-directory .directory-extras a {
  display:inline-flex;align-items:center;min-height:38px;color:inherit;text-decoration:underline;
  text-underline-offset:4px;text-decoration-thickness:1px;text-decoration-color:#9a9e94;
}
.home-directory .directory-jumps a {min-height:44px;font-size:15px}
.home-directory .directory-jumps .directory-story-link {color:#53605a}
.home-directory .directory-jumps .directory-shop-link {gap:9px;font-weight:700}
.home-directory .directory-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(17px,1.65vw,24px) clamp(12px,1.3vw,22px)}
.home-directory .directory-card {display:block;min-width:0;color:inherit;text-decoration:none}
.home-directory .directory-image {
  display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;width:100%;height:clamp(117px,10.8vw,170px);
  overflow:hidden;isolation:isolate;background:#dde1dc;border-radius:3px;
}
.home-directory .directory-card:nth-child(4n+2) .directory-image {background:#e0d9cc}
.home-directory .directory-card:nth-child(4n+3) .directory-image {background:#e2dbd3}
.home-directory .directory-card:nth-child(4n+4) .directory-image {background:#d9ddd2}
.home-directory .directory-image img {
  display:block;width:84%;height:88%;min-width:0;min-height:0;max-width:none;object-fit:contain;mix-blend-mode:multiply;
  transition:transform .26s ease;
}
.home-directory .directory-label {
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:8px 1px 0;
  font-size:clamp(16px,1.3vw,21px);line-height:1.2;font-weight:600;letter-spacing:-.025em;
}
.home-directory .directory-label span {font-size:.85em;font-weight:400;color:#68716b}
.home-directory .directory-extras {display:flex;align-items:flex-start;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;border-top:1px solid #c6c7bd;margin-top:clamp(22px,2vw,34px);padding-top:10px}
.home-directory .directory-extras nav {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 15px}
.home-directory .directory-extras h3 {font:600 14px/1.4 var(--sans,'DM Sans',sans-serif);margin:0;letter-spacing:0}
.home-directory .directory-extras nav div {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 15px}
.home-directory .directory-extras a {font-size:14px}
.home-directory a:focus-visible {outline:2px solid #3e5b50;outline-offset:4px;border-radius:2px}
@media (hover:hover) {
  .home-directory .directory-card:hover .directory-image img {transform:scale(1.035)}
  .home-directory .directory-card:hover .directory-label,.home-directory .directory-jumps a:hover,.home-directory .directory-extras a:hover {text-decoration:underline;text-underline-offset:4px}
}
@media (max-width:820px) {
  .home-directory .directory-grid {gap:17px 10px}
  .home-directory .directory-image {height:clamp(101px,14vw,116px)}
  .home-directory .directory-extras {gap:2px 20px}
}
@media (max-width:620px) {
  #choose.home-directory {padding:25px var(--edge) 19px}
  .home-directory .directory-top {align-items:center;flex-wrap:wrap;gap:0 10px;margin-bottom:10px}
  #choose.home-directory h2 {font-size:clamp(27px,6.5vw,36px)}
  .home-directory .directory-jumps {gap:10px}
  .home-directory .directory-jumps .directory-story-link {position:static}
  .home-directory .directory-jumps a {font-size:14px;white-space:nowrap}
  .home-directory .directory-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  .home-directory .directory-image {height:clamp(83px,24vw,127px)}
  .home-directory .directory-label {font-size:15px;padding-top:5px}
  .home-directory .directory-extras {display:grid;grid-template-columns:1fr;gap:4px;margin-top:18px;padding-top:9px}
  .home-directory .directory-extras nav {column-gap:10px}
  .home-directory .directory-extras nav div {gap:0 11px}
  .home-directory .directory-extras h3,.home-directory .directory-extras a {font-size:13px}
  .home-directory .directory-extras a {min-height:34px}
}
@media (prefers-reduced-motion:reduce) {
  .home-directory .directory-image img {transition:none}
  .home-directory .directory-card:hover .directory-image img {transform:none}
}
/* End homepage category directory */

/* 2.22 times the original active range (410svh minus the pinned stage).
   The browser retains its normal wheel, touch, keyboard and scrollbar behavior. */
html[data-film] #track, html[data-pending] #track {
  height:calc(788.2svh + 1.22 * var(--mast));
}
/* At an actual light-to-dark boundary the ink reverses locally, including when
   the paper fold cuts through one word. No extra paper rectangle covers the art. */
#track .stage.changing-light .story-copy {
  color:white;
  --scene-button:white;
  --scene-label:black;
  mix-blend-mode:difference;
}
#track .stage.changing-tone .story-copy {
  text-shadow:0 1px 5px rgb(245 236 219 / .65);
}
#track .stage.changing-tone.dark .story-copy {
  text-shadow:0 1px 5px rgb(15 24 27 / .65);
}

/* Scale only the distance that advances the desktop story. The pinned stage
   is one viewport less the masthead; both endpoints include that stage. */
@media (width > 650px), (orientation:landscape) {
  html[data-film] #track, html[data-pending] #track {
    --story-scroll-gain:1.1;
    height:calc(100svh - var(--mast) + (774.225svh + 2.4975 * var(--mast)) / var(--story-scroll-gain));
  }
}

@media (min-width: 1500px) {
  .opening .hero-copy {max-width: 750px}
}

.directory-price-example { display:flex; align-items:center; justify-content:space-between; gap:10px 20px; border-block:1px solid #c4bbae; color:#29373a; padding:14px 0; margin:0 0 18px; line-height:1.35; }
.directory-price-example strong { font-size:clamp(18px,1.6vw,24px); font-weight:550; letter-spacing:-.035em; }
.directory-price-example small { display:block; font-size:13px; color:#515951; line-height:1.45; }
.directory-price-example a { padding-block:7px; font-size:14px; font-weight:650; text-underline-offset:4px; text-decoration:underline; }
@media(max-width:670px) { .directory-price-example { align-items:flex-start; flex-direction:column; gap:2px; padding-block:10px; } }
