/* Creator page: my own channels. Warm paper, big rounded film tiles, numbers set light.
   Tokens come from site.css: tile radius (--tile-r, phone --tile-r-sm) and the one-layer --tile-shadow.
   The play/pause chip matches the home film chip: a 44px clear target with a 30px round ink chip, bottom right.
   Motion follows motion.css: one ease, transform and opacity only. */
.creator-page { --cr-gap: 24px; --cr-lead-w: clamp(300px, 30vw, 440px); --cr-col-gap: 48px; }
.creator-page a { text-decoration: none; }
/* Low-specificity reset, so each block's own margin below wins. */
:where(.creator-page) :where(h1, h2, h3, p) { margin-top: 0; }
.creator-page img, .creator-page video { display: block; }
.creator-page figure { margin: 0; }

/* Shared type. */
.cr-h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 0; text-wrap: balance; }
.cr-dek { max-width: 620px; color: var(--ink-soft); margin: 0; }
.cr-dek + .cr-dek { margin-top: 12px; }
.creator-page .cr-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cr-link > span[aria-hidden='true'] { display: inline-block; margin-left: .25em; transition: transform var(--m-d1) var(--m-ease); }

/* Hero: the same frame as the Jian Cha case study. Text on the left, the biggest video on the right at the lead width. */
.cr-hero { padding-top: 118px; padding-bottom: clamp(56px, 6vw, 88px); }
.cr-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--cr-lead-w); grid-template-rows: auto 1fr; grid-template-areas: 'head film' 'body film'; column-gap: var(--cr-col-gap); align-items: start; }
.cr-hero-head { grid-area: head; }
.cr-hero-body { grid-area: body; }
.cr-hero-film { grid-area: film; min-width: 0; }
.cr-hero h1 { margin: 16px 0 24px; max-width: 11em; font-size: clamp(42px, 5.6vw, 80px); font-weight: 300; line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.cr-intro { max-width: 620px; margin: 0; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--ink); }
.cr-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: clamp(36px, 4vw, 56px) 0 0; }
.cr-total strong { font-size: clamp(56px, 6vw, 88px); font-weight: 300; line-height: .95; letter-spacing: -.055em; font-variant-numeric: lining-nums; }
.cr-total span { max-width: 15em; font-size: 18px; line-height: 1.4; }
.cr-total-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.cr-accounts { margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 2px; }
.cr-accounts div { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.cr-accounts dt { min-width: 7.6em; font-size: 15px; font-weight: 500; }
.cr-accounts dd { margin: 0; display: flex; flex-wrap: wrap; column-gap: 18px; }
.cr-hero-cap { padding: 20px 4px 0; }
.cr-hero-name { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.cr-hero-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 14px 0 0; }
.cr-hero-num strong { font-size: clamp(36px, 3vw, 44px); font-weight: 300; line-height: 1; letter-spacing: -.05em; font-variant-numeric: lining-nums; }
.cr-hero-num span { font-size: 15px; line-height: 1.4; }
.cr-hero-cap .cr-also { margin-top: 8px; }
.cr-hero-cap .cr-links { margin-top: 2px; }

/* Lanes: runs of work, each with its own head, film tiles and a list of more. */
.cr-lane { padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--ink-hairline); }
.cr-lane-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 112px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.cr-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--cr-gap); align-items: start; }
.cr-strip { display: contents; }

/* Feature lane (Korean food): one film at the lead width on the left, mirroring the hero,
   with the lane head, the clip's numbers and the list of more stacked beside it. */
.cr-feature { display: grid; grid-template-columns: var(--cr-lead-w) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: 'film head' 'film card' 'film panel'; column-gap: clamp(48px, 6vw, 112px); align-items: start; }
.cr-feature-head { grid-area: head; padding-top: 8px; }
.cr-feature-head .cr-dek { margin-top: 20px; }
.cr-feature-film { grid-area: film; min-width: 0; }
.cr-feature-card { grid-area: card; margin-top: clamp(28px, 3vw, 40px); }
.cr-feature-card .cr-info { padding: 0; }
.cr-feature .cr-feature-panel { grid-area: panel; align-self: end; margin-top: 36px; }
.cr-feature-panel .cr-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.cr-feature-panel .cr-row:nth-child(2) { border-top: 0; }

