/* ==========================================================================
   Jack Thomas Media
   White, black, one blue. Zodiak (display) + Mona Sans (everything else).
   ========================================================================== */

/* Self-hosted fonts (were Fontshare + Google Fonts CSS: two render-blocking cross-origin requests) */
@font-face { font-family: "Zodiak"; src: url("/assets/fonts/zodiak-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/assets/fonts/zodiak-300i.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/assets/fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/mona-sans-latin.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/mona-sans-latin-italic.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched stand-ins while the real fonts load, so swapping doesn't re-wrap the headline (CLS) */
@font-face { font-family: "Zodiak Fallback"; src: local("Georgia"); size-adjust: 110%; ascent-override: 90%; descent-override: 23%; line-gap-override: 8%; }
@font-face { font-family: "Mona Sans Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 105%; descent-override: 31%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --paper: #F6F5F2;
  --ink: #0A0A0A;
  --gray: #5C5C5A;
  --gray-2: #8A8A86;
  --line: #E6E5E1;
  --blue: #1A7CFC;          /* logo blue: buttons, big moments */
  --blue-deep: #0064DA;     /* hover + small blue text (passes contrast) */
  --tint: #EFF6FF;

  --serif: "Zodiak", "Zodiak Fallback", Georgia, serif;
  --sans: "Mona Sans", "Mona Sans Fallback", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --hdr: 80px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.75, 0.15, 1);
}

/* ---------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- type --- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.display em { font-style: italic; font-weight: 300; }
.h1 { font-size: clamp(56px, 10.4vw, 176px); }
.h2 { font-size: clamp(42px, 6.4vw, 104px); }
.h3 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }
.dot { color: var(--blue); }

.caps {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--gray); max-width: 30em; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font-family: var(--sans); font-stretch: 125%; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 2px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--blue); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 10px; }
/* Hairline button: 1px ink rule, no fill, fills ink on hover (the banners' View in ink). */
.btn--line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line svg { transition: transform 0.4s var(--ease); }
.btn--line:hover svg { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-stretch: 125%; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color 0.3s, background-size 0.5s var(--ease);
}
.link:hover { color: var(--blue-deep); background-image: linear-gradient(var(--blue), var(--blue)); background-size: 100% 2px; }
.link svg { width: 18px; height: 10px; transition: transform 0.4s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--light { color: var(--white); }
.link--light:hover { color: var(--white); }

/* -------------------------------------------------------------- header --- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  height: var(--hdr);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.4s;
}
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hdr__tag { margin-left: 28px; padding-left: 28px; border-left: 1px solid var(--line); color: var(--gray-2); font-size: 10px; letter-spacing: 0.12em; white-space: nowrap; }
.hdr .nav { margin-left: auto; }
/* Jack's own stacked lockup (mark over JACK THOMAS / MEDIA), used exactly as supplied */
.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav > a:not(.btn) {
  font-stretch: 125%; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 0;
  background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { background-size: 100% 2px; }
.nav .btn { height: 42px; padding: 0 18px; font-size: 12px; }
.menu-btn { display: none; height: 44px; padding: 0 2px; font-stretch: 125%; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Phone menu: the hero montage keeps playing behind the pages, dimmed; the invitation sits at the foot. */
.menu {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 55;
  background: var(--ink); color: var(--white);
  padding: 0 var(--pad) calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.menu-open { overflow: hidden; }
.menu__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.menu::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.3) 45%, rgba(10, 10, 10, 0.22) 100%); }
.menu__links, .menu__foot { position: relative; z-index: 1; }
.menu__links { padding-top: 26px; margin-bottom: auto; }
.menu__links a { display: block; padding: 13px 0; }
.menu__name { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 12.5vw, 56px); line-height: 1; letter-spacing: -0.015em; }
.menu__desc { display: block; margin-top: 7px; font-size: 12.5px; color: rgba(255, 255, 255, 0.68); }
.menu__links a[aria-current="page"] .menu__name { color: var(--blue); }
.menu__links svg { display: none; }
.menu__foot { padding-top: 24px; }
.menu__tag { margin-bottom: 14px; font-size: 10px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.72); }
.menu .btn { width: 100%; height: 54px; }

