:root {
  color-scheme: light;
  --paper: #f9f6f0;
  --ink: #271a20;
  --wine: #301923;
  --line: #d3cbc3;
  --muted: #625a59;
  --serif: "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-underline-offset: .26em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a34a62; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.shell { max-width: 90rem; margin-inline: auto; padding-inline: clamp(1.25rem, 5.2vw, 5rem); }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 3; background: white; padding: .5rem 1rem; }
.skip:focus { top: .5rem; }
.header-inner, nav, .work-heading, .section-filters, .form-actions, .footer, .player-bar { display: flex; align-items: center; }
.header-inner, .work-heading, .footer, .player-bar { justify-content: space-between; }
.header-inner { min-height: 5.8rem; }
.brand { display: inline-flex; }
.brand img { width: 7.6rem; height: auto; }
nav { gap: clamp(1.25rem, 3vw, 3rem); }
nav a, .button, .text-link, .footer a { font-weight: 550; text-decoration: none; }
nav a:not(.button):hover, .footer a:hover { text-decoration: underline; }
.button { border: 1px solid transparent; border-radius: 2rem; padding: .68rem 1.45rem; line-height: 1.35; display: inline-block; }
.button-dark { color: var(--paper); background: var(--wine); }
.button-dark:hover { background: #522b3e; }
.hero { background: var(--wine); color: #fff6e9; }
.hero-inner { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: stretch; padding-block: clamp(2.4rem,4.2vw,4.2rem); gap: clamp(1.8rem,4.3vw,4.4rem); }
.intro { align-self: center; padding-block: 1rem; }
h1, .work h2, .inquiry h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.067em; }
h1 { font-size: clamp(3.2rem,7.2vw,7.4rem); line-height: .96; }
h1 em, h2 em { font-weight: 400; }
.intro p { color: #eee0dc; max-width: 31rem; margin-block: 1.6rem 1.5rem; font-size: clamp(1rem,1.3vw,1.17rem); line-height: 1.55; }
.text-link { border-bottom: 1px solid currentColor; padding-bottom: .14rem; }
.text-link:hover { border-bottom-width: 2px; }
.feature { isolation: isolate; display: block; position: relative; overflow: hidden; padding: 0; width: 100%; min-height: 22rem; border: 0; background: #493944; text-align: left; }
.feature img { display: block; position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 52% 43%; transition: transform .6s ease; }
.feature::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(16,12,16,.68)); pointer-events: none; }
.feature:hover img, .card-button:hover img { transform: scale(1.025); }
.feature-caption { display: inline-flex; align-items: center; gap: .75rem; position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 1; color: white; font-weight: 550; }
.play-icon { display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; background: rgba(26,19,23,.32); }
.play-icon::before { content: ''; width: 0; height: 0; margin-left: .14rem; border-block: .32rem solid transparent; border-left: .48rem solid white; }
.work { padding-block: clamp(3.4rem,6.1vw,6rem); }
.work-heading { gap: 1rem; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1.35rem; }
.work h2, .inquiry h2 { font-size: clamp(3rem,5.25vw,5.4rem); line-height: 1.02; }
.section-filters, .collection-options { flex-wrap: wrap; gap: .45rem; }
.section-filters button, .collection-options button { border: 1px solid var(--line); background: transparent; border-radius: 2rem; padding: .45rem 1rem; font-size: .95rem; }
.section-filters [aria-pressed=true], .collection-options [aria-pressed=true] { color: var(--paper); background: var(--wine); border-color: var(--wine); }
.section-filters button:hover, .collection-options button:hover { border-color: var(--wine); }
.collection-options { display: flex; }
.collection-options:not(:empty) { margin-top: 1.2rem; }
.collection-heading { display: flex; align-items: baseline; gap: .75rem; padding-block: 1.65rem 1rem; }
.collection-heading h3, .empty h3 { font: 400 1.9rem/1.2 var(--serif); letter-spacing: -.035em; }
.count, .optional, .form-actions span { color: var(--muted); font-weight: 400; }
.count { font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.7rem 1.45rem; }
.card-button { display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; }
.cover { display: block; position: relative; overflow: hidden; background: #38252d; aspect-ratio: 16/9; }
.cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.cover .play-icon { position: absolute; left: .75rem; bottom: .75rem; width: 2.05rem; height: 2.05rem; background: rgba(20,14,18,.53); }
.card-title { display: block; font-size: 1.13rem; font-weight: 550; line-height: 1.35; padding: .65rem 0 0; }
.empty { padding: 3rem 0; }
.empty p { margin: .65rem 0 1.1rem; }
.inquiry { background: #eee7de; border-top: 1px solid var(--line); }
.inquiry-inner { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(2rem,7vw,7rem); padding-block: clamp(3rem,6vw,6rem); }
.inquiry-copy p { margin-block: 1.4rem 1.25rem; max-width: 28rem; }
form, form label { display: grid; }
form { gap: 1.05rem; }
form label { display: block; font-size: .95rem; font-weight: 600; }
input, select, textarea { display: block; width: 100%; border: 1px solid #b5a9a4; color: var(--ink); background: #faf7f1; padding: .65rem .8rem; border-radius: .2rem; margin-top: .35rem; }
select { appearance: none; background: linear-gradient(45deg,transparent 50%,#634755 50%) calc(100% - 1rem) 50% / 5px 5px no-repeat, linear-gradient(135deg,#634755 50%,transparent 50%) calc(100% - .7rem) 50% / 5px 5px no-repeat,#faf7f1; padding-right: 1.8rem; }
textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-actions { gap: .8rem; flex-wrap: wrap; }
.form-actions span, .draft-status { font-size: .9rem; }
.footer { min-height: 5rem; gap: 1rem; }
.footer span { font: italic 1.25rem var(--serif); }
.footer a { font-size: .9rem; }
dialog { padding: 0; width: min(94vw,62rem); max-height: 95dvh; border: 0; background: #20181c; color: #fff7ec; border-radius: .3rem; }
dialog::backdrop { background: rgb(18 11 15 / .85); }
.player-content { padding: .9rem 1.15rem; }
.player-bar { gap: .8rem; margin-bottom: .65rem; }
.player-bar h2 { font: 400 clamp(1.15rem,3vw,1.7rem) var(--serif); }
.close { display: flex; align-items: center; gap: .45rem; padding: .4rem .6rem; background: none; color: inherit; border: 1px solid #ad9ca5; border-radius: 2rem; }
.close span { font-size: 1.25em; }
#screen { background: #090809; aspect-ratio: 16 / 9; max-height: 70dvh; }
#screen iframe { width: 100%; height: 100%; display: block; border: 0; }
#source-link { display: inline-block; font-size: .9rem; margin-top: .55rem; }
[hidden] { display: none !important; }
@media (min-width: 92rem) { .feature { min-height: 27rem; } }
@media (max-width: 56rem) {
  .hero-inner { gap: 1.8rem; grid-template-columns: 1fr 1fr; }
  .feature { min-height: 19rem; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inquiry-inner { grid-template-columns: .85fr 1.15fr; gap: 2rem; }
}
@media (max-width: 42rem) {
  .header-inner { min-height: 4.65rem; }
  .brand img { width: 6rem; }
  .button { padding: .65rem 1.16rem; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 2.3rem 1.3rem; gap: 1.75rem; }
  .intro { padding: 0; }
  h1 { font-size: clamp(3.55rem,13.2vw,5.1rem); }
  .intro p { margin-block: 1rem; max-width: 26rem; }
  .feature { aspect-ratio: 1.85; min-height: 0; }
  .feature-caption { bottom: .8rem; left: .8rem; }
  .work-heading { gap: 1.25rem; }
  .section-filters { width: 100%; }
  .gallery { gap: 1.3rem .8rem; }
  .card-title { font-size: 1rem; }
  .inquiry-inner { grid-template-columns: 1fr; }
  .section-filters button { padding: .43rem .85rem; }
}
@media (max-width: 27rem) {
  .gallery, .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
