/* ==========================================================================
   Foley Craft Studio, Journal prototype
   Tokens measured from foleycraftstudio.com (Squarespace 7.1, Oct 2026).
   Everything here maps to Squarespace Site Styles; the few rules that need
   Custom CSS are marked [SQS custom CSS].
   ========================================================================== */

:root {
  /* Colour, site palette */
  --black: #000;
  --accent: #dcdcdc;          /* "accent", text on black sections */
  --offwhite: #fafafa;        /* "white" theme sections */
  --white: #fff;              /* footer / menu overlay */
  --panel: rgba(220, 220, 220, .29); /* About text panel on the homepage */
  --ink: #000;
  --ink-soft: #2a2a2a;
  --muted: #5c5c5c;           /* 6.4:1 on #fafafa */
  --muted-inv: #a6a6a6;       /* 8.6:1 on #000 */
  --hair: rgba(0, 0, 0, .16);
  --hair-inv: rgba(220, 220, 220, .3);

  /* Type, the site's two Google fonts */
  --serif-display: "Instrument Serif", Georgia, serif;
  --serif-text: "Newsreader", Georgia, serif;
  --track-display: -0.02em;   /* measured on every heading */

  /* Layout, Squarespace 7.1 defaults the site uses */
  --site-max: 1500px;
  --gutter: 4vw;
  --read: 680px;              /* article text column */
  --wide: 1080px;             /* images that break out of the text column */
  --section-pad: clamp(64px, 7vw, 120px);
  --radius-single: 10px;      /* single feature image (homepage About photo) */
  --radius-grid: 0;           /* image grids (Studio page) */
  --curve-h: clamp(26px, 3.6vw, 56px);
}
@media (max-width: 767px) {
  :root { --gutter: 6vw; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--serif-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.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: -80px; z-index: 100;
  background: var(--accent); color: #000; text-decoration: none;
  padding: 19.2px 32px; border-radius: 300px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--site-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header (mirrors the live header: "branding center") ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-top: 4px solid rgba(255, 255, 255, .69);
  border-bottom: 4px solid rgba(255, 255, 255, .69);
  box-shadow: 0 12px 48px 12px rgba(0, 0, 0, .18);
  color: var(--accent);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 21.6px var(--gutter);
  max-width: calc(var(--site-max) + var(--gutter) * 2); margin: 0 auto;
}
.site-nav { max-width: clamp(300px, 30vw, 460px); } /* live nav wraps at ~430px wide (1440) */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.05em; }
.site-nav a { font-size: 16px; line-height: 24px; text-decoration: none; color: var(--accent); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s ease; }
.site-nav a:hover, .site-nav a[aria-current] { background-size: 100% 1px; }
.site-title { font-family: var(--serif-display); font-size: 22.1px; line-height: 1.2; letter-spacing: var(--track-display); text-decoration: none; color: var(--accent); white-space: nowrap; }
.site-social { display: flex; justify-content: flex-end; gap: 18px; }
.site-social a { display: block; width: 25px; height: 25px; color: var(--accent); }
.site-social svg { width: 100%; height: 100%; display: block; }
.burger { display: none; }

@media (max-width: 767px) {
  .site-header__inner { grid-template-columns: 1fr auto; padding: 16.2px var(--gutter); min-height: 62px; }
  .site-nav, .site-header .site-social { display: none; }
  .site-title { font-size: 16px; }
  .burger {
    display: block; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0;
    background: none; cursor: pointer; position: relative; color: var(--accent);
  }
  .burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; }
  .burger span:first-child { top: 17px; }
  .burger span:last-child { top: 26px; }
}

