@font-face {
  font-family: Alexandria;
  src: url("alexandria.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
}
@font-face {
  font-family: PlexArabic;
  src: url("plex.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
:root {
  color-scheme: light;
  --paper: #f4ede1;
  --ink: #2b2420;
  --wine: #7d1f2c;
  --deep-wine: #541b25;
  --quiet: #675a50;
  --rule: #cbbfac;
  --panel: #e9dfd0;
  font: 100%/1.62 PlexArabic, Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body, figure, p, h1, h2, h3 { margin: 0; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #aa5738; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, .primary { font-family: Alexandria, Tahoma, sans-serif; font-weight: 500; }
.wrap { width: min(88rem, 92%); margin-inline: auto; }
.skip { position: absolute; z-index: 10; background: var(--ink); color: white; padding: .6rem 1rem; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 5.9rem; }
.brand img { width: 7.7rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.85rem, 2.6vw, 2.6rem); }
.nav a, .back, .plain-link { font-size: 1.02rem; }
.nav a:hover, .back:hover, .plain-link:hover, footer a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .3em; }
.nav .pdf { border: 1px solid var(--ink); padding: .38rem .95rem; border-radius: 2rem; }
.hero { display: grid; grid-template-columns: minmax(0,.79fr) minmax(0,1.21fr); margin-block: 1.55rem clamp(2rem,4vw,4.3rem);
  background: var(--deep-wine); color: #fff6e7; scroll-margin-top: 1rem; }
.hero-copy { align-self: center; padding: clamp(1.75rem,3.4vw,3.8rem); }
.hero h1 { font-size: clamp(2.8rem,5.3vw,5.65rem); line-height: 1.29; }
.hero-copy > p { color: #eddbd2; font-size: clamp(1.05rem,1.35vw,1.28rem); margin: .85rem 0 1.7rem; }
.service-menu { border-top: 1px solid #986d70; }
.service-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .77rem 0;
  border-bottom: 1px solid #986d70; }
.service-menu span { font-family: Alexandria,Tahoma,sans-serif; font-size: clamp(1rem,1.55vw,1.44rem); }
.service-menu small { font-size: .9rem; color: #f2ddd3; }
.service-menu a:hover, .service-menu a:focus-visible { background-color: #73303c; }
.hero-booking { display: inline-block; margin-top: 1.25rem; text-decoration: underline; text-underline-offset: .28em; }
.hero :focus-visible { outline-color: #ffddae; outline-offset: -3px; }
.feature { display: grid; grid-template-rows: minmax(0,1fr) auto; min-height: clamp(26rem,38vw,36rem);
  min-width: 0; background: #2b2420; color: #fff5e9; }
.feature-stage { position: relative; overflow: hidden; min-width: 0; }
.feature-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.feature-slide[data-current="true"] { opacity: 1; z-index: 1; pointer-events: auto; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
.feature figcaption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem clamp(.8rem,1.6vw,1.5rem); }
.feature-title { font-size: 1.02rem; text-underline-offset: .28em; }
.feature-title:hover { text-decoration: underline; }
.feature-controls { display: flex; flex-shrink: 0; gap: .28rem; }
.feature-controls button { border: 1px solid transparent; background: transparent; padding: 3px; width: 2.8rem; height: 2.8rem; }
.feature-controls button[aria-pressed="true"] { border-color: #ffe4c2; }
.feature-controls img { width: 100%; height: 100%; object-fit: cover; }
.album-card a, .film-card a { display: block; }
.album-frame, .film-cover { overflow: hidden; }
.album-card, .film-card { min-width: 0; }
.showcase { padding-block: clamp(1.7rem, 3.7vw, 3.9rem); border-top: 1px solid var(--rule); scroll-margin-block-start: 1rem; }
.section-bar { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 1.4rem; }
.section-bar h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.45; }
.section-bar .tally { margin-inline-start: auto; }
.tally, .meta { color: var(--quiet); font-size: 1rem; }
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1rem, 2.6vw, 2.5rem); }
.album-cover { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: cover; object-position: var(--focus, 50% 45%); background: var(--panel); }
.card-text { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-top: .7rem; }
.card-text h3 { font-size: clamp(1.17rem, 2vw, 1.65rem); line-height: 1.6; }
.album-card a:hover h3, .film-card a:hover h3 { color: var(--wine); }
.films { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem 1.25rem; }
.film-cover { position: relative; background: var(--panel); }
.film-cover img { width: 100%; height: auto; aspect-ratio: .79; object-fit: cover; object-position: center 43%; }
.play { position: absolute; inset-inline-start: .8rem; bottom: .8rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--paper); }
.play::after { content: ""; width: 0; height: 0; border-top: .36rem solid transparent; border-bottom: .36rem solid transparent; border-left: .57rem solid var(--wine); margin-left: .15rem; }
.film-card h3 { font-size: 1.14rem; line-height: 1.55; }
.documentary-card { grid-column: 1 / -1; }
.documentary-card > a { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: clamp(1.2rem,4vw,4rem); border-block: 1px solid var(--rule); padding-block: 1.1rem; }
.documentary-card .film-cover img { aspect-ratio: 16/9; object-fit: contain; }
.documentary-card .card-text { display: block; padding: 0; }
.documentary-card h3 { font-size: clamp(1.55rem, 2.8vw, 2.7rem); margin-bottom: .5rem; }
.duration { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
footer { margin-top: 2.6rem; border-top: 1px solid var(--rule); }
.foot { padding-block: 1.5rem 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.foot img { width: 2.25rem; max-height: 2.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.intro { padding-block: clamp(1.5rem, 3vw, 3rem) 1.55rem; }
.back { color: var(--wine); text-decoration: underline; text-underline-offset: .25em; }
.crumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: .85rem; color: var(--wine); }
.crumbs a + a { padding-inline-start: .85rem; border-inline-start: 1px solid var(--rule); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .24em; }
.service-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.16fr); background: #e9dfcf;
  margin-block: 1.5rem 2.5rem; }
.service-intro { align-self: center; padding: clamp(1.55rem,3.7vw,4rem); }
.service-intro h1 { font-size: clamp(2.1rem,4.1vw,4rem); line-height: 1.42; margin: .7rem 0 .5rem; }
.service-intro p { max-width: 35rem; color: var(--quiet); font-size: 1.12rem; }
.service-head figure { position: relative; min-height: clamp(19rem,28vw,26rem); overflow: hidden; }
.service-head figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
.section-jumps { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.section-jumps a { background: var(--wine); color: #fff7ed; border: 1px solid var(--wine); padding: .48rem 1rem; }
.section-jumps a + a { background: transparent; color: var(--wine); }
.section-jumps a:hover { background: var(--deep-wine); color: white; }
.service-head ~ .showcase .albums { grid-template-columns: 1fr; gap: 1.2rem; }
.session-preview a { display: grid; grid-template-columns: minmax(0,2.35fr) minmax(0,1fr);
  align-items: center; background: #eae1d4; }
.session-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .27rem;
  height: clamp(9rem,17vw,14.5rem); overflow: hidden; }
.session-strip img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: 50% 36%; }
.session-strip img:first-child { object-position: var(--first-focus); }
.session-copy { display: grid; justify-items: start; gap: .15rem; padding: clamp(.95rem,2.1vw,2.5rem); }
.session-copy h3 { font-size: clamp(1.22rem,2.2vw,1.85rem); line-height: 1.5; }
.open-session { color: var(--wine); margin-top: .65rem; text-decoration: underline; text-underline-offset: .24em; }
.intro h1 { font-size: clamp(2.25rem, 4.7vw, 4.8rem); line-height: 1.47; margin: .7rem 0 .28rem; }
.album-images { columns: 3; column-gap: clamp(.65rem, 1.65vw, 1.6rem); }
.photo { display: block; break-inside: avoid; margin-bottom: clamp(.65rem, 1.65vw, 1.6rem); }
.photo img { width: 100%; height: auto; background: var(--panel); }
.session-film { border-block: 1px solid var(--rule); margin: .4rem 0 1.8rem; }
.session-film summary { cursor: pointer; padding: .8rem .2rem; color: var(--wine); font-size: 1.13rem; }
video { display: block; max-width: 100%; background: #181513; accent-color: var(--wine); }
.watch { display: grid; grid-template-columns: minmax(16rem,.72fr) minmax(0,1.28fr); gap: clamp(1.4rem, 4vw, 5.5rem); align-items: start; padding-block: 2rem 1rem; }
.watch .intro { padding-top: .4rem; }
.watch .plain-link { display: inline-block; margin-top: 1.5rem; color: var(--wine); text-decoration: underline; text-underline-offset: .25em; }
.screen { background: #211e1c; display: flex; justify-content: center; padding: .55rem; }
.screen video { width: 100%; height: min(69vh, 47rem); }
.hosted-film { min-width: 0; }
.online-screen { padding: 0; }
.online-screen iframe { display: block; width: 100%; border: 0; background: #181513; }
.online-screen.landscape iframe { aspect-ratio: 16 / 9; }
.online-screen.portrait iframe { width: min(100%, 42vh); aspect-ratio: 9 / 16; }
.watch-external { display: inline-block; margin-block: .55rem; color: var(--wine); text-decoration: underline; text-underline-offset: .24em; }
.film-notice { background: var(--panel); text-align: center; }
.film-notice img { height: min(55vh, 30rem); width: 100%; object-fit: contain; background: #211e1c; }
.film-notice figcaption { padding: .7rem; }
.session-film .screen { margin-bottom: .9rem; }
.session-film video { height: min(58vh, 35rem); }
.documentary-intro h1 { font-size: clamp(2rem, 4.3vw, 4.1rem); }
.documentary-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(18rem,1fr); gap: clamp(1.25rem,3vw,3rem); align-items: start; }
.documentary-media .screen { padding: 0; }
.documentary-media video { height: auto; aspect-ratio: 16/9; scroll-margin-top: 1rem; }
.documentary-media .plain-link { display: inline-block; margin-top: .9rem; color: var(--wine); text-decoration: underline; text-underline-offset: .25em; }
.chapters h2 { font-size: 1.45rem; margin-bottom: .65rem; }
.chapters ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.chapters li { border-bottom: 1px solid var(--rule); }
.chapters a { display: grid; grid-template-columns: 4.7rem minmax(0,1fr); gap: .55rem; align-items: baseline; min-height: 2.75rem; padding: .56rem .65rem; }
.chapters a:hover, .chapters a[aria-current="time"] { color: var(--wine); background: var(--panel); }
.chapters a[aria-current="time"] { box-shadow: inset -3px 0 var(--wine); }
.chapters bdi { text-align: right; color: var(--wine); }
.viewer { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border: 0; padding: .8rem; background: #201c19; color: #fff; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: .6rem; }
.viewer::backdrop { background: #201c19; }
.viewer-bar, .viewer-nav { display: flex; gap: .75rem; align-items: center; }
.viewer-bar { justify-content: space-between; width: min(97%, 80rem); margin: auto; }
.viewer-nav { justify-content: center; padding: .3rem 0 max(.4rem,env(safe-area-inset-bottom)); }
.viewer button { color: #fff; border: 1px solid #92877e; padding: .32rem 1.1rem; background: transparent; border-radius: 2rem; min-height: 2.65rem; }
.viewer button:disabled { opacity: .35; cursor: default; }
.viewer img { width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
body.showing-photo { overflow: hidden; }
@media (max-width: 800px) {
  .documentary-layout { grid-template-columns: 1fr; }
  .films { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .album-images { columns: 2; }
  .hero-copy { padding: 1.55rem; }
  .service-menu a { flex-wrap: wrap; }
  .feature { min-height: 23rem; }
}
@media (max-width: 620px) {
  .documentary-card > a { grid-template-columns: 1fr; gap: .4rem; }
  .documentary-card .card-text h3 { font-size: 1.35rem; }
  .mast-inner { min-height: 4.25rem; gap: .55rem; }
  .brand img { width: 5.4rem; }
  .nav { gap: clamp(.4rem,2.1vw,.7rem); }
  .nav a { font-size: .9rem; }
  .nav .pdf { padding: .2rem .55rem; }
  .hero, .service-head { grid-template-columns: 1fr; margin-block: .85rem 1.85rem; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.75rem); }
  .hero-copy, .service-intro { padding: 1.18rem; }
  .hero-copy > p { margin: .35rem 0 1rem; }
  .service-menu a { padding: .57rem 0; }
  .feature { min-height: 0; }
  .feature-stage, .service-head figure { min-height: 0; aspect-ratio: 1.52; }
  .feature figcaption { padding: .35rem .55rem; }
  .feature-title { font-size: .95rem; }
  .feature-controls { gap: .1rem; }
  .feature-controls button { width: 2.5rem; height: 2.65rem; }
  .service-intro h1 { font-size: 2.15rem; }
  .session-preview a { grid-template-columns: 1fr; }
  .session-strip { height: clamp(7.8rem,38vw,12rem); }
  .session-copy { grid-template-columns: 1fr auto; align-items: baseline; }
  .session-copy .meta { grid-row: 2; }
  .open-session { margin: 0; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .albums { gap: 1.6rem .8rem; }
  .album-cover { aspect-ratio: .93; }
  .films { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem .8rem; }
  .card-text { display: block; }
  .card-text h3 { font-size: 1.05rem; }
  .tally, .meta { font-size: .94rem; }
  .watch { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .watch .intro { padding: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-text { from { opacity: .1; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
  @keyframes open-print { from { clip-path: inset(0 0 0 8%); opacity: .55; } to { clip-path: inset(0); opacity: 1; } }
  .hero-copy h1, .service-intro h1, .intro h1 { animation: enter-text .55s cubic-bezier(.2,.74,.2,1) both; }
  .service-menu { animation: enter-text .55s .12s cubic-bezier(.2,.74,.2,1) both; }
  .feature-stage, .service-head figure { animation: open-print .72s cubic-bezier(.2,.74,.2,1) both; }
  .feature-slide { transition: opacity .42s ease; }
  .feature-slide img { transform: scale(1.025); transition: transform .65s ease-out; }
  .feature-slide[data-current="true"] img { transform: scale(1); }
  .entered { animation: enter-text .45s ease-out both; }
  .service-menu a, .section-jumps a { transition: background-color .18s, color .18s; }
  @media (hover: hover) {
    .album-cover, .film-cover img { transition: transform .4s ease-out; }
    .album-card a:hover .album-cover, .film-card a:hover .film-cover img { transform: scale(1.025); }
  }
}
