@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f1ece3;
  --surface: #f7f3eb;
  --raised: #e8e2d7;
  --text: #201d19;
  --secondary: #37332e;
  --muted: #5e5951;
  --brass: #292621;
  --line: #aaa398;
  --border: #8d857a;
  --focus: #9a171c;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Manrope, Arial, sans-serif;
}

.wrap { width: min(1280px, 93%); }
h1, h2, h3, .wordmark, .ritual h3, .film-info h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.035em;
}
.eyebrow {
  font: 500 clamp(17px, 2.15vw, 26px)/1.3 var(--serif);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.site-header { border: 0; }
.header-inner { min-height: clamp(76px, 9.8vw, 110px); border-bottom: 1px solid var(--line); }
.brand { align-items: center; gap: 20px; }
.wordmark { font-size: clamp(38px, 4.4vw, 56px); line-height: 1; }
.brand-note {
  display: block;
  color: var(--text);
  font-size: clamp(12px, 1.45vw, 15px);
  text-transform: none;
  letter-spacing: 0;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.header-actions, .nav { gap: clamp(18px, 3vw, 42px); }
.nav { font-size: clamp(13px, 1.55vw, 16px); color: var(--text); }
.nav .nav-cta { padding: 10px 0; border: 0; }
.nav-cta span { padding-left: 2px; }
.language-switch { border: 0; border-radius: 0; border-left: 1px solid var(--line); padding-left: 14px; align-items: center; }
.language-switch a { font-family: monospace; font-size: 14px; min-width: 32px; padding: 4px; }
.language-switch a+a { border: 0; }
.language-switch::before { content: "/"; order: 1; }
.language-switch a:last-child { order: 2; }
.language-switch a[aria-current=true] { background: transparent; font-weight: 700; }
.nav a:hover, .footer-links a:hover, .language-switch a:hover { color: var(--focus); }

.hero {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 0;
  min-height: 0;
  padding-block: clamp(32px, 5vw, 64px) clamp(44px, 6.7vw, 84px);
  border-bottom: 1px solid var(--line);
}
.hero-copy { z-index: 1; }
.hero .eyebrow { margin-bottom: clamp(20px, 3vw, 38px); }
.status-dot { display: none; }
.hero h1 { font-size: clamp(34px, 4.9vw, 68px); line-height: 1.06; margin: 0 0 .55em; }
.hero h1 em { color: inherit; font-weight: inherit; font-style: normal; }
.hero-copy > p { max-width: 20em; font-size: clamp(16px, 2.05vw, 24px); line-height: 1.42; }
.hero-actions { gap: clamp(14px, 2.5vw, 32px); margin-top: clamp(24px, 4.7vw, 56px); }
.play-button {
  border: 0; background: var(--text); color: #faf7f0; border-radius: 8px;
  min-height: 56px; padding: 10px 20px; font-size: 19px;
}
.play-button:hover:not(:disabled) { background: #443f39; }
.play-button small { font: 600 10px/1.2 Manrope, sans-serif; letter-spacing: .09em; }
.text-link { font-size: clamp(14px, 1.7vw, 18px); text-decoration: underline; text-underline-offset: 6px; gap: 6px; }
.text-link:hover { gap: 6px; color: var(--focus); }
.hero-copy .hero-footnote { margin-top: 22px !important; font-size: clamp(12px, 1.5vw, 16px) !important; }
.camera-art { position: relative; display: flex; justify-content: end; padding-right: 1.5%; }
.camera-screen {
  position: relative; width: 57%; height: auto; align-self: start; padding-block: 1.6%;
  background: #f4ede1; border: 6px solid #22211f; border-radius: 12% / 5.5%;
  box-shadow: 0 0 0 2px #75736e, 0 0 0 3px #262421, 4px 12px 17px #25201835;
}
.camera-print {
  position: absolute; left: 0; top: 17%; width: 56%; height: 72%;
  object-fit: cover; object-position: 26% center;
  border: clamp(6px, .85vw, 12px) solid #faf7ef;
  transform: skewY(-7deg) rotate(3deg); box-shadow: 2px 8px 14px #31291d38;
}

.section { padding-block: clamp(36px, 4.5vw, 64px); }
.section-heading { display: block; margin-bottom: 24px; }
.section-heading > p { max-width: 65ch; margin-top: 10px; font-size: 14px; }
h2 { font-size: clamp(33px, 4.7vw, 65px); line-height: 1.08; }
.ritual {
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); padding-top: 24px; margin: 0;
}
.ritual article { border: 0; padding: 0 clamp(16px, 3.4vw, 48px); }
.ritual article:first-child { padding-left: 0; }
.ritual article + article { border-left: 1px solid var(--line); }
.ritual article:last-child { padding-right: 0; }
.step-number { font: 500 clamp(12px, 1.6vw, 17px)/1.2 monospace; letter-spacing: .04em; margin-bottom: 16px; }
.ritual h3 { font-size: clamp(27px, 3.8vw, 49px); line-height: 1.05; }
.ritual p { font-size: 14px; line-height: 1.55; }
.films-section { border: 0; background: transparent; padding-top: 0; }
.films-section > .wrap { padding-top: clamp(30px, 4.1vw, 60px); border-top: 1px solid var(--line); }
.films-section h2 { font-size: clamp(27px, 3.73vw, 51px); }
.film-shelf {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end; gap: clamp(14px, 3.6vw, 50px); padding-block: 24px 36px;
}
.film-shelf img { width: 100%; height: auto; object-fit: contain; }
.film-picker button, .scene-picker button { border-radius: 3px; }
.film-explorer { border-radius: 0; background: var(--surface); }
.preview-tag { color: #faf7f0; }
.download-section { border-radius: 0; border-inline: 0; background: transparent; }
.download-section::before { display: none; }
.photo-notes { margin-bottom: 48px; }
.photo-notes .hero-art {
  display: grid; height: auto; margin: 0; grid-template-columns: 1.4fr .9fr .5fr;
  align-items: end; gap: clamp(12px, 2.4vw, 34px); padding-block: 24px; border-block: 1px solid var(--line);
}
.photo-notes .frame-note { position: static; grid-column: 1/-1; }
.photo-notes figure { position: static; inset: auto; width: auto; border: 0; padding: 0; transform: none; box-shadow: none; background: transparent; }
.photo-notes figure::before, .photo-notes figure::after { display: none; }
.photo-notes figure img { width: 100%; height: clamp(120px, 18vw, 245px); object-fit: cover; }
.photo-notes .film-edge, .photo-notes figcaption { position: static; color: var(--muted); background: none; padding: 8px 0; font-size: 12px; }
.photo-notes .hero-canister { position: static; width: 70%; justify-self: center; filter: none; }

@media (max-width: 900px) {
  .brand-note { display: none; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 0; }
  .header-actions { display: contents; }
  .nav { gap: 22px; }
  .nav .nav-cta { display: inline-flex; margin-left: auto; }
  .language-switch { border: 0; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 38px; gap: 32px; }
  .hero-copy { max-width: 540px; }
  .hero h1 { font-size: clamp(37px, 9.6vw, 64px); }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-copy .hero-footnote { margin-top: 12px !important; }
  .camera-art { width: min(96%, 410px); justify-self: center; }
  .camera-screen { border-width: 4px; }
  .ritual { grid-template-columns: 1fr; padding-top: 0; }
  .ritual article, .ritual article + article { padding: 18px 0; border: 0; }
  .ritual article + article { border-top: 1px solid var(--line); }
  .ritual article:last-child { padding-bottom: 0; }
  .step-number { margin-bottom: 8px; }
  .film-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; padding-block: 8px 30px; }
  .photo-notes .hero-art { grid-template-columns: 1fr 1fr; }
  .photo-notes .hero-canister { display: none; }
}

/* The shelf and the preview use the same film selection. */
.film-shelf button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 6px 2px 10px;
  font: 600 15px/1.3 Manrope, sans-serif;
}
.film-shelf button:hover { background: var(--raised); }
.film-shelf button[aria-pressed=true] { border-bottom-color: var(--focus); }
.film-shelf button img { width: 100%; height: clamp(95px, 13.5vw, 185px); object-fit: contain; }
.films-section .film-picker { margin-bottom: 4px; }
.film-explorer { scroll-margin-top: 16px; }
.film-preview { display: grid; place-items: center; background: var(--raised); }
.film-preview img { width: 100%; height: clamp(350px, 40vw, 540px); min-height: 0; object-fit: contain; }
.film-info p { min-height: 0; }
.film-info .scene-picker { margin: 18px 0 0; }
.film-info .text-link { margin-top: 10px; }
@media (max-width: 740px) {
  .film-preview img { height: clamp(220px, 77vw, 430px); aspect-ratio: auto; }
  .film-info { padding: 22px; min-height: 0; }
  .film-info > img { right: 20px; top: 18px; width: 52px; height: 76px; object-fit: contain; }
  .film-info .eyebrow, .film-info h3 { max-width: calc(100% - 64px); }
  .film-info .scene-picker button { font-size: 12px; }
  .film-shelf button { font-size: 13px; }
}