/* ---------------------------------------------------------- filmed for --- */
/* Eight brands, four to a row, on hairlines (JTM_BRANDS). Each logo is a
   one-colour mask; the JS sets --h so every mark carries equal visual weight,
   and --k scales the whole set down on phones. */
.logo {
  flex: none; display: block;
  height: calc(var(--h, 24px) * var(--k, 1)); width: calc(var(--h, 24px) * var(--k, 1) * var(--r, 3));
  max-width: 100%;
  background: #2A2A28;
  -webkit-mask: var(--src) center / contain no-repeat;
          mask: var(--src) center / contain no-repeat;
}
.brands { margin-top: clamp(96px, 11vw, 168px); }
/* A quiet head for the logo wall: one small caps label and one grey line on a hairline, no headline. */
.brands__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px 48px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brands__head .caps { margin: 0; color: var(--ink); }
.brands__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brands__cell { display: flex; align-items: center; justify-content: center; height: clamp(150px, 14.5vw, 208px); padding: 0 20px; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- tiles --- */
/* A tile is the video: poster + muted preview. No overlays, square corners. */
.tile {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 0;
  background: #EDECE8;
  cursor: pointer;
  isolation: isolate;
}
.tile--h { aspect-ratio: 16 / 9; }
.tile--photo { aspect-ratio: var(--a, 1.5); }
/* "+N": the last tile shown stands for the rest of the set (a dim veil and the count; the player walks them all) */
.tile[data-plus]::before { content: attr(data-plus); position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.5); color: var(--white); font-family: var(--sans); font-stretch: 125%; font-weight: 500; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: 0.04em;
  transition: background-color 0.4s var(--ease); }
