:root {
  --ink: #111110;
  --paper: #f2f0ea;
  --white: #fff;
  --muted: #807f79;
  --accent: #b75a3e;
  --line: rgba(17, 17, 16, .16);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
.site-header { height: 76px; padding: 0 5.2vw; display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.wordmark { font: 700 22px "Manrope", sans-serif; letter-spacing: -.1em; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 58px); font-size: 11px; letter-spacing: .04em; }
.site-header nav a, .site-footer a { transition: color .2s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); border-radius: 50px; padding: 10px 16px; }
.nav-cta span { margin-left: 10px; color: var(--accent); }
.hero { min-height: 690px; height: min(760px, calc(100svh - 76px)); max-height: 860px; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.03fr .97fr; position: relative; overflow: hidden; }
.hero-copy { padding: clamp(70px, 8vw, 125px) 6vw 58px 9vw; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 2; }
.eyebrow { margin: 0; text-transform: uppercase; font-size: 10px; letter-spacing: .2em; font-weight: 600; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; vertical-align: middle; margin: 0 12px 3px 0; background: currentColor; opacity: .72; }
.eyebrow > span { opacity: .45; padding: 0 5px; }
.hero h1, .about h2, .journeys h2, .instagram-feed h2, .closing h2 { font: 400 clamp(55px, 7vw, 100px)/.98 "Manrope", sans-serif; letter-spacing: -.075em; }
.hero h1 { margin: 52px 0 25px; }
h1 em, h2 em { font-style: normal; color: #d6a38e; }
.hero-intro { max-width: 390px; margin: 0; color: rgba(242,240,234,.7); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; font-size: 11px; }
.button-light { padding: 13px 17px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.button-light span { padding-left: 17px; color: var(--accent); }
.quiet-link { color: rgba(242,240,234,.78); }
.hero-signature { margin-top: auto; display: flex; align-items: center; gap: 13px; font-size: 9px; color: rgba(242,240,234,.58); letter-spacing: .14em; text-transform: uppercase; }
.signature-rule { width: 34px; height: 1px; background: var(--accent); }
.hero-portrait { position: relative; min-height: 580px; margin: 0; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 40%; filter: saturate(.8); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,14,.64), transparent 38%), linear-gradient(90deg, rgba(15,15,14,.12), transparent 35%); }
.portrait-caption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 23px; display: flex; justify-content: space-between; color: rgba(255,255,255,.8); font-size: 9px; text-transform: uppercase; letter-spacing: .17em; }
.portrait-avatar { position: absolute; z-index: 2; top: 36px; right: 36px; display: flex; align-items: center; gap: 11px; padding: 7px 14px 7px 7px; border-radius: 40px; background: rgba(20,20,19,.68); backdrop-filter: blur(12px); color: white; font-size: 10px; }
.portrait-avatar img { width: 37px; height: 37px; object-fit: cover; border-radius: 50%; }
.portrait-avatar b { font-size: 14px; margin-left: 5px; font-weight: 400; }
.hero-side-note { position: absolute; left: 5.1vw; top: 50%; transform: translate(-50%,-50%) rotate(-90deg); font-size: 8px; letter-spacing: .2em; color: rgba(255,255,255,.28); }
.about { min-height: 470px; padding: 100px 9vw; display: grid; grid-template-columns: .8fr 2fr .35fr; gap: 4vw; align-items: start; }
.about-label { display: flex; flex-direction: column; height: 100%; justify-content: space-between; }
.dark { color: var(--ambient-muted,var(--muted)); }
.about-mark { color: #d3cfc5; font: 600 36px "Manrope", sans-serif; letter-spacing: -.1em; }
.about h2 { margin: -12px 0 24px; font-size: clamp(42px, 5.2vw, 70px); }
.about h2 em, .journeys h2 em { color: var(--accent); }
.about-main > p { max-width: 540px; margin: 0; color: #5f5e58; font-size: 14px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 18px; align-items: center; padding-bottom: 9px; border-bottom: 1px solid rgba(17,17,16,.38); font-size: 11px; margin-top: 29px; }
.text-link span { color: var(--accent); font-size: 15px; }
.about-meta { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 19px; font-size: 9px; color: var(--muted); text-align: right; letter-spacing: .1em; line-height: 1.8; text-transform: uppercase; }
.about-meta span:first-child { color: var(--accent); }
.journeys { padding: 80px 8vw 95px; background: #e8e6df; }
.journeys-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 42px; }
.journeys-heading h2, .instagram-feed h2 { margin: 16px 0 0; font-size: clamp(42px, 5.6vw, 70px); }
.journeys-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.highlights { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(11px, 2vw, 28px); }
.highlight { appearance: none; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-align: center; min-width: 0; position: relative; }
.highlight:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 8px; }
.highlight:disabled { cursor: default; opacity: .5; }
.highlight-ring { width: min(100%, 96px); aspect-ratio: 1; display: block; margin: 0 auto 12px; border: 1px solid rgba(17,17,16,.17); border-radius: 50%; padding: 5px; transition: transform .35s ease, border-color .35s; }
.highlight:hover .highlight-ring { transform: translateY(-5px); border-color: var(--accent); }
.highlight-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.highlight-label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.highlight-index { display: block; margin-top: 5px; color: #9c9a93; font-size: 8px; }
.instagram-feed { padding: 100px 5.2vw 110px; background: var(--ink); color: var(--paper); }
.feed-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px; }
.instagram-feed h2 { margin-bottom: 0; }
.feed-heading h2 em { color: #d6a38e; }
.feed-follow { display: inline-flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid rgba(242,240,234,.26); border-radius: 30px; font-size: 10px; color: rgba(242,240,234,.82); }
.feed-follow b { color: #d6a38e; font-weight: 400; }
.instagram-mark { font-size: 19px; }
.social-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.social-tile { display: block; position: relative; overflow: hidden; width: 100%; padding: 0; border: 0; text-align: left; color: inherit; cursor: pointer; aspect-ratio: 1; background: #000; }
.social-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.social-tile:hover img { transform: scale(1.04); opacity: .78; }
.tile-open { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; color: white; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; opacity: 0; transform: translateY(4px); transition: .25s; }
.social-tile:hover .tile-open, .social-tile:focus-visible .tile-open { opacity: 1; transform: translateY(0); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; color: white; font-size: 9px; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .25s; }
.social-tile:hover .tile-caption, .social-tile:focus-visible .tile-caption { opacity: 1; }
.feed-more { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 0; margin-top: 24px; border-top: 1px solid rgba(242,240,234,.24); border-bottom: 1px solid rgba(242,240,234,.24); font-size: 10px; letter-spacing: .05em; }
.feed-more span { color: #d6a38e; font-size: 16px; }
.photo-portfolio { padding: 95px 5.2vw 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.section-heading h2 { margin: 16px 0 0; font: 500 clamp(29px, 3.8vw, 48px)/1.1 "Manrope", sans-serif; letter-spacing: -.06em; }
.accent { color: var(--accent); }
.gallery-count { margin: 0 0 4px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 13px; }
.gallery-item { display: block; position: relative; overflow: hidden; grid-column: span 3; aspect-ratio: .78; border: 0; padding: 0; background: #d6d1c8; cursor: zoom-in; }
.gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 6; aspect-ratio: 1.52; }
.gallery-item:nth-child(7n+3) { grid-column: span 3; aspect-ratio: .68; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.06); }
.gallery-item::after { content: "↗"; position: absolute; right: 13px; bottom: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(240,238,232,.92); color: var(--ink); opacity: 0; transform: translateY(5px); transition: .25s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.closing { min-height: 530px; display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; position: relative; overflow: hidden; background: #1b1b19; color: var(--paper); }
.closing-image-wrap { min-height: 530px; overflow: hidden; }
.closing-image-wrap img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; display: block; opacity: .82; }
.closing-copy { padding: 95px 9vw 75px 8vw; align-self: center; position: relative; z-index: 1; }
.closing h2 { margin: 37px 0 40px; font-size: clamp(42px, 6.3vw, 78px); }
.closing h2 em { color: #d6a38e; }
.closing-links { display: flex; flex-wrap: wrap; gap: 28px; }
.closing-links .text-link { margin-top: 0; border-color: rgba(240,238,232,.48); }
.closing-links .text-link span { color: #d6a38e; }
.closing-number { position: absolute; right: 4vw; bottom: 22px; color: rgba(240,238,232,.34); font-size: 9px; letter-spacing: .2em; }
.site-footer { min-height: 88px; padding: 20px 5.2vw; display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); }
.footer-mark { color: var(--ink); }
.site-footer p { margin: 0; }
.lightbox { position: fixed; width: min(96vw, 1280px); height: min(94svh, 950px); max-width: none; max-height: none; padding: 52px 60px 35px; border: 0; background: rgba(18,18,17,.97); color: white; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,9,.88); backdrop-filter: blur(8px); }
.lightbox-image { display: block; width: 100%; height: calc(100% - 35px); object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { right: 9px; top: 4px; font-size: 36px; }
.lightbox-prev, .lightbox-next { top: 50%; font-size: 52px; line-height: 1; transform: translateY(-50%); }
.lightbox-prev { left: 5px; }
.lightbox-next { right: 5px; }
.lightbox-caption { margin: 10px 0 0; text-align: center; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) {
  .hero { min-height: 630px; height: 76svh; }
  .hero-copy { padding-left: 7vw; padding-right: 4vw; }
  .hero h1 { font-size: clamp(50px, 8.5vw, 74px); }
  .highlights { grid-template-columns: repeat(6, minmax(0,1fr)); row-gap: 22px; }
  .highlight-ring { width: min(100%, 88px); }
  .social-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .about { padding-left: 7vw; padding-right: 7vw; grid-template-columns: .65fr 2fr .25fr; }
}
@media (max-width: 640px) {
  .site-header { height: 64px; padding: 0 5vw; }
  .site-header nav { gap: 13px; font-size: 9px; }
  .nav-cta { padding: 8px 10px; }
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { min-height: 540px; padding: 70px 8vw 31px; }
  .hero h1 { margin-top: 42px; font-size: clamp(58px, 14vw, 84px); }
  .hero-intro { max-width: 330px; font-size: 13px; }
  .hero-portrait { min-height: 500px; height: 115vw; max-height: 650px; }
  .hero-side-note { display: none; }
  .portrait-avatar { top: 20px; right: 20px; }
  .about { min-height: 0; padding: 75px 8vw 85px; grid-template-columns: 1fr; gap: 31px; }
  .about-label { flex-direction: row; align-items: center; }
  .about-mark { font-size: 28px; }
  .about h2 { font-size: clamp(43px, 11vw, 60px); }
  .about-meta { display: none; }
  .journeys { padding: 70px 6vw 72px; }
  .journeys-heading { display: block; margin-bottom: 32px; }
  .journeys-heading > p { margin-top: 21px; }
  .journeys-heading h2, .instagram-feed h2 { font-size: clamp(42px, 11vw, 60px); }
  .highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 10px; }
  .highlight-ring { width: min(100%, 76px); padding: 4px; }
  .highlight-label { font-size: 8px; }
  .instagram-feed { padding: 73px 4vw 80px; }
  .feed-heading { display: block; margin-bottom: 27px; }
  .feed-follow { margin-top: 22px; }
  .social-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  .tile-open { width: 22px; height: 22px; top: 6px; right: 6px; font-size: 12px; opacity: 1; transform: none; }
  .tile-caption { display: none; }
  .photo-portfolio { padding: 75px 4vw 85px; }
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 7px; }
  .gallery-item { grid-column: span 3; aspect-ratio: .8; }
  .gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 6; aspect-ratio: 1.35; }
  .gallery-item:nth-child(7n+3) { grid-column: span 3; aspect-ratio: .72; }
  .closing { grid-template-columns: 1fr; }
  .closing-image-wrap, .closing-image-wrap img { min-height: 330px; height: 58vw; max-height: 470px; }
  .closing-copy { padding: 68px 8vw 82px; }
  .closing h2 { margin: 30px 0 34px; }
  .closing-links { gap: 20px; }
  .site-footer { padding: 20px 5vw; }
  .site-footer p { font-size: 9px; }
  .lightbox { padding: 48px 40px 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Instagram posts stay on this site and open in a local media viewer. */
body.social-viewer-open { overflow: hidden; }
.social-lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(44px, 7vh, 76px) clamp(52px, 8vw, 120px) 72px; border: 0; background: rgba(15,15,14,.98); color: #f0eee8; overflow: hidden; }
.social-lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.social-media-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.social-media-stage img, .social-media-stage video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.social-media-stage video { width: min(100%, 1180px); max-height: calc(100vh - 150px); background: #000; }
.social-media-stage img[hidden], .social-media-stage video[hidden] { display: none; }
.social-close, .social-prev, .social-next { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(240,238,232,.3); border-radius: 50%; color: #f0eee8; background: rgba(20,20,19,.55); font: 300 32px/1 "Manrope", sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.social-close:hover, .social-prev:hover, .social-next:hover { background: #d6a38e; border-color: #d6a38e; color: #171715; }
.social-close { top: 22px; right: 26px; font-size: 31px; }
.social-prev, .social-next { top: 50%; transform: translateY(-50%); }
.social-prev { left: 22px; }
.social-next { right: 22px; }
.social-prev:disabled, .social-next:disabled { opacity: .25; cursor: default; }
.social-prev[hidden], .social-next[hidden] { display: none; }
.social-details { position: absolute; left: 50%; bottom: 19px; display: flex; gap: 16px; align-items: center; max-width: min(800px, 75vw); transform: translateX(-50%); color: rgba(240,238,232,.75); }
.social-count { flex: none; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.social-caption { margin: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
 .social-lightbox { padding: 64px 12px 92px; }
 .social-close { top: 10px; right: 10px; width: 42px; height: 42px; }
 .social-prev, .social-next { width: 40px; height: 40px; font-size: 27px; }
 .social-prev { left: 8px; }
 .social-next { right: 8px; }
 .social-media-stage video { max-height: calc(100vh - 170px); }
 .social-details { bottom: 17px; width: calc(100vw - 40px); max-width: none; justify-content: center; }
}

.tile-kind { position: absolute; top: 11px; left: 11px; z-index: 1; padding: 6px 9px; border: 1px solid rgba(255,255,255,.48); border-radius: 30px; color: #fff; background: rgba(18,18,17,.55); font-size: 8px; letter-spacing: .08em; backdrop-filter: blur(6px); }
.social-tile.has-carousel::after { content: attr(data-slide-count) " FOTOGRAFIÍ"; position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; border-radius: 20px; color: #fff; background: rgba(18,18,17,.6); font-size: 8px; letter-spacing: .06em; }
/* Constrain the carousel stage to the available viewport, including portrait media. */
.social-media-stage { position: absolute; inset: 58px 74px 68px; display: flex; width: auto; height: auto; min-width: 0; min-height: 0; align-items: center; justify-content: center; }
.social-media-stage img, .social-media-stage video { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.social-media-stage video { background: #000; }
@media (max-width: 640px) {
  .social-media-stage { inset: 58px 46px 80px; }
  .social-media-stage video { max-height: 100%; }
}

/* Cinematic opening: one full-bleed, locally hosted portrait of work and travel. */
.site-header { position: absolute; z-index: 12; inset: 0 0 auto; height: 82px; color: #fff; background: transparent; }
.site-header .wordmark { font-size: 24px; color: #fff; }
.site-header .wordmark span { color: #d6a38e; }
.site-header nav a { color: rgba(255,255,255,.88); }
.site-header nav a:hover { color: #fff; }
.site-header .nav-cta { border-color: rgba(255,255,255,.4); }
.site-header .nav-cta span { color: #e0ad96; }
.hero { height: min(920px, 100svh); min-height: 650px; max-height: none; display: block; background: #111; isolation: isolate; }
.hero-portrait { position: absolute; inset: 0; z-index: -2; min-height: 0; height: auto; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; filter: saturate(.78); opacity: 0; transform: scale(1.045); transition: opacity 1.5s ease, transform 7.4s cubic-bezier(.2,.65,.25,1); }
.hero-photo.is-active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.63) 0%, rgba(10,10,10,.24) 54%, rgba(10,10,10,.12) 100%), linear-gradient(0deg, rgba(10,10,10,.63), transparent 38%, rgba(10,10,10,.2)); }
.hero-copy { position: absolute; left: 7.3vw; bottom: clamp(82px, 11vh, 135px); width: min(760px, 77vw); min-height: 0; padding: 0; z-index: 2; }
.hero-copy .eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { margin: 28px 0 19px; max-width: 850px; font-size: clamp(58px, 8.6vw, 120px); line-height: .9; letter-spacing: -.085em; }
.hero h1 em { color: #e3b7a3; }
.hero-intro { max-width: 430px; color: rgba(255,255,255,.77); font-size: 14px; }
.hero-actions { margin-top: 26px; }
.button-light { border-radius: 2px; background: #f2f0ea; }
.hero-signature { display: none; }
.hero-side-note { display: none; }
.hero-brand { position: absolute; z-index: 2; left: 7.2vw; top: 17vh; display: flex; align-items: baseline; color: rgba(255,255,255,.94); font: 300 clamp(52px, 9.5vw, 138px)/.8 "Manrope", sans-serif; letter-spacing: -.095em; pointer-events: none; }
.hero-brand i { color: #d6a38e; font-style: normal; }
.hero-brand small { margin: 0 0 0 17px; font: 500 9px/1 "DM Sans", sans-serif; letter-spacing: .25em; writing-mode: vertical-rl; opacity: .75; }
.portrait-caption { z-index: 2; left: auto; right: 7.4vw; bottom: 36px; gap: 22px; color: rgba(255,255,255,.7); font-size: 8px; }
.portrait-avatar { top: auto; right: 7.2vw; bottom: 68px; z-index: 3; padding: 0; border-radius: 0; background: transparent; backdrop-filter: none; color: white; font-size: 9px; letter-spacing: .06em; }
.portrait-avatar img { width: 30px; height: 30px; }
.hero-sound { position: absolute; z-index: 5; right: 7.1vw; bottom: 32px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.36); border-radius: 30px; color: white; background: rgba(12,12,12,.18); font: 500 9px "DM Sans", sans-serif; letter-spacing: .08em; cursor: pointer; backdrop-filter: blur(8px); transition: background .25s, border-color .25s; }
.hero-sound:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.7); }
.sound-icon { font-size: 15px; line-height: 1; }
.hero-progress { position: absolute; z-index: 4; left: 7.3vw; bottom: 38px; display: flex; gap: 5px; width: min(180px, 30vw); }
.hero-progress span { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(255,255,255,.35); }
.hero-progress span::after { position: absolute; inset: 0; content: ""; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-progress span.is-active::after { animation: hero-progress 6.5s linear forwards; }
.hero-progress span:last-child.is-active::after { animation-duration: 14s; }
@keyframes hero-progress { to { transform: scaleX(1); } }
.site-intro { position: fixed; z-index: 99; inset: 0; display: grid; place-items: center; overflow: hidden; color: #f2f0ea; background: #111110; animation: intro-disappear .45s ease 2.05s forwards; pointer-events: none; }
.intro-mark { display: flex; align-items: baseline; color: #f2f0ea; font: 300 clamp(90px, 18vw, 240px)/.8 "Manrope", sans-serif; letter-spacing: -.105em; opacity: 0; transform: translateY(18px); animation: intro-mark-in .8s cubic-bezier(.18,.75,.2,1) .28s forwards; }
.intro-mark i { color: #d6a38e; font-style: normal; }
.intro-mark small { margin-left: 18px; font: 500 10px "DM Sans", sans-serif; letter-spacing: .27em; writing-mode: vertical-rl; }
.intro-line { position: absolute; left: 0; width: 100%; height: 50.5%; background: #111110; }
.intro-line-one { top: 0; transform-origin: top; animation: intro-open .95s cubic-bezier(.76,0,.24,1) 1.18s forwards; }
.intro-line-two { bottom: 0; transform-origin: bottom; animation: intro-open .95s cubic-bezier(.76,0,.24,1) 1.18s forwards; }
@keyframes intro-mark-in { to { opacity: 1; transform: translateY(0); } }
@keyframes intro-open { to { transform: scaleY(0); } }
@keyframes intro-disappear { to { opacity: 0; visibility: hidden; } }
@media (max-width: 900px) {
 .site-header { height: 74px; }
 .hero { height: min(850px, 92svh); min-height: 650px; }
 .hero-copy { left: 7vw; bottom: 115px; width: 84vw; padding: 0; }
 .hero-brand { top: 18vh; }
 .hero h1 { font-size: clamp(66px, 10vw, 102px); }
}
@media (max-width: 640px) {
 .site-header { height: 66px; padding: 0 5vw; }
 .site-header nav { gap: 13px; font-size: 9px; }
 .site-header .wordmark { font-size: 21px; }
 .hero { height: 100svh; min-height: 620px; max-height: 900px; display: block; }
 .hero-portrait { min-height: 0; height: auto; max-height: none; }
 .portrait-caption { display: none; }
 .hero-copy { left: 7vw; right: 7vw; bottom: 128px; width: auto; min-height: 0; padding: 0; }
 .hero h1 { margin: 26px 0 17px; font-size: clamp(58px, 13.7vw, 88px); line-height: .94; }
 .hero-intro { max-width: 340px; font-size: 12px; }
 .hero-actions { gap: 22px; margin-top: 23px; font-size: 10px; }
 .hero-brand { top: 18vh; left: 7vw; font-size: clamp(69px, 18vw, 100px); }
 .hero-brand small { margin-left: 12px; font-size: 8px; }
 .hero-shade { background: linear-gradient(90deg, rgba(10,10,10,.52), rgba(10,10,10,.12)), linear-gradient(0deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.3) 45%, rgba(10,10,10,.12)); }
 .hero-photo { object-position: center 45%; }
 .hero-photo.hero-film-video { object-position: 50% 45%; }
 .portrait-caption { left: 7vw; right: auto; bottom: 27px; gap: 14px; font-size: 7px; }
 .portrait-avatar { right: 7vw; bottom: 21px; font-size: 8px; }
 .portrait-avatar img { width: 25px; height: 25px; }
 .hero-sound { right: 7vw; bottom: 69px; padding: 8px 10px; font-size: 8px; }
 .hero-progress { left: 7vw; bottom: 76px; width: 34vw; }
 .intro-mark { font-size: clamp(106px, 27vw, 170px); }
 .intro-mark small { font-size: 8px; margin-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .site-intro { display: none !important; }
 .hero-photo { transition: none !important; transform: none !important; }
 .hero-progress { display: none; }
}


/* Philosophy chapter mirrors the local post grid, with an original optional ambient score. */
.philosophy-section { padding-top: 102px; }
.philosophy-heading { align-items: flex-end; }
.philosophy-tools { display: flex; align-items: center; gap: 23px; }
.philosophy-count { margin: 0; color: rgba(242,240,234,.56); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.philosophy-count { color: var(--ambient-muted,#77766f); }
.philosophy-sound { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 9px 14px; border: 1px solid rgba(242,240,234,.3); border-radius: 30px; color: rgba(242,240,234,.85); background: transparent; font: 500 9px "DM Sans", sans-serif; letter-spacing: .08em; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.philosophy-sound { color: var(--ambient-ink,var(--paper)); border-color: color-mix(in srgb,var(--ambient-ink,#fff) 35%,transparent); }
.philosophy-sound:hover, .philosophy-sound[aria-pressed="true"] { border-color: #d6a38e; background: rgba(214,163,142,.12); color: #fff; }
.philosophy-sound > span:first-child { color: #d6a38e; font-size: 15px; }
.philosophy-intro { max-width: 480px; margin: -17px 0 35px; color: rgba(242,240,234,.61); font-size: 12px; line-height: 1.8; }
.philosophy-grid .social-tile { aspect-ratio: 1; }
.philosophy-grid .social-tile img { object-position: center; }
.philosophy-grid .social-tile:nth-child(3n+2) img { object-position: center 45%; }
.philosophy-signature { margin-top: 35px; }
.philosophy-signature span:first-child { font-size: 9px; letter-spacing: .15em; }
.philosophy-signature span:last-child { color: #d6a38e; font-size: 18px; }
.philosophy-lightbox .social-media-stage { background: #000; }
.philosophy-image { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; object-fit: contain !important; }
@media (max-width: 900px) {
 .philosophy-tools { gap: 12px; }
 .philosophy-section { padding-top: 80px; }
}

/* Personal journal: a hand-signed identity, horizontal story rails and an atmospheric time dial. */
:root { --paper: #e8e6df; --ink: #171715; --muted-ink: #77766f; --accent: #b96548; --line: rgba(25,25,23,.16); }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { background: var(--ambient-surface,var(--paper)); color: var(--ambient-ink,var(--ink)); font-family: "DM Sans", "Manrope", sans-serif; transition: background-color 1.1s ease,color 1.1s ease; }
body::before { opacity: .16; }
body::after { opacity: .12; }
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; display: grid; grid-template-columns: minmax(145px,1fr) auto minmax(170px,1fr); align-items: center; gap: 25px; padding: 16px clamp(20px,4vw,68px); color: #f5f2eb; background: transparent; mix-blend-mode: difference; }
.signature-wordmark { display: grid; width: max-content; grid-template-columns: 68px auto; grid-template-rows: 31px 14px; align-items: end; gap: 0 7px; color: inherit; text-decoration: none; }
.signature-wordmark svg { grid-row: 1/3; width: 68px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.signature-name { align-self: end; font-size: 9px; letter-spacing: .12em; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px,2.5vw,38px); }
.site-header nav a { position: relative; padding: 8px 0; color: inherit; font-size: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-header nav .nav-cta { border: 1px solid currentColor; padding: 8px 12px; }
.menu-stack { justify-self: center; display: grid; justify-items: center; gap: 1px; }
.menu-toggle,.menu-contact { padding: 1px 0; border: 0; color: inherit; background: transparent; font: 500 10px/1.15 "DM Sans",sans-serif; letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.menu-contact { font-size: 9px; }
.menu-toggle:hover,.menu-contact:hover { text-decoration: underline; text-underline-offset: 2px; }
.site-nav { position: fixed; z-index: 60; inset: 0; display: grid !important; place-content: center; justify-items: center; gap: clamp(8px,1.5vh,16px); padding: 68px 24px 50px; color: var(--ambient-ink,var(--ink)); background: var(--ambient-surface,var(--paper)); mix-blend-mode: normal; }
.site-nav[hidden] { display: none !important; }
.site-nav a { color: inherit !important; font-size: clamp(36px,5.2vw,72px) !important; line-height: .96; font-weight: 400; letter-spacing: -.065em !important; text-transform: none !important; }
.site-nav a::after { bottom: 0 !important; height: 2px !important; background: var(--accent) !important; }
.site-nav .nav-cta { border: 0 !important; padding: 8px 0 !important; }
.menu-close { position: absolute; top: 24px; right: clamp(20px,4vw,68px); display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid color-mix(in srgb,currentColor 35%,transparent); border-radius: 50%; color: inherit; background: transparent; font: 300 29px/1 "Manrope",sans-serif; cursor: pointer; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { mix-blend-mode: normal; color: var(--ambient-ink,var(--ink)); }
body.menu-open .site-nav { background-color: var(--ambient-surface,var(--paper)); }
 .time-control { position: relative; justify-self: end; display: flex; align-items: center; gap: 13px; }
.time-copy { display: grid; gap: 4px; font-size: 8px; line-height: 1; letter-spacing: .1em; text-align: right; }
.time-copy button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; cursor: pointer; }
.time-copy button:hover { color: var(--accent); }
.time-readout { font-size: 10px; letter-spacing: .12em; }
.time-wheel { position: relative; display: grid; flex: none; width: 64px; height: 64px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; cursor: grab; touch-action: none; transition: background .3s,color .3s; }
.time-wheel::before { position: absolute; inset: 5px; border: 1px solid color-mix(in srgb,currentColor 36%,transparent); border-radius: 50%; content: ""; pointer-events: none; }
.time-wheel:hover, .time-wheel[aria-pressed="true"] { color: var(--ambient-ink,var(--ink)); background: var(--ambient-surface,var(--paper)); }
.time-wheel-dot { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; background: var(--ambient-surface,var(--paper)); transform: translate(-50%,-50%); transition: top .25s ease,left .25s ease; pointer-events: none; }
.time-range-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.time-travel-active .site-header { mix-blend-mode: normal; color: var(--ambient-ink,var(--ink)); background: color-mix(in srgb,var(--ambient-surface,var(--paper)) 92%,transparent); }
.time-atmosphere { display: none; }
.hero { min-height: min(890px,100svh); background: #24231f; }
.hero-portrait { inset: 0; }
.hero-portrait::after { background: linear-gradient(90deg,#11130fc2 0%,#16171475 50%,#1617140c 100%),linear-gradient(0deg,#11130f60,transparent 38%); }
.hero-copy { z-index: 2; width: min(720px,70vw); margin: 0; padding: 0 0 0 clamp(24px,9vw,145px); transform: translateY(15px); }
.hero-copy h1 { max-width: 690px; font-size: clamp(62px,10vw,148px); font-weight: 500; line-height: .88; letter-spacing: -.075em; }
.hero-copy h1 em,.journeys-heading h2 em,.moments-heading h2 em,.philosophy-heading h2 em,.map-heading h2 em,.closing-copy h2 em { color: #df9472; font-style: normal; }
.hero-intro { max-width: 375px; font-size: clamp(13px,1.3vw,16px); line-height: 1.7; }
.hero-brand { top: 19vh; right: clamp(28px,7vw,110px); left: auto; display: grid; place-items: center; width: clamp(78px,10vw,132px); height: clamp(78px,10vw,132px); border: 1px solid #ffffff99; border-radius: 50%; font-size: clamp(22px,3vw,38px); font-weight: 300; letter-spacing: -.08em; }
.hero-brand i { color: #df9472; font-style: normal; }
.hero-brand small { margin: 2px 0 0; font-size: 6px; letter-spacing: .18em; writing-mode: horizontal-tb; }
.portrait-avatar { display: none; }
.hero-progress span { background: #fff9; }
.hero-progress span.is-active { background: #e19a78; }
.about { position: relative; min-height: 500px; padding: 120px clamp(24px,9vw,145px); background: var(--ambient-surface,var(--paper)); color: var(--ambient-ink,var(--ink)); transition: background-color 1.1s ease,color 1.1s ease; }
.about-main h2 { max-width: 860px; font-size: clamp(44px,7vw,96px); line-height: .98; letter-spacing: -.065em; }
.about-main p { max-width: 540px; margin-top: 32px; color: var(--ambient-muted,#5f5e58); font-size: 16px; line-height: 1.8; }
.about-mark { color: var(--ambient-muted,#aaa89f); }
.text-link { border-color: color-mix(in srgb,var(--ambient-ink,var(--ink)) 38%,transparent); }
.about-mark { color: var(--accent); font-family: Caveat,cursive; font-size: 39px; transform: rotate(-8deg); }
.eyebrow { letter-spacing: .18em; }
.journeys,.moments-section,.philosophy-section,.map-section { padding: clamp(72px,10vw,145px) clamp(20px,5vw,80px); background: var(--ambient-surface,var(--paper)); color: var(--ambient-ink,var(--ink)); transition: background-color 1.1s ease,color 1.1s ease; }
.journeys-heading,.moments-heading,.philosophy-heading,.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 48px; }
.journeys-heading h2,.moments-heading h2,.philosophy-heading h2,.map-heading h2 { font-size: clamp(48px,7vw,96px); font-weight: 500; line-height: .95; letter-spacing: -.065em; }
.journeys-heading > p,.moments-heading > p,.map-heading > p { color: var(--ambient-muted,#99978f); font-size: 13px; line-height: 1.7; }
.highlights { display: flex; overflow-x: auto; gap: 14px; padding: 5px 0 24px; scrollbar-width: thin; scrollbar-color: #777 transparent; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; cursor: grab; }
.highlight { flex: 0 0 clamp(180px,22vw,300px); display: grid; grid-template-rows: auto auto auto; gap: 11px; padding: 0; border: 0; text-align: left; background: transparent; cursor: pointer; scroll-snap-align: start; }
.highlight-ring { width: 100%; aspect-ratio: 1.23; overflow: hidden; border: 0; border-radius: 0; }
.highlight-ring img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .7s,filter .5s; }
.highlight:hover .highlight-ring img { filter: saturate(1); transform: scale(1.05); }
.highlight-label { color: #f3f0e8; font-size: 17px; font-weight: 500; }
.highlight-label { color: var(--ambient-ink,var(--ink)); }
.highlight-index { color: #8d8b84; font-size: 9px; letter-spacing: .15em; }
.moments-section { background: var(--ambient-surface,var(--paper)); }
.moments-heading h2 { color: var(--ambient-ink,var(--ink)); }
.moments-toolbar,.thought-rail-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ambient-muted,#77766f); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.moments-toolbar b { color: var(--ambient-ink,var(--ink)); }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button { width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; font-size: 18px; cursor: pointer; transition: color .2s,background .2s; }
.rail-arrows button:hover { color: var(--paper); background: var(--ink); }
.moments-rail,.philosophy-rail { position: relative; display: flex; overflow-x: auto; gap: 13px; padding: 15px 0 30px; scrollbar-width: thin; scrollbar-color: #9a9992 transparent; scroll-snap-type: x mandatory; }
.moments-rail { gap: 24px; }
.moments-rail[data-motor-active] { scroll-snap-type: none; }
.moments-rail .social-tile { position: relative; flex: 0 0 clamp(260px,36vw,540px); height: clamp(290px,46vw,590px); aspect-ratio: auto; overflow: hidden; padding: 0; border: 0; background: #d5d2ca; scroll-snap-align: center; }
.moments-rail .social-tile { transform: translate3d(var(--motor-offset,0px),0,0); scale: var(--motor-scale,1); transform-origin: center; transition: scale .52s cubic-bezier(.22,1,.36,1); }
.moments-rail[data-motor-active] .social-tile { transition: scale .52s cubic-bezier(.22,1,.36,1); }
.moments-rail[data-motor-settling] .social-tile { transition: transform .52s cubic-bezier(.22,1,.36,1),scale .52s cubic-bezier(.22,1,.36,1); }
.moments-rail .social-tile[data-motor-hovered] { z-index: 5; }
.moments-rail .social-tile img,.moments-rail .social-tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .75s; }
.moments-rail .social-tile:hover img { transform: scale(1.04); }
.moments-rail .social-tile::after { position: absolute; inset: 38% 0 0; background: linear-gradient(transparent,#1119); content: ""; pointer-events: none; }
.moment-title { position: absolute; z-index: 1; right: 55px; bottom: 19px; left: 17px; overflow: hidden; color: #fff; font-size: clamp(18px,2.3vw,30px); line-height: 1.1; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.moments-rail .tile-kind { display: none; }
.moments-rail .social-tile.has-carousel::after { content: ""; inset: 38% 0 0; z-index: 0; width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: linear-gradient(transparent,#1119); }
.moments-rail .tile-open { top: auto; right: 13px; bottom: 14px; left: auto; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 19px; }
.social-lightbox { color: #f4f1e9; background: #111; }
.social-details { font-family: "DM Sans",sans-serif; }
.philosophy-section { position: relative; overflow: clip; }
.philosophy-heading { align-items: end; }
.philosophy-heading h2 { color: var(--ambient-ink,#f4f1e9); }
.philosophy-intro { max-width: 440px; color: var(--ambient-muted,#aaa89f); font-size: 14px; line-height: 1.8; }
.philosophy-stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 44px 0 72px; }
.philosophy-card { position: relative; min-height: clamp(430px,60vw,710px); overflow: hidden; background: #383732 var(--story-image) center/cover no-repeat; transition: min-height .65s cubic-bezier(.2,.8,.2,1); }
.philosophy-card::before { position: absolute; inset: 0; background: linear-gradient(0deg,#111b 0%,transparent 62%); content: ""; transition: opacity .5s; }
.philosophy-card-trigger { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px; border: 1px solid #ffffff80; color: #fff; text-align: left; background: transparent; cursor: pointer; }
.philosophy-card-no { font-size: 10px; letter-spacing: .14em; }
.philosophy-card-title { max-width: 320px; font-size: clamp(28px,4.4vw,61px); line-height: .98; letter-spacing: -.05em; }
.philosophy-card-open { align-self: flex-end; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #fff9; border-radius: 50%; font-size: 18px; }
.philosophy-card:hover { background-size: auto 106%; }
.philosophy-story-reveal { position: absolute; z-index: 2; inset: 0; display: flex; align-items: end; padding: clamp(24px,6vw,85px); opacity: 0; pointer-events: none; color: #fff; background: linear-gradient(90deg,#10100ef0 0%,#10100e99 55%,#10100e10 100%); transition: opacity .35s; }
.philosophy-story-copy { max-width: 530px; color: #fff; transform: translateY(25px); transition: transform .45s; }
.philosophy-story-copy h3 { margin: 12px 0 20px; font-size: clamp(45px,8vw,100px); font-weight: 500; line-height: .92; letter-spacing: -.07em; }
.philosophy-story-copy > p:not(.eyebrow) { max-width: 480px; font-size: clamp(15px,1.7vw,20px); line-height: 1.65; }
.philosophy-story-foot { display: inline-block; margin-top: 36px; color: #ffffffb3; font-family: Caveat,cursive; font-size: 24px; transform: rotate(-4deg); }
.philosophy-story-close { position: absolute; top: 23px; right: 25px; width: 44px; height: 44px; border: 1px solid #fff8; border-radius: 50%; color: white; background: transparent; font-size: 27px; cursor: pointer; }
.philosophy-card.is-open { position: fixed; z-index: 100; inset: 0; min-height: 100svh; background-position: center; background-size: cover; }
.philosophy-card.is-open::before { background: #0005; }
.philosophy-card.is-open .philosophy-card-trigger { opacity: 0; pointer-events: none; }
.philosophy-card.is-open .philosophy-story-reveal { opacity: 1; pointer-events: auto; }
.philosophy-card.is-open .philosophy-story-copy { transform: translateY(0); }
body.philosophy-story-open { overflow: hidden; }
body.philosophy-story-open .philosophy-section { overflow: visible; }
.thought-rail-heading { margin-top: 20px; color: var(--ambient-ink,#f4f1e9); }
.thought-rail-heading .eyebrow { color: var(--ambient-muted,#a6a39a); font-size: 9px; }
.thought-rail-heading p:last-child { margin: 7px 0 0; font-size: 19px; letter-spacing: -.02em; text-transform: none; }
.thought-rail-heading .rail-arrows { color: #d0cdc4; }
.philosophy-rail { gap: 8px; }
.philosophy-tile { position: relative; flex: 0 0 clamp(190px,23vw,310px); aspect-ratio: .82; overflow: hidden; padding: 0; border: 0; background: #090909; cursor: pointer; scroll-snap-align: start; }
.philosophy-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s,opacity .4s; }
.philosophy-tile:hover img { opacity: .8; transform: scale(1.04); }
.philosophy-tile-label { position: absolute; right: 12px; bottom: 12px; color: white; font-size: 10px; letter-spacing: .12em; }
.philosophy-signature { display: flex; align-items: center; gap: 13px; margin-top: 35px; }
.philosophy-signature span:first-child { font-family: Caveat,cursive; font-size: 30px; transform: rotate(-8deg); }
.philosophy-signature span:last-child { color: var(--ambient-muted,#aaa89f); font-size: 11px; }
@media (max-width: 640px) {
 .philosophy-tools { justify-content: space-between; margin-top: 20px; }
 .philosophy-intro { margin: 0 0 22px; }
 .philosophy-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
 .philosophy-grid .tile-open { display: none; }
 .philosophy-section { padding-top: 76px; }
}

.map-section { background: var(--ambient-surface,var(--paper)); color: var(--ambient-ink,var(--ink)); }
.map-heading h2 { color: var(--ambient-ink,var(--ink)); }
.map-layout { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(230px,.8fr); align-items: center; gap: clamp(25px,6vw,90px); margin-top: 45px; }
.world-map { position: relative; min-height: clamp(270px,40vw,520px); overflow: hidden; }
.world-outline { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ambient-land,#c8c6bd); stroke: var(--ambient-muted,#b3b1a8); stroke-opacity: .42; stroke-width: .65; transition: fill 1.1s,stroke 1.1s; }
.world-outline path { vector-effect: non-scaling-stroke; }
.map-points { position: absolute; inset: 0; }
.map-point { position: absolute; z-index: 1; display: grid; width: 14px; height: 14px; place-items: center; padding: 0; border: 1px solid #f8f6ef; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #b9654830; cursor: pointer; transform: translate(-50%,-50%); transition: transform .2s,box-shadow .2s; }
.map-point::before { position: absolute; inset: -7px; border: 1px solid var(--accent); border-radius: 50%; content: ""; opacity: 0; transform: scale(.55); transition: .25s; }
.map-point:hover,.map-point.is-selected { z-index: 2; transform: translate(-50%,-50%) scale(1.35); }
.map-point.is-selected::before { opacity: .7; transform: scale(1); }
.map-point span { position: absolute; bottom: calc(100% + 9px); left: 50%; padding: 5px 7px; color: white; background: #191917; font-size: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%,4px); transition: .2s; }
.map-point:hover span,.map-point.is-selected span { opacity: 1; transform: translate(-50%,0); }
.map-legend { position: absolute; right: 0; bottom: 7px; display: flex; align-items: center; gap: 8px; color: var(--ambient-muted,#74726b); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.map-legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.place-card { padding: 24px 0 24px 25px; border-left: 1px solid #aaa89f; transition: opacity .2s,transform .2s; }
.place-card.is-updating { animation: place-refresh .36s ease; }
@keyframes place-refresh { 50% { opacity: .25; transform: translateY(7px); } }
.place-card h3 { margin: 16px 0; font-size: clamp(37px,5vw,65px); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.place-card > p:not(.eyebrow) { max-width: 280px; color: var(--ambient-muted,#686760); font-size: 14px; line-height: 1.75; }
.place-card .text-link { margin-top: 22px; padding: 0; border: 0; color: var(--ambient-ink,var(--ink)); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
#place-story[hidden] { display: none; }
.map-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.map-city { padding: 8px 12px; border: 1px solid #aaa89f; border-radius: 30px; color: #55544e; background: transparent; font: inherit; font-size: 10px; cursor: pointer; transition: .2s; }
.map-city { border-color: var(--ambient-muted,#aaa89f); color: var(--ambient-ink,#55544e); }
.map-city:hover,.map-city.is-selected { border-color: var(--ambient-ink,var(--ink)); color: var(--ambient-surface,var(--paper)); background: var(--ambient-ink,var(--ink)); }
.closing { position: relative; min-height: 650px; color: var(--ambient-ink,white); background: var(--ambient-surface,#171715); transition: background-color 1.1s,color 1.1s; }
.closing-image-wrap::after { background: linear-gradient(90deg,#10100ec7,transparent 80%); }
.closing-copy h2 { font-size: clamp(57px,9vw,120px); line-height: .9; letter-spacing: -.07em; }
.site-footer { padding: 22px clamp(20px,5vw,80px); }
.site-footer { color: var(--ambient-ink,var(--ink)); background: var(--ambient-surface,var(--paper)); transition: background-color 1.1s,color 1.1s; }

@media (max-width: 900px) {
 .site-header { grid-template-columns: auto 1fr auto; gap: 14px; padding: 13px 20px; }
 .signature-wordmark { grid-template-columns: 52px auto; }
 .signature-wordmark svg { width: 52px; }
 .time-copy { display: none; }
 .map-layout { grid-template-columns: 1fr; }
 .place-card { display: grid; grid-template-columns: 1fr 2fr; column-gap: 12px; padding: 18px 0 0; border-top: 1px solid #aaa89f; border-left: 0; }
 .place-card .eyebrow,.place-card h3 { grid-column: 1; }
 .place-card > p:not(.eyebrow),.place-card .text-link { grid-column: 2; }
 .place-card h3 { grid-row: 2/4; }
}
@media (max-width: 640px) {
 html { scroll-padding-top: 68px; }
 .site-header { grid-template-columns: auto 1fr auto; padding: 10px 13px; }
 .signature-wordmark { grid-template-columns: 39px; grid-template-rows: 24px; }
 .signature-wordmark svg { width: 39px; height: 24px; }
 .signature-name { display: none; }
 .menu-toggle { font-size: 9px; }
 .time-control { gap: 8px; }
 .time-copy { display: grid; }
 .time-wheel { width: 34px; height: 34px; }
 .hero { min-height: 100svh; }
 .hero-copy { width: 100%; padding: 0 22px; }
 .hero-copy h1 { font-size: clamp(56px,15vw,90px); }
 .hero-intro { max-width: 300px; font-size: 13px; }
 .hero-brand { right: 18px; bottom: 20px; width: 68px; height: 68px; font-size: 18px; }
 .hero-brand small { font-size: 5px; }
 .about { min-height: auto; padding: 82px 22px; }
 .about-main h2 { font-size: clamp(48px,12vw,72px); }
 .about-main p { font-size: 14px; }
 .journeys,.moments-section,.philosophy-section,.map-section { padding: 76px 19px; }
 .journeys-heading,.moments-heading,.philosophy-heading,.map-heading { display: block; margin-bottom: 30px; }
 .journeys-heading h2,.moments-heading h2,.philosophy-heading h2,.map-heading h2 { font-size: clamp(48px,12vw,70px); }
 .journeys-heading > p,.moments-heading > p,.map-heading > p { margin-top: 20px; }
 .highlight { flex-basis: 68vw; }
 .highlight-ring { aspect-ratio: 1.12; }
 .moments-rail { gap: 8px; }
 .moments-rail .social-tile { flex-basis: 82vw; height: 112vw; max-height: 580px; }
 .philosophy-tools { margin-top: 24px; }
 .philosophy-stories { grid-template-columns: 1fr; gap: 8px; margin: 30px 0 52px; }
 .philosophy-card { min-height: min(125vw,590px); }
 .philosophy-card-title { font-size: clamp(40px,11vw,62px); }
 .philosophy-story-reveal { padding: 28px 23px; }
 .philosophy-story-copy h3 { font-size: 59px; }
 .philosophy-story-copy > p:not(.eyebrow) { font-size: 16px; }
 .philosophy-tile { flex-basis: 70vw; }
 .world-map { min-height: 255px; margin-inline: -7px; }
 .map-point { width: 11px; height: 11px; }
 .map-legend { font-size: 7px; }
 .place-card { grid-template-columns: 1fr; }
 .place-card .eyebrow,.place-card h3,.place-card > p:not(.eyebrow),.place-card .text-link { grid-column: 1; }
 .place-card h3 { grid-row: auto; }
 .closing { min-height: 540px; }
 .closing-copy { padding: 50px 22px; }
 .site-footer { gap: 15px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Full-screen editorial viewing, with adjacent works reachable by arrows or keys. */
.social-lightbox { inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; color: #f4f1e9; background: transparent; }
.social-lightbox::backdrop { background: #10100e; backdrop-filter: none; }
.social-lightbox::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,#10100ec9 0%,#10100e55 43%,transparent 78%),linear-gradient(0deg,#10100e88,transparent 35%); content: ""; pointer-events: none; }
.social-media-stage { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; }
.social-media-stage img,.social-media-stage video { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.social-media-stage video { background: #10100e; }
.social-close,.social-prev,.social-next { z-index: 3; color: #fff; background: #15151355; }
.social-close { top: 26px; right: 30px; }
.social-prev,.social-next { top: 50%; }
.social-prev { left: clamp(15px,3vw,45px); }
.social-next { right: clamp(15px,3vw,45px); }
.social-details { z-index: 2; left: clamp(24px,8vw,125px); bottom: clamp(28px,8vh,95px); display: flex; width: min(570px,70vw); max-width: none; flex-direction: column; align-items: flex-start; gap: 14px; transform: none; color: #f4f1e9; }
.social-count { font-size: 9px; letter-spacing: .19em; }
.social-caption { max-width: 100%; color: white; font-size: clamp(25px,4.2vw,58px); font-weight: 400; line-height: 1; letter-spacing: -.055em; text-wrap: pretty; white-space: normal; }
.social-lightbox.philosophy-lightbox .social-media-stage img { object-fit: cover !important; }
.highlights,.moments-rail,.philosophy-rail { cursor: grab; touch-action: pan-x pan-y; }
.highlights::-webkit-scrollbar,.moments-rail::-webkit-scrollbar,.philosophy-rail::-webkit-scrollbar { height: 4px; }
.highlights::-webkit-scrollbar-thumb,.moments-rail::-webkit-scrollbar-thumb,.philosophy-rail::-webkit-scrollbar-thumb { background: #99978f88; }
.site-header nav { cursor: grab; }
@media (max-width: 640px) {
 .social-lightbox { padding: 0; }
 .social-media-stage { inset: 0; }
 .social-media-stage img,.social-media-stage video { max-width: none; max-height: none; }
 .social-details { left: 24px; bottom: 32px; width: calc(100vw - 48px); }
 .social-caption { font-size: clamp(27px,9vw,42px); }
 .social-prev,.social-next { width: 38px; height: 38px; }
 .social-prev { left: 12px; }
 .social-next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
 .moments-rail .social-tile,
 .moments-rail .social-tile img,
 .moments-rail .social-tile video { transition: none !important; }
 .moments-rail .social-tile:hover img { transform: none; }
}

/* Refined controls: compact circular travel marks and calmer editorial cards. */
.highlights { align-items: start; gap: clamp(14px,1.8vw,26px); padding: 8px 0 20px; }
.highlight { flex: 0 0 clamp(78px,6.2vw,96px); grid-template-rows: auto auto auto; gap: 0; text-align: center; }
.highlight-ring { width: clamp(70px,5.7vw,88px); aspect-ratio: 1; margin: 0 auto 11px; padding: 4px; border: 1px solid color-mix(in srgb,var(--ambient-ink,var(--ink)) 22%,transparent); border-radius: 50%; }
.highlight-ring img { border-radius: 50%; filter: saturate(.88); }
.highlight-label { font-size: 9px; letter-spacing: .06em; }
.highlight-index { margin-top: 4px; }
.moments-rail .social-tile { flex-basis: clamp(230px,25vw,380px); height: clamp(285px,34vw,455px); }
.moment-title { right: 48px; bottom: 16px; left: 16px; font-size: clamp(16px,1.8vw,25px); }
.philosophy-stories { gap: clamp(8px,1.2vw,16px); margin-top: 32px; }
.philosophy-card { min-height: clamp(360px,42vw,560px); }
.philosophy-story-reveal { background: linear-gradient(90deg,#10100ef0 0%,#10100eb5 48%,#10100e20 100%); }
.philosophy-story-copy { max-width: 620px; }
.philosophy-story-copy > p:not(.eyebrow) { max-width: 530px; }
.philosophy-card.is-open { z-index: 1000; width: 100vw; height: 100dvh; min-height: 100dvh; }
.philosophy-card.is-open .philosophy-story-reveal { padding: clamp(30px,9vw,145px); }
@media (max-width: 640px) {
 .time-wheel { width: 42px; height: 42px; }
 .time-wheel::before { inset: 4px; }
 .time-wheel-dot { width: 6px; height: 6px; }
 .highlights { gap: 14px; }
 .highlight { flex-basis: 82px; }
 .highlight-ring { width: 72px; }
 .moments-rail .social-tile { flex-basis: min(78vw,340px); height: min(100vw,430px); }
 .philosophy-stories { grid-template-columns: 1fr; }
 .philosophy-card { min-height: 58svh; }
}

/* The selected About card replaces the visible viewport background. */
body.philosophy-story-active {
  isolation: isolate;
  background: transparent;
}
body.philosophy-story-active::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: linear-gradient(rgba(17,17,17,.5), rgba(17,17,17,.5)), var(--active-story-image) center / cover no-repeat;
  content: "";
  opacity: 1;
  pointer-events: none;
}
body.philosophy-story-active > main,
body.philosophy-story-active > footer { position: relative; z-index: 1; }
body.philosophy-story-active .philosophy-section { background: transparent; }
body.philosophy-story-active .site-header {
  color: #fff;
  background: linear-gradient(rgba(17,17,17,.5), rgba(17,17,17,.5)), var(--active-story-image) center / cover fixed no-repeat;
  mix-blend-mode: normal;
}

/* Filosofie lives on its own route; the main journal offers it as a quiet text link. */
.philosophy-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px 28px;
  padding: clamp(45px,7vw,95px) clamp(20px,5vw,80px);
  color: var(--ambient-ink,var(--ink));
  background: var(--ambient-surface,var(--paper));
}
.philosophy-entry > .eyebrow { grid-column: 1/-1; margin: 0; }
.philosophy-entry-link { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; color: inherit; font-size: clamp(38px,7vw,88px); line-height: .98; letter-spacing: -.065em; text-decoration: none; }
.philosophy-entry-link > span:last-child { color: var(--accent); font-size: .45em; transition: transform .25s ease; }
.philosophy-entry-link:hover > span:last-child { transform: translate(5px,-5px); }
.philosophy-entry > p:last-child { max-width: 260px; margin: 0; color: var(--ambient-muted,var(--muted-ink)); font-size: 13px; line-height: 1.6; }
.philosophy-page .philosophy-section { min-height: 100svh; }
.philosophy-page .site-header { mix-blend-mode: difference; }
.philosophy-page .philosophy-story-active .site-header { mix-blend-mode: normal; }
body.philosophy-page.philosophy-story-active { background: transparent; }
body.philosophy-page.philosophy-story-active::before { z-index: 0; }
.philosophy-page main,.philosophy-page .site-footer { position: relative; z-index: 1; }
.philosophy-page .philosophy-section { background: transparent; }
.philosophy-page .site-footer { background: var(--ambient-surface,var(--paper)); }
.site-nav { background: var(--ambient-surface,var(--paper)); }
.site-nav a { font-family: "DM Sans", "Manrope", sans-serif; font-size: clamp(34px,4.6vw,64px) !important; letter-spacing: -.055em !important; }
.site-nav a::after { height: 1px !important; background: currentColor !important; }
.menu-close { border: 0; border-radius: 0; width: auto; height: auto; font-size: 30px; }
@media (max-width: 640px) {
  .philosophy-entry { grid-template-columns: 1fr; gap: 16px; padding: 64px 7vw; }
  .philosophy-entry > .eyebrow { grid-column: 1; }
  .philosophy-entry-link { font-size: clamp(42px,12vw,66px); }
  .philosophy-entry > p:last-child { max-width: 320px; }
}

/* JČ identity and the four chapter cards in the full-screen navigation. */
.signature-wordmark.jc-wordmark {
  display: block;
  width: 44px;
  height: 32px;
  grid-template: none;
}
.jc-wordmark svg {
  display: block;
  width: 44px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jc-wordmark .jc-period { stroke: #df9472; stroke-width: 6; }
.site-nav {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(70px,9vh,100px) clamp(20px,5vw,78px) clamp(24px,4vh,44px);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.75,.25,1), visibility .45s;
}
.site-nav[hidden] { display: none !important; }
body.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.site-nav .nav-topline,
.site-nav .nav-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  color: color-mix(in srgb, var(--ambient-ink,var(--ink)) 58%, transparent);
  font-size: 9px;
  letter-spacing: .16em;
}
.site-nav .nav-topline i,
.site-nav .nav-bottomline i { color: var(--accent); font-style: normal; }
.site-nav .nav-topline b { margin-left: 12px; color: var(--ambient-ink,var(--ink)); font-weight: 500; }
.nav-panels {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  align-items: center;
  gap: clamp(10px,1.7vw,25px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  perspective: 1200px;
}
.site-nav .nav-panel {
  position: relative;
  display: flex;
  min-width: 0;
  height: clamp(300px,58vh,620px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(14px,1.8vw,27px);
  color: #fff !important;
  background: #262520;
  text-decoration: none;
  text-transform: none !important;
  letter-spacing: normal !important;
  opacity: 0;
  transform: translate3d(0,32px,0) scale(.985);
  transition: flex .55s cubic-bezier(.2,.75,.25,1), transform .65s cubic-bezier(.2,.75,.25,1), opacity .4s ease, box-shadow .35s ease;
  transition-delay: 0s, calc(var(--panel-order) * 55ms), 0s, 0s;
  isolation: isolate;
}
body.menu-open .site-nav .nav-panel {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition-delay: 0s, calc(var(--panel-order) * 65ms), calc(var(--panel-order) * 70ms), 0s;
}
.nav-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg,rgba(12,12,11,.32),transparent 34%,transparent 58%,rgba(12,12,11,.5)),linear-gradient(0deg,rgba(12,12,11,.16),rgba(12,12,11,.16));
  content: "";
  transition: background-color .4s ease, opacity .4s ease;
}
.nav-panel img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(var(--parallax-x,0),var(--parallax-y,0),0);
  transition: transform .8s cubic-bezier(.2,.65,.25,1), filter .5s ease;
  filter: saturate(.78);
}
.nav-panel:hover,
.nav-panel:focus-visible {
  z-index: 2;
  box-shadow: 0 22px 55px rgba(0,0,0,.16);
  transform: translate3d(0,-10px,0) scale(1.015) !important;
}
.nav-panel:hover img,
.nav-panel:focus-visible img { filter: saturate(1); transform: scale(1.11) translate3d(var(--parallax-x,0),var(--parallax-y,0),0); }
.site-nav .nav-panel::after { display: none !important; }
.panel-index { font-size: 9px; line-height: 1.3; letter-spacing: .16em; opacity: .83; }
.site-nav .panel-title {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 25px;
  font-size: clamp(27px,4.2vw,62px) !important;
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.07em !important;
}
.panel-arrow {
  position: absolute;
  right: clamp(13px,1.8vw,27px);
  bottom: clamp(14px,1.8vw,27px);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-size: 17px;
  transition: color .25s,background .25s,transform .25s;
}
.nav-panel:hover .panel-arrow,
.nav-panel:focus-visible .panel-arrow { color: var(--ink); background: var(--paper); transform: rotate(45deg); }
.menu-close {
  z-index: 3;
  top: 20px;
  right: clamp(20px,4vw,68px);
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb,currentColor 30%,transparent);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}
@media (max-width: 820px) {
  .nav-panels { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 690px; }
  .site-nav .nav-panel { height: clamp(220px,34vh,340px); }
}

/* Music chapter: a compact, self-hosted listening room. */
.music-page { min-height: 100vh; background: var(--paper); }
.music-header { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px,4vw,68px); color: #f5f2eb; mix-blend-mode: difference; }
.music-wordmark { display: block; width: 60px; height: 40px; color: inherit; }
.music-wordmark svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.music-wordmark .music-period { stroke: #df9472; stroke-width: 6; }
.music-back { display: inline-flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .15em; }
.music-back span { color: #df9472; font-size: 15px; }
.music-hero { position: relative; display: flex; min-height: min(760px,94svh); align-items: center; overflow: hidden; background: #292722; color: #f5f2eb; }
.music-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.68); }
.music-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(16,16,15,.82),rgba(16,16,15,.38) 55%,rgba(16,16,15,.12)),linear-gradient(0deg,rgba(16,16,15,.4),transparent 40%); }
.music-hero-copy { position: relative; z-index: 1; width: min(780px,80vw); padding: 110px 0 90px clamp(24px,10vw,155px); }
.music-hero-copy .eyebrow { color: rgba(245,242,235,.82); }
.music-hero h1 { margin: 45px 0 24px; font: 500 clamp(64px,10.5vw,148px)/.86 "Manrope",sans-serif; letter-spacing: -.085em; }
.music-hero h1 em { color: #df9472; font-style: normal; }
.music-hero-note { margin: 0; max-width: 370px; color: rgba(245,242,235,.78); font-size: 14px; line-height: 1.8; }
.music-start { display: inline-flex; gap: 26px; align-items: center; margin-top: 34px; padding: 13px 17px; color: var(--ink); background: var(--paper); font-size: 11px; }
.music-start span { color: var(--accent); font-size: 16px; }
.music-hero-index { position: absolute; right: clamp(20px,5vw,72px); bottom: 28px; color: rgba(255,255,255,.72); font-size: 8px; letter-spacing: .16em; }
.music-library { padding: clamp(64px,9vw,124px) clamp(20px,8vw,120px) 100px; }
.music-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.music-heading h2 { margin: 16px 0 0; font: 500 clamp(46px,6vw,82px)/.95 "Manrope",sans-serif; letter-spacing: -.075em; }
.music-heading h2 em { color: var(--accent); font-style: normal; }
.music-count { margin: 0 0 4px; text-align: right; font-size: 9px; letter-spacing: .15em; }
.music-count span { display: inline-block; margin-top: 7px; color: var(--muted); letter-spacing: .04em; }
.music-tracklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(24px,7vw,100px); margin: 0; padding: 8px 0 35px; list-style: none; }
.music-track { display: grid; grid-template-columns: 38px 1fr 30px; align-items: center; width: 100%; min-height: 70px; gap: 15px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; transition: color .2s ease,padding .25s ease; }
.music-track:hover,.music-track[aria-pressed="true"] { padding-right: 7px; padding-left: 7px; color: var(--accent); }
.track-number { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.track-name { font: 400 clamp(17px,2vw,24px)/1.2 "Manrope",sans-serif; letter-spacing: -.045em; }
.track-action { justify-self: end; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid color-mix(in srgb,currentColor 34%,transparent); border-radius: 50%; font-size: 8px; }
.music-track:focus-visible,.player-toggle:focus-visible,.player-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.music-player { position: sticky; z-index: 3; bottom: 12px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid rgba(242,240,234,.16); color: var(--paper); background: rgba(23,23,21,.96); box-shadow: 0 12px 38px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.player-toggle { width: 38px; height: 38px; border: 1px solid rgba(242,240,234,.55); border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.player-toggle:disabled { opacity: .4; cursor: default; }
.player-main { min-width: 0; }
.player-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; font-size: 10px; }
#player-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#player-time { color: rgba(242,240,234,.65); white-space: nowrap; font-variant-numeric: tabular-nums; }
.player-seek { display: block; width: 100%; height: 3px; accent-color: #df9472; cursor: pointer; }
.player-seek:disabled { opacity: .4; cursor: default; }
.player-note { color: rgba(242,240,234,.64); font-size: 8px; letter-spacing: .13em; white-space: nowrap; }
.player-note i { color: #df9472; font-style: normal; }
.music-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(20px,5vw,72px); font-size: 9px; }
.music-footer > a:first-child { font: 600 19px "Manrope",sans-serif; letter-spacing: -.1em; }
.music-footer > a:first-child span { color: var(--accent); }
.music-footer > a:last-child { letter-spacing: .12em; }
@media (max-width: 820px) {
  .music-tracklist { column-gap: 28px; }
  .player-note { display: none; }
  .music-player { grid-template-columns: 42px minmax(0,1fr); }
}

/* Knihovna: quiet editorial shelves and a comfortable long-form reader. */
.library-page,.book-page { min-height:100vh; background:var(--paper); color:var(--ink); }
.library-header,.book-header { position:absolute; z-index:5; inset:0 0 auto; display:flex; align-items:center; justify-content:space-between; padding:20px clamp(20px,4vw,68px); }
.library-wordmark { display:block; width:56px; height:42px; color:currentColor; }
.library-wordmark svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.library-wordmark .library-period { stroke:var(--accent); stroke-width:6; }
.library-back,.book-header nav { display:flex; gap:28px; align-items:center; font-size:9px; letter-spacing:.12em; }
.library-back span { color:var(--accent); font-size:15px; }
.library-hero { min-height:min(690px,86svh); display:flex; align-items:center; justify-content:space-between; gap:30px; padding:130px clamp(22px,8vw,120px) 80px; }
.library-hero-copy { max-width:850px; }
.library-hero h1,.book-hero h1 { margin:42px 0 24px; font:500 clamp(64px,10vw,142px)/.88 "Manrope",sans-serif; letter-spacing:-.085em; }
.library-hero h1 em,.book-hero h1 em { color:var(--accent); font-style:normal; }
.library-hero-copy > p:last-child { max-width:390px; color:var(--muted); font-size:15px; line-height:1.8; }
.library-side-note { align-self:flex-end; margin-bottom:12px; color:var(--muted); font-size:8px; letter-spacing:.17em; }
.library-shelf { padding:35px clamp(22px,8vw,120px) 115px; }
.library-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:27px; border-bottom:1px solid var(--line); }
.library-heading h2 { margin:12px 0 0; font:500 clamp(42px,6vw,76px)/.95 "Manrope",sans-serif; letter-spacing:-.075em; }
.library-heading h2 em { color:var(--accent); font-style:normal; }
.library-count { margin:0 0 4px; font-size:9px; letter-spacing:.14em; }
.library-count span { color:var(--muted); }
.book-card { display:grid; grid-template-columns:minmax(240px,.8fr) 1fr; gap:clamp(30px,8vw,120px); align-items:center; max-width:1100px; margin:58px auto 38px; }
.book-cover { position:relative; display:block; min-height:480px; overflow:hidden; background:#272722; color:white; }
.book-cover img,.book-cover-shade { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.book-cover img { filter:saturate(.7); transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.book-cover:hover img { transform:scale(1.045); }
.book-cover-shade { background:linear-gradient(0deg,rgba(12,12,11,.72),rgba(12,12,11,.05) 75%); }
.book-cover-kicker,.book-cover-title,.book-cover-mark { position:absolute; left:25px; }
.book-cover-kicker { top:25px; font-size:8px; letter-spacing:.17em; }
.book-cover-title { bottom:36px; font:500 clamp(42px,6vw,76px)/.9 "Manrope",sans-serif; letter-spacing:-.075em; }
.book-cover-mark { right:25px; left:auto; bottom:25px; font:600 19px "Manrope",sans-serif; }
.book-cover-mark span,.library-footer > a:first-child span { color:var(--accent); }
.book-info { max-width:470px; }
.book-info h3 { margin:22px 0 16px; font:500 clamp(34px,4vw,54px)/1 "Manrope",sans-serif; letter-spacing:-.065em; }
.book-info > p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.8; }
.book-meta { display:flex; flex-wrap:wrap; gap:18px; margin:30px 0; color:var(--muted); font-size:8px; letter-spacing:.14em; }
.book-open { display:inline-flex; align-items:center; gap:28px; padding:13px 17px; background:var(--ink); color:var(--paper); font-size:11px; }
.book-open span { color:var(--accent); font-size:16px; }
.library-source { max-width:1100px; margin:0 auto; color:var(--muted); font-size:10px; }
.book-header { position:absolute; color:#f5f2eb; mix-blend-mode:difference; }
.book-hero { min-height:min(760px,96svh); display:grid; grid-template-columns:1fr 1fr; align-items:stretch; background:#282722; color:#f5f2eb; }
.book-hero-art { position:relative; min-height:540px; overflow:hidden; }
.book-hero-art::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.28),transparent 55%); }
.book-hero-art img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.book-hero-copy { align-self:center; max-width:650px; padding:125px clamp(28px,7vw,100px) 85px; }
.book-hero h1 { font-size:clamp(68px,9vw,126px); }
.book-hero-copy > p:not(.eyebrow) { max-width:420px; color:rgba(245,242,235,.75); font-size:14px; line-height:1.8; }
.book-hero .book-open { margin-top:18px; background:var(--paper); color:var(--ink); }
.book-reading { display:grid; grid-template-columns:minmax(180px,.58fr) minmax(0,1.42fr); gap:clamp(32px,8vw,120px); padding:100px clamp(22px,9vw,140px) 80px; }
.book-toc { position:sticky; top:30px; align-self:start; }
#chapter-nav { display:grid; margin:18px 0 30px; }
#chapter-nav a { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:12px; transition:color .2s,padding .2s; }
#chapter-nav a span { font-size:9px; letter-spacing:.1em; }
#chapter-nav a:hover,#chapter-nav a[aria-current="location"] { color:var(--ink); padding-left:6px; }
.reading-tools { display:grid; gap:8px; }
.reading-tools button { display:flex; justify-content:space-between; gap:10px; padding:12px 13px; border:1px solid var(--line); color:var(--ink); background:transparent; font:inherit; font-size:10px; text-align:left; cursor:pointer; }
.reading-tools button:hover:not(:disabled) { border-color:var(--accent); }
.reading-tools button span { color:var(--accent); }
.reading-tools button:disabled { opacity:.4; cursor:default; }
.reading-note { color:var(--muted); font-size:9px; line-height:1.6; }
.book-chapters { min-width:0; }
.book-chapter { scroll-margin-top:28px; padding:0 0 68px; margin:0 0 60px; border-bottom:1px solid var(--line); }
.book-chapter-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:22px; }
.book-chapter h2 { margin:9px 0 0; font:500 clamp(34px,5vw,58px)/.98 "Manrope",sans-serif; letter-spacing:-.07em; }
.book-chapter-art { width:100%; max-height:440px; margin:0 0 28px; object-fit:cover; }
.book-audio { display:block; width:min(100%,480px); height:42px; margin:0 0 26px; accent-color:var(--accent); }
.book-chapter p { margin:0 0 1.15em; font-size:clamp(15px,1.45vw,18px); line-height:1.9; }
.book-chapter ol { padding-left:1.4em; font-size:clamp(15px,1.45vw,18px); line-height:1.9; }
.book-end { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:30px clamp(22px,9vw,140px); color:var(--muted); font-size:10px; }
.book-end span { color:var(--accent); }
.library-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px clamp(20px,5vw,72px); font-size:9px; }
.library-footer > a:first-child { font:600 19px "Manrope",sans-serif; letter-spacing:-.1em; }
@media(max-width:760px) {
  .library-hero { min-height:590px; align-items:flex-start; flex-direction:column; justify-content:center; padding-top:120px; }
  .library-side-note { align-self:flex-start; }
  .book-card { grid-template-columns:1fr; max-width:520px; gap:30px; }
  .book-cover { min-height: min(120vw,560px); }
  .book-hero { grid-template-columns:1fr; }
  .book-hero-art { min-height:52vh; }
  .book-hero-copy { padding:58px 24px 70px; }
  .book-hero h1 { margin:28px 0 20px; }
  .book-reading { grid-template-columns:1fr; gap:36px; padding:64px 22px; }
  .book-toc { position:static; }
  #chapter-nav { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:18px; }
  .book-end { flex-wrap:wrap; padding:24px 22px; }
}
@media(max-width:480px) {
  .library-header,.book-header { padding:15px 18px; }
  .library-back,.book-header nav { gap:14px; font-size:8px; }
  .library-shelf { padding:25px 20px 75px; }
  .library-heading { align-items:flex-start; }
  .book-cover { min-height:420px; }
  .book-chapter-head { display:block; }
  .book-chapter-art { max-height:300px; }
  .library-footer { font-size:8px; }
}
@media (max-width: 560px) {
  .music-header { padding: 15px 18px; }
  .music-hero { min-height: 720px; min-height: min(790px,94svh); }
  .music-hero-copy { width: 100%; padding: 110px 22px 75px; }
  .music-hero h1 { font-size: clamp(65px,16vw,94px); }
  .music-hero-note { max-width: 285px; font-size: 12px; }
  .music-library { padding: 64px 20px 74px; }
  .music-tracklist { grid-template-columns: 1fr; }
  .music-track { min-height: 63px; }
  .music-footer { font-size: 8px; }
}
@media (max-width: 560px) {
  .site-nav { justify-content: flex-start; gap: 22px; padding: 78px 17px 22px; }
  .site-nav .nav-topline,.site-nav .nav-bottomline { font-size: 7px; letter-spacing: .12em; }
  .nav-panels { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .site-nav .nav-panel { height: min(34vh,270px); min-height: 205px; padding: 13px; }
  .site-nav .panel-title { font-size: clamp(25px,8vw,40px) !important; }
  .panel-index { font-size: 7px; }
  .panel-arrow { right: 12px; bottom: 12px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav,.site-nav .nav-panel,.nav-panel img,.panel-arrow { transition-duration: .01ms !important; }
}

/* Three About-inspired panels float over that shared full-viewport photo. */
.philosophy-stories.has-active-story {
  position: relative;
  min-height: clamp(520px, 58vw, 740px);
  background: transparent;
  isolation: isolate;
  transition: min-height .5s ease;
}
.philosophy-stories.has-active-story::before {
  content: none;
}
.philosophy-stories.has-active-story .philosophy-card {
  z-index: 1;
  min-height: 100%;
  background: transparent;
}
.philosophy-stories.has-active-story .philosophy-card::before { opacity: 0; }
.philosophy-stories.has-active-story .philosophy-card-trigger {
  justify-content: flex-start;
  gap: 6px;
  border-color: #ffffffb3;
  color: #fff;
  background: transparent;
}
.philosophy-stories.has-active-story .philosophy-card.is-active .philosophy-card-trigger {
  border-color: #f3f0e8cc;
  color: #171715;
  background: #e8e5dca8;
}
.philosophy-stories.has-active-story .philosophy-card-title {
  max-width: 280px;
  font-size: clamp(22px, 2.5vw, 36px);
}
.philosophy-stories.has-active-story .philosophy-card-open { display: none; }
.philosophy-stories.has-active-story .philosophy-story-reveal {
  z-index: 2;
  align-items: flex-end;
  padding: clamp(20px, 2.4vw, 38px);
  background: linear-gradient(0deg, #111b 0%, transparent 82%);
  opacity: 0;
  transition: opacity .3s ease;
}
.philosophy-stories.has-active-story .philosophy-card.is-active .philosophy-story-reveal {
  opacity: 1;
}
.philosophy-stories.has-active-story .philosophy-story-copy {
  max-width: 440px;
  color: #171715;
  transform: translateY(0);
}
.philosophy-stories.has-active-story .philosophy-story-copy .eyebrow,
.philosophy-stories.has-active-story .philosophy-story-foot { color: #171715a8; }
.philosophy-stories.has-active-story .philosophy-story-copy > p:not(.eyebrow) {
  max-width: 420px;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.5;
}
.philosophy-stories.has-active-story .philosophy-story-foot { margin-top: 18px; }
@media (max-width: 640px) {
  .philosophy-stories.has-active-story { min-height: min(150vw, 720px); }
  .philosophy-stories.has-active-story .philosophy-card-trigger { padding: 15px; }
  .philosophy-stories.has-active-story .philosophy-card-title { font-size: clamp(17px, 5vw, 25px); }
  .philosophy-stories.has-active-story .philosophy-story-reveal { padding: 15px; }
  .philosophy-stories.has-active-story .philosophy-story-copy > p:not(.eyebrow) { font-size: 13px; }
}

/* Three square thought panels; the selected copy sits on a solid pastel field. */
.philosophy-stories:not(.has-active-story) .philosophy-card,
.philosophy-stories.has-active-story .philosophy-card {
  min-height: 0;
  height: auto;
  aspect-ratio: 1;
  transition: background-color .35s ease, border-color .35s ease;
}
.philosophy-stories.has-active-story { min-height: 0; align-items: stretch; }
.philosophy-stories.has-active-story .philosophy-card { background: transparent; }
.philosophy-stories.has-active-story .philosophy-card:nth-child(1) { --story-panel: #ead5c6; }
.philosophy-stories.has-active-story .philosophy-card:nth-child(2) { --story-panel: #dce5d7; }
.philosophy-stories.has-active-story .philosophy-card:nth-child(3) { --story-panel: #d8e5e8; }
.philosophy-stories.has-active-story .philosophy-card.is-active .philosophy-card-trigger {
  border-color: var(--story-panel);
  color: #24221f;
  background: var(--story-panel);
}
.philosophy-stories.has-active-story .philosophy-card.is-active .philosophy-card-title { color: #24221f; }
.philosophy-stories.has-active-story .philosophy-story-reveal {
  padding: 0;
  background: transparent;
}
.philosophy-stories.has-active-story .philosophy-story-copy {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: clamp(16px,2vw,26px);
  color: #24221f;
  background: var(--story-panel);
}
.philosophy-stories.has-active-story .philosophy-story-copy .eyebrow,
.philosophy-stories.has-active-story .philosophy-story-foot { color: #5a554e; }
.philosophy-stories.has-active-story .philosophy-story-copy > p:not(.eyebrow) {
  max-width: none;
  margin: 8px 0 0;
  color: #24221f;
  font-size: clamp(14px,1.35vw,18px);
  line-height: 1.45;
}
.philosophy-stories.has-active-story .philosophy-story-foot { margin-top: 10px; }
body.philosophy-story-active .philosophy-heading h2 { color: #fff; }
body.philosophy-story-active .philosophy-intro,
body.philosophy-story-active .philosophy-count { color: #f4f1e9; }
@media (max-width: 640px) {
  .philosophy-stories:not(.has-active-story) .philosophy-card,
  .philosophy-stories.has-active-story .philosophy-card { min-height: 0; aspect-ratio: 1; }
  .philosophy-stories.has-active-story { min-height: 0; }
  .philosophy-stories.has-active-story .philosophy-story-copy { padding: 15px; }
  .philosophy-stories.has-active-story .philosophy-story-copy > p:not(.eyebrow) { font-size: 13px; }
}

/* Shared chapter-card menu on every page of the personal journal. */
.menu-page-header { grid-template-columns: minmax(145px,1fr) auto minmax(170px,1fr); }
.menu-page-header > a:first-child { justify-self: start; }
.menu-page-header .menu-page-back { justify-self: end; color: inherit; font-size: 9px; letter-spacing: .12em; text-decoration: none; }
.menu-page-header .menu-page-back span { padding-left: 8px; color: var(--accent); }
.menu-page-header .music-wordmark,.menu-page-header .library-wordmark { color: inherit; }
.menu-page-header .music-period,.menu-page-header .library-period,.menu-page-header .mark-period { stroke: #df9472; }
.site-nav .nav-panel { min-width: 0; }
.site-nav .panel-title {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(24px,2.65vw,46px) !important;
  line-height: .96;
  letter-spacing: -.055em !important;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.site-nav .panel-index { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 821px) and (max-width: 1100px) {
  .nav-panels { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 900px; }
  .site-nav .nav-panel { height: clamp(210px,34vh,330px); }
  .site-nav .panel-title { font-size: clamp(27px,4vw,44px) !important; }
}
@media (max-width: 820px) {
  .menu-page-header { grid-template-columns: minmax(60px,1fr) auto minmax(72px,1fr); gap: 12px; }
  .menu-page-header .music-wordmark,.menu-page-header .library-wordmark { width: 46px; height: 32px; }
  .menu-page-header .menu-page-back { font-size: 7px; letter-spacing: .08em; }
  .site-nav .panel-title { font-size: clamp(24px,5.4vw,38px) !important; }
}
@media (max-width: 560px) {
  .menu-page-header { grid-template-columns: 1fr auto 1fr; padding-inline: 16px; }
  .menu-page-header .menu-page-back { max-width: 100px; text-align: right; }
  .site-nav .panel-title { font-size: clamp(22px,7vw,34px) !important; }
}
.map-zoom { position: absolute; z-index: 5; top: 12px; right: 12px; padding: 9px 12px; border: 1px solid color-mix(in srgb,var(--ambient-ink,var(--ink)) 38%,transparent); color: var(--ambient-ink,var(--ink)); background: var(--ambient-surface,var(--paper)); font: 500 9px/1 "DM Sans",sans-serif; letter-spacing: .04em; cursor: pointer; transition: color .2s,background .2s; }
.map-zoom:hover { color: var(--ambient-surface,var(--paper)); background: var(--ambient-ink,var(--ink)); }
.map-point span { padding: 8px 11px; font-size: 11px; box-shadow: 0 4px 14px #0003; }
.map-point[hidden] { display: none; }
.map-zoom:focus-visible,.menu-page-back:focus-visible,.site-nav .nav-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* Keep chapter arrows clear of the oversized card titles. */
.site-nav .panel-arrow { bottom: clamp(42px,5.5vh,68px); }
/* JFC skrolování: zmenší se celá karta, takže kolem ní zůstane barva stránky. */
.jfc-scroll { overflow: hidden; scroll-snap-type: none; cursor: grab; touch-action: pan-y; }
.jfc-scroll.is-dragging { cursor: grabbing; }
.jfc-scroll .highlight,
.jfc-scroll .social-tile,
.jfc-scroll .philosophy-tile { scale: 1; transition: none; will-change: transform; transform-origin: center center; }
.jfc-scroll .highlight:hover .highlight-ring img,
.jfc-scroll .social-tile:hover img,
.jfc-scroll .philosophy-tile:hover img { transform: none; }

/* Levý černý pás s menu, stejně jako na nástěnce. */
.side-rail { display: none; }
@media (min-width: 1080px) {
  body { padding-left: 188px; }
  .side-rail {
    position: fixed;
    z-index: 80;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 188px;
    flex-direction: column;
    padding: 22px 12px 20px;
    background: #141413;
    color: #f4f1ea;
  }
  .side-mark {
    display: block;
    width: 54px;
    height: 36px;
    margin: 2px 8px 26px;
    color: #f4f1ea;
  }
  .side-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .side-rail nav { display: flex; flex-direction: column; gap: 2px; }
  .side-rail nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(244,241,234,.78);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
  }
  .side-rail nav a:hover,
  .side-rail nav a:focus-visible { color: #fff; background: rgba(255,255,255,.06); }
  .side-rail nav a[aria-current="page"] { color: #fff; background: #2c2c2a; }
  .site-header > a:first-child,
  .menu-stack { visibility: hidden; pointer-events: none; }
}

/* Mapa a Fotky jsou samostatné kapitoly, ne kotvy v dlouhé stránce. */
body.chapter-map main > :not(#mapa),
body.chapter-photos main > :not(#momenty),
body.chapter-stories main > :not(#cesty) { display: none; }
body.chapter-map #mapa,
body.chapter-photos #momenty,
body.chapter-stories #cesty { min-height: 100vh; }
body.chapter-map .map-heading { display: none; }

/* Úvod je jen celá obrazovka s měnící se fotkou. */
body.chapter-intro { overflow: hidden; height: 100vh; }
body.chapter-intro main > :not(.hero) { display: none; }
body.chapter-intro .hero {
  height: 100vh;
  min-height: 100vh;
  max-height: none;
}

/* Příběhy: jen kruhy nahoře a video přes zbytek obrazovky. */
body.chapter-stories { overflow: hidden; height: 100vh; }
body.chapter-stories #cesty {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
}
body.chapter-stories .journeys-heading,
body.chapter-stories .rail-note,
body.chapter-stories .highlight-label,
body.chapter-stories .highlight-index { display: none; }
body.chapter-stories .highlights {
  position: absolute;
  z-index: 40;
  top: 16px;
  right: 168px;
  left: clamp(16px, 3vw, 48px);
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  gap: 14px;
  height: auto;
  overflow-x: auto;
  padding: 0;
}
body.chapter-stories .highlight {
  position: static;
  flex: 0 0 64px;
  width: 64px;
  transform: none;
  visibility: visible;
}
body.chapter-stories .highlight-ring { width: 64px; height: 64px; margin: 0 auto; }
/* Bez rámečku kolem vybraného příběhu; při přehrávání se černá plocha v kolečku změní na zlatou. */
body.chapter-stories .highlight.is-selected .highlight-ring { border-color: color-mix(in srgb,var(--ambient-ink,var(--ink)) 22%,transparent); box-shadow: none; }
body.chapter-stories .highlight-ring { transition: background-color .25s; }
body.chapter-stories .highlight.is-playing .highlight-ring { background: #f0c35a; }
body.chapter-stories .highlight.is-playing .highlight-ring img { filter: invert(1); mix-blend-mode: multiply; } /* černá → zlatá, bílý nápis → černý */
body.chapter-stories .story-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 96px 0 0;
  background: var(--ambient-surface, var(--paper));
  cursor: pointer;
}
body.chapter-stories .story-stage video,
body.chapter-stories .story-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ambient-surface, var(--paper));
}

/* Filosofie: jen tři karty a pás obrazů, bez úvodního nadpisu a popisu. */
.philosophy-page .philosophy-heading,
.philosophy-page .philosophy-intro,
.philosophy-page .philosophy-signature,
.philosophy-page .site-footer { display: none; }
.philosophy-page main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}
.philosophy-page .philosophy-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 28px 0 20px;
}
.philosophy-page .philosophy-stories {
  width: min(70%, 860px);
  margin: 8px auto 28px;
  gap: clamp(6px, .8vw, 11px);
}
.philosophy-page .thought-rail-heading,
.philosophy-page .philosophy-rail {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.philosophy-page .thought-rail-heading {
  padding-left: clamp(24px, 4vw, 72px);
  padding-right: clamp(24px, 4vw, 72px);
  box-sizing: border-box;
}
.philosophy-page .philosophy-card-trigger { padding: 17px; }
.philosophy-page .philosophy-card-no { font-size: 8px; }
.philosophy-page .philosophy-card-title { max-width: 220px; font-size: clamp(20px, 3.1vw, 43px); }
.philosophy-page .philosophy-card-open { width: 27px; height: 27px; font-size: 13px; }
.philosophy-page .thought-rail-heading p:last-child { font-size: 13px; }
.philosophy-page .philosophy-tile { flex-basis: clamp(133px, 16.1vw, 217px); }

/* Knihovna: jen obálka knihy, bez úvodního textu nad ní. */
.library-page .library-hero { display: none; }
.library-page .library-shelf { padding-top: 108px; }
@media (min-width: 1080px) {
  .library-page .menu-page-back,
  .music-page .menu-page-back { display: none; }
}

/* Hudba: jen seznam skladeb, bez úvodní fotky a textu. */
.music-page .music-hero { display: none; }

/* Oprava: hlavička (z-index 12) překrývala kolečka příběhů a chytala kliknutí myší.
   V kapitole Příběhy hlavička propouští kliknutí; ovladatelné zůstává jen logo, menu a Time Machine. */
body.chapter-stories .site-header { pointer-events: none; }
body.chapter-stories .site-header :is(.signature-wordmark, .menu-stack, .time-control, .site-nav) { pointer-events: auto; }

/* Fotky: žádné nápisy a hesla, jen fotky, šipky vlevo/vpravo a Time Machine. Nadpis zůstává jen pro čtečky. */
body.chapter-photos .moments-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.chapter-photos .moments-toolbar { justify-content: flex-end; border-top: 0; padding-top: 0; }
body.chapter-photos .moments-toolbar > span { display: none; }
body.chapter-photos .moment-title { display: none; }
