/* ==========================================================================
   Δημήτρης Κάσσαρης — kassaris.gr
   Design «Ανάσα» · Made with care by YNS
   ========================================================================== */

:root {
  --bg: #121110;
  --bg-deep: #0c0b0a;
  --bg-raise: #1c1a18;
  --line: #2e2b28;
  --line-soft: #23201d;
  --text: #eee9e1;
  --text-soft: #d8d2c8;
  --muted: #cfc8bd;
  --dim: #a39d93;
  --red: #e1141b;
  --red-light: #ff5257;
  --serif: "GFS Neohellenic", "Noto Serif", Georgia, serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--red-light); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.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: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--red-light); font-weight: 500; }
.h-xl { font-size: clamp(60px, 9.5vw, 140px); line-height: .9; }
.h-l { font-size: clamp(42px, 5.4vw, 78px); line-height: .95; }
.h-m { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; color: var(--text-soft); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.link-line { display: inline-block; font-size: 14px; font-weight: 400; border-bottom: 1px solid var(--red); padding-bottom: 4px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 33px; height: 40px; color: var(--red); flex: 0 0 auto; }
.logo__name { font-family: var(--serif); font-size: 20px; line-height: .95; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-solid { background: rgba(18, 17, 16, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line-soft); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-news { font-size: 13px; color: #bdb6ab; }
.header-news span { color: var(--red-light); }
.burger {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px;
  padding: 0 6px 0 18px; border: 1px solid #3a3632; border-radius: 999px;
  background: transparent; font-size: 14px; font-weight: 400; cursor: pointer;
  transition: border-color .3s;
}
.burger:hover { border-color: var(--red); }
.burger__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger__icon i { display: block; height: 1.5px; background: #fff; transition: width .35s var(--ease); }
.burger__icon i:nth-child(1), .burger__icon i:nth-child(3) { width: 16px; }
.burger__icon i:nth-child(2) { width: 10px; }
.burger:hover .burger__icon i:nth-child(2) { width: 16px; }
.burger:hover .burger__icon i:nth-child(1), .burger:hover .burger__icon i:nth-child(3) { width: 10px; }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 75; background: var(--bg-deep);
  overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; visibility: hidden; opacity: 0;
  transform: translateZ(0); will-change: opacity; backface-visibility: hidden;
  transition: opacity .35s, visibility 0s linear .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu__media { position: absolute; right: 0; top: 0; width: 46%; height: 100%; overflow: hidden; contain: paint; }
.menu__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(.6) brightness(.45); opacity: 0; transform: translateZ(0) scale(1.06); will-change: transform, opacity; backface-visibility: hidden; transition: opacity .9s .05s, transform 1.4s .05s var(--ease); }
.menu.is-open .menu__bg { opacity: .7; transform: translateZ(0) scale(1); }
.menu__shade { position: absolute; right: 0; top: 0; width: 46%; height: 100%; background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(12, 11, 10, .45) 60%, rgba(12, 11, 10, .2) 100%); }
.menu__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 36px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu__close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--red); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .4s var(--ease); }
.menu__close:hover { transform: rotate(90deg); }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; max-width: 800px; }
.menu__item { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateX(-40px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.menu__item:last-child { border-bottom: 0; }
.menu.is-open .menu__item { opacity: 1; transform: none; }
.menu.is-open .menu__item:nth-child(1) { transition-delay: .1s; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: .17s; }
.menu.is-open .menu__item:nth-child(3) { transition-delay: .24s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: .31s; }
.menu.is-open .menu__item:nth-child(5) { transition-delay: .38s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: .45s; }
.menu__num { width: 34px; font-size: 13px; color: var(--red-light); }
.menu__link { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; transition: color .3s, padding-left .4s var(--ease); }
.menu__link:hover, .menu__link[aria-current="page"] { color: var(--red-light); }
.menu__link:hover { padding-left: 14px; }
.menu__subs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.menu__subs a { color: #bdb6ab; }
.menu__subs a:hover, .menu__subs a[aria-current="page"] { color: #fff; }
.menu__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line-soft); padding-top: 22px; }
.menu__tag { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--text-soft); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 400; }
.socials a { color: #bdb6ab; }
.socials a:hover { color: #fff; }
html { scrollbar-gutter: stable; }
body.menu-open { overflow: hidden; }

/* ---------- Waveform ---------- */
.wave { height: 260px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.wave i { display: block; width: 4px; border-radius: 2px; background: rgba(238, 233, 225, .38); transform-origin: center; animation: breathe 2.8s ease-in-out infinite; }
.wave i.r { background: var(--red); }
@keyframes breathe { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(.4) contrast(1.05) brightness(.5); animation: kb 10s ease-out both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 16, .5) 0%, rgba(18, 17, 16, .25) 45%, rgba(18, 17, 16, .85) 85%, var(--bg) 100%); }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { position: relative; text-align: center; padding-top: 40px; padding-bottom: 40px; }
.hero__title { margin-top: -150px; position: relative; text-shadow: 0 0 40px var(--bg); }
.hero__lede { max-width: 680px; margin: 110px auto 0; }
.hero__caption { position: absolute; right: var(--gutter); bottom: 130px; margin: 0; font-size: 12px; font-style: italic; color: #bdb6ab; }
.player { margin: 52px auto 0; width: 100%; max-width: 520px; display: flex; align-items: center; gap: 18px; padding: 12px 18px 12px 12px; border: 1px solid #3a3632; border-radius: 999px; text-align: left; background: rgba(12, 11, 10, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s; }
.player:hover { border-color: var(--red); color: var(--text); }
.player__btn { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; }
.player__meta { flex: 1; min-width: 0; }
.player__title { margin: 0 0 8px; font-size: 14px; }
.player__title b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.player__bar { height: 2px; background: #3a3632; overflow: hidden; }
.player__bar i { display: block; height: 100%; width: 38%; background: var(--red); animation: prog 3s 1.4s ease-out both; }
@keyframes prog { from { width: 0; } }
.stroke { position: relative; display: block; width: 100%; height: 120px; }
.stroke path { stroke-dasharray: 1600; animation: drawline 3s .3s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes drawline { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.35); }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 16, .6), var(--bg)); }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5c5650; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: .92; max-width: 1000px; }
.page-hero .lede { margin: 26px 0 0; max-width: 760px; }
.page-hero__wave { position: absolute; right: var(--gutter); bottom: 34px; height: 60px; gap: 3px; opacity: .7; }
.page-hero__wave i { width: 3px; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.subnav a { padding: 10px 18px; border: 1px solid #3a3632; border-radius: 999px; font-size: 14px; font-weight: 400; }
.subnav a:hover { border-color: var(--red); color: var(--text); }
.subnav a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--deep { background: var(--bg-deep); }
.section--line { border-top: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section__head p { max-width: 440px; margin: 0; font-size: 16px; color: var(--muted); }
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split > .side { flex: 1 1 360px; min-width: 0; }
.split > .side .h-l { font-size: clamp(40px, 4.4vw, 64px); }
.split > .main { flex: 999 1 560px; min-width: 0; }

/* Photo treatment */
.ph { overflow: hidden; position: relative; background: var(--bg-raise); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.85); transition: transform 1.4s var(--ease), filter 1s; }
.ph:hover img, a:hover .ph img, a:focus-visible .ph img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: 13px; color: var(--dim); }

/* Diptych */
.diptych { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 70px; padding-bottom: 40px; }
.diptych > figure { flex: 1 1 340px; min-width: 0; }
.diptych > figure:last-child { margin-top: 90px; }
.diptych figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.diptych figcaption b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--text); }
.diptych__quote { flex: 1 1 280px; min-width: 0; align-self: center; text-align: center; padding: 20px 8px; }
.diptych__quote p { margin: 0; }