.tile[data-plus]:hover::before { background: rgba(10, 10, 10, 0.6); }
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.tile video { opacity: 0; }
.tile video.is-playing { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img, .tile:hover video { transform: scale(1.025); }
}
/* under each tile: what it is, and its runtime on the right */
.cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 9px; font-size: 13px; line-height: 1.3; }
.cap__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap__time { flex: none; color: var(--gray-2); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- hero --- */
.hero { padding-top: clamp(36px, 4.8vw, 68px); overflow: hidden; }
.hero__head { text-align: center; }
.hero__title { font-size: clamp(54px, 8.8vw, 150px); }
.hero__sub { margin: clamp(18px, 2.2vw, 30px) auto 0; color: var(--gray); font-size: clamp(16px, 1.3vw, 19px); }
.hero__cta { margin-top: clamp(22px, 2.6vw, 36px); display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
/* The two portfolio buttons: one matched pair, both as wide as the longer label, side by side */
.hero__cta--pair { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; max-width: 100%; margin-inline: auto; gap: 12px; }
.js .hero__head { animation: rise 1.1s var(--ease) both; }

/* Desktop hero film: the montage (JTM_HERO_FILM_WIDE) inside the page margins under the headline, mounted
   like a print: a 1px ink hairline with a narrow white mat between it and the image. Square corners, no fill,
   no shadow, no controls. It loops muted whenever it is on screen; a click opens the listing on screen. */
.mfilm__cap { display: none; }
.mfilm { display: block; position: relative; width: 100%; max-width: var(--max); margin: clamp(36px, 4vw, 56px) auto 0; padding-inline: var(--pad); }
.mfilm__stage { display: block; width: 100%; margin: 0; padding: 10px; border: 1px solid rgba(10, 10, 10, 0.22); background: var(--white); color: var(--ink); cursor: pointer; text-align: left; }
.mfilm__vid { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #151515; }
.js .mfilm { animation: rise 1.2s var(--ease) 0.3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
.mfilm__cap.is-swap { opacity: 0; }
.mfilm__now { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.mfilm__now b { font-weight: 600; color: var(--white); }

/* ---------------------------------------------------- featured projects --- */
/* Three wide moving banners (`banner: 1, 2, 3` in videos.js) inside the page margins, the same width as the hero
   plate: 2.4:1, square corners, the name centred in wide caps (an echo of the logo's lettering), the place in
   italic, a small square View. One flat, light darkening for legibility; nothing else on the picture. */
.featured { padding-top: clamp(72px, 8vw, 120px); }
.featured__head { align-items: center; }
.banners { margin-top: clamp(20px, 2.2vw, 32px); display: grid; gap: clamp(8px, 0.9vw, 12px); }
.banner { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 2.4 / 1; overflow: hidden; background: #1C1C1B; color: var(--white); text-align: center; }
.banner img, .banner video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner video { opacity: 0; transition: opacity 0.9s var(--ease); }
.banner video.is-playing { opacity: 1; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, 0.4); transition: background-color 0.5s var(--ease); }
.banner:hover::after { background: rgba(10, 10, 10, 0.48); }
.banner__text { display: flex; flex-direction: column; align-items: center; padding: 0 6%; }
/* letter-spacing trails the last letter, so the same amount on the left keeps the lines truly centred */
.banner__title { padding-left: 0.06em; font-stretch: 125%; font-weight: 500; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.06; letter-spacing: 0.06em; text-transform: uppercase; text-wrap: balance; max-width: 15em; }
.banner__place { margin-top: clamp(10px, 1.1vw, 16px); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.3; color: var(--white); }
.banner__view { margin-top: clamp(20px, 2.3vw, 32px); display: inline-flex; align-items: center; height: 38px; padding: 0 calc(22px - 0.16em) 0 22px; border: 1px solid rgba(255, 255, 255, 0.9); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.banner:hover .banner__view, .banner:focus-visible .banner__view { background: var(--white); border-color: var(--white); color: var(--ink); }
.banner:focus-visible { outline-offset: 4px; }


/* ------------------------------------------------------------ meet jack --- */
.meet { padding-block: clamp(96px, 12vw, 200px); }
.meet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.meet__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #D6DAE1; }
.meet__photo img { width: 100%; height: 100%; object-fit: cover; }
.meet__text .caps { color: var(--blue-deep); }
.meet__text .display { margin-top: 20px; }
.meet__text .lede { margin-top: 28px; }
.meet__text .link { margin-top: 36px; }
/* Meet Jack closes the homepage: the closing scene's own margin is the gap (no padding stacked on top of it) */
main > .meet:last-child { padding-bottom: 0; }

/* ------------------------------------------------------ closing + footer --- */
/* Closing: a full-width film still with the invitation set over it, then a paper footer. */
.end { margin-top: clamp(96px, 11vw, 168px); }
.end__scene { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--white); }
.end__scene img, .end__scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end__scene video { opacity: 0; transition: opacity 1s var(--ease); }
.end__scene video.is-playing { opacity: 1; }
.end__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.5) 38%, rgba(10,10,10,0.14) 72%, rgba(10,10,10,0.08) 100%); }
.end__scene .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.end__eyebrow { color: rgba(255,255,255,0.72); }
.end__title { margin-top: 18px; font-size: clamp(44px, 6.4vw, 96px); }
.end__title em { font-style: italic; }
.end__lede { margin-top: clamp(16px, 1.8vw, 24px); max-width: 40ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.end__cta .link--light { color: var(--white); }
.end__note { transition: opacity 0.22s var(--ease); }
.end__note.is-swap { opacity: 0; }
.end__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-self: end; }

.end__note { position: absolute; left: var(--pad); top: clamp(20px, 3vw, 36px); z-index: 1; font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.foot { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 28px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.foot__brand .brand__logo { height: 76px; }
.foot__brand p { margin-top: 20px; max-width: 30em; color: var(--gray); font-size: 15px; }
.ledger { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ledger div { display: grid; gap: 10px; align-content: start; font-size: 14px; padding-top: 14px; border-top: 1px solid #DAD8D2; }
.ledger dt { font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-2); }
.ledger dd { margin: 0; display: grid; gap: 4px; }
.ledger a:hover { color: var(--blue-deep); }
.end__base { margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid #DAD8D2; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 12px; color: var(--gray); }
.end__base nav { display: flex; gap: 22px; }
.end__base a:hover { color: var(--ink); }
.end--mini { margin-top: clamp(64px, 8vw, 112px); display: block; height: 0; }

/* ------------------------------------------------------------- lightbox --- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: #0A0A0A; color: var(--white);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  touch-action: none; /* no page panning underneath; lets the seek track take touch drags */
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
/* The film takes the screen: a box the film's shape, as large as the viewport allows, with the
   caption and the controls on the film itself (not stranded at the screen edges). */
.lb__frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 88px; }
.lb__box { position: relative; width: max-content; max-width: 100%; transform: scale(0.97); transition: transform 0.5s var(--ease); }
.lb.is-open .lb__box { transform: none; }
.lb__stage video { display: block; background: #000; border-radius: 2px; }
.lb__box--h video { width: min(calc(100vw - 176px), calc((100vh - 112px) * 16 / 9)); height: auto; aspect-ratio: 16 / 9; }
.lb__box--v video { height: min(calc(100vh - 112px), calc((100vw - 176px) * 16 / 9)); width: auto; aspect-ratio: 9 / 16; }
/* photos: the same box, shaped by the photo (--r = width / height); caption on it, no controls bar */
.lb__photo { display: block; width: min(calc(100vw - 176px), calc((100vh - 112px) * var(--r, 1.5))); height: auto; aspect-ratio: var(--r, 1.5);
  object-fit: contain; background: #111; border-radius: 2px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.lb__box--p .lb__bar { display: none; }
/* a film that can't load: the poster stays, one quiet line over it, no controls */
.lb__msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 48px); padding: 12px 18px;
  background: rgba(10, 10, 10, 0.72); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.86); text-align: center; pointer-events: none; }
.lb__box.is-failed .lb__bar { display: none; }
.lb__head { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 24px 48px; pointer-events: none; transition: opacity 0.4s;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); }
.lb__title { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.15; }
.lb__meta { margin-top: 6px; color: rgba(255,255,255,0.7); }
.lb__count { font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); padding-top: 4px; }
.lb__close, .lb__nav, .lb__ctrl {
  display: grid; place-items: center; width: 44px; height: 44px; color: rgba(255,255,255,0.86);
  transition: color 0.2s, opacity 0.4s;
}
.lb__close:hover, .lb__nav:hover, .lb__ctrl:hover { color: var(--white); }
.lb__close { position: absolute; top: 10px; right: 14px; z-index: 2; }
.lb__close svg { width: 20px; height: 20px; }
.lb__nav { position: absolute; top: 50%; margin-top: -22px; z-index: 2; }
.lb__nav svg { width: 22px; height: 12px; }
.lb__nav[data-dir="-1"] { left: 20px; }
.lb__nav[data-dir="-1"] svg { transform: scaleX(-1); }
.lb__nav[data-dir="1"] { right: 20px; }
.lb__bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px; padding: 36px 12px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  transition: opacity 0.4s;
}
.lb__ctrl svg { width: 18px; height: 18px; }
.lb__time { font-variant-numeric: tabular-nums; font-size: 13px; color: rgba(255,255,255,0.8); min-width: 88px; }
.lb__track { flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; }
.lb__rail { position: relative; width: 100%; height: 2px; background: rgba(255,255,255,0.28); }
.lb__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--white); }
.lb.is-idle .lb__bar, .lb.is-idle .lb__nav, .lb.is-idle .lb__head { opacity: 0; }
.lb.is-idle { cursor: none; }
.lb-open { overflow: hidden; }
.lb [hidden] { display: none; }

