@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-Regular.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); }
/* the camera hero: an editorial paper cover with the app's controls on the clip */
.switch { display: inline-flex; border: 1px solid currentColor; }
.switch button { appearance: none; border: 0; background: transparent; color: inherit; cursor: pointer; font: 500 12px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: 0 14px; height: 34px; opacity: .75; }
.switch button + button { border-left: 1px solid currentColor; }
.switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); opacity: 1; }
.switch.big button { height: 44px; padding: 0 20px; font-size: 13px; }
/* Editorial camera hero: a magazine cover on paper, the films as the pictures, a plain phone in front */
.ed { --ed-pad: max(var(--edge), env(safe-area-inset-left, 0px)); background: var(--paper); color: var(--ink); padding: clamp(14px, 1.6vw, 22px) var(--ed-pad) clamp(28px, 4vw, 56px); }
.ed-mast { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ed-mast span:last-child { text-align: right; }
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 72px); align-items: end; padding-top: clamp(24px, 3.5vw, 56px); }
.ed h1 { margin: 0; font-weight: 500; font-size: clamp(52px, 8.4vw, 150px); line-height: .9; letter-spacing: -0.055em; text-wrap: balance; }
.ed h1 em { display: block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.03em; font-size: 1.08em; line-height: .92; }
.ed-dek { margin: clamp(20px, 2.4vw, 36px) 0 0; max-width: 36ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: #3d3b38; }
.ed .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ed .btn-primary { background: var(--ink); color: var(--paper); }
.ed .btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.ed-other { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; font-size: 15px; color: #3d3b38; }
.ed .switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ed-cover { margin: 0; justify-self: end; width: min(100%, calc(72svh * .8)); }
.ed-frame { position: relative; aspect-ratio: 4 / 5; background: #1a1a18; overflow: hidden; }
.ed-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.ed-frame video.on { opacity: 1; }
.ed-cap { display: none; grid-template-columns: auto auto 1fr; gap: 4px 14px; align-items: baseline; padding-top: 10px; font-size: 14px; }
.ed-cap.on { display: grid; }
.ed-cap .ed-no, .ed-cap span { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6b6762; }
.ed-cap b { font-weight: 500; }
.ed-cap i { grid-column: 1 / -1; font-family: "Instrument Serif", Georgia, serif; font-size: 19px; color: #3d3b38; }
.ed-strip { list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 14px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ed-t { appearance: none; border: 0; background: none; padding: 0; width: 100%; text-align: left; cursor: pointer; color: var(--ink); display: grid; gap: 8px; font: 500 14px/1.2 var(--font); }
.ed-t img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; opacity: .55; filter: grayscale(.6); transition: opacity .3s, filter .3s; }
.ed-t:hover img, .ed-t[aria-pressed="true"] img { opacity: 1; filter: none; }
.ed-t em { font: 400 11px/1 var(--mono); font-style: normal; color: #6b6762; margin-right: 4px; }
.ed-bar { display: block; height: 2px; background: #d8d4cc; position: relative; overflow: hidden; text-decoration: none; }
.ed-bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ed-t[aria-pressed="true"] .ed-bar::after { animation: edbar var(--ed-dur, 6s) linear forwards; }
.ed.paused .ed-t[aria-pressed="true"] .ed-bar::after { animation: none; transform: scaleX(1); }
@keyframes edbar { to { transform: scaleX(1); } }
/* the app's own controls laid over the cover clip (no phone): film picker, record bar. They work: the arrows change the film. */
.ed-ui { position: absolute; inset: 0; z-index: 2; display: grid; align-content: end; justify-items: center; gap: 12px; padding: 0 5% 5%; color: #f2f0eb; background: linear-gradient(180deg, rgba(13,13,12,0) 55%, rgba(13,13,12,.45) 100%); pointer-events: none; }
.ed-ui > * { pointer-events: auto; }
.ed-film, .ed-bar2 { background: rgba(120,116,108,.42); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-radius: 999px; }
.ed-film { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; width: min(100%, 330px); padding: 8px 10px; }
.ed-arrow { appearance: none; border: 0; background: none; color: inherit; width: 36px; height: 36px; font: 400 24px/1 var(--font); cursor: pointer; border-radius: 50%; opacity: .85; }
.ed-arrow:hover { background: rgba(242,240,235,.14); opacity: 1; }
.ed-swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--sw, #c98a52); transition: background .4s; }
.ed-fn { display: grid; justify-items: center; gap: 2px; padding-right: 26px; }
.ed-fn b { font: 500 17px/1.1 var(--font); }
.ed-fn small { font: 400 10px/1.2 var(--mono); letter-spacing: .06em; opacity: .7; }
.ed-dots { display: flex; gap: 4px; margin-top: 3px; } .ed-dots i { width: 4px; height: 4px; border-radius: 50%; background: #f2f0eb; opacity: .35; } .ed-dots i.on { opacity: 1; }
.ed-bar2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(100%, 330px); padding: 8px 12px; }
.ed-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(13,13,12,.35); display: grid; place-items: center; } .ed-ic svg { width: 22px; height: 22px; } .ed-ic:last-child { justify-self: end; }
.ed-recbtn { appearance: none; width: 66px; height: 66px; border-radius: 50%; border: 3px solid #f2f0eb; background: none; padding: 4px; cursor: pointer; }
.ed-recbtn i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #f2f0eb; transition: border-radius .25s, transform .25s, background .25s; }
.ed-recbtn[aria-pressed="true"] i { background: #e5482f; border-radius: 22%; transform: scale(.5); }
.ed-tc { position: absolute; top: 4.5%; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(13,13,12,.5); font: 400 12px/1 var(--mono); letter-spacing: .06em; }
.ed-tc i { width: 8px; height: 8px; border-radius: 50%; background: #e5482f; }
.ed.rec .ed-tc { display: inline-flex; }
.ed :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 1000px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-cover { justify-self: stretch; width: 100%; }
  .ed-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ed-mast { grid-template-columns: 1fr 1fr; }
  .ed-mast .ed-mid { display: none; }
  .ed-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-right: calc(-1 * var(--ed-pad)); padding-right: var(--ed-pad); scrollbar-width: none; }
  .ed-strip li { flex: 0 0 38%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .ed-frame video { transition: none; } .ed-t[aria-pressed="true"] .ed-bar::after { animation: none; transform: scaleX(1); } }
