/* The iTunes pages: the home page and each film's page (Kari, 2026-10-26: "old school iTunes vibes", and the film
   cases "itunes-fied to make the whole site cohesive"). iTunes 7 to 9 (2006-09):
     - the silver toolbar, with glossy play and sound buttons and an LCD whose track is the film's position;
     - the sections as a segmented control;
     - the film on Cover Flow black, with its reflection;
     - white panes under list-header bars, striped lists, stills with their reflection;
     - a status bar;
     - Lucida Grande.
   itunes.js runs the player. */
:root {
  --ui: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, "DejaVu Sans", sans-serif;
  --ink: #1d1d1d;
  --grey: #6b6b6b;
  --stripe: #edf3fe;
  --link: #2858b5;
  --pad: clamp(14px, 3vw, 44px);
  --metal: linear-gradient(#ededed, #d7d7d7 50%, #c5c5c5);                 /* the aluminium chrome */
  --gloss: linear-gradient(#fdfdfd, #e7e7e7 49%, #d3d3d3 50%, #e9e9e9);    /* a glossy button */
  --gloss-down: linear-gradient(#a8a8a8, #c0c0c0 49%, #b3b3b3 50%, #cbcbcb);
}
/* The resets hold on the iTunes pages only (body.itunes); Research and Work keep base.css's, under itunes-classic.css. */
:where(.itunes) * { box-sizing: border-box; margin: 0; padding: 0; }
body.itunes { margin: 0; background: #fff; color: var(--ink); font: 14px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
:where(.itunes) a { color: inherit; }
:where(.itunes) :is(img, video) { display: block; max-width: 100%; }
:where(.itunes) p { text-wrap: pretty; }

/* The toolbar: the wordmark, the play button and the LCD showing what's playing, the sections as a segmented control */
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 9px var(--pad) 10px;
  background: var(--metal); border-bottom: 1px solid #6c6c6c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
#brand { justify-self: start; display: block; line-height: 0; color: #222; }
#brand svg { height: 20px; width: auto; overflow: visible; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .85)); }
#brand svg .l { transform-box: fill-box; }
.player { display: flex; align-items: center; gap: 10px; }
.play { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #5e5e5e; background: var(--gloss);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8), inset 0 1px 0 #fff; display: grid; place-items: center; color: #1e1e1e; cursor: pointer; }
.snd { width: 28px; height: 28px; }
.play:active { background: var(--gloss-down); }
.play svg { width: 13px; height: 13px; fill: currentColor; }
.lcd { width: clamp(270px, 32vw, 460px); padding: 4px 10px 5px; border: 1px solid #77796f; border-radius: 6px;
  background: linear-gradient(#f7f8f0, #e9ecdd 55%, #dde1cf); color: #2c2d28; text-align: center; font-size: 11px; line-height: 1.4;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .28), 0 1px 0 rgba(255, 255, 255, .75); }
.lcd .t { display: block; font-weight: bold; font-size: 12px; }
.lcd .a { display: block; }
/* The LCD's track is the film's position: drag it, click it, or use the arrow keys. Elapsed left, remaining right. */
.pos { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.pos .tm { flex: none; min-width: 3.3em; font-size: 10px; font-variant-numeric: tabular-nums; }
.pos .tm:first-child { text-align: right; }
.pos .tm:last-child { text-align: left; }
.scrub { flex: 1; display: flex; align-items: center; height: 16px; cursor: pointer; touch-action: none; border-radius: 3px; }
.scrub:focus-visible { outline: 2px solid #3875d7; outline-offset: 1px; }
.track { position: relative; display: block; flex: 1; height: 7px; border: 1px solid #5f6157; background: #fbfcf6; }
.track .el { position: absolute; inset: 0 auto 0 0; width: 0; background: #8f9284; }
.track .knob { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; background: #23241f; transform: translate(-50%, -50%) rotate(45deg); }
.seg { justify-self: end; display: flex; border: 1px solid #5e5e5e; border-radius: 5px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.seg a { padding: 4px 13px; font-size: 12px; text-decoration: none; background: var(--gloss); text-shadow: 0 1px 0 #fff; }
.seg a + a { border-left: 1px solid #7a7a7a; }
.seg a.on { background: var(--gloss-down); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }

/* The home page's first screen since 2026-11-08: the film edge to edge, its words over the cover's dark side, in the
   film's own type (Host Grotesk, OFL, as on the cover). Only the film on it: the company's line leads About. */
@font-face { font-family: "Host Grotesk"; src: url(brand/fonts/HostGrotesk-VF.ttf) format("truetype"); font-weight: 300 800; font-display: swap; }
.stage.feature { position: relative; padding: 0; background: #07090c; overflow: hidden; }
.feature #film { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - var(--bar, 80px)); object-fit: cover; background: #07090c; }   /* --bar: the toolbar's height, measured (itunes.js); the film ends where the window does */
/* On the page the film fills its stage edge to edge, as its cover does, and may lose its top and bottom to a wide,
   short window (showing it whole there left dark bars at its sides: Kari, 2026-11-10, "leaving black bg visible on
   both sides"). The whole picture is one press away: a small button in the film's top right corner takes the stage
   full screen (itunes.js), where the film is shown entire. */
.film-full { position: absolute; z-index: 3; top: calc(var(--inset) + var(--under, 0px)); right: var(--inset); --inset: clamp(18px, 1.9vw, 30px);   /* the same air above it as beside it; --under: how much of the film's top is behind the toolbar (itunes.js) */
  width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: #fff;
  opacity: 0; transition: opacity .35s; }
/* Only the mark itself, no plate behind it, and only while someone is pointing at the film (Kari, 2026-11-10: the
   always-there dark square was "too prominent", "annoying", a "rectangle within the rectangle"; "something that you
   can see on hover", "even more subtle"). itunes.js marks the stage .pointing while the pointer moves over it and for
   two seconds after; a keyboard reaches the button all the same. A soft shadow keeps the mark legible on a white frame. */
.feature.pointing .film-full { opacity: .62; }
.feature .film-full:hover, .film-full:focus-visible { opacity: 1; }
.film-full:focus-visible { outline: 1.5px solid #fff; outline-offset: 3px; border-radius: 4px; }
/* In full screen it sits further in: a Mac's menu bar drops over the top of the screen when the pointer goes up there
   (Kari, 2026-11-10: the icon "50% under the top bar"). */
.feature.fullscreen .film-full { --inset: clamp(56px, 4.4vw, 76px); }
.film-full svg { width: 18px; height: 18px; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .5)) drop-shadow(0 1px 4px rgba(0, 0, 0, .3)); }
.feature.fullscreen { display: grid; place-items: center; background: #000; }
.feature.fullscreen #film { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: contain; background: #000; }
.feature.fullscreen::after, .feature.fullscreen .feature-text { display: none; }
.feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .8s;
  background: linear-gradient(90deg, rgba(7, 9, 12, 0) 45%, rgba(7, 9, 12, .5) 68%, rgba(7, 9, 12, .78)),
              linear-gradient(180deg, rgba(7, 9, 12, .55), rgba(7, 9, 12, 0) 18%); }
.feature.playing::after { opacity: 0; }   /* nothing lies over a playing film (2026-11-10), so no shade either */
.sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* read, not seen */
.feature-text { position: absolute; z-index: 1; right: 6%; bottom: 13%; width: min(34%, 520px); color: #f2f2f0; font-family: "Host Grotesk", var(--ui);
  transition: bottom .6s; }
.feature .feature-text.film { margin: 0; padding: 0; border: 0; }   /* not the films' pages' rule over the words */
.feature.playing .feature-text { bottom: 6%; }
.feature :is(.kicker, .film-title, .film-desc, .film-meta) { overflow: hidden; max-height: 9em; transition: opacity .6s, max-height .6s, margin .6s, visibility .6s; }
.feature .kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #b9c2cc; }
.feature .film-title { margin: 8px 0 0; font-weight: 800; font-size: clamp(64px, 9.5vw, 190px); line-height: .86; letter-spacing: -.01em;
  transition: font-size .6s; }
.feature .film-desc { margin-top: 18px; max-width: 16em; font-size: clamp(17px, 1.6vw, 28px); line-height: 1.28; color: #e4e7ea; }
.feature .film-meta { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #e6c36a; }
.feature .watch { margin-top: 24px; }
/* The films' own pages wear the same cover since 2026-11-10. A title of several words is set smaller than "LA 9". */
.feature .film-title.long { font-size: clamp(34px, 4.7vw, 96px); line-height: .94; letter-spacing: -.02em; text-wrap: balance; }
/* While the teaser plays the words are gone, the film alone (Kari, 2026-11-09: "synopsis should be gone when the movie
   is playing"; the title too). Only "Watch with sound" stays while it plays silent; paused or ended, the words return. */
.feature.playing :is(.kicker, .film-title, .film-desc, .film-meta) { opacity: 0; visibility: hidden; max-height: 0; margin: 0; }
/* Words that would crowd the picture sit further right (the Oode cover's stool and headphones reach past its middle). */
.feature-text.far { right: 5%; width: min(29%, 520px); }

/* The films' pages: the film on Cover Flow black, its reflection on the floor, and one sentence beside it */
.stage { background: linear-gradient(#262626, #000 45%); color: #fff; padding: 28px var(--pad) 96px; }
.hero { display: flex; align-items: flex-end; gap: clamp(24px, 3.5vw, 56px); }
.hero-film { flex: none; width: min(64vw, calc((100svh - 225px) * 4 / 3)); }
.hero-film video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #111;
  -webkit-box-reflect: below 2px linear-gradient(transparent 86%, rgba(255, 255, 255, .3)); }
.hero-text { flex: 1; min-width: 0; max-width: 420px; }
.say { font-size: clamp(24px, 2.1vw, 31px); line-height: 1.2; letter-spacing: -0.01em; font-weight: normal; text-wrap: balance; }
.say span { display: block; }
.film { margin-top: 32px; padding-top: 14px; border-top: 1px solid #3c3c3c; }
.film-title { font-weight: bold; font-size: 15px; }
.film-meta { color: #9b9b9b; font-size: 13px; }
.film-desc { margin-top: 10px; color: #cfcfcf; font-size: 13px; max-width: 40ch; }
.watch { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 12px; border: 1px solid #4a4a4a;
  border-radius: 999px; background: var(--gloss); color: #1d1d1d; font: bold 12px var(--ui); text-shadow: 0 1px 0 #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .6); cursor: pointer; }
.watch:active { background: var(--gloss-down); }
.watch[hidden] { display: none; }
.watch svg { width: 9px; height: 10px; fill: currentColor; }

/* The rest: white panes under list-header bars */
.head { font-weight: bold; font-size: 12px; color: #2f2f2f; text-shadow: 0 1px 0 #fff; padding: 5px var(--pad);
  background: linear-gradient(#fbfbfb, #e2e2e2); border-top: 1px solid #b8b8b8; border-bottom: 1px solid #9e9e9e; }
.pane { padding: 28px var(--pad) 44px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.tiles:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }   /* three films side by side */
.tiles:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 32px); }   /* four, since the Oode film */
.tile { text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #9a9a9a; margin-bottom: 7%;
  -webkit-box-reflect: below 1px linear-gradient(transparent 88%, rgba(255, 255, 255, .26)); }
.tile-title { font-weight: bold; font-size: 14px; }
.tile-meta { color: var(--grey); font-size: 13px; }
.tile:hover .tile-title { color: var(--link); text-decoration: underline; }

.about-body { max-width: 680px; }
.big { font-weight: bold; font-size: 19px; line-height: 1.35; }
.note { margin-top: 14px; font-size: 13px; color: #444; max-width: 62ch; }
.note a, .list a, .write a { color: var(--link); }

.list { width: 100%; max-width: 720px; border-collapse: collapse; border: 1px solid #a8a8a8; font-size: 14px; }
.list th { text-align: left; font-size: 11px; color: #2c2c2c; padding: 3px 10px; text-shadow: 0 1px 0 #fff;
  background: linear-gradient(#fdfdfd, #e1e1e1); border-bottom: 1px solid #a2a2a2; }
.list th + th { border-left: 1px solid #c6c6c6; }
.list td { padding: 7px 10px; }
.list tbody tr:nth-child(even) { background: var(--stripe); }
.list .r { text-align: right; }
.list a.price { display: inline-block; padding: 1px 11px; border: 1px solid #8a8a8a; border-radius: 999px; background: var(--gloss);
  font-size: 11px; font-weight: bold; color: #222; text-decoration: none; text-shadow: 0 1px 0 #fff; }
.list a.price:active { background: var(--gloss-down); }
.write { margin-top: 22px; font-size: 15px; }
/* Book a call: a glossy button, like Watch with sound */
.write a.book { display: inline-block; padding: 3px 15px; border: 1px solid #8a8a8a; border-radius: 999px; background: var(--gloss);
  color: #1d1d1d; font: bold 12px var(--ui); text-decoration: none; text-shadow: 0 1px 0 #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.write a.book:active { background: var(--gloss-down); }

/* The status bar */
.status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 6px var(--pad);
  background: var(--metal); border-top: 1px solid #7a7a7a; font-size: 11px; color: #333; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.status span:last-child { justify-self: end; }
/* The socials (Kari's YouTube and X, 2026-11-06), at the right of the status bar on every page, before the © */
.socials { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 14px; }
.socials a { color: inherit; text-decoration: none; background: none; }
.socials a:hover, .socials a:focus-visible { text-decoration: underline; }
.socials span:empty { display: none; }

/* A film's own page: the film is 16:9, and says what it is under its title */
.hero-film.wide { width: min(64vw, calc((100svh - 225px) * 16 / 9)); }
.hero-film.wide video { aspect-ratio: 16 / 9; }
.tag { display: table; margin-top: 12px; padding: 1px 8px; border: 1px solid #777; border-radius: 3px; font-size: 11px; color: #e8e8e8; }

/* Get Info: a striped list of a label and its value */
.info th[scope="row"] { width: 10em; padding: 7px 10px; vertical-align: top; font-size: 12px; color: #555; background: none;
  border: 0; text-shadow: none; }
.info td { font-size: 13px; }

/* Stills, screenshots and artwork, framed, with their reflection, as in the iTunes Store */
.shots { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: clamp(16px, 2.5vw, 32px); align-items: end; }
.shot img { width: 100%; border: 1px solid #9a9a9a; background: #f5f5f5; margin-bottom: 7%;
  -webkit-box-reflect: below 1px linear-gradient(transparent 88%, rgba(255, 255, 255, .26)); }
.shot figcaption { font-size: 12px; color: var(--grey); }
.pane .list + .note, .pane .note + .list, .pane .list + .list, .pane .big + .list { margin-top: 18px; }

/* On a desktop the toolbar stays at the top, the LCD with it */
@media (min-width: 761px) {
  .bar { position: sticky; top: 0; z-index: 20; }
  :where(.itunes) [id] { scroll-margin-top: 80px; }
  .feature-text.far .film-title { text-wrap: wrap; }   /* What would / you like / made?, as on its cover */
}

@media (max-width: 760px) {
  .bar { grid-template-columns: 1fr auto; row-gap: 9px; }
  #brand svg { height: 17px; }
  .player { grid-column: 1 / -1; grid-row: 2; }
  .lcd { flex: 1; width: auto; }
  .stage { padding: 0 0 36px; background: #000; }
  .stage.feature { padding: 0 0 32px; }
  .feature #film { max-height: none; }
  .feature::after { display: none; }
  .feature-text, .feature-text.far { position: static; width: auto; max-width: none; }
  .feature .feature-text.film { padding: 26px var(--pad) 0; }
  .feature.playing :is(.kicker, .film-title, .film-desc, .film-meta) { opacity: 1; visibility: visible; max-height: none; }   /* under the picture on a phone */
  .feature.playing .film-title { margin-top: 8px; }
  .feature.playing .film-meta { margin-top: 14px; }
  .feature .film-desc { margin-top: 12px !important; }
  .hero { flex-direction: column; align-items: stretch; gap: 0; }
  .hero-film, .hero-film.wide { width: 100%; }
  .hero-text { max-width: none; padding: 64px var(--pad) 0; }   /* the reflection shows above it */
  .film { margin-top: 22px; }
  .tiles, .tiles:has(> :nth-child(3)), .tiles:has(> :nth-child(4)) { grid-template-columns: 1fr; }
  .status { grid-template-columns: 1fr auto; }
  .status span:first-child { display: none; }
  .shots { grid-template-columns: 1fr; }
  .shots.eras { grid-template-columns: 1fr 1fr; }
  .info th[scope="row"] { width: 7.5em; }
}