/* Meet cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.meet { display: flex; flex-direction: column; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 4px; min-height: 300px; transition: background .5s, border-color .5s; }
.meet:hover { background: var(--bg-raise); border-color: var(--red); color: var(--text); }
.meet__pair { display: flex; align-items: center; gap: 8px; color: var(--red); font-family: var(--serif); font-size: 24px; transition: transform .5s var(--ease); transform-origin: left; }
.meet:hover .meet__pair { transform: scale(1.1); }
.meet__pair svg { width: 26px; height: 32px; }
.meet__title { font-family: var(--serif); font-size: 34px; line-height: 1; }
.meet__text { flex: 1; font-size: 15px; line-height: 1.65; color: var(--muted); }
.meet__meta { font-size: 13px; color: var(--dim); }

/* Band image */
.band { position: relative; height: clamp(320px, 42vw, 620px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(.3) brightness(.62); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 10, 0) 40%, var(--bg-deep) 100%); }
.band figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: var(--wrap); padding: 0 var(--gutter) 36px; color: var(--text); }
.band figcaption .h-m { display: block; }

/* Tracklist */
.tracks { list-style: none; margin: 0; padding: 0; }
.track a { display: flex; align-items: center; gap: 20px; padding: 18px 14px; border-bottom: 1px solid var(--line); transition: background .3s; }
.track a:hover { background: var(--bg-raise); color: var(--text); }
.track__wave { display: flex; align-items: center; gap: 2px; height: 26px; width: 44px; flex: 0 0 auto; }
.track__wave i { width: 3px; background: #6b655d; transition: background .3s; }
.track a:hover .track__wave i { background: var(--red); }
.track__title { flex: 1; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.track__meta { font-size: 14px; color: var(--dim); text-align: right; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: var(--bg-raise); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.55); transition: transform 1.2s var(--ease), filter .8s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); filter: grayscale(0) brightness(.75); }
.tile__label { position: absolute; left: 24px; right: 24px; bottom: 22px; color: var(--text); }
.tile__label i { display: block; width: 28px; height: 2px; background: var(--red); margin-bottom: 12px; transition: width .5s var(--ease); }
.tile:hover .tile__label i { width: 64px; }
.tile__label b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.tile__label small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Books row (home) */
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; }
.book .ph { aspect-ratio: 3 / 4; border-radius: 2px; }
.book p { margin: 12px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.book { transition: transform .6s var(--ease); }
.book:hover { transform: translateY(-8px); color: var(--text); }

/* Bio teaser */
.arch { aspect-ratio: 3 / 4; border-radius: 210px 210px 4px 4px; max-width: 420px; }

/* ---------- Listing cards (posts) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; }
.card { display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 16 / 10; border-radius: 3px; }
.card__meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-light); font-weight: 500; }
.card__meta time { color: var(--dim); letter-spacing: .04em; }
.card__title { font-family: var(--serif); font-size: 26px; line-height: 1.12; transition: color .3s; }
.card:hover .card__title { color: var(--red-light); }
.card__play { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; z-index: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }

/* ---------- Post ---------- */
.post { padding: 80px 0 40px; }
.post__media { margin: 0 0 48px; border-radius: 4px; overflow: hidden; }
.post__media img { width: 100%; max-height: 720px; object-fit: contain; background: var(--bg-deep); }
.prose { font-size: 18px; line-height: 1.85; color: var(--text-soft); }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.6em 0 .6em; line-height: 1.15; }
.prose h2 { font-size: 36px; } .prose h3 { font-size: 30px; } .prose h4 { font-size: 24px; }
.prose a { color: var(--text); border-bottom: 1px solid var(--red); word-break: break-word; }
.prose a:hover { color: var(--red-light); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--red); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--text); }
.prose figure, .prose .video { margin: 2em 0; }
.prose figure img { border-radius: 3px; margin: 0 auto; }
.post__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 40px 0 0; margin-top: 60px; border-top: 1px solid var(--line); }
.post__nav a { flex: 1 1 260px; display: block; }
.post__nav small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red-light); margin-bottom: 8px; }
.post__nav span { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.post__nav a:last-child { text-align: right; }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .5s, transform 1s var(--ease); }
.video__btn:hover img { filter: brightness(.9); transform: scale(1.03); }
.video__btn span { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(225, 20, 27, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(225, 20, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 20, 27, 0); } }
.video-item { margin: 0; }
.video__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; color: var(--text); }
.video__title span { flex: none; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--red-light); }
.video__note { position: absolute; left: 14px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, .7); }
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Bio ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 34px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); }
.timeline li.r::before { background: var(--red); }
.timeline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--text); }
.timeline span { display: block; margin-top: 4px; font-size: 13px; color: var(--red-light); letter-spacing: .06em; }
.timeline p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.tl__link { display: inline-block; }
.tl__link b { display: inline; background: linear-gradient(var(--red), var(--red)) left 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.tl__link b i { display: inline-block; margin-left: 10px; font-style: normal; font-family: var(--sans); font-size: 18px; color: var(--red-light); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.tl__link:hover b, .tl__link:focus-visible b { color: var(--red-light); background-size: 100% 1px; }
.tl__link:hover b i, .tl__link:focus-visible b i { opacity: 1; transform: none; }
.tl__thumb { display: none; }

/* Hover preview (follows the cursor) */
.hover-preview { position: fixed; left: 0; top: 0; z-index: 55; width: 240px; pointer-events: none; opacity: 0; transform: translate3d(0, 0, 0) scale(.85) rotate(-4deg); transition: opacity .3s, transform .45s var(--ease); will-change: transform; }
.hover-preview.is-on { opacity: 1; }
.hover-preview__in { border-radius: 4px; overflow: hidden; background: var(--bg-raise); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); border-bottom: 3px solid var(--red); }
.hover-preview img { width: 100%; height: auto; max-height: 300px; object-fit: cover; display: block; }
@media (hover: none), (pointer: coarse) {
  .hover-preview { display: none; }
  .tl__link { display: flex; align-items: center; gap: 14px; }
  .tl__thumb { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 3px; flex: 0 0 auto; }
  .tl__link b i { opacity: 1; transform: none; }
}
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.role { padding: 28px; border: 1px solid var(--line); border-radius: 4px; }
.role h3 { font-size: 26px; margin-bottom: 14px; color: var(--red-light); }
.role p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }
details.en { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 26px; }
details.en summary { cursor: pointer; font-family: var(--serif); font-size: 26px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.en summary::-webkit-details-marker { display: none; }
details.en summary::after { content: "+"; color: var(--red); font-size: 30px; transition: transform .3s; }
details.en[open] summary::after { transform: rotate(45deg); }
details.en .prose { margin-top: 22px; font-size: 16px; }

/* ---------- Books (writing) ---------- */
.bookrow { display: flex; flex-wrap: wrap; gap: 56px; padding: 90px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.bookrow:first-child { border-top: 0; padding-top: 0; }
.bookrow__covers { flex: 1 1 300px; min-width: 0; max-width: 420px; display: grid; gap: 14px; }
.bookrow__covers.two { grid-template-columns: 1fr 1fr; max-width: 520px; }
.bookrow__covers .ph { border-radius: 3px; cursor: zoom-in; }
.bookrow__covers .ph img { filter: none; object-fit: contain; background: var(--bg-deep); }
.bookrow__body { flex: 999 1 480px; min-width: 0; }
.bookrow__body h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 10px; }
.bookrow__meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-light); margin-bottom: 26px; }
.publisher { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--dim); }
.publisher img { height: 40px; width: auto; border-radius: 3px; background: #fff; }
.publisher:hover { border-color: var(--red); color: var(--text); }

/* ---------- Gallery ---------- */
.gallery { columns: 4 260px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; }
.gallery a { display: block; border-radius: 3px; overflow: hidden; cursor: zoom-in; }
.gallery .ph img { height: auto; }
.gallery figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 7, 6, .96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; animation: fadein .3s; }
@keyframes fadein { from { opacity: 0; } }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 14px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #3a3632; background: rgba(12, 11, 10, .6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.lightbox button:hover { border-color: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -26px; }
.lb-next { right: 14px; top: 50%; margin-top: -26px; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--dim); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid #3a3632; border-radius: 6px; background: var(--bg-deep); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 180px; resize: vertical; }
.field__count { display: block; margin-top: 6px; text-align: right; font-size: 12px; color: var(--dim); }
.captcha { min-height: 78px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--red); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; font-size: 15px; font-weight: 400; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: transparent; color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border-color: #45403a; }
.btn--ghost:hover { border-color: var(--red); }
.notice { padding: 16px 20px; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 26px; }
.notice--ok { border-color: #2f6b3a; background: #13261a; }
.notice--err { border-color: var(--red); background: #2a1213; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: 110px 0 40px; text-align: center; }
.site-footer .lede { margin: 0 0 18px; }
.footer-mail { font-family: var(--serif); font-size: clamp(36px, 5.6vw, 80px); line-height: 1; }
.site-footer .socials { justify-content: center; margin-top: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 70px; font-size: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
.footer-bottom a { border-bottom: 1px solid var(--red); }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim); font-size: 13px; border-bottom: 1px solid #45403a; }
.footer-bottom button:hover { color: var(--text); }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 70; width: min(420px, calc(100% - 48px)); background: var(--bg-raise); border: 1px solid #34302c; border-radius: 16px; padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transform: translateY(30px); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .5s, visibility 0s linear .5s; }
.cookie.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .5s; }
.cookie h2 { font-size: 24px; margin-bottom: 8px; }
.cookie p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.cookie p a { border-bottom: 1px solid var(--red); }
.cookie__actions { display: flex; gap: 8px; }
.cookie__actions .btn { flex: 1; min-height: 46px; padding: 0 16px; font-size: 14px; }

/* ---------- Scroll to top ---------- */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 65; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--red); background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 2px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease), visibility 0s linear .4s, background .3s; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .4s var(--ease), background .3s; }
.totop:hover { background: var(--red); }
.totop i { display: block; width: 2px; background: var(--red); transition: background .3s, height .3s; }
.totop:hover i { background: #fff; }
.totop i:nth-child(1) { height: 10px; } .totop i:nth-child(2) { height: 18px; } .totop i:nth-child(3) { height: 24px; } .totop i:nth-child(4) { height: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.up { animation: up 1.2s var(--ease) both; }
.up-1 { animation-delay: .4s; } .up-2 { animation-delay: .8s; } .up-3 { animation-delay: 1.2s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; text-align: center; padding-top: var(--header-h); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* the last footer lines stay clear of the round back-to-top button */
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  body { font-size: 16px; }
  .header-news { display: none; }
  .section { padding: 90px 0; }
  .menu__media, .menu__shade { width: 100%; }
  .menu.is-open .menu__bg { opacity: .25; }
  .diptych > figure:last-child { margin-top: 0; }
  .wave { height: 200px; gap: 3px; }
  .wave i { width: 3px; }
  .hero__title { margin-top: -120px; }
  .hero__lede { margin-top: 90px; }
  .hero__caption { display: none; }
  .hero__lede br { display: none; }
  .player__title .dim { display: none; }
  .track a { flex-wrap: wrap; gap: 6px 16px; }
  .track__meta { flex-basis: 100%; text-align: left; padding-left: 60px; }
  .page-hero__wave { display: none; }
  .post__nav a:last-child { text-align: left; }
  .lightbox { padding: 60px 12px; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; --header-h: 64px; }
  .logo__name { font-size: 18px; }
  .logo__mark { width: 28px; height: 34px; }
  .burger { padding-left: 14px; gap: 10px; min-height: 48px; }
  .burger__icon { width: 36px; height: 36px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .totop { right: 14px; bottom: 14px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .meet { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .menu, .cookie, .totop, .wave { display: none !important; }
  body { background: #fff; color: #000; }
}