/* Film tile: the poster is the finished frame. The clip plays only while the tile is in view. */
.cr-card { min-width: 0; display: flex; flex-direction: column; }
.cr-film { position: relative; aspect-ratio: 9 / 16; border-radius: var(--tile-r); overflow: hidden; overflow: clip; background: var(--bg-cream-alt); box-shadow: var(--tile-shadow); isolation: isolate; }
.cr-film > img, .cr-film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cr-film > img { z-index: 0; }
.cr-film > video { z-index: 1; opacity: 0; transition: opacity var(--m-d2) var(--m-ease); }
.cr-film.is-live > video { opacity: 1; }
/* The chip itself is the shared one in site.css (.play-chip, .play-chip-dot): a 44px clear target holding a 30px
   round ink chip, 10px in from the bottom right. Only the press motion and the no-JS hiding live here. */
.cr-toggle[hidden] { display: none; }
.cr-chip { transition: transform var(--m-d1) var(--m-ease); }
.cr-toggle:active .cr-chip { transition-duration: 0s; }

.cr-info { padding: 22px 4px 0; }
.cr-meta { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }
.cr-card h3 { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.cr-quote { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.cr-num { margin: 20px 0 0; }
.cr-num strong { display: block; font-size: clamp(44px, 4vw, 58px); font-weight: 300; line-height: 1; letter-spacing: -.05em; font-variant-numeric: lining-nums; }
.cr-num span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; }
.cr-also { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.cr-also b { font-weight: 500; color: var(--ink); }
.cr-note { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.cr-links { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 6px; margin-bottom: 0; }
.cr-links-next { margin-top: 0; }

/* More from the lane: a quiet panel set apart by tone, not by lines around it. */
.cr-panel { grid-column: span 2; min-width: 0; padding: 28px 32px 20px; border-radius: var(--tile-r); background: var(--bg-cream-alt); }
.cr-panel-narrow { grid-column: span 1; padding: 26px 24px 18px; }
.cr-panel-title { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.cr-rows { list-style: none; margin: 0; padding: 0; }
.cr-row { padding: 18px 0 8px; border-top: 1px solid #ddd5c8; }
.cr-row:first-child { border-top: 0; }
.cr-row h4 { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.25; letter-spacing: -.015em; }
.cr-row .cr-meta { margin: 4px 0 10px; }
.cr-row-nums { margin: 0; font-size: 15px; line-height: 1.5; }
.cr-row-nums strong { font-weight: 400; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.cr-row .cr-note { margin-top: 6px; }
.cr-row .cr-links { margin-top: 2px; }

/* Brands that co-posted: names only, set like a credit line. */
.cr-brands { padding-block: clamp(56px, 7vw, 96px); background: var(--bg-cream-alt); }
.cr-brand-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px clamp(20px, 3vw, 40px); }
.cr-brand-list a { display: inline-flex; align-items: center; min-height: 48px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; letter-spacing: -.025em; }

/* Notes: how I pick what to film, in my words. */
.cr-notes { padding-block: clamp(56px, 7vw, 104px); }
.cr-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); margin-top: 36px; }
.cr-rules article { border-top: 1px solid var(--ink-hairline); padding-top: 24px; }
.cr-rules h3 { margin: 0 0 12px; font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.cr-rules p { margin: 0; color: var(--ink-soft); }

/* My own media: a small block, kept apart from client work. */
.cr-own { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--ink-hairline); }
.cr-own-grid { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 620px); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.cr-own figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.cr-own .cr-dek { margin-top: 18px; }
.cr-own .cr-links { margin-top: 14px; }

/* The end panel keeps the site CTA as it is on every other page. */
.cr-end .end-sub { max-width: 640px; }
.cr-end .end-sub + .end-sub { margin-top: -10px; }
.cr-end .end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.cr-end .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 1100px) {
  .cr-body .cr-quote { min-height: 3em; }
}
/* Wide screens: the clip's label moves beside the film, level with its bottom edge, like a gallery label.
   Title, label and film then read as one row, and the space under the account links closes up. */
@media (min-width: 1360px) {
  .cr-hero-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .cr-hero-film { display: grid; grid-template-columns: 200px var(--cr-lead-w); column-gap: 32px; align-items: end; }
  .cr-hero-film .cr-film { grid-column: 2; grid-row: 1; }
  .cr-hero-cap { grid-column: 1; grid-row: 1; padding: 0 0 2px; }
  .cr-hero-num { display: block; }
  .cr-hero-num span { display: block; margin-top: 6px; }
}
@media (hover: hover) and (pointer: fine) {
  .cr-link:hover, .cr-brand-list a:hover, .cr-end .text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
  .cr-brand-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  a.cr-link[target='_blank']:hover > span[aria-hidden='true'] { transform: translate(2px, -2px); }
  a.cr-link:not([target='_blank']):hover > span[aria-hidden='true'] { transform: translateX(3px); }
}
a.cr-link[target='_blank']:focus-visible > span[aria-hidden='true'] { transform: translate(2px, -2px); }

/* Tablet: the hero and the feature keep two columns; the Brisbane lane runs three tiles with its list underneath,
   and so does the feature lane. */
@media (max-width: 1099px) {
  .cr-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cr-panel-narrow { grid-column: 1 / -1; padding: 26px 28px 18px; }
  .cr-panel-narrow .cr-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .cr-panel-narrow .cr-row:nth-child(2) { border-top: 0; }
  .cr-card h3 { font-size: 22px; }
  /* The film sets the height of its row; the list of more runs the full width underneath, so no gap opens under the film. */
  .cr-feature { grid-template-rows: auto 1fr auto; grid-template-areas: 'film head' 'film card' 'panel panel'; }
  .cr-feature .cr-feature-panel { align-self: start; margin-top: 40px; }
  .cr-rules { grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 28px; }
}

/* Narrow tablet: each account name sits over its links, so the two rows line up. */
@media (max-width: 899px) {
  .cr-accounts dt { min-width: 0; width: 100%; margin-top: 8px; }
}

/* Phone: one column. Single films run the full column width, like the Jian Cha lead.
   The Brisbane tiles become a sideways strip with the next tile peeking in; the list follows below. */
@media (max-width: 699px) {
  .cr-hero { padding-top: 104px; }
  .cr-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'head' 'film' 'body'; }
  .cr-hero h1 { margin-bottom: 20px; font-size: 44px; }
  .cr-hero .cr-hero-film { margin-top: 36px; }
  .cr-film, .cr-panel, .cr-panel-narrow { border-radius: var(--tile-r-sm); }
  .cr-accounts { margin-top: 28px; }
  .cr-total { margin-top: 28px; }
  .cr-total strong { font-size: 56px; }
  .cr-total span { font-size: 16px; }
  .cr-feature { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'head' 'film' 'card' 'panel'; }
  .cr-feature-head { padding-top: 0; }
  .cr-feature-film { margin-top: 32px; }
  .cr-feature-card { margin-top: 0; }
  .cr-feature-card .cr-info { padding: 18px 4px 0; }
  .cr-lane-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cr-body { display: block; }
  .cr-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--site-gutter); margin-inline: calc(var(--site-gutter) * -1); padding: 4px var(--site-gutter) 8px; scrollbar-width: none; }
  .cr-strip::-webkit-scrollbar { display: none; }
  .cr-strip:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .cr-card { scroll-snap-align: start; }
  .cr-info { padding-top: 18px; }
  .cr-num strong { font-size: 46px; }
  .cr-panel, .cr-panel-narrow { margin-top: 36px; padding: 22px 20px 12px; }
  .cr-panel-narrow .cr-rows { display: block; }
  .cr-feature-panel .cr-rows { grid-template-columns: minmax(0, 1fr); }
  .cr-feature-panel .cr-row:nth-child(2) { border-top: 1px solid #ddd5c8; }
  .cr-row { padding: 14px 0 4px; }
  .cr-panel-narrow .cr-row:nth-child(2) { border-top: 1px solid #ddd5c8; }
  .cr-rules { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cr-own-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .cr-total strong { font-size: 50px; }
  .cr-strip { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-film > video, .cr-chip, .cr-link > span[aria-hidden='true'] { transition: none; }
}
html.motion-paused .cr-film > video { transition: none; }