/* Mobile menu overlay, white, centred, large Newsreader links (as live) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 60; background: var(--white); color: var(--black);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay__top { display: flex; justify-content: space-between; align-items: center; min-height: 54px; }
.menu-overlay__top .site-title { color: var(--black); font-size: 16px; }
.menu-close { width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; margin-right: -6px; }
.menu-close::before, .menu-close::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: #000; }
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-overlay nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-overlay li a { display: inline-block; font-size: 31.9px; line-height: 1.22; padding: 3px 0; text-decoration: none; }
.menu-overlay li a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.menu-overlay .site-social { justify-content: center; gap: 22px; }
.menu-overlay .site-social a { color: #000; }

/* ---------- Sections & curved dividers (Squarespace "Section Divider") ---------- */
.section { position: relative; padding: var(--section-pad) 0; }
.section--dark { background: var(--black); color: var(--accent); }
.section--light { background: var(--offwhite); }
.curve { position: absolute; left: 0; width: 100%; height: var(--curve-h); display: block; pointer-events: none; z-index: 2; }
.curve path { fill: var(--black); }
.curve--below { top: calc(100% - 1px); }   /* dark section bulging down into the next one */
.curve--above { bottom: calc(100% - 1px); } /* dark section bulging up into the previous one */
.section--dark + .section { padding-top: calc(var(--section-pad) + var(--curve-h)); }

/* ---------- Shared type ---------- */
.display, h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; letter-spacing: var(--track-display); margin: 0; text-wrap: balance; }
.journal-hero__sub, .journal-hero__intro, .dek, .cta p, .pullquote p { text-wrap: balance; }
.eyebrow {
  font-family: var(--serif-text); font-size: 14px; line-height: 1.4; color: var(--muted);
  margin: 0; letter-spacing: .01em;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section--dark .eyebrow { color: var(--muted-inv); }

.text-link {
  display: inline-flex; gap: .4em; align-items: baseline; font-size: 16px; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow, a:hover .text-link .arrow { transform: translateX(3px); }

/* Pill outline button, exact match of the site's "secondary" button */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif-text); font-size: 16px; line-height: 1; text-decoration: none;
  padding: 19.2px 32px; border: 1px solid currentColor; border-radius: 300px;
  background: transparent; color: inherit; transition: background-color .2s ease, color .2s ease;
}
.section--dark .button:hover { background: var(--accent); color: var(--black); }
.section--light .button:hover, .site-footer .button:hover { background: var(--black); color: var(--offwhite); }

/* ---------- Journal hero ---------- */
.journal-hero { text-align: center; padding: clamp(96px, 13vw, 200px) 0 clamp(88px, 11vw, 170px); }
.journal-hero h1 { font-size: clamp(64px, 11.2vw, 168px); line-height: .98; color: var(--accent); }
.journal-hero__sub { font-family: var(--serif-display); font-size: clamp(26px, 3.3vw, 47px); line-height: 1.12; letter-spacing: var(--track-display); max-width: 15em; margin: .7em auto 0; }
.journal-hero__intro { font-style: italic; color: var(--muted-inv); max-width: 31em; margin: 2.2em auto 0; font-size: 16px; }

