/* The Video Effect -- site styles. Tokens and components follow
   design/The Video Effect - Design Plan and Build Instructions.html (sections 3 and 4). */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); 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: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); 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; }

:root {
  --ink: #0d0d0f;
  --ink-2: #17171b;
  --line-dark: #2a2a30;
  --input-line: #4a4a50;
  --paper: #f2eee5;
  --paper-2: #e8e2d4;
  --card: #fbf9f4;
  --line-light: #d9d3c6;
  --line-strong: #c9c2b3;
  --text: #141416;
  --text-2: #3a3732;
  --muted: #5a564e;
  --text-on-dark: #cfcbc2;
  --label-on-dark: #a8a49b;
  --accent: #f2c21b;
  --link-hover: #c23592;
  --rec: #d9372b;
  --bar-1: #e9e4d8; --bar-2: #f2c21b; --bar-3: #1fb5c4; --bar-4: #3aae4b; --bar-5: #c23592; --bar-6: #d9372b; --bar-7: #2b3db8;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.55 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 2px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.paper-2 { background: var(--paper-2); }
.rule-bottom { border-bottom: 1px solid var(--line-light); }

/* Type */
.h1, .h2, .h3, .h-step { font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
.h1 { font-size: clamp(52px, 7.6vw, 120px); line-height: .88; font-stretch: 70%; }
.h1--page { font-size: clamp(44px, 6.4vw, 96px); line-height: .9; font-stretch: 70%; }
.h2 { font-size: clamp(44px, 6vw, 88px); line-height: .9; font-stretch: 72%; }
.h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1; font-stretch: 78%; }
.h-step { font-size: 24px; line-height: 1.05; font-stretch: 80%; }
.accent-word { color: var(--accent); }
.kicker { font: 500 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 18px; }
.dark .kicker { color: var(--label-on-dark); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 62ch; margin: 0; }
.dark .lead { color: var(--text-on-dark); }
.mono-label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dark .mono-label { color: var(--label-on-dark); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 2px; font: 700 15.5px/1.1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #fff; }
.btn--secondary { border-color: var(--input-line); color: var(--paper); background: transparent; }
.btn--secondary:hover { border-color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: color .15s, border-color .15s; }
.text-link:hover { color: var(--link-hover); }
.dark .text-link:hover { color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 15, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #222226; color: var(--paper); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); flex-shrink: 0; }
.logo__bars { display: grid; grid-template-columns: repeat(7, 5px); height: 20px; }
.logo__bars i:nth-child(1) { background: var(--bar-1); } .logo__bars i:nth-child(2) { background: var(--bar-2); } .logo__bars i:nth-child(3) { background: var(--bar-3); } .logo__bars i:nth-child(4) { background: var(--bar-4); } .logo__bars i:nth-child(5) { background: var(--bar-5); } .logo__bars i:nth-child(6) { background: var(--bar-6); } .logo__bars i:nth-child(7) { background: var(--bar-7); }
.logo__word { font: 800 19px/1 var(--display); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--text-on-dark); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: 11px 18px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--input-line); color: var(--paper); border-radius: 2px; padding: 9px 12px; font: 600 14px/1 var(--body); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #222226; padding: 8px var(--gutter) 22px; flex-direction: column; align-items: stretch; gap: 14px; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px !important; }
  .no-js .nav { display: flex; position: static; padding: 0 0 16px; }
}
.no-js .site-header .container { flex-wrap: wrap; }

/* Colour bars */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); height: 14px; }
.bars--thin { height: 8px; }
.bars i:nth-child(1) { background: var(--bar-1); } .bars i:nth-child(2) { background: var(--bar-2); } .bars i:nth-child(3) { background: var(--bar-3); } .bars i:nth-child(4) { background: var(--bar-4); } .bars i:nth-child(5) { background: var(--bar-5); } .bars i:nth-child(6) { background: var(--bar-6); } .bars i:nth-child(7) { background: var(--bar-7); }

/* Hero */
.hero__media { position: relative; width: 100%; aspect-ratio: 2826 / 1012; min-height: 320px; max-height: 78vh; overflow: hidden; background: #b77cc9; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, rgba(13,13,15,0), var(--ink)); pointer-events: none; }
.hero__media--still img { animation: slow-zoom 30s ease-in-out infinite alternate; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.rec { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 2px; background: rgba(13,13,15,.55); color: var(--paper); font: 500 12.5px/1 var(--mono); letter-spacing: .08em; }
.rec__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: rec-blink 1.4s steps(1, end) infinite; }
@keyframes rec-blink { 0%, 55% { opacity: 1; } 55.01%, 100% { opacity: .15; } }
.hero__body { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); align-items: end; }
.hero__grid .h1 { grid-column: 1 / -1; }
.hero__grid .btn-row { justify-content: flex-start; }
@media (min-width: 980px) { .hero__grid .btn-row { justify-content: flex-end; } }