/* -------------------------------------------------------------- reveal --- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ================================================================ PAGES === */
.page-top { padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); }
/* Page bands: a muted loop behind the page title (work, contact), kin to the closing scene. */
.band { position: relative; min-height: min(56vh, 560px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--white); }
.band img, .band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band video { opacity: 0; transition: opacity 1s var(--ease); }
.band video.is-playing { opacity: 1; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.52) 42%, rgba(10, 10, 10, 0.14) 100%); }
.band__note { position: absolute; left: var(--pad); top: clamp(20px, 3vw, 36px); z-index: 1; font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.band__in { position: relative; z-index: 1; width: 100%; padding-block: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.band .h1 { font-size: clamp(52px, 7.2vw, 110px); }
.band__lede { color: rgba(255, 255, 255, 0.8); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 36ch; }
.band + .page-top { padding-top: clamp(16px, 2vw, 28px); }
.band + .book { padding-top: clamp(32px, 4vw, 56px); }
.band + .book .book__grid { grid-template-columns: 1fr; max-width: 820px; }
.band + .book .book__intro { position: static; }
.band + .book .book__intro:not(:has(a)) { display: none; }

/* work: a quiet index of the homes, then one section per home, each a header over a contact sheet */

.work { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(96px, 12vw, 200px); display: grid; gap: clamp(20px, 2.4vw, 36px); }
/* the card list closes the Real Estate and Commercial pages: the closing scene's own margin is the gap (as after Meet Jack) */
main > .work:last-child { padding-bottom: 0; }

/* Property card (one per home, stacked to scroll through). Details strip on top (title block left,
   client / delivered / Watch right), every video of the home full width below. .pcard--side (one video,
   or only a few reels): media left at --mw, details beside it, centred. Set up in initWork. */
.pcard { background: var(--paper); border-radius: 6px; padding: clamp(16px, 1.8vw, 28px); display: grid; align-items: end;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head info" "media media";
  column-gap: clamp(28px, 3.4vw, 56px); row-gap: clamp(18px, 1.8vw, 26px); scroll-margin-top: calc(var(--hdr) + 16px); }
.pcard__head { grid-area: head; min-width: 0; padding: 4px clamp(2px, 0.4vw, 6px) 0; }
.pcard__info { grid-area: info; min-width: 0; display: flex; align-items: flex-end; gap: clamp(20px, 2.2vw, 32px); padding-right: clamp(2px, 0.4vw, 6px); }
.pcard__media { grid-area: media; min-width: 0; }
.pcard__kick { display: flex; align-items: baseline; gap: 14px; }
.pcard__n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px; color: var(--blue); }
.pcard__loc { font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(10, 10, 10, 0.55); }
.pcard__title { margin-top: 10px; font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.02em; }
.pcard__note { margin-top: 10px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; color: rgba(10, 10, 10, 0.78); max-width: 46ch; }
.pfacts { margin: 0; width: clamp(300px, 28vw, 440px); }
.pfacts div { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(10, 10, 10, 0.12); }
.pfacts div:first-child { border-top: 1px solid rgba(10, 10, 10, 0.12); }
.pfacts dt { font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(10, 10, 10, 0.55); }
.pfacts dd { margin: 0; font-size: 15px; line-height: 1.45; }
.pcard__cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 24px;
  background: var(--ink); color: var(--white); border-radius: 2px;
  font-stretch: 125%; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.3s;
}
.pcard__cta:hover { background: var(--blue); }
.pcard__cta svg { width: 18px; height: 10px; }
/* media left, details beside it, the details centred as one group */
.pcard--side { align-items: start; grid-template-columns: var(--mw, minmax(0, 7fr)) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: "media ." "media head" "media info" "media ."; row-gap: 0; }
.pcard--side .pcard__head { padding-top: 0; }
.pcard--side .pcard__info { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 26px; }
.pcard--side .pfacts { width: 100%; max-width: 520px; }
/* a single reel leaves a wide column: its details sit centred in it as one block */
.pcard--solo .pcard__head, .pcard--solo .pcard__info { justify-self: center; width: min(100%, 520px); }
.pcard__client, .pcard__more-btn, .pcard__more { display: none; } /* phone-only parts */
/* narrower desktops: the details strip stacks above the videos */
@media (max-width: 1180px) and (min-width: 861px) {
  .pcard:not(.pcard--side) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "info" "media"; }
  .pcard:not(.pcard--side) .pcard__info { justify-content: space-between; }
  .pcard:not(.pcard--side) .pfacts { width: auto; flex: 1; max-width: 560px; }
}
.pcard .tile { box-shadow: 0 1px 0 rgba(10, 10, 10, 0.06); }
/* the contact sheet: rows built by initWork(). Each item grows by its aspect ratio (--a) from zero, so every
   tile in a row ends up the same height and the row fills the width exactly. A short final row (--part) keeps
   its target height (--f = height / width) and sits left; a lone reel on a phone (--half) takes half the width. */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(14px, 1.4vw, 20px); } /* minmax(0): captions must not widen a row */