/* ---------- Category navigation (Squarespace blog categories) ---------- */
.categories { margin: 0 0 clamp(56px, 6vw, 96px); }
.categories ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.categories a { font-size: 16px; line-height: 24px; text-decoration: none; color: var(--muted); padding: 6px 0; display: inline-block; }
.categories a:hover { color: var(--ink); }
.categories a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 767px) {
  /* one swipeable row instead of a wrapped block of links */
  .categories { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .categories ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 0 22px; padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .categories ul::-webkit-scrollbar { display: none; }
  .categories li { flex: 0 0 auto; }
}

/* ---------- Featured post ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; text-decoration: none; color: inherit; }
.feature__media { border-radius: var(--radius-single); overflow: hidden; aspect-ratio: 3 / 2; background: #e6e6e6; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(44px, 5vw, 76px); line-height: 1; margin: .22em 0 .35em; }
.feature p.excerpt { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 1.6em; max-width: 30em; }
.feature .meta { font-size: 14px; color: var(--muted); margin: 0 0 1.4em; }
.feature:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Foley 101 series block ---------- */
.series { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); padding: clamp(40px, 5vw, 64px); background: var(--panel); }
.series h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; margin: .2em 0 .4em; }
.series__intro { font-style: italic; color: var(--ink-soft); max-width: 24em; margin: 0; }
.series ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.series li { counter-increment: s; border-top: 1px solid var(--hair); }
.series li:last-child { border-bottom: 1px solid var(--hair); }
.series li > a, .series li > span { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: baseline; gap: 12px; padding: 16px 0; text-decoration: none; }
.series li > *::before { content: counter(s, decimal-leading-zero); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.series .t { font-family: var(--serif-display); font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: var(--track-display); }
.series .s { font-size: 14px; color: var(--muted); white-space: nowrap; }
.series a .s { color: var(--ink); }
.series a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
@media (max-width: 900px) {
  .series { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .series { padding: 32px 22px; margin-left: calc(var(--gutter) * -1 + 0px); margin-right: calc(var(--gutter) * -1 + 0px); }
  .series li > a, .series li > span { grid-template-columns: 2.2em 1fr; }
  .series .s { grid-column: 2; margin-top: -4px; }
}

/* ---------- Section heading row ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 0 0 clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Article cards (Squarespace Blog Grid / Summary Block) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(20px, 2.4vw, 36px); }
.card a { display: block; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-grid); background: #e6e6e6; margin: 0 0 20px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.card a:hover .card__media img { opacity: .88; }
.card h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.08; margin: 8px 0 10px; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.card p.excerpt { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.card .text-link { font-size: 15px; }
.card[hidden] { display: none; }

/* Clearly marked photo placeholder, never presented as a real studio photo */
.placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  text-align: center; padding: 24px; color: var(--muted); font-size: 14px; line-height: 1.4;
  background: repeating-linear-gradient(135deg, #ececec 0 12px, #e4e4e4 12px 13px);
}
.placeholder strong { font-weight: 500; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cards { grid-template-columns: 1fr; gap: 56px; }
  .card__media { aspect-ratio: 4 / 3; }
}

/* ---------- Article ---------- */
.article-header { max-width: calc(var(--wide)); margin: 0 auto; padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 5vw, 64px); }
.article-header .inner { max-width: 900px; }
.breadcrumb { margin: 0 0 clamp(28px, 3vw, 44px); font-size: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--hair); color: #9a9a9a; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-header h1 { font-size: clamp(54px, 8.4vw, 124px); line-height: .96; margin: .12em 0 .32em; }
.dek { font-family: var(--serif-display); font-style: italic; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-soft); margin: 0; max-width: 24em; }
.byline { margin: clamp(28px, 3vw, 40px) 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.byline a { text-decoration: none; color: var(--ink); }
.byline span + span::before { content: "·"; margin-right: 14px; }

.figure { margin: 0; }
.figure img { width: 100%; }
.figure figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 12px; max-width: var(--read); }
.figure--hero { max-width: var(--wide); margin: 0 auto; }
.figure--hero .frame, .figure--wide .frame { border-radius: var(--radius-single); overflow: hidden; }
.figure--hero .frame { aspect-ratio: 3 / 2; }
.figure--hero img, .figure--wide img { height: 100%; object-fit: cover; }
.figure--wide { max-width: var(--wide); margin: clamp(48px, 6vw, 88px) auto; }
.figure--wide .frame { aspect-ratio: 16 / 10; }