/* Page head (inner pages) */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.page-head .lead { margin-top: 24px; }
/* A small portrait beside the lead (About): about 160px on desktop, 120px on phones */
.lead-row { display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start; margin-top: 24px; }
.lead-row .lead { margin-top: 0; }
.lead-row__img { flex: 0 0 auto; width: clamp(120px, 14vw, 160px); aspect-ratio: 4 / 5; object-fit: cover; }
.page-head--dark { background: var(--ink); color: var(--paper); }
.breadcrumbs { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 22px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--link-hover); }
.page-head--dark .breadcrumbs { color: var(--label-on-dark); }
.page-head--dark .breadcrumbs a:hover { color: var(--accent); }

/* Split layout */
.split { display: grid; gap: 32px clamp(32px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: start; }

/* Credentials strip */
.creds { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); padding-block: clamp(32px, 4vw, 48px); }
.creds p { margin: 6px 0 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.creds a { font-size: 14px; font-weight: 600; display: inline-block; margin-top: 2px; padding-block: 6px; }
.creds a:hover { color: var(--link-hover); }
.clients { display: flex; flex-wrap: wrap; gap: 12px 48px; padding-block: 20px; }
.clients p { margin: 6px 0 0; font-weight: 600; line-height: 1.5; }
.topic-links { margin-top: clamp(28px, 4vw, 44px); color: var(--muted); font-size: 15px; }
.topic-links a { color: var(--text); }

/* Format row */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-light); margin: clamp(32px, 4vw, 56px) 0; }
.formats li { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; font-size: 16px; list-style: none; }
.formats ul { display: contents; }
.sq { width: 12px; height: 12px; flex-shrink: 0; }
.sq--yellow { background: var(--bar-2); } .sq--cyan { background: var(--bar-3); } .sq--magenta { background: var(--bar-5); } .sq--blue { background: var(--bar-7); } .sq--green { background: var(--bar-4); } .sq--white { background: var(--bar-1); }

