/* ==========================================================
   THE COURT NOTEBOOK — v2 (clay)
   ========================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --sand: #F1F1EC;  /* page ground — matches the Figma frame fill */
  --sand-2: #EFE6DF;
  --paper: #FFFFFF;
  --ink: #151312;
  --mute: #A39A94;
  --line: rgba(21, 19, 18, .1);
  --clay: #C4632F;
  --clay-2: #A94F22;
  --espresso: #1E1613;
  --lime: #D7F05B;
  --cream: #F4E9C1;
  --glass: rgba(255, 255, 255, .16);
  --glass-line: rgba(255, 255, 255, .38);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --pad: clamp(10px, 2.4vw, 40px);
  --gap: clamp(10px, 1.4vw, 20px);
  --in: clamp(18px, 4.4vw, 64px);

  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.22, .7, .12, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
body.menu-open { overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .watch :focus-visible, .news :focus-visible, .menu :focus-visible, .player :focus-visible { outline-color: #fff; }

.page { max-width: 1680px; margin: 0 auto; padding: var(--pad); display: flex; flex-direction: column; gap: var(--gap); }
.panel { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Logo, pills, chips ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.logo .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.logo--dark { color: var(--ink); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s; }
.pill:hover { transform: translateY(-2px); }
.pill .icon { width: 16px; height: 16px; }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .45); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: var(--clay-2); }
.pill--gray { background: #F2EEEB; color: var(--ink); }
.pill--gray:hover { background: #E7E0DA; }
.pill--glass { background: var(--glass); border: 1px solid var(--glass-line); color: #fff; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.pill--glass:hover { background: rgba(255, 255, 255, .24); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.chip .icon { width: 15px; height: 15px; }
.chip--glass { background: var(--glass); border-color: var(--glass-line); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chip--outline { background: rgba(255, 255, 255, .06); border-color: var(--glass-line); color: #fff; padding: 9px 16px; font-weight: 500; font-size: 13.5px; }
.chip--soft { background: var(--sand-2); border-color: transparent; }

.arrow-circle { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .45s var(--ease); }
.arrow-circle .icon { width: 18px; height: 18px; }

/* two-tone headings, as in the reference */
.tt { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; color: var(--mute); }
.tt b { color: var(--ink); font-weight: 700; }
.tt--light { color: rgba(255, 255, 255, .5); }
.tt--light b { color: #fff; }
.tt--xl { font-size: clamp(34px, 4.4vw, 64px); max-width: 17ch; margin-top: 14px; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.6vw, 36px); }
.meta { font-size: 12px; font-weight: 600; color: var(--mute); }

/* Playfair — João's cover type: tight tracking, italic switch mid-word, old-style numerals */
.pf, .pf-title, .video-feature__cover, .short span, .news__mast, .news__when, .channel__serif { font-family: var(--serif); font-variant-numeric: oldstyle-nums; }
.pf em, .pf-title em, .video-feature__cover em, .short span em, .news__mast em, .channel__serif em { font-style: italic; }
.pf { font-weight: 500; letter-spacing: -.02em; font-size: 1.08em; }
.pf-h { font-family: var(--serif); font-variant-numeric: oldstyle-nums; font-weight: 400; font-size: clamp(42px, 5.2vw, 80px); line-height: .95; letter-spacing: -.045em; color: var(--ink); margin-top: 14px; max-width: 18ch; }
.pf-h em { font-style: italic; color: var(--clay); }
.pf-title { font-weight: 400; font-size: clamp(46px, 6vw, 88px); line-height: .92; letter-spacing: -.04em; color: var(--cream); margin-top: 14px; }

/* ---------- Floating dock nav ---------- */
.dock { position: fixed; top: 14px; left: 50%; z-index: 40; display: flex; align-items: center; gap: 22px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -22px rgba(60, 24, 6, .55); max-width: calc(100vw - 20px); transform: translate(-50%, -150%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.dock.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .55s var(--ease); }
.dock .logo { font-size: 13.5px; }
.dock .logo .icon { width: 20px; height: 20px; }
.dock__links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; }
.dock__links a { opacity: .75; white-space: nowrap; transition: opacity .2s; }
.dock__links a:hover { opacity: 1; }
.dock__menu { display: none; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: var(--pad); z-index: 60; border-radius: var(--r-xl); background: var(--espresso); color: #fff; padding: 22px var(--in) 30px; display: flex; flex-direction: column; overflow: auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu nav { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; }
.menu nav a { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(34px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: color .25s, padding .35s var(--ease); }
.menu nav a .icon { width: clamp(24px, 3vw, 40px); height: clamp(24px, 3vw, 40px); }
.menu nav a:hover { color: #F0A57B; padding-left: 10px; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- 01 HERO ---------- */
.hero { color: #fff; background: var(--clay-2); min-height: clamp(660px, calc(100svh - 2 * var(--pad)), 960px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); grid-template-rows: auto 1fr auto; column-gap: 32px; padding: 32px var(--in) 28px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: translate(var(--mx, 0px), var(--my, 0px)) scale(1.05); transition: transform 1.4s var(--ease); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(70, 24, 6, .5) 0%, rgba(70, 24, 6, .16) 40%, rgba(70, 24, 6, 0) 58%), linear-gradient(0deg, rgba(40, 14, 4, .42) 0%, rgba(40, 14, 4, 0) 26%); }

.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.topbar__links { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 14px; font-weight: 500; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; opacity: .9; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: opacity .25s, background-size .4s var(--ease); }
.topbar__links a:hover { opacity: 1; background-size: 100% 1px; }
.topbar__links .icon { width: 17px; height: 17px; }
.topbar__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.hero__left { grid-row: 2; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 44px 24px; max-width: 470px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 6.8vw, 104px); line-height: .92; letter-spacing: -.045em; color: var(--cream); }
.hero__title em { font-style: italic; }
.hero__sub { font-size: 15px; line-height: 1.5; opacity: .9; max-width: 36ch; margin-top: -6px; }
.cta-pill { display: flex; align-items: center; gap: 12px; width: min(100%, 430px); padding: 5px 5px 5px 20px; border-radius: 999px; }
.cta-pill > span { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; opacity: .95; }
.cta-pill .pill { min-height: 42px; }
.thumbs { display: flex; align-items: center; gap: 6px; padding: 6px 18px 6px 6px; border-radius: 16px; margin-top: 16px; transition: transform .4s var(--ease), background .3s; }
.thumbs:hover { transform: translateY(-3px); }
.thumbs img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; transition: transform .4s var(--ease); }
.thumbs:hover img:nth-child(odd) { transform: translateY(-3px) rotate(-3deg); }
.thumbs:hover img:nth-child(even) { transform: translateY(2px) rotate(3deg); }
.thumbs span { margin-left: 8px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.hero__new { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.hero__new .icon { width: 36px; height: 36px; stroke-width: 1.5; transition: transform .8s var(--ease); }
.hero__new:hover .icon { transform: rotate(90deg); }

.hero__right { grid-row: 2; grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-block: 36px 16px; }
.card-white { background: #fff; color: var(--ink); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; box-shadow: 0 34px 60px -34px rgba(40, 14, 4, .65); transition: transform .5s var(--ease); }
.card-white:hover { transform: translateY(-5px) rotate(-.6deg); }
.tt--card { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; padding: 34px 8px 16px; }
.card-white .pill { width: 100%; }
.hero__right-bottom { display: flex; flex-direction: column; gap: 14px; }
.avatars { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.stack { display: flex; }
.stack img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .95); margin-left: -12px; transition: margin .4s var(--ease); }
.stack img:first-child { margin-left: 0; }
.avatars:hover .stack img { margin-left: -4px; }
.avatars:hover .stack img:first-child { margin-left: 0; }
.card-clay { display: block; border-radius: 22px; overflow: hidden; background: rgba(160, 70, 26, .5); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); transition: transform .5s var(--ease); }
.card-clay:hover { transform: translateY(-4px); }
.card-clay__head { display: block; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 10px 16px; }
.card-clay__body { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.card-clay__label { display: block; font-size: 12px; opacity: .85; }
.card-clay__code { display: block; font-size: 25px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: 2px; }
.card-clay__list { display: grid; gap: 5px; align-content: center; font-size: 12px; }
.card-clay__list span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #fff; vertical-align: 1px; }

.hero__bottom { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; font-size: 13px; }
.social { display: flex; align-items: center; gap: 10px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-line); transition: background .3s, transform .35s var(--ease); }
.social a:hover { background: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; }
.brands { display: flex; gap: 34px; font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.brands a { opacity: .85; transition: opacity .25s; }
.brands a:hover { opacity: 1; }
.hero__mail a { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

/* hero entrance */
.js .hero [data-in] { opacity: 0; transform: translateX(-26px); }
.js .hero [data-in="right"] { transform: translateX(26px); }
.js .hero [data-in="down"] { transform: translateY(-14px); }
.js .hero [data-in="up"] { transform: translateY(14px); }
.js .hero__bg img { transform: scale(1.14); }
.is-loaded .hero [data-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.is-loaded .hero__bg img { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(1.05); }
.is-loaded .hero .card-white:hover { transform: translateY(-5px) rotate(-.6deg); transition: transform .5s var(--ease); }
.is-loaded .hero .card-clay:hover, .is-loaded .hero .thumbs:hover { transform: translateY(-4px); transition: transform .5s var(--ease); }

/* ---------- 02 ABOUT ---------- */
.about { background: #fff; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); padding: clamp(10px, 1.1vw, 16px); }
.about__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 600px; background: var(--sand-2); }
.about__media > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 45%; transform: translateY(var(--py, 0px)); }
.about__place { position: absolute; left: 18px; top: 18px; }
.about__cap { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 8px 18px 8px 8px; font-size: 13.5px; font-weight: 700; line-height: 1.3; box-shadow: 0 20px 40px -24px rgba(40, 14, 4, .6); }
.about__cap img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.about__cap small { display: block; font-weight: 500; color: var(--mute); font-size: 12px; }
.about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: clamp(18px, 3.4vw, 52px) clamp(8px, 2.4vw, 40px) clamp(10px, 1.6vw, 24px) 0; }
.about blockquote p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: #3B3532; letter-spacing: -.01em; max-width: 40ch; }
.about blockquote footer { margin-top: 12px; font-size: 13px; color: var(--mute); font-weight: 500; }
.about blockquote a { color: var(--ink); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.about__details { display: flex; gap: 10px; }
.about__details img { width: clamp(84px, 8vw, 116px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; transition: transform .5s var(--ease); }
.about__details img:hover { transform: translateY(-4px) rotate(-2deg); }
.about__links { display: grid; gap: 8px; width: 100%; margin-top: auto; }
.about__links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 18px; background: var(--sand-2); font-weight: 700; font-size: 15px; transition: background .3s, transform .4s var(--ease); }
.about__links small { display: block; font-size: 12px; font-weight: 500; color: var(--mute); }
.about__links a:hover { background: #E8DCD2; transform: translateX(4px); }
.about__links a:hover .arrow-circle, .channel:hover .arrow-circle, .pick-slyce__link:hover .arrow-circle { transform: rotate(-45deg); }

/* ---------- 03 LATEST ---------- */
.latest { padding: clamp(28px, 4.2vw, 64px) var(--in) clamp(12px, 2vw, 28px); }
.latest__grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1fr; gap: var(--gap); align-items: stretch; }
.card { background: #fff; border-radius: var(--r-lg); padding: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(70, 30, 10, .5); }
.card > a { display: flex; flex-direction: column; height: 100%; }
.post__media { display: block; border-radius: 18px; overflow: hidden; background: var(--sand-2); }
.post__media img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .post__media img { transform: scale(1.045); }
.post__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 8px 8px; flex: 1; }
.post__title { font-size: 16px; font-weight: 700; line-height: 1.28; letter-spacing: -.015em; }
.post__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.post__cta .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.card:hover .post__cta .icon { transform: translateX(4px); }
.post-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 10px; }
.post-feature .post__body { padding: 20px 14px 14px; gap: 16px; }
.post-feature .post__title { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.04; letter-spacing: -.04em; }
.post-feature .pill { margin-top: auto; }

/* ---------- 04 WATCH ---------- */
.watch { background: var(--espresso); color: #fff; padding: clamp(24px, 3.6vw, 52px) var(--in); }
.watch__grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: var(--gap); }
.video-feature { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-feature img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.1s var(--ease); }
.video-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 10, 8, .82) 0%, rgba(15, 10, 8, 0) 50%); pointer-events: none; }
.video-feature:hover img { transform: scale(1.035); }
.play { position: absolute; left: 50%; top: 46%; z-index: 2; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .45s var(--ease), background .3s; }
.play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video-feature:hover .play { transform: scale(1.1); background: rgba(255, 255, 255, .3); }
.video-feature__meta { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.video-feature__cover { font-size: clamp(44px, 5.4vw, 84px); line-height: .9; letter-spacing: -.04em; color: var(--cream); text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.video-feature__title { font-size: 15px; font-weight: 600; line-height: 1.3; opacity: .9; max-width: 34ch; }
.watch__list { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.watch__list ul { width: 100%; }
.vid-row { display: grid; grid-template-columns: minmax(96px, 42%) 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.watch__list li:first-child .vid-row { border-top: 0; }
.vid-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; transition: transform .5s var(--ease); }
.vid-row span { font-size: 14px; font-weight: 600; line-height: 1.3; }
.vid-row:hover img { transform: scale(1.04); }
.watch__list .pill { margin-top: auto; width: 100%; }
.shorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.short { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #000; }
.short img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 10, 8, .8), rgba(15, 10, 8, 0) 45%); }
.short span { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; color: var(--cream); }
.short:hover img { transform: scale(1.06); }

/* ---------- 05 COURT PICKS ---------- */
.picks { padding: clamp(28px, 4.2vw, 64px) var(--in) clamp(12px, 2vw, 28px); }
.picks__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .9fr); gap: var(--gap); }
.pick-wilson { min-height: 580px; background: var(--espresso); }
.pick-wilson > img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.pick-wilson > .chip { position: absolute; left: 18px; top: 18px; }
.pick-card { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 250px; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6); }
.pick__brand { font-size: 32px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.pick__url { font-size: 13px; color: var(--mute); font-weight: 500; }
.pick-card .pill { margin-top: 14px; }
.pick-slyce { border-radius: var(--r-xl); overflow: hidden; color: #fff; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 100% 0%, #D77A45 0%, var(--clay) 45%, var(--clay-2) 100%); }
.pick-slyce__head { display: flex; justify-content: space-between; background: #fff; color: var(--ink); padding: 14px 22px; font-size: 14px; font-weight: 600; }
.pick-slyce__head span:last-child { color: var(--mute); }
.pick-slyce__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px 22px 22px; }
.pick-slyce .pick__brand { font-size: clamp(44px, 4.4vw, 64px); }
.pick-slyce .pick__url { color: rgba(255, 255, 255, .75); }
.stub { position: relative; width: calc(100% + 44px); margin: 28px -22px 0; padding: 26px 22px 0; border-top: 2px dashed rgba(255, 255, 255, .7); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.stub::before, .stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.stub::before { left: -11px; }
.stub::after { right: -11px; }
.pick-slyce__label { font-size: 13px; opacity: .85; }
.pick-slyce__code { font-size: clamp(40px, 4.2vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 14px; }
.pick-slyce__link { margin-top: auto; padding-top: 28px; width: 100%; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; }
.pick-uts { min-height: 580px; background: var(--espresso); }
.pick-uts img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.pick-uts:hover img { transform: scale(1.04); }
.pick-uts figcaption { position: absolute; left: 16px; bottom: 16px; white-space: normal; }

/* ---------- 06 THE COURT NEWS ---------- */
.news { color: #fff; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); padding: clamp(10px, 1.1vw, 16px); background: radial-gradient(90% 120% at 0% 100%, #8E3E1A 0%, var(--clay-2) 40%, var(--clay) 100%); }
.news__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: clamp(24px, 4.2vw, 64px); }
.news__mast { font-weight: 400; font-size: clamp(56px, 6.4vw, 108px); line-height: .92; letter-spacing: -.045em; color: var(--cream); }
.news__when { font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; line-height: 1; letter-spacing: -.03em; color: var(--cream); }
.news__desc { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; opacity: .92; max-width: 44ch; }
.news__form { width: 100%; margin-top: 8px; }
.news__fine { margin-top: 12px; font-size: 12px; opacity: .72; }
.beehiiv-embed { display: block; width: 100%; max-width: 480px; border: 0; border-radius: 16px; background: #fff; }
.news__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; background: var(--espresso); }
.news__media > img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.news__badge { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 18px; padding: 10px 18px 10px 10px; font-weight: 700; font-size: 14px; line-height: 1.25; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6); }
.news__badge small { display: block; font-weight: 500; font-size: 12px; color: var(--mute); }
.news__badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-2); }

/* ---------- 07 FOLLOW ---------- */
.follow { background: #fff; padding: clamp(24px, 3.6vw, 52px) var(--in); }
.follow__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.channel { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; border-radius: var(--r-lg); padding: 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; background: var(--espresso); }
.channel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.channel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 12, 4, .75) 0%, rgba(30, 12, 4, 0) 55%); }
.channel:hover > img { transform: scale(1.05); }
.channel__foot { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.channel__name { font-size: clamp(20px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.channel--clay { background: radial-gradient(120% 100% at 100% 0%, #D77A45 0%, var(--clay) 50%, var(--clay-2) 100%); }
.channel--clay::after { display: none; }
.channel__serif { display: block; font-size: clamp(44px, 4.4vw, 68px); line-height: .92; letter-spacing: -.045em; color: var(--cream); }
.channel__sub { display: block; margin-top: 10px; font-weight: 600; opacity: .9; }

/* ---------- Footer ---------- */
.ftr { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 22px var(--in) 12px; font-size: 13.5px; }
.ftr__links { display: flex; gap: 26px; font-weight: 600; }
.ftr__links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.ftr__links a:hover { background-size: 100% 1px; }
.ftr__copy { color: rgba(21, 19, 18, .55); }

/* ---------- Player ---------- */
.player { border: 0; padding: 0; background: transparent; width: min(1100px, 92vw); max-width: none; overflow: visible; color: #fff; }
.player::backdrop { background: rgba(30, 22, 19, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-lg); overflow: hidden; }
.player.is-vertical { width: min(400px, 88vw, calc(78svh * 9 / 16)); }
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; }
.player__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__bar { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.965); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-done { transition: none; }
.is-settled .hero [data-in] { opacity: 1; transform: none; transition: none; }
.js .card[data-reveal].is-in:hover { transform: translateY(-6px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .topbar__links { display: none; }
  .latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .post-feature .post__media img { aspect-ratio: 4 / 5; height: 100%; }
  .picks__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .pick-uts { display: none; }
  .dock__links { display: none; }
  .dock__menu { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; min-height: 0; padding: 20px 20px 22px; }
  /* photo starts below the headline block so João's face is never under text */
  .hero__bg { top: clamp(380px, 112vw, 520px); bottom: auto; height: calc(100vw * 1.62); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%); }
  .hero__bg img { object-position: 50% 0%; }
  .hero::before { background: none; }
  .topbar__cta { display: none; }
  .logo { font-size: 14px; }
  .hero__left { max-width: none; padding-block: 34px 0; gap: 18px; }
  .hero__title { font-size: clamp(54px, 15vw, 72px); }
  .thumbs, .hero__new { display: none; }
  .hero__right { grid-column: 1; grid-row: 3; padding: 0; margin-top: clamp(460px, 150vw, 760px); gap: 16px; }
  .tt--card { padding-top: 22px; }
  .hero__bottom { grid-row: 4; flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; padding-top: 22px; }
  .brands { order: 3; width: 100%; }

  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 480px; }
  .about__body { padding: 8px 10px 14px; }

  .watch__grid { grid-template-columns: 1fr; }
  .video-feature img { aspect-ratio: 4 / 3; }
  .shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--in)); padding-inline: var(--in); scrollbar-width: none; }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts li { flex: 0 0 min(62%, 240px); scroll-snap-align: start; }

  .picks__grid { grid-template-columns: 1fr; }
  .pick-wilson { min-height: 480px; }

  .news { grid-template-columns: 1fr; }
  .news__content { padding: 28px 14px 20px; }
  .news__media { min-height: 420px; }

  .follow__grid { grid-template-columns: 1fr; }
  .channel { min-height: 300px; }
}

@media (max-width: 560px) {
  .dock { gap: 12px; padding-left: 14px; }
  .dock__cta { display: none; }
  .latest__grid { grid-template-columns: 1fr 1fr; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post__media img { aspect-ratio: 4 / 5; }
  .post-feature .post__body { padding: 12px 8px 8px; }
  .post__title { font-size: 15px; }
  .cta-pill { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 14px; gap: 12px; }
  .cta-pill > span { text-align: center; }
  .about__details img { width: calc((100% - 20px) / 3); }
  .pick-card { right: 18px; min-width: 0; }
  .hero__mail { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-in] { opacity: 1 !important; transform: none !important; }
  .js .hero__bg img, .is-loaded .hero__bg img { transform: scale(1.05) !important; }
}

/* ==========================================================
   Motion — only where it adds to the content
   ========================================================== */

/* Hero headline: lines rise behind a mask, the italic "book" lands last */
.hero__title .ln { display: block; overflow: hidden; padding: 0 .14em .08em 0; margin-bottom: -.08em; }
.hero__title .ln > span, .hero__title em { display: inline-block; }
.js .hero__title .ln > span { transform: translateY(108%); }
.js .hero__title em { opacity: 0; transform: translateX(.2em) skewX(-10deg); }
.is-loaded .hero__title .ln > span { transform: none; transition: transform 1.3s var(--ease) .15s; }
.is-loaded .hero__title .ln + .ln > span { transition-delay: .28s; }
.is-loaded .hero__title em { opacity: 1; transform: none; transition: opacity 1s var(--ease) .8s, transform 1.2s var(--ease) .8s; }
.is-settled .hero__title .ln > span, .is-settled .hero__title em { opacity: 1; transform: none; transition: none; }

/* Section titles: soft blur-in, the italic switch arrives a beat later (João's cover detail) */
.js .pf-h[data-reveal], .js .pf-title[data-reveal], .js .news__mast[data-reveal] { filter: blur(10px); transform: translateY(34px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.js .pf-h[data-reveal].is-in, .js .pf-title[data-reveal].is-in, .js .news__mast[data-reveal].is-in { filter: none; transform: none; }
/* stays inline so a mid-word italic ("tenis|ta amador.") never breaks across lines — fade only */
.js [data-reveal] em { opacity: 0; transition: opacity 1s var(--ease) calc(var(--d, 0s) + .4s); }
.js [data-reveal].is-in em { opacity: 1; }
.js [data-reveal].is-done em { transition: none; }

/* Big photos: curtain reveal while the image settles from a slight zoom */
.js [data-reveal="curtain"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1.4s var(--ease) var(--d, 0s); }
.js [data-reveal="curtain"].is-in { clip-path: inset(0 0 0 0 round 24px); }
.js [data-reveal="curtain"] img { scale: 1.15; transition: scale 1.7s var(--ease) var(--d, 0s), transform 1s var(--ease); }
.js [data-reveal="curtain"].is-in img { scale: 1; }

/* Video: breathing play ring + a cream "assistir" cursor on desktop */
.play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: play-ping 2.6s var(--ease) infinite; }
@keyframes play-ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
.video-feature .play { transition: transform .45s var(--ease), background .3s, opacity .3s; }
.cursor-play { position: fixed; left: 0; top: 0; z-index: 70; width: 0; height: 0; pointer-events: none; }
.cursor-play__dot { position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-content: center; justify-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; transform: scale(0); transition: transform .4s var(--ease); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
.cursor-play__dot svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.cursor-play.is-on .cursor-play__dot { transform: scale(1); }
.has-cursor .video-feature, .has-cursor .short { cursor: none; }
.cursor-play-on .video-feature .play { opacity: 0; transform: scale(.6); }

/* Shorts: gentle 3D tilt with a light glare following the pointer */
.short { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); will-change: transform; }
.short:hover { transition: transform .15s linear; }
.short::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 45%); opacity: 0; transition: opacity .4s; }
.short:hover::before { opacity: 1; }

/* Coupon: stamp when copied */
.pick-slyce__code { display: inline-block; font-variant-numeric: tabular-nums; }
.pick-slyce__code.is-stamp { animation: stamp .55s var(--ease); }
@keyframes stamp { 0% { transform: none; } 40% { transform: scale(1.08) rotate(-2deg); } 100% { transform: none; } }
.pill.is-copied { background: var(--ink); color: #fff; }

/* Menu: fade in, links cascade */
.menu { opacity: 0; transform: translateY(-12px) scale(.985); transition: opacity .38s var(--ease), transform .5s var(--ease); }
.menu.is-open { opacity: 1; transform: none; }
.menu nav a { opacity: 0; transform: translateY(28px); }
.menu.is-open nav a { opacity: 1; transform: none; transition: opacity .5s var(--ease) calc(.08s + var(--i, 0) * .06s), transform .7s var(--ease) calc(.08s + var(--i, 0) * .06s), color .25s, padding .35s var(--ease); }

/* Player opens with a soft zoom */
.player[open] { animation: player-in .5s var(--ease); }
.player[open]::backdrop { animation: fade-in .4s ease; }
@keyframes player-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

/* Dock: reading progress in clay */
.dock::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--clay); opacity: .85; transform-origin: left center; transform: scaleX(var(--progress, 0)); }

/* Newsletter schedule badge floats */
.news__badge { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .js .hero__title .ln > span, .js .hero__title em, .js [data-reveal] em, .menu, .menu nav a { opacity: 1 !important; transform: none !important; }
  .js .pf-h[data-reveal], .js .pf-title[data-reveal], .js .news__mast[data-reveal] { filter: none !important; }
  .js [data-reveal="curtain"] { clip-path: none !important; }
  .js [data-reveal="curtain"] img { scale: 1 !important; }
  .play::after, .news__badge { animation: none !important; }
  .short { transform: none !important; }
}

/* ==========================================================
   The Court News — editions synced from Beehiiv + reader
   ========================================================== */
[hidden] { display: none !important; }
.news__read { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cream); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.news__read .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.news__read:hover .icon { transform: translateX(4px); }

.editions { padding: clamp(28px, 4.2vw, 64px) var(--in) clamp(12px, 2vw, 28px); }
.editions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.edition { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: edition-in .9s var(--ease) both; }
.edition:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(70, 30, 10, .5); }
.edition__media { display: block; border-radius: 18px; overflow: hidden; background: var(--sand-2); }
.edition__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.edition:hover .edition__media img { transform: scale(1.04); }
.edition__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 12px 10px; flex: 1; }
.edition__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -.035em; font-variant-numeric: oldstyle-nums; }
.edition__title em { font-style: italic; color: var(--clay); }
.edition__desc { font-size: 14.5px; line-height: 1.55; color: #5b534e; }
.edition__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.edition__cta .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.edition:hover .edition__cta .icon { transform: translateX(4px); }
.edition--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px; }
.edition--feature .edition__media img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.edition--feature .edition__body { padding: clamp(18px, 3vw, 40px); gap: 14px; justify-content: center; }
.edition--feature .edition__title { font-size: clamp(38px, 4.6vw, 64px); }
.edition--feature .edition__desc { font-size: 16px; max-width: 46ch; }
@keyframes edition-in { from { opacity: 0; transform: translateY(24px); } }

.reader { width: min(880px, calc(100vw - 2 * var(--pad))); max-width: none; max-height: calc(100dvh - 2 * var(--pad)); margin: auto; padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.reader::backdrop { background: rgba(30, 22, 19, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reader[open] { animation: player-in .5s var(--ease); }
.reader[open]::backdrop { animation: fade-in .4s ease; }
.reader__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.reader__meta { font-size: 13px; color: var(--mute); font-weight: 500; margin-right: auto; }
.reader__article { padding: clamp(20px, 5vw, 64px) clamp(20px, 6vw, 88px) clamp(28px, 5vw, 64px); }
.reader__cover { width: 100%; border-radius: var(--r-lg); margin-bottom: clamp(24px, 3vw, 36px); }
.reader__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -.04em; font-variant-numeric: oldstyle-nums; }
.reader__title em { font-style: italic; color: var(--clay); }
.reader__desc { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #5b534e; }
.prose { margin-top: clamp(28px, 4vw, 44px); font-size: 18px; line-height: 1.72; color: #2a2522; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; margin: 1.6em 0 .55em; color: var(--ink); }
.prose h3, .prose h4 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 1.4em 0 .5em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose mark { background: rgba(196, 99, 47, .16); color: inherit; padding: 0 .2em; border-radius: 4px; }
.prose a { color: var(--clay-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--clay); }
.prose img { width: 100%; border-radius: 18px; margin: 1.6em 0; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--clay); font-family: var(--serif); font-size: 1.2em; }
.prose small { color: var(--mute); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.reader__foot { margin-top: clamp(32px, 4vw, 48px); padding: 24px; border-radius: var(--r-lg); background: var(--sand-2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.reader__foot-title { font-size: 15px; font-weight: 600; }
.reader__foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.reader-open { overflow: hidden; }

@media (max-width: 900px) {
  .editions__grid { grid-template-columns: 1fr; }
  .edition--feature { grid-template-columns: 1fr; }
  .edition--feature .edition__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .reader { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .reader__bar { padding-left: 14px; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .edition, .reader[open], .reader[open]::backdrop { animation: none !important; }
}