.prose { max-width: var(--read); margin: 0 auto; font-size: 18px; line-height: 1.7; color: #111; }   /* [SQS custom CSS] body size 18px */
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.05; margin: 2.3em 0 .55em; scroll-margin-top: 120px; }
.prose h3 { font-size: clamp(25px, 2.2vw, 30px); line-height: 1.15; margin: 1.9em 0 .45em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* "What Foley includes", term + description */
.includes { margin: 1.4em 0 0; padding: 0; }
.includes div { display: grid; grid-template-columns: 11rem 1fr; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--hair); }
.includes div:last-child { border-bottom: 1px solid var(--hair); }
.includes dt { font-family: var(--serif-display); font-size: 25px; line-height: 1.15; letter-spacing: var(--track-display); }
.includes dd { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
@media (max-width: 600px) { .includes div { grid-template-columns: 1fr; } }

/* Three-photo composition: SURFACES / PROPS / SHOES */
.triptych { max-width: var(--wide); margin: clamp(48px, 6vw, 88px) auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.triptych figure { margin: 0; }
.triptych .frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-grid); background: #e6e6e6; }
.triptych img { width: 100%; height: 100%; object-fit: cover; }
.triptych figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.triptych figcaption b { display: block; font-family: var(--serif-display); font-weight: 400; font-size: 23px; letter-spacing: var(--track-display); color: var(--ink); margin-bottom: 2px; }
@media (max-width: 767px) {
  /* horizontal, swipeable strip keeps all three photos the same height */
  .triptych { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .triptych::-webkit-scrollbar { display: none; }
  .triptych figure { flex: 0 0 74%; scroll-snap-align: center; }
}

/* Foley vs Sound effects, side by side comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); margin: 1.6em 0 1.6em; }
.compare section { border-top: 1px solid var(--ink); padding-top: 16px; }
.compare h3 { margin: 0 0 .5em; font-size: 28px; }
.compare ul { margin: 0; padding: 0 0 0 1.1em; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.compare li { margin-bottom: .45em; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; gap: 28px; } }

.pullquote { margin: 2em 0 1.6em; padding: 0; }
.pullquote p { font-family: var(--serif-display); font-style: italic; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
@media (min-width: 1100px) { .pullquote { margin-left: -56px; margin-right: -56px; } }

/* Author note */
.author { max-width: var(--read); margin: clamp(64px, 8vw, 104px) auto 0; display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: start; padding: 28px; background: var(--panel); }
.author img { width: 104px; height: 104px; object-fit: cover; object-position: 70% 30%; }
.author p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.author .eyebrow { margin-bottom: 6px; }
@media (max-width: 480px) { .author { grid-template-columns: 72px 1fr; gap: 16px; padding: 22px; } .author img { width: 72px; height: 72px; } }

/* Previous / next (Squarespace blog item pagination) */
.pager { max-width: var(--read); margin: clamp(48px, 6vw, 72px) auto 0; display: flex; justify-content: space-between; gap: 24px; font-size: 15px; }
.pager a { text-decoration: none; display: block; max-width: 48%; }
.pager span { display: block; color: var(--muted); font-size: 14px; }
.pager b { font-family: var(--serif-display); font-weight: 400; font-size: 24px; letter-spacing: var(--track-display); line-height: 1.15; }
.pager a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.pager .next { text-align: right; margin-left: auto; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; color: var(--accent); }
.cta h2 em { font-style: italic; }
.cta p { font-style: italic; color: var(--accent); max-width: 30em; margin: 1.2em auto 2.4em; font-size: 16px; }
.cta .button { min-width: 220px; }

/* ---------- Footer (mirrors live footer) ---------- */
.site-footer { background: var(--white); color: var(--black); padding: 42px 0; }
.site-footer .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer .site-title { color: var(--black); font-size: 26.4px; }
.site-footer .site-social a { color: var(--black); }
.site-footer .site-social { justify-content: center; gap: 16px; }
.site-footer .button { justify-self: end; padding: 16px 30px; }
@media (max-width: 767px) {
  .site-footer .container { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .site-footer .button { justify-self: center; }
}

/* ---------- Coming soon / notes ---------- */
.narrow { max-width: var(--read); margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 480px) {
  .byline span:first-child { flex-basis: 100%; }
  .byline span:nth-child(2)::before { content: none; }
}

/* ==========================================================================
   Additions for the Foley 101 series, variants of existing components only.
   ========================================================================== */

/* Two- and six-photo variants of the triptych (same frame, caption, gap) */
.triptych--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.triptych--six { row-gap: clamp(28px, 3vw, 44px); }
.triptych a { display: block; text-decoration: none; color: inherit; }
.triptych a:hover figcaption b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.triptych .frame .placeholder { height: 100%; }
@media (max-width: 767px) {
  /* six images: a calm 2-column grid instead of a long swipe strip */
  .triptych--six { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
  .triptych--six figure { flex: none; }
  .triptych--six figcaption b { font-size: 21px; }
}

/* Step label above a section heading ("Step 3") */
.prose h2 .num { display: block; font-family: var(--serif-text); font-size: 14px; line-height: 1.4; letter-spacing: .01em; color: var(--muted); margin-bottom: .7em; font-variant-numeric: tabular-nums; }

/* Small aside inside the reading column, same panel tone as the author note */
.note { background: var(--panel); padding: 24px 28px; margin: 1.8em 0; font-size: 17px; line-height: 1.6; }
.note .eyebrow { margin-bottom: 6px; }
.note p:last-child { margin-bottom: 0; }

/* Placeholder used inside a large figure */
.figure .frame .placeholder { height: 100%; }

/* Foley 101 rows: title + one-line summary + reading time */
.series .b { display: block; }
.series .x { display: block; font-family: var(--serif-text); font-size: 15px; line-height: 1.45; letter-spacing: 0; color: var(--muted); margin-top: 5px; max-width: 34em; }
.series__note { font-size: 14px; color: var(--muted); margin: 1.4em 0 0; }

/* Planned articles, a quiet text list, not fake cards */
.upcoming { margin-top: clamp(72px, 8vw, 120px); }
.upcoming ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.upcoming li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.upcoming .t { font-family: var(--serif-display); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.15; letter-spacing: var(--track-display); }
.upcoming .s { font-size: 14px; color: var(--muted); white-space: nowrap; }
.upcoming li[hidden], .upcoming[hidden] { display: none; }
@media (max-width: 767px) {
  .upcoming ul { grid-template-columns: 1fr; }
  .upcoming li { flex-direction: column; gap: 2px; }
}

/* Card meta line (category · reading time) */
.card .eyebrow span + span::before { content: " · "; }
.section-head[hidden] { display: none; }

.frame { position: relative; }
.card__media { position: relative; }

/* Category sections: land below the sticky header when jumped to */
[data-cat-section] { scroll-margin-top: 120px; }

/* ==========================================================================
   OFFICIAL THEME: DARK (since 7 Oct 2026)
   The Journal is always dark. These rules sit on top of the shared base above:
   same typography, grid, header and components; dark colour scale, tighter
   vertical rhythm, one warm accent (#d6876a) and the reading-progress bar.
   ========================================================================== */

:root {
  /* Colour: the site's own black + #DCDCDC, extended into a dark scale */
  --offwhite: #0c0c0c;          /* page background (was #FAFAFA) */
  --white: #0c0c0c;             /* footer + menu overlay */
  --surface: #151515;           /* panels, image placeholders */
  --surface-2: #1c1c1c;
  --ink: #ececec;               /* 16.5:1 on #0c0c0c */
  --ink-soft: #c8c8c8;          /* 11.9:1 */
  --muted: #9c9c9c;             /*  7.2:1 */
  --hair: rgba(255, 255, 255, .12);
  --panel: var(--surface);
  /* One warm accent taken from the studio's red walls, used sparingly:
     focus, progress, active states, hover. 6.4:1 on #0c0c0c */
  --warm: #d6876a;

  /* Density: roughly a third less vertical air than the light version */
  --section-pad: clamp(44px, 5vw, 84px);
  --read: 700px;
}

body { background: var(--offwhite); color: var(--ink); }
::selection { background: var(--warm); color: #0c0c0c; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 2px; }

/* Header keeps the live site's look; the active item gets the accent */
.site-nav a[aria-current] { background-image: linear-gradient(var(--warm), var(--warm)); }

/* Reading progress (visibility of system status) */
.read-progress { position: absolute; left: 0; top: 100%; height: 2px; width: 100%; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--warm); transition: width .1s linear; }

/* Sections: black hero/CTA against a near-black page keeps the curved divider visible */
.section--light { background: var(--offwhite); }
.section--dark { background: #000; }
.curve path { fill: #000; }

/* ---------- Hero: tighter, with a quiet texture line ---------- */
.journal-hero { padding: clamp(72px, 9vw, 136px) 0 clamp(64px, 8vw, 116px); }
.journal-hero__sub { margin-top: .5em; }
.journal-hero__intro { margin-top: 1.5em; color: #a9a9a9; }

/* ---------- Categories: pill row, clear active state + counts ---------- */
.categories { margin-bottom: clamp(36px, 4vw, 56px); }
.categories ul { gap: 8px; }
.categories a {
  color: var(--ink-soft); padding: 8px 16px; border: 1px solid var(--hair); border-radius: 300px;
  line-height: 20px; transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.categories a:hover { color: var(--ink); border-color: rgba(255,255,255,.35); }
.categories a[aria-current] { color: #0c0c0c; background: var(--ink); border-color: var(--ink); text-decoration: none; }
.categories .count { font-size: 12px; opacity: .65; margin-left: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .categories ul { gap: 8px; } }

/* ---------- Featured ---------- */
.feature { gap: clamp(28px, 4vw, 64px); }
.feature__media { background: var(--surface); }
.feature h2 { margin: .15em 0 .3em; }
.feature p.excerpt { color: var(--ink-soft); margin-bottom: 1.2em; }
.feature__media img { transition: transform .5s ease; }
.feature:hover .feature__media img { transform: scale(1.025); }

/* ---------- Series ---------- */
.series { background: var(--surface); padding: clamp(32px, 4vw, 52px); border: 1px solid var(--hair); }
.series li > a, .series li > span { padding: 13px 0; transition: background-color .2s ease; }
.series a:hover .t { color: var(--warm); text-decoration: none; }
.series a .s { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards { gap: clamp(36px, 4vw, 52px) clamp(16px, 2vw, 28px); }
.card__media { background: var(--surface); margin-bottom: 16px; border-radius: 4px; }
.card__media img { transition: transform .5s ease, opacity .25s ease; }
.card a:hover .card__media img { transform: scale(1.03); opacity: 1; }
.card h3 { margin: 6px 0 8px; transition: color .2s ease; }
.card a:hover h3 { color: var(--warm); text-decoration: none; }
.card p.excerpt { color: var(--ink-soft); margin-bottom: 12px; }
.section-head { margin-bottom: clamp(24px, 3vw, 36px); }

.placeholder { background: repeating-linear-gradient(135deg, #161616 0 12px, #1b1b1b 12px 13px); color: var(--muted); }
.placeholder strong { color: var(--ink-soft); }

/* ---------- Upcoming ---------- */
.upcoming { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- Article ---------- */
.article-header { padding: clamp(40px, 5vw, 80px) 0 clamp(28px, 3vw, 44px); }
.breadcrumb { margin-bottom: clamp(18px, 2vw, 28px); }
.breadcrumb li + li::before { color: #666; }
.article-header h1 { margin: .08em 0 .25em; }
.dek { color: var(--ink-soft); }
.byline { margin-top: clamp(18px, 2vw, 28px); }
.byline a { color: var(--ink); }

.prose { color: #dedede; line-height: 1.62; }
.prose p { margin-bottom: 1em; }
.prose .lead { color: var(--ink); }
.prose h2 { margin: 1.7em 0 .45em; }
.prose h3 { margin: 1.4em 0 .35em; }
.prose a { color: var(--ink); text-decoration-color: var(--warm); }
.prose a:hover { color: var(--warm); }
.prose h2 .num { color: var(--warm); }

.figure figcaption { color: var(--muted); margin-top: 10px; }
.figure--wide, .triptych { margin: clamp(32px, 4vw, 56px) auto; }
.figure--hero .frame, .figure--wide .frame { background: var(--surface); }
.triptych .frame { background: var(--surface); border-radius: 4px; }

.includes dd, .compare ul { color: var(--ink-soft); }
.compare section { border-top-color: rgba(255,255,255,.4); }
.pullquote { margin: 1.4em 0 1.2em; padding-left: 20px; border-left: 2px solid var(--warm); }
@media (min-width: 1100px) { .pullquote { margin-left: -22px; margin-right: 0; } }
.pullquote p { color: var(--ink); }
.note { background: var(--surface); border-left: 2px solid var(--warm); }

.author { margin-top: clamp(40px, 5vw, 64px); background: var(--surface); border: 1px solid var(--hair); }
.pager { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--hair); }
.pager a { padding: 6px 0; }
.pager a:hover b { color: var(--warm); text-decoration: none; }

/* ---------- Buttons ---------- */
.section--light .button:hover, .site-footer .button:hover { background: var(--ink); color: #0c0c0c; }

/* ---------- CTA ---------- */
.cta p { margin: 1em auto 1.8em; }

/* ---------- Footer: same structure as the live footer, dark ---------- */
.site-footer { background: #000; color: var(--ink); border-top: 1px solid var(--hair); padding: 34px 0; }
.site-footer .site-title, .site-footer .site-social a { color: var(--accent); }

/* ---------- Mobile menu: dark overlay ---------- */
.menu-overlay { background: #000; color: var(--accent); }
.menu-overlay__top .site-title, .menu-overlay .site-social a { color: var(--accent); }
.menu-close::before, .menu-close::after { background: var(--accent); }
.menu-overlay li a[aria-current] { text-decoration-color: var(--warm); }

@media (prefers-reduced-motion: reduce) {
  .card__media img, .feature__media img { transform: none !important; }
}

/* ==========================================================================
   Photographs in articles (since 7 Oct 2026): real studio photos only,
   no visible captions, moderate sizes so text and image stay balanced.
   ========================================================================== */
.figure--hero { max-width: 1000px; }
.figure--hero .frame { aspect-ratio: 16 / 9; }
.figure--wide { max-width: 860px; }
.figure--wide .frame { aspect-ratio: 3 / 2; }
.figure img, .photo-pair img { display: block; }

/* Two photos side by side, kept narrower than the wide figures */
.photo-pair { max-width: 760px; margin: clamp(32px, 4vw, 56px) auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.photo-pair figure { margin: 0; }
.photo-pair .frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--surface); }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .figure--hero .frame, .figure--wide .frame { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Navigation: Work folder (Credited Work, Portfolio), as on the main site
   ========================================================================== */
.site-nav .nav-folder { position: relative; }
.nav-folder__title, .menu-folder__title { font: inherit; color: inherit; background-color: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; }
.site-nav .nav-folder__title { font-size: 16px; line-height: 24px; color: var(--accent); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s ease; }
.site-nav .nav-folder__title:hover, .site-nav .nav-folder.is-open .nav-folder__title { background-size: 100% 1px; }
.site-nav .nav-folder__content { display: none; position: absolute; top: 100%; left: -16px; z-index: 10; min-width: 200px; margin: 0; padding: 8px 16px; background: #000; flex-direction: column; flex-wrap: nowrap; gap: 0; }
.site-nav .nav-folder:hover .nav-folder__content, .site-nav .nav-folder.is-open .nav-folder__content { display: flex; }
.site-nav .nav-folder__content li { white-space: nowrap; }

.menu-overlay .menu-folder__title { display: inline-flex; align-items: center; gap: .3em; font-size: 31.9px; line-height: 1.22; padding: 3px 0; color: var(--accent); }
.menu-overlay .menu-folder__title .chevron { width: .38em; height: .6em; transition: transform .2s ease; }
.menu-overlay .menu-folder__title[aria-expanded="true"] .chevron { transform: rotate(90deg); }
.menu-overlay .menu-folder__content { list-style: none; margin: 0 0 .3em; padding: 0; }
.menu-overlay .menu-folder__content[hidden] { display: none; }
.menu-overlay .menu-folder__content li a { font-size: 23px; color: var(--muted-inv, #a9a9a9); }

/* ==========================================================================
   Journal hero: a full first screen, like the homepage of foleycraftstudio.com.
   The black area fills the viewport below the header, and the curve sits at the
   bottom of the first screen. --header-h is measured live by journal.js.
   "Foley Journal" uses the homepage title scale (about 13.5vw, 194px at 1440px).
   ========================================================================== */
.journal-hero { display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--header-h, 78px) - var(--curve-h));
  min-height: calc(100svh - var(--header-h, 78px) - var(--curve-h));
  padding: clamp(40px, 5vh, 64px) 0 clamp(72px, 12vh, 140px); }
.journal-hero h1 { font-size: clamp(72px, 13.5vw, 200px); line-height: .98; }
.journal-hero__sub { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.16; max-width: 15em; margin: .55em auto 0; }
.journal-hero__intro { font-size: 15px; line-height: 1.55; max-width: 30em; margin-top: 1.5em; }
@media (max-width: 767px) {
  .journal-hero__intro { font-size: 14px; max-width: 26em; }
}