/* Workshop card */
.workshops { display: grid; gap: clamp(24px, 3vw, 40px); }
.workshop { background: var(--card); border: 1px solid var(--line-light); display: flex; flex-direction: column; }
.workshop__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 18px; left: 18px; background: var(--ink); color: var(--accent); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border-radius: 2px; }
.tag--cyan { color: var(--bar-3); }
.workshop__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.workshop__body > p { margin: 0; color: var(--text-2); font-size: 17px; max-width: 70ch; }
.workshop__cols { display: grid; gap: 24px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.workshop__cols ul { list-style: none; margin: 10px 0 0; padding: 0; }
.workshop__cols li { padding: 4px 0; font-size: 15.5px; }
.workshop__cta { margin-top: auto; padding-top: 8px; }

/* Bespoke band */
.band { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.band p { margin: 6px 0 0; color: var(--text-on-dark); }

/* Timeline */
.timeline { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; padding: 18px 20px 22px; overflow-x: auto; margin: clamp(32px, 4vw, 56px) 0; }
.timeline__inner { min-width: 720px; position: relative; }
.timeline__ruler { display: flex; justify-content: space-between; font: 500 12.5px/1 var(--mono); color: var(--label-on-dark); margin: 0 0 12px 44px; }
.track { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 0; margin-top: 8px; }
.track__label { font: 500 12px/1 var(--mono); color: var(--label-on-dark); }
.track__clips { display: grid; grid-template-columns: 2fr 3fr 3fr 2fr; gap: 4px; }
.clip { height: 48px; border-radius: 2px; padding: 8px 10px; font: 500 12px/1.2 var(--mono); color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.clip--1 { background: var(--bar-2); } .clip--2 { background: var(--bar-3); } .clip--3 { background: var(--bar-5); color: #fff; } .clip--4 { background: var(--bar-1); }
.wave { height: 28px; border-radius: 2px; background: repeating-linear-gradient(90deg, #3aae4b 0 2px, transparent 2px 4px), #18301d; -webkit-mask: linear-gradient(#000, #000); }
.playhead { position: absolute; top: 18px; bottom: -6px; left: calc(44px + (100% - 44px) * .62); width: 2px; background: var(--rec); }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: var(--rec); }
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; margin: 0; padding: 0; }
.steps p { margin: 10px 0 0; color: var(--text-on-dark); }
.step-num { font: 500 13px/1 var(--mono); margin-bottom: 14px; display: block; }
.c-yellow { color: var(--bar-2); } .c-cyan { color: var(--bar-3); } .c-magenta { color: #e05cb5; } .c-white { color: var(--bar-1); }

/* About / portrait */
.portrait { aspect-ratio: 4 / 5; background: var(--paper); border: 1px dashed var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 24px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.prose-block p { color: var(--text-2); font-size: 18px; line-height: 1.6; margin: 0 0 18px; max-width: 64ch; }
.pull { font: 600 clamp(24px, 2.6vw, 34px)/1.2 var(--display); font-stretch: 85%; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-light); padding: 22px 0; margin: 28px 0; }
.book-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: var(--card); border: 1px solid var(--line-light); padding: 20px; margin-top: 28px; }
.book-card__cover { aspect-ratio: 2 / 3; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center; font: 800 15px/1 var(--display); font-stretch: 75%; text-transform: uppercase; padding: 10px; }
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card h3 { font: 800 26px/1 var(--display); font-stretch: 78%; text-transform: uppercase; margin: 6px 0 8px; }
.book-card p { margin: 0 0 12px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-light); }
.facts dt { font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Asset note (dev only) */
.needed { display: inline-block; background: var(--accent); color: var(--ink); font: 500 12px/1.4 var(--mono); padding: 6px 9px; border-radius: 2px; margin-top: 12px; }

/* Blog: chips, featured, cards */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 clamp(28px, 3vw, 40px); padding: 0; }
.chip { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; font: 500 14px/1 var(--body); text-decoration: none; color: var(--text); background: transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: var(--ink); color: var(--paper); text-decoration: none; margin-bottom: clamp(28px, 3vw, 44px); }
.featured__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.featured__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured__meta { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--label-on-dark); }
.featured__meta b { color: var(--accent); font-weight: 500; margin-right: 10px; }
.featured__title { font: 800 clamp(28px, 3.4vw, 44px)/1 var(--display); font-stretch: 78%; text-transform: uppercase; margin: 0; text-wrap: balance; }
.featured__excerpt { color: var(--text-on-dark); margin: 0; max-width: 56ch; }
.featured__more { font-weight: 700; color: var(--accent); }
.featured:hover .featured__title { color: var(--accent); }
.cards { display: grid; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card__title { font: 700 22px/1.12 var(--display); font-stretch: 85%; margin: 0; transition: color .15s; text-wrap: balance; }
.card__excerpt { margin: 0; color: var(--text-2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card__title { color: var(--link-hover); }
.card[hidden] { display: none; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 3vw, 44px); }

/* Article */
.article-head { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 4vw, 56px); }
.article-head .container > * { max-width: 760px; margin-inline: auto; }
.article-head .h1--page { font-size: clamp(38px, 5vw, 64px); max-width: 760px; text-transform: none; font-stretch: 75%; line-height: .98; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font: 500 12.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.byline a { color: var(--text); text-decoration: none; border-bottom: 1px solid currentColor; }
.byline a:hover { color: var(--link-hover); }
/* "From the shoot": guides that meet every rule on /editorial-standards */
.badge { display: inline-block; padding: 2px 8px; background: var(--accent); color: var(--ink); font: 600 12.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; border-radius: 2px; white-space: nowrap; }
.badge--quiet { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.provenance { margin: 14px 0 0; font-size: 15px; color: var(--text-2); }
.provenance .badge { margin-right: 6px; }
.provenance a { color: var(--text); }
/* Where to go next: every guide in the pillar, straight after the guide */
.next-guides { margin: 3em 0 0; padding-top: 1.4em; border-top: 2px solid var(--ink); }
.next-guides__intro { margin: .5em 0 0; color: var(--text-2); }
.next-guides ol { list-style: none; margin: 1em 0 0; padding: 0; counter-reset: next; }
.next-guides li { counter-increment: next; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line-light); }
.next-guides li::before { content: counter(next, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 500 12px/1.4 var(--mono); color: var(--muted); }
.next-guides li > a { font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 1px solid currentColor; }
.next-guides li > a:hover { color: var(--link-hover); }
.next-guides li p { margin: 6px 0 0; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.next-guides__hub { display: inline-block; margin-left: 8px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.next-guides > p { margin: 14px 0 0; }
.with-toc .next-guides { grid-column: 2; }
.corrections { margin: 2.5em 0 0; padding-top: 1.2em; border-top: 1px solid var(--line-light); font-size: 15px; }
.corrections ul { padding-left: 1.2em; margin: .6em 0 0; }
.article-hero { margin: 0 0 clamp(36px, 5vw, 64px); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.68; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font: 800 clamp(28px, 3vw, 38px)/1.05 var(--display); font-stretch: 78%; color: var(--text); margin: 2em 0 0; text-wrap: balance; }
.prose h3 { font: 700 23px/1.2 var(--display); font-stretch: 85%; color: var(--text); margin: 1.7em 0 0; }
.prose h4 { font: 700 19px/1.3 var(--body); color: var(--text); margin: 1.5em 0 0; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--link-hover); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ink); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line-light); margin: 2.4em 0; }
.prose .figure { margin: 2em 0; }
.prose .figure img { width: 100%; background: var(--paper-2); }
.prose figcaption { font: 500 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-light); min-width: 140px; }
.prose th { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--ink); }
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--ink); margin: 2em 0; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.author-box { max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 64px 1fr; gap: 18px; }
.author-box__avatar { width: 64px; height: 64px; border-radius: 2px; background: var(--ink); display: grid; place-items: center; color: var(--accent); font: 800 22px/1 var(--display); overflow: hidden; }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box p { margin: 4px 0 10px; color: var(--text-2); }
.author-box__name { font: 800 22px/1 var(--display); font-stretch: 80%; text-transform: uppercase; margin: 0; }
.dates-note { max-width: 760px; margin: 18px auto 0; font: 500 12px/1.5 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Contact form */
.form { display: grid; gap: 26px; }
.form[hidden] { display: none; }
.field label { display: block; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--label-on-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--input-line); color: var(--paper); font: 400 18px/1.4 var(--body); padding: 10px 0; border-radius: 0; }
.field select { background: var(--ink-2); padding: 12px 10px; border: 1px solid var(--input-line); border-radius: 2px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .hint { font-size: 13px; color: var(--label-on-dark); margin-top: 6px; }
.form-error { color: #ff8a80; font-size: 15px; min-height: 1em; }
.form-success { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; padding: clamp(24px, 3vw, 40px); }
.form-success .mono-label { color: var(--bar-4); }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a { color: var(--paper); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark); }
.footer__grid { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); padding-block: 40px 28px; align-items: start; }
.footer__about p { margin: 14px 0 0; max-width: 52ch; font-size: 15px; }
.footer__about a:not(.logo) { color: var(--paper); }
.footer__legal { padding-block: 0 32px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; font-size: 14.5px; color: var(--text-on-dark); }
.site-footer a:hover { color: var(--accent); }
.site-footer small { font: 400 12px/1.4 var(--mono); color: var(--label-on-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media--still img, .rec__dot { animation: none; }
  * { transition: none !important; }
}
.prose li > p { margin: 0; }

/* "From the shoot" box */
.shoot { background: var(--card); border: 1px solid var(--line-light); border-top: 3px solid var(--accent); padding: 20px 22px; margin: 2em 0; }
.shoot__label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px !important; }
.shoot p { margin: 0; }
.shoot p + p { margin-top: .8em; }
.checked-box { border: 1px solid var(--line-light); border-left: 3px solid var(--accent); padding: 16px 20px; margin: 2em 0; background: var(--card); }
.checked-box__label { font: 600 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.checked-box ul { margin: 0; padding-left: 1.2em; }
.checked-box p:last-child { margin-bottom: 0; }

/* [[FILL]] / [[CONFIRM]] / [[DECIDE]] markers (preview only; production builds fail on them) */
mark.fill { background: var(--accent); color: var(--ink); font: 500 13px/1.5 var(--mono); padding: 2px 6px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.fill[data-kind="confirm"] { background: #bfe8ee; }
mark.fill[data-kind="decide"] { background: #f3c6e2; }
.dark mark.fill { color: var(--ink); }

/* Article end: workshop block */
.workshop-block { max-width: 760px; margin: 28px auto 0; background: var(--ink); color: var(--paper); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.workshop-block p { margin: 0; max-width: 52ch; color: var(--text-on-dark); }
.card__by { font-size: 13.5px; color: var(--muted); margin: -4px 0 0; }
.intro-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; }
.intro-list li { font-size: 17px; color: var(--text-2); }
.intro-list b { color: var(--text); }
.facts-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-light); }
.facts-table thead th { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--ink); }
.facts-table tbody th { font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 26%; }
.faq h3 { font: 700 20px/1.25 var(--body); margin: 26px 0 6px; color: var(--text); }
.faq p { margin: 0; }
.photo-slot { aspect-ratio: 16 / 9; background: var(--paper-2); border: 1px dashed var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; font-size: 14px; }
.two-col { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.two-col h3 { margin-bottom: 10px; }
.two-col p { margin: 0; color: var(--text-2); font-size: 17px; }
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.guide-list li { padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 17px; color: var(--text-2); }
.guide-list a { font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid currentColor; }
.guide-list a:hover { color: var(--link-hover); }
.workshop__list { margin: 10px 0 0; padding-left: 1.3em; }
.workshop__list li { padding: 3px 0; font-size: 16px; color: var(--text-2); }
.no-js .js-only { display: none; }

.book-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* "In this guide" contents (after nigelcamp.com's post pages) */
.toc { max-width: 760px; margin: 0 auto 32px; }
.toc__label { font: 500 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--ink); cursor: pointer; list-style: none; }
.toc__label::-webkit-details-marker { display: none; }
.toc__label::after { content: " +"; }
.toc[open] .toc__label::after { content: " –"; }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list a { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 13px 8px 13px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; color: var(--text-2); font-size: 15px; line-height: 1.35; transition: color .15s, background-color .2s, padding-left .2s ease; }
/* A yellow bar slides in on hover and stays on the section you're reading */
.toc__list a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .2s ease; }
.toc__list a:hover, .toc__list a:focus-visible { color: var(--text); background: var(--paper-2); padding-left: 12px; }
.toc__list a:hover::before, .toc__list a:focus-visible::before, .toc__list a[aria-current="true"]::before { transform: scaleY(1); }
.toc__list a:hover .toc__n, .toc__list a:focus-visible .toc__n { color: var(--link-hover); }
.toc__list a[aria-current="true"] { color: var(--text); font-weight: 600; padding-left: 12px; }
.toc__list a[aria-current="true"] .toc__n { color: var(--link-hover); }
.toc__n { font: 500 12px/1.6 var(--mono); color: var(--muted); }
@media (min-width: 1100px) {
  .with-toc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; align-items: start; }
  .with-toc .toc { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; }
  .with-toc .toc__label { cursor: default; pointer-events: none; }
  .with-toc .toc .toc__label::after, .with-toc .toc[open] .toc__label::after { content: none; }
  .with-toc .prose { margin: 0; }
  .with-toc .workshop-block, .with-toc .author-box { grid-column: 2; margin-left: 0; margin-right: 0; }
}
.checklist ul { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 2px; }
.checklist .checked { color: var(--muted); font-size: .9em; }
.print-only { display: none; }
/* Workshops comparison: stacked cards on phones, the table from 700px */
.compare-cards { display: none; }
@media (max-width: 699px) {
  .compare-table { display: none; }
  .compare-cards { display: grid; gap: 16px; margin: 0 0 24px; }
  .compare-card { background: var(--card); border: 1px solid var(--line-light); border-top: 3px solid var(--accent); padding: 18px 20px; }
  .compare-card__title { font-size: 20px; margin: 0 0 10px; }
  .compare-card__title a { color: var(--text); }
  .compare-card dl { margin: 0; }
  .compare-card dt { font: 600 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 12px; }
  .compare-card dd { margin: 4px 0 0; line-height: 1.45; }
}

/* Guide tables wider than the screen: a hint above, and a soft edge on the right */
.prose table.is-scrollable::before { content: "Swipe to see the whole table \2192"; display: block; position: sticky; left: 0; padding: 0 0 8px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.prose table.is-scrollable { background: linear-gradient(to left, rgba(13,13,15,.08), transparent 24px) right / 24px 100% no-repeat; }

/* Tap targets of at least 24px (WCAG 2.2) without changing the layout */
.logo { padding-block: 12px; margin-block: -12px; }

/* Phones: about a third smaller, so the first button on a page shows without scrolling */
@media (max-width: 600px) {
  /* Home: a shorter hero and headline, so "View workshops" is on the first screen */
  .hero__media { min-height: 0; aspect-ratio: auto; height: 190px; }
  .hero__grid .h1 { font-size: 40px; }
  .hero__body { padding-block: 22px 40px; }
  /* Less empty space between sections on a small screen */
  .section { padding: 48px 0; }
  .clients { gap: 18px 48px; }
  .btn-row { align-items: center; }
  .page-head .h1--page { font-size: 30px; line-height: .95; }
  .page-head { padding: 32px 0 20px; }
  .page-head .lead { margin-top: 16px; }
  .lead { font-size: 17px; line-height: 1.5; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs, .no-print, .skip-link, .author-box, .workshop-block { display: none !important; }
  body { background: #fff; }
  .page-head, .section { padding: 12px 0 !important; }
  .h1 { font-size: 34px !important; }
  .prose { font-size: 13px; }
  .prose h2 { font-size: 18px; margin-top: 1em; }
  .print-only { display: block; margin-top: 1.5em; font-size: 11px; }
}
