:root {
  color-scheme: light dark;
  --graphite: #181b1e;
  --charcoal: #22272b;
  --silver: #bcc4cb;
  --paper: #f4f3f0;
  --ink: #202629;
  --muted: #5c635f;
  --sage: #9cb7ab;
  --sage-ink: #36574b;
  --line: #d6d8d2;
  --line-dark: #3b4344;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
body.dark { background: var(--graphite); color: var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #55947e; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: .5rem; left: .5rem; padding: .55rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.top { position: sticky; top: 0; z-index: 5; background: #181b1ef8; color: var(--paper); border-bottom: 1px solid #dce9e61c; }
.top-inner { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-block; font-size: 1.65rem; line-height: 1; font-weight: 700; letter-spacing: -.075em; text-decoration: none; flex-shrink: 0; }
.brand span { color: var(--sage); }
.top .header-brand { display: inline-flex; width: clamp(7rem, 16vw, 10rem); min-width: 0; min-height: 2.75rem; align-items: center; flex-shrink: 1; }
.brand-mark { display: block; width: 100%; height: auto; }
.top nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.4rem); }
.top nav a, .top summary { display: flex; align-items: center; min-height: 2.75rem; gap: .55rem; font-size: .94rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.top nav a:hover, .top nav a[aria-current], .top summary:hover, .top details[open] summary { color: var(--sage); }
.top summary { list-style: none; }
.top summary::-webkit-details-marker { display: none; }
.top summary span { width: .44rem; height: .44rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-.14rem) rotate(45deg); margin-right: .1rem; }
.top details[open] summary span { transform: translateY(.12rem) rotate(225deg); }
.venture-menu { position: relative; }
.submenu { position: absolute; top: 100%; right: -.7rem; width: max-content; max-width: min(22rem, 76vw); padding: .4rem; border: 1px solid var(--line-dark); border-radius: .55rem; background: var(--charcoal); box-shadow: 0 1rem 2rem #0a0c0d55; }
.top .submenu a { padding: .25rem .75rem; border-radius: .22rem; }
.top .submenu a:hover { background: #ffffff0d; }

.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(38rem, 77svh, 55rem); overflow: hidden;
  background: radial-gradient(ellipse at 83% 31%, #384448, #262e32 39%, #181b1e 74%);
}
.hero::before {
  content: ""; position: absolute; z-index: -3; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, #becdcc16 1px, transparent 1px) 0 50% / 100% 5.75rem,
    linear-gradient(90deg, #becdcc16 1px, transparent 1px) 50% 0 / 5.75rem 100%;
  mask-image: radial-gradient(ellipse at 82% 40%, #000 8%, #000b 39%, transparent 76%);
}
.hero-scene { --hero-progress: 0; position: absolute; inset: 0; z-index: -2; pointer-events: none; perspective: 1350px; }
.hero-ribbon {
  /* The two contours follow the outer edge and the open centre of the ribbon image. */
  --ribbon-outline: shape(evenodd from 15.5% 100%,
    curve to 25.5% 77.1% with 12% 91% / 17.5% 82.4%,
    curve to 25.3% 60% with 24.3% 72% / 24.1% 65.8%,
    curve to 32.7% 39.1% with 26.4% 52.6% / 29.1% 46.5%,
    curve to 44.5% 20.5% with 36.6% 31.3% / 40.3% 24.9%,
    curve to 58.6% 7.8% with 48.8% 16% / 53.1% 11.5%,
    curve to 75.6% 0% with 63.8% 4.4% / 69.5% .8%,
    line to 87.7% 0%,
    curve to 100% 7.2% with 92.4% .4% / 97.4% 4.6%,
    line to 100% 73%,
    curve to 77.4% 100% with 96% 82% / 86% 94.5%,
    close,
    move to 45.9% 67%,
    curve to 51.8% 30.6% with 44.7% 57% / 46.2% 41.7%,
    curve to 92% 40.1% with 67.8% 23.4% / 86.1% 21.8%,
    curve to 45.9% 67% with 79.5% 53.2% / 60.4% 61.4%,
    close);
  position: absolute; top: 51%; right: -11%;
  width: max(78%, clamp(60rem, 118svh, 85rem)); aspect-ratio: 3 / 2; isolation: isolate;
  transform-origin: 70% 46%;
  transform: translate3d(calc(-17% * var(--hero-progress)), calc(-50% + 24% * var(--hero-progress)), 0)
    rotateY(calc(-32deg * var(--hero-progress))) rotateZ(calc(-14deg * var(--hero-progress))) scale(calc(1 + .1 * var(--hero-progress)));
}
.hero-ribbon img { width: 100%; height: 100%; }
.hero-reflection {
  position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: linear-gradient(109deg, transparent 39%, #d9e9e42e 46%, #eff8f5a6 50%, #cfe2dd38 54%, transparent 62%) no-repeat;
  background-size: 246% 100%; background-position: calc(106% - 130% * var(--hero-progress)) 50%;
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .hero-ribbon { filter: drop-shadow(0 1.7rem 1.6rem #060809a1); }
  .hero-ribbon img, .hero-reflection { clip-path: var(--ribbon-outline); }
}
@supports not (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .hero-ribbon { mix-blend-mode: lighten; mask-image: radial-gradient(ellipse 85% 77% at 69% 50%, #000 50%, #000e 67%, transparent 98%); }
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #181b1e 0%, #181b1ef7 18%, #181b1eb3 38%, #181b1e21 63%, transparent 78%),
    linear-gradient(0deg, var(--graphite), transparent 24%);
}
.hero-inner { position: relative; padding-block: clamp(4rem, 8svh, 7rem); }
.eyebrow { color: var(--sage-ink); font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.hero-label { color: var(--sage); margin-bottom: 1.4rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.6rem, 7.3vw, 7.2rem); font-weight: 400; line-height: .99; letter-spacing: -.062em; max-width: 58rem; }
.hero-headline, .hero-lead { display: block; }
.hero-lead { color: var(--paper); }
.hero-ending-row { display: grid; font-size: .86em; color: #e3eae4; }
.hero-ending, .hero-ending-spacer { grid-area: 1 / 1; overflow-wrap: anywhere; }
.hero-ending-spacer { visibility: hidden; }
.hero-ending-spacer::after { content: ""; display: inline-block; width: .12em; }
.hero-period { color: var(--sage); }
.hero-caret { display: inline-block; width: .045em; height: .73em; margin-inline-start: .075em; vertical-align: -.07em; background: var(--sage); opacity: 0; }
.home-hero.is-typing .hero-caret { opacity: 1; }
.hero-intro { max-width: 36rem; color: #d1d6d3; margin-block: 1.75rem 2rem; font-size: clamp(1.04rem, 2vw, 1.25rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; min-height: 2.95rem; align-items: center; justify-content: center; width: fit-content; padding: .58rem 1rem; background: var(--ink); border: 1px solid var(--ink); border-radius: .3rem; color: var(--paper); font: 600 .95rem/1.3 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .18s, box-shadow .18s, transform .18s; }
.button:hover { box-shadow: 0 .25rem .65rem #0002; transform: translateY(-2px); }
.button.outline { background: transparent; color: inherit; border-color: currentColor; }
.hero .button, .dark-section .button:not(.outline) { background: var(--sage); color: #18251f; border-color: var(--sage); }
.hero .button.outline, .dark-section .button.outline { background: #181b1e47; color: var(--paper); border-color: #7c8583; }
.hero .button:hover { background: #bdd4c9; color: #18251f; }
.text-link { font-size: .96rem; font-weight: 650; }
.text-link:hover { text-decoration-thickness: 2px; }
.section { padding-block: clamp(2.8rem, 6vw, 5.4rem); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.75rem; }
.section-heading h2, .about-copy h2 { font: 400 clamp(2.3rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.052em; }
.dark-section { color: var(--paper); background: var(--graphite); }
.dark-section .eyebrow, .dark-section .text-link { color: var(--sage); }
.paper { background: var(--paper); color: var(--ink); }
.venture-list { display: grid; gap: 1.35rem; }
.venture-card { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-areas: "image copy"; min-height: 21rem; background: #22272a; border: 1px solid var(--line-dark); border-radius: .7rem; overflow: hidden; }
.venture-card:not(:has(img)) { grid-template-columns: 1fr; grid-template-areas: "copy"; min-height: auto; }
.venture-image { grid-area: image; width: 100%; height: 100%; min-height: 18rem; object-fit: cover; object-position: center; transition: filter .28s ease; }
.venture-card:hover .venture-image, .venture-card:focus-within .venture-image { filter: brightness(1.1); }
.venture-card-copy { grid-area: copy; align-self: center; padding: clamp(1.4rem, 5vw, 3.75rem); }
.venture-card-copy h3 { margin-top: .56rem; font: 400 clamp(2.5rem, 5.3vw, 4.75rem)/1 var(--serif); letter-spacing: -.05em; }
.venture-card-copy h3 a { text-decoration: none; }
.venture-card-copy p:not(.eyebrow) { margin-block: .9rem 1.35rem; color: #d1d6d3; max-width: 31rem; }
.featured-grid-multiple { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.featured-grid-multiple .venture-card { display: flex; flex-direction: column; min-width: 0; min-height: auto; }
.featured-grid-multiple .venture-image { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
.featured-grid-multiple .venture-card-copy { display: flex; flex: 1; flex-direction: column; align-self: stretch; padding: clamp(1.25rem, 3vw, 2rem); }
.featured-grid-multiple .venture-card-copy h3 { font-size: clamp(2rem, 3.7vw, 3.15rem); overflow-wrap: anywhere; }
.featured-grid-multiple .venture-card-copy .button { margin-top: auto; }
.status-dot { display: inline-block; width: .48rem; height: .48rem; margin-right: .5rem; border-radius: 50%; background: var(--sage); vertical-align: .13em; }
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: minmax(9rem, .4fr) 1fr; gap: 1rem 2rem; border-bottom: 1px solid var(--line); padding-block: 1.35rem; }
.post-meta { display: grid; align-content: start; gap: .15rem; font-size: .9rem; color: var(--sage-ink); }
.post-meta time { color: var(--muted); }
.post-row h3 { font: 400 clamp(1.65rem, 3vw, 2.45rem)/1.12 var(--serif); letter-spacing: -.035em; }
.post-row h3 a { text-decoration: none; }
.post-row h3 a:hover, .venture-card h3 a:hover { text-decoration: underline; }
.post-row p { margin-top: .4rem; color: var(--muted); }
.blog-actions { margin-top: 1.8rem; }
.dark-section .post-list, .dark-section .post-row { border-color: var(--line-dark); }
.dark-section .post-meta { color: var(--sage); }
.dark-section .post-meta time, .dark-section .post-row p { color: #c5cdca; }
.about-band { background: linear-gradient(117deg, #e2e7e2, #d4ddd7); color: #202b25; }
.about-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.about-copy p { font-size: 1.15rem; max-width: 30rem; margin-block: 1.15rem; }
.about-titanium {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: clamp(11rem, 22vw, 19rem); padding: clamp(1.25rem, 4vw, 3.2rem);
  border: 1px solid #e8eeea; border-radius: .6rem;
  background: repeating-linear-gradient(0deg, #334b440c 0 1px, transparent 1px 3px), linear-gradient(146deg, #f3f5f3 0%, #d3dbd8 28%, #e9efeb 46%, #b3bfbb 77%, #dbe2de);
  box-shadow: inset 0 1px 2px #f7faf8, inset 0 -2px 5px #73878048, 0 1.2rem 2.5rem #263f3521;
}
.about-titanium img { width: min(100%, 29rem); height: auto; opacity: .78; filter: drop-shadow(0 2px 1px #f7fcf9) drop-shadow(0 -1px 1px #49585385); }
.about-titanium::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, #fafffc26 44%, #ffffffb8 50%, #fafffc26 56%, transparent 64%); transform: translateX(-106%); }
@media (prefers-reduced-motion: no-preference) {
  .about-titanium.is-glinting::after { animation: titanium-glint 1.45s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes titanium-glint { to { transform: translateX(106%); } }
}
footer { background: #181b1e; color: var(--paper); padding-block: 2.2rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.35rem; }
.footer-note, .footer-links { color: #c6ceca; font-size: .9rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.page-heading { color: var(--paper); background: radial-gradient(ellipse at 90% 0%, #34423f, #181b1e 55%); padding-block: clamp(3.3rem, 8vw, 6.8rem) clamp(2.9rem, 6vw, 5.4rem); }
.page-heading .eyebrow { color: var(--sage); margin-bottom: .85rem; }
.page-heading h1 { font: 400 clamp(3.1rem, 8vw, 7rem)/.98 var(--serif); letter-spacing: -.059em; overflow-wrap: anywhere; max-width: 63rem; }
.deck { color: #d4dcd8; max-width: 41rem; margin-top: 1.15rem; font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.detail-cover { width: 100%; max-height: 31rem; object-fit: cover; border-radius: .6rem; margin-bottom: 2.5rem; }
.lifespan-film {
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid #47534f;
  border-radius: .65rem;
  background: radial-gradient(ellipse at 50% 42%, #344744, #202b2c 48%, #181d20 80%);
  color: #eef1e9;
}
.lifespan-art:not([hidden]) { display: block; width: 100%; height: clamp(17rem, 45vw, 29rem); }
.lifespan-caption:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 .8rem;
  padding: .7rem clamp(1rem, 3vw, 2rem) .45rem;
  border-top: 1px solid #b8cbbb30;
  background: #0d16194d;
}
.lifespan-description { padding: 1rem; }
.lifespan-film.is-ready .lifespan-description { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.lifespan-title { color: #b6c9bc; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.lifespan-stage { font: 400 clamp(1.38rem, 4vw, 2.05rem)/1.2 var(--serif); letter-spacing: -.025em; }
.lifespan-time { color: #d2e1d7; font-size: .875rem; line-height: 1.4; margin-top: .15rem; }
.lifespan-play {
  min-width: 4.35rem; min-height: 2.75rem; border: 1px solid #a7b9ae85; border-radius: .3rem;
  padding: .4rem .7rem; background: #232e2f; color: #eef1e9; font: 600 .9rem var(--sans); cursor: pointer;
}
.lifespan-play:hover { background: #354542; }
.lifespan-film :focus-visible { outline-color: #d0e1d4; outline-offset: 2px; }
.lifespan-timeline { grid-column: 1 / -1; width: 100%; min-height: 1.75rem; margin: .15rem 0 0; accent-color: #a8c8b7; cursor: pointer; }
.prose { max-width: 43rem; margin-inline: auto; font-size: 1.125rem; line-height: 1.78; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.1rem; font: 400 2.05rem/1.13 var(--serif); letter-spacing: -.04em; }
.prose a { color: var(--sage-ink); }
.prose a.button { color: var(--paper); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.1rem; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: .85rem; }
.tags { list-style: none; display: flex; gap: .55rem; flex-wrap: wrap; padding: 0; }
.tag { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .9rem; text-decoration: none; }
.tag:hover { border-color: var(--sage-ink); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem 1rem; margin-bottom: 1.65rem; }
.filters label { min-width: min(12rem, 100%); }
.filter-tag { padding-block: .55rem; }
.empty { color: inherit; padding: .4rem 0 1rem; }
.admin-narrow { max-width: 34rem; }
.editor-nav, .editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1.4rem; }
.editor-nav form { margin-left: auto; }
.team-editor .editor-nav form { display: none; }
.editor-form { display: grid; gap: .85rem; max-width: 48rem; }
.editor-form label, .filters label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.editor-form input, .editor-form textarea, select { color: var(--ink); background: #fff; border: 1px solid #a3aca7; border-radius: .3rem; font: 400 1rem/1.4 var(--sans); min-height: 2.95rem; padding: .62rem; width: 100%; }
.editor-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.editor-form small, .field-note { font-size: .875rem; font-weight: 400; color: var(--muted); }
.field-note { margin: -.25rem 0 .35rem; overflow-wrap: anywhere; }
.formatting { display: flex; gap: .35rem; }
.formatting[hidden] { display: none; }
.formatting button { color: var(--ink); background: transparent; padding: .35rem .65rem; min-height: 2.75rem; border: 1px solid #a3aca7; border-radius: .28rem; font: inherit; cursor: pointer; }
.formatting button:hover { background: #d9e0da; }
.editor-list { max-width: 55rem; margin-bottom: 2rem; }
.editor-list ul { border-top: 1px solid var(--line); list-style: none; padding: 0; }
.editor-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; border-bottom: 1px solid var(--line); padding: .7rem 0; }
.editor-list li span { color: var(--muted); font-size: .9rem; }
.form-message, .preview-note { background: #d9e0da; color: var(--ink); padding: .65rem 1rem; font-weight: 600; margin-bottom: 1rem; }
.preview-note { margin: 0; text-align: center; }
.archive-form { padding-top: 1rem; border-top: 1px solid var(--line); max-width: 48rem; }

@media (prefers-reduced-motion: no-preference) {
  .motion .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .55s ease, transform .55s ease; }
  .motion .reveal.is-visible, .motion .reveal:focus-within { opacity: 1; transform: translateY(0); }
  .hero-inner { animation: arrive .7s ease-out both; }
  @keyframes arrive { from { opacity: .2; transform: translateY(.6rem); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (max-width: 50rem) {
  .hero-ribbon { right: -28%; }
  .hero::after { background: linear-gradient(90deg, #181b1ef7 5%, #181b1ed9 36%, #181b1e37 80%), linear-gradient(0deg, var(--graphite), transparent 38%); }
  .hero-intro { max-width: 31rem; }
}
@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2rem); }
  .top-inner { min-height: 3.75rem; align-items: flex-start; gap: .6rem; }
  .top .header-brand { width: clamp(5.1rem, 23vw, 8.5rem); margin-top: .5rem; }
  .top nav { align-items: start; flex-shrink: 0; gap: clamp(.45rem, 2vw, .65rem); padding-block: .5rem; }
  .top nav a, .top summary { font-size: .875rem; }
  .venture-menu { width: clamp(6.15rem, 28vw, 7.3rem); }
  .submenu { position: static; width: 100%; max-width: none; box-shadow: none; }
  .top .submenu a { overflow-wrap: anywhere; padding-inline: .4rem; }
  .brand { font-size: 1.42rem; }
  .hero { min-height: clamp(33rem, 77svh, 42rem); }
  .hero-inner { padding-block: 5.25rem 3.5rem; }
  .hero::before { background-size: 100% 3.6rem, 3.6rem 100%; }
  .hero-ribbon {
    top: 27%; right: -41%; width: max(149%, 34rem);
    transform: translate3d(calc(-13% * var(--hero-progress)), calc(-50% + 24% * var(--hero-progress)), 0)
      rotateZ(calc(-11deg * var(--hero-progress)));
  }
  .hero-reflection { opacity: .65; }
  .hero::after { background: linear-gradient(0deg, var(--graphite) 12%, #181b1ef5 48%, #181b1e32 100%), linear-gradient(90deg, #181b1e9c, transparent 100%); }
  .hero h1 { font-size: clamp(2.62rem, 10.8vw, 4.25rem); }
  .hero-ending-row { font-size: .92em; }
  .venture-card { grid-template-columns: 1fr; grid-template-areas: "image" "copy"; }
  .venture-image { min-height: 0; max-height: 15rem; aspect-ratio: 16 / 9; }
  .post-row, .about-layout, .form-grid { grid-template-columns: minmax(0,1fr); }
  .post-row { gap: .45rem; }
  .post-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
  .editor-nav form { margin-left: 0; }
}

.valley-cover { position: relative; container-type: size; overflow: hidden; isolation: isolate; background: #303c39; }
.valley-cover.detail-cover { aspect-ratio: 3 / 2; }
.valley-scene { position: absolute; inset: 0; }
.valley-scene img { width: 100%; height: 100%; object-fit: cover; }
@supports (width: 1cqw) {
  .valley-scene {
    inset: 50% auto auto 50%;
    width: max(100cqw, 150cqh);
    height: max(100cqh, 66.6667cqw);
    transform: translate(-50%, -50%);
  }
}
.valley-mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 33%, #0003 42%, #000 59%);
}
.valley-cover:not(.has-photo) .valley-mist { visibility: hidden; }
.valley-mist::before, .valley-mist::after {
  content: "";
  position: absolute;
  /* Keep the moving layer edges outside the photo throughout the drift. */
  inset: -12% -40%;
  opacity: 0;
}
.valley-mist::before {
  background:
    radial-gradient(ellipse 35% 4.8% at 66% 49%, #e4d9d2a8, #e4d9d23d 57%, transparent 96%),
    radial-gradient(ellipse 16% 3.6% at 57% 51%, #ded8d17a, transparent 100%),
    radial-gradient(ellipse 25% 6.4% at 65% 63%, #d9d3c58c, #d9d3c536 54%, transparent 100%),
    radial-gradient(ellipse 12% 3.8% at 71% 66%, #e4dacc64, transparent 100%);
}
.valley-mist::after {
  background:
    radial-gradient(ellipse 33% 4.5% at 63% 48%, #e4d8d5a0, #e4d8d545 51%, transparent 100%),
    radial-gradient(ellipse 22% 5.6% at 71% 61%, #e2d8cb8c, transparent 100%),
    radial-gradient(ellipse 21% 6.4% at 62% 65%, #d8cfc179, #d8cfc12a 58%, transparent 100%),
    radial-gradient(ellipse 12% 3.2% at 54% 63%, #ddd5c55e, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .valley-mist::before, .valley-mist::after {
    animation: valley-drift 24s linear infinite paused, valley-density 24s ease-in-out infinite paused;
  }
  .valley-mist::after { animation-delay: -12s; }
  :root:not(.valley-paused) .valley-cover.has-photo.is-drifting .valley-mist::before,
  :root:not(.valley-paused) .valley-cover.has-photo.is-drifting .valley-mist::after { animation-play-state: running; }
}
@keyframes valley-drift {
  from { transform: translate3d(-10%, 1.3%, 0) rotate(-1.65deg); }
  to { transform: translate3d(10%, -1.3%, 0) rotate(-.35deg); }
}
@keyframes valley-density {
  0%, 100% { opacity: 0; }
  50% { opacity: .78; }
}
