/* Explore Egypt · Cairo personal film */
.film-page {
  --ink: #163c3b;
  --paper: #faf8f2;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.65 "Segoe UI", Arial, sans-serif;
}
.film-page * { box-sizing: border-box; }
.film-page :is(h1, h2, p, figure) { margin: 0; }
.film-page :is(h1, h2) { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.04; text-wrap: balance; }
.film-page a { color: inherit; text-underline-offset: .28em; }
.film-page :focus-visible, .film-invitation a:focus-visible { outline: 3px solid #b15415; outline-offset: 4px; }
.film-skip { position: absolute; left: 1rem; top: -8rem; background: white; padding: .6rem; z-index: 2; }
.film-skip:focus { top: 1rem; }
.film-mast, .film-foot, .film-page main { width: min(91%, 74rem); margin-inline: auto; }
.film-mast, .film-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.film-mast { border-bottom: 1px solid #c6d0c7; }
.film-brand { display: flex; align-items: center; gap: .7rem; font-size: 1.16rem; line-height: 1.1; font-weight: 700; text-decoration: none; }
.film-brand small { display: block; font-size: .82rem; font-weight: 500; margin-top: .25rem; }
.film-languages { display: flex; }
.film-languages button { color: var(--ink); background: transparent; border: 0; font: inherit; min-width: 44px; min-height: 44px; cursor: pointer; }
.film-languages [aria-pressed="true"] { text-decoration: underline; text-underline-offset: .4em; font-weight: 700; }
.film-hero { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(2.2rem, 4.5vw, 4.6rem); }
.film-hero h1 { font-size: clamp(4rem, 8vw, 8.1rem); line-height: .94; letter-spacing: -.052em; max-width: 8ch; margin: 1.1rem 0 1.4rem; }
.film-lead > p:not(.film-kicker) { font-size: clamp(1.12rem, 1.65vw, 1.48rem); line-height: 1.5; max-width: 35ch; }
.film-kicker, .film-chapter h2 + small, .film-chapter > div:first-child > p { font-weight: 650; letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; }
.film-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.8rem; }
.film-page .film-button { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.45rem; min-height: 46px; color: #fff; background: #1d514a; border-radius: .28rem; text-decoration: none; font-weight: 650; }
.film-page .film-button:hover { background: #103a35; }
.film-text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.film-portrait img { display: block; width: 100%; height: clamp(22rem, 34vw, 32rem); object-fit: cover; object-position: 50% 45%; }
.film-portrait figcaption { color: #455b59; text-align: end; font-size: .88rem; margin-top: .4rem; }
.film-chapter { border-top: 1px solid #c6d0c7; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(1rem, 5vw, 6rem); padding: clamp(2rem, 4vw, 4rem) 0; }
.film-chapter h2, .film-close h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.038em; }
.film-chapter > div:first-child > p { margin-bottom: .65rem; }
.film-chapter p + p { margin-top: .85rem; }
.film-chapter .film-text-link { margin-top: .6rem; }
.film-river img { width: 100%; height: clamp(12rem, 27vw, 22rem); object-fit: cover; object-position: 50% 54%; display: block; margin-bottom: 2rem; }
.film-close { padding: clamp(1.6rem, 4.5vw, 4.5rem); background: #deebe4; }
.film-close p { max-width: 55ch; margin-block: 1rem 1.4rem; }
.film-foot { margin-top: 2rem; flex-wrap: wrap; font-size: .94rem; }
.film-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.film-invitation { padding: clamp(1.3rem, 3vw, 2.5rem); margin-block: 1.5rem; border-inline-start: 4px solid #326557; background: #e9f1eb; color: #173e36; display: flex; align-items: center; gap: 1rem 2.5rem; justify-content: space-between; flex-wrap: wrap; }
.film-invitation h2 { color: inherit; font: 400 clamp(1.9rem, 3.5vw, 3rem)/1.15 Georgia, serif; margin: .3rem 0; }
.film-invitation p { color: inherit; max-width: 62ch; }
.film-invitation a { color: #194a3b; padding-block: .7rem; font-weight: 700; text-decoration: underline; }
@media (max-width: 700px) {
  .film-hero, .film-chapter { grid-template-columns: minmax(0, 1fr); }
  .film-hero { gap: 1.6rem; }
  .film-hero h1 { max-width: none; font-size: clamp(3.6rem, 13vw, 5rem); }
  .film-portrait img { height: clamp(15rem, 71vw, 24rem); }
  .film-chapter { gap: 1rem; }
  .film-mast, .film-foot, .film-page main { width: min(90%, 38rem); }
}

.film-crumb { display: flex; align-items: center; gap: .55rem; color: #455b59; font-size: .9rem; }
.film-crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.film-crumb + .film-hero { padding-top: clamp(1rem, 2vw, 2rem); }