.sheet__row { display: flex; align-items: flex-start; gap: var(--g, 12px); }
.sheet__row .item { flex: calc(var(--a) * 1000) 1 0; min-width: 0; } /* ×1000: a lone item with a grow below 1 would only take that fraction of the row */
.sheet__row--part .item { flex: none; width: calc(var(--f) * var(--a) * 100%); }
.sheet__row--half .item { flex: none; width: calc((100% - var(--g, 8px)) / 2); }

/* about */
.about { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); }
main.about { padding-bottom: 0; } /* the closing scene's own margin is the gap, as on the other pages */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.about__photo { position: sticky; top: calc(var(--hdr) + 24px); }
.about__photo figure { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #D6DAE1; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__cap { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gray); }
.about__intro .caps { color: var(--blue-deep); }
.about__intro .display { margin-top: 18px; }
.about__intro .h1 { font-size: clamp(40px, 4.8vw, 68px); }
.about__story { margin-top: 28px; max-width: 36em; }
.about__story p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--ink); }
.about__story p + p { margin-top: 18px; }
.about__sub { margin-top: clamp(40px, 4.5vw, 64px); font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.about__sub + .about__story { margin-top: 18px; }

/* inquire */
.book { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(96px, 12vw, 200px); }
.book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.book__intro { position: sticky; top: calc(var(--hdr) + 40px); }
.book__intro .lede { margin-top: 28px; }
.about__cta { margin-top: clamp(36px, 4vw, 56px); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.q + .q { margin-top: 40px; }
.q__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.q__label span:last-child { font-size: 13px; color: var(--gray-2); }
.q__label span:last-child:empty::before { content: "\200b"; } /* keeps labels without a note on the same baseline as their neighbours */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 2px;
  background: var(--paper); font-size: 15px; cursor: pointer; user-select: none;
  transition: background-color 0.2s, color 0.2s;
}
.chip span:hover { background: #ECEBE7; }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field { display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 0; border-bottom: 1px solid #CFCDC7; border-radius: 0;
  padding: 10px 0 12px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #A9A8A3; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.seg { display: inline-flex; background: var(--paper); border-radius: 2px; padding: 3px; margin-bottom: 10px; }
.seg button { height: 38px; padding: 0 16px; border-radius: 2px; font-size: 14px; color: var(--gray); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.addnote { font-size: 15px; color: var(--blue-deep); border-bottom: 1px solid currentColor; }
.err { display: none; margin-top: 8px; font-size: 13px; color: #C2410C; }
.is-invalid .err { display: block; }
.is-invalid input { border-bottom-color: #C2410C; }
.submit { margin-top: 48px; }
.submit .btn { width: 100%; height: 58px; font-size: 14px; }
.submit p { margin-top: 14px; font-size: 14px; color: var(--gray); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: none; scroll-margin-top: calc(var(--hdr) + 24px); } /* keeps "Got it" clear of the sticky header after submit */
.is-sent form { display: none; }
.is-sent .done { display: block; }
.done .display { font-size: clamp(44px, 5vw, 80px); }
.done p { margin-top: 20px; }
.recap { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.recap span { background: var(--tint); color: var(--blue-deep); padding: 8px 12px; border-radius: 2px; font-size: 14px; }

/* =========================================================== responsive === */
/* The header tag needs ~1260px beside the four nav items; narrower desktops drop it so nothing wraps or touches. */
@media (max-width: 1259px) {
  .hdr__tag { display: none; }
}


@media (max-width: 860px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .brand__logo { height: 42px; }
  .hdr__in { gap: 12px; }
  .menu-btn { margin-left: auto; padding: 0 0 0 16px; min-width: 56px; text-align: right; }

  .hdr__tag { display: none; }

  /* Filmed for: two logos to a row on phones, the set scaled down together */
  .brands { margin-top: 64px; --k: 0.62; }
  .brands__head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 14px; }
  .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__cell { height: 118px; padding: 0 14px; }

  /* Phone hero: the montage film fills the screen below the header and the headline sits on a
     scrim at its foot, like the closing scene. Nothing to tap through; the whole film opens the
     reel on screen. The small line above the title names that listing and follows the cuts. */
  .mfilm { max-width: none; margin: 0; padding: 0; animation: none; }
  .mfilm__stage { padding: 0; border: 0; }
  .mfilm__vid { aspect-ratio: auto; height: 100%; }
  .hero { padding-top: 0; display: grid; background: var(--ink); color: var(--white); }
  .hero > * { grid-area: 1 / 1; }
  .mfilm { display: block; position: relative; height: calc(100svh - var(--hdr)); min-height: 500px; max-height: 900px; }
  .mfilm__stage { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: var(--ink); cursor: pointer; }
  .mfilm__vid { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
  .mfilm__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 36%, rgba(10, 10, 10, 0.4) 62%, rgba(10, 10, 10, 0.1) 100%); }
  .hero__head { position: relative; z-index: 1; align-self: end; text-align: left; padding-bottom: 30px; pointer-events: none; }
  .hero__head a, .hero__head button { pointer-events: auto; }
  .hero__title { font-size: clamp(46px, 13.4vw, 58px); color: var(--white); }
  .hero__sub { margin: 12px 0 0; max-width: 30ch; font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }
  .hero__cta { margin-top: 22px; justify-content: flex-start; gap: 22px; }
  .hero__cta--pair { grid-auto-flow: row; width: 100%; max-width: 420px; margin-inline: 0; gap: 10px; }
  .hero__cta--pair .btn { height: 50px; padding: 0 18px; justify-content: space-between; border-color: rgba(255, 255, 255, 0.9); color: var(--white); }
  .hero__cta--pair .btn:hover { background: var(--white); color: var(--ink); }
  .mfilm__cap { display: block; margin-bottom: 14px; min-height: 16px; transition: opacity 0.18s var(--ease); }
  .mfilm__cap.is-swap { opacity: 0; }
  .mfilm__now { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
  .mfilm__now b { font-weight: 600; color: var(--white); }

  /* featured banners: 4:5 on phones (the -m loops), the head stays one line */
  .featured { padding-top: 56px; }
  .featured__head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .banners { margin-top: 16px; gap: 8px; }
  .banner { aspect-ratio: 4 / 5; }
  .banner__title { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: 0.05em; padding-left: 0.05em; max-width: none; }
  .banner__place { font-size: 16px; }
  .banner__view { height: 36px; }
  .meet__grid, .about__grid, .book__grid { grid-template-columns: 1fr; }
  .about__photo, .book__intro { position: static; }
  .meet { padding-block: 56px 0; }
  .meet__grid { gap: 24px; }
  .meet__photo { aspect-ratio: 1 / 1; }
  .meet__photo img { object-position: 50% 20%; }
  .meet__text .display { margin-top: 14px; }
  .meet__text .lede { margin-top: 16px; }
  .meet__text .link { margin-top: 22px; }
  .end { margin-top: 64px; }
  .end__scene { min-height: min(72vh, 560px); }
  .end__scene .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
  .end__title { margin-top: 14px; font-size: clamp(38px, 11vw, 46px); }
  .end__cta { justify-self: stretch; }
  .end__cta .btn { width: 100%; }
  .end__cta { justify-content: center; row-gap: 20px; }
  .end__lede { font-size: 16px; }
  /* footer: label | value ledger rows, counties as label | comma run, tighter rhythm */
  .foot { padding: 48px 0 calc(20px + env(safe-area-inset-bottom)); }
  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
  .foot__brand .brand img { height: 32px; }
  .foot__brand p { margin-top: 14px; font-size: 14px; }
  .ledger { grid-template-columns: 1fr; gap: 0; border-top: 1px solid #DAD8D2; }
  .ledger div { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-top: 0; border-bottom: 1px solid #DAD8D2; }
  .ledger dd { gap: 3px; }
  /* lists don't close with a rule; the next section opens with one */
  .ledger div:last-child { border-bottom: 0; }
  .end__base { flex-direction: column; margin-top: 32px; padding-top: 16px; gap: 10px; }
  .end__base nav { gap: 18px; }
  .end--mini { margin-top: 0; }

  /* inner-page heads */
  .page-top { padding-top: 36px; padding-bottom: 20px; }
  .band { min-height: 320px; }
  .band__in { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .band + .page-top { padding-top: 12px; }
  .band + .book { padding-top: 28px; }

  /* /work: the index in two columns, then one column of homes; header stacks, captions shrink */
  .work { padding-top: 24px; padding-bottom: 48px; gap: 16px; }
  /* Phone card: the lead video edge to edge, then the place, address and client, Watch and a quiet
     "N more videos" that unfolds the rest as square thumbnails. One video per home on screen at rest. */
  .work { gap: 20px; }
  .pcard, .pcard--side { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "media" "head" "info" "more";
    align-items: stretch; padding: 0; row-gap: 0; overflow: hidden; border-radius: 4px; }
  .pcard__media .sheet { row-gap: 0; }
  .pcard__media .cap { display: none; }
  .pcard__media .tile:not(.tile--h):not(.tile--photo) { aspect-ratio: 1 / 1; } /* a reel-only home leads with its reel, cropped square so the card stays close to the others */
  .pcard__head, .pcard--side .pcard__head { padding: 16px 16px 0; }
  .pcard--solo .pcard__head, .pcard--solo .pcard__info { justify-self: stretch; width: auto; }
  .pcard__title { margin-top: 6px; font-size: clamp(25px, 7vw, 30px); }
  .pcard__note, .pfacts { display: none; }
  .pcard__client { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--gray); }
  .pcard__info, .pcard--side .pcard__info { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 0; padding: 16px; }
  .pcard__cta { width: auto; height: 44px; padding: 0 18px; gap: 10px; }
  .pcard__more-btn { display: inline-flex; white-space: nowrap; padding: 10px 0; font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
    background: linear-gradient(currentColor, currentColor) left calc(100% - 8px) / 100% 1px no-repeat; }
  /* the fold-out: one even row (up to three); a fourth and beyond wait behind "+N" on the third, and the
     player steps through all of them. Each thumbnail is marked as a video: a small play mark and its length. */
  .pcard__more { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px; padding: 0 16px 16px; }
  .pcard__more .item { position: relative; }
  .pcard__more .item:nth-child(n + 4) { display: none; }
  .pcard__more .tile { aspect-ratio: 1 / 1; }
  .pcard__more--one .tile { aspect-ratio: 16 / 9; }
  .pcard__more .tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0)); }
  .pcard__more .cap { position: absolute; left: 8px; bottom: 7px; z-index: 2; padding: 0; pointer-events: none; color: var(--white); }
  .pcard__more .cap__name { display: none; }
  .pcard__more .cap__time { display: inline-flex; align-items: center; gap: 5px; color: var(--white); font-size: 11.5px; font-weight: 500; }
  .pcard__more .cap__time::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent currentColor; }
  .pcard__more .tile[data-plus]::before { background: rgba(10, 10, 10, 0.58); font-weight: 600; font-size: 22px; letter-spacing: 0.02em; }
  .pcard__more .item:has(.tile[data-plus]) .cap { display: none; }
  .sheet { row-gap: 16px; }
  .cap { gap: 6px; padding-top: 7px; font-size: 11.5px; }

  /* /about */
  .about { padding-top: 24px; padding-bottom: 48px; }
  .about__grid { gap: 24px; }
  .about__cap { margin-top: 10px; font-size: 15px; }
  .about__intro .display { margin-top: 12px; }
  .about__intro .lede { margin-top: 18px; font-size: 18px; }
  .about__cta { margin-top: 40px; flex-direction: column; align-items: stretch; gap: 14px; }
  .about__cta .btn { width: 100%; }
  .about__cta .link { align-self: center; }

  /* /contact */
  .book { padding-top: 28px; padding-bottom: 56px; }
  .book__grid { gap: 32px; }
  .book__intro .lede { margin-top: 16px; }
  .q + .q { margin-top: 30px; }
  .q__label { margin-bottom: 10px; }
  .chip span { height: 44px; padding: 0 15px; }
  .seg button { height: 40px; }
  .submit { margin-top: 36px; }
  .submit .btn { height: 56px; }
  .done .display { font-size: clamp(40px, 11vw, 48px); }

  .lb__frame { padding: calc(56px + env(safe-area-inset-top)) 0 calc(24px + env(safe-area-inset-bottom)); }
  .lb__box--h video { width: 100vw; height: auto; }
  .lb__box--v video { height: calc(100svh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); width: auto; max-width: 100vw; }
  .lb__photo { width: min(100vw, calc((100svh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * var(--r, 1.5))); border-radius: 0; }
  .lb__nav { display: none; }
  .lb__close { top: calc(8px + env(safe-area-inset-top)); right: 8px; }
  .lb__head { padding: 14px 16px 40px; }
  .lb__title { font-size: 18px; }
  .lb__bar { gap: 4px; padding: 30px 6px 2px; }
  .lb__track { height: 44px; }
  .lb__time { min-width: 0; font-size: 12px; }
}

@media (max-width: 520px) {
  .two { grid-template-columns: 1fr; gap: 30px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
