/*
Theme Name:  JOV Personal
Theme URI:   https://me.joshuaolawuyi.com
Author:      Joshua Olawuyi
Author URI:  https://joshuaolawuyi.com
Description: A private personal diary site — timeline, gallery, notes, places map and access gate. Built for me.joshuaolawuyi.com.
Version:     1.0.0
License:     Private
Text Domain: jov-personal
*/

/* ── Variables ─────────────────────────────────────── */
:root {
  --ink:    #0e0e0c;
  --white:  #f5f2ee;
  --muted:  #888784;
  --faint:  #c4c0b8;
  --accent: #c4622d;
  --soft:   rgba(196,98,45,.12);
  --border: rgba(245,242,238,.07);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --max:    900px;
  --pad:    44px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--sans); background: var(--ink); color: var(--white);
        -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.7; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; height: auto; }
input, textarea, button, select { font-family: var(--sans); }

/* ── Typography helpers ────────────────────────────── */
.serif  { font-family: var(--serif); }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
.lbl    { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* ── Layout ────────────────────────────────────────── */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 36px; }
.sec-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 300; }
.sec-line  { flex: 1; height: 1px; background: var(--border); }
.sec-tag   { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* ── Chips ─────────────────────────────────────────── */
.chip { font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
        padding: 4px 11px; border-radius: 2px; cursor: pointer;
        border: 1px solid var(--border); color: var(--muted); background: transparent;
        transition: .15s; }
.chip:hover { border-color: rgba(196,98,45,.4); color: var(--accent); }
.chip.on    { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.chip-row   { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 28px; }

/* ── Tag badge ─────────────────────────────────────── */
.tbadge { font-size: 9px; text-transform: uppercase; letter-spacing: .12em;
          color: var(--accent); background: var(--soft);
          border: 1px solid rgba(196,98,45,.22); padding: 2px 8px;
          border-radius: 1px; display: inline-block; }

/* ── Navigation ────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 54px;
  transition: background .35s;
}
/* Push nav below WordPress admin bar when logged in */
.admin-bar .site-nav { top: 32px; }
.admin-bar #pg-home,
.admin-bar #pg-timeline,
.admin-bar #pg-gallery,
.admin-bar #pg-places,
.admin-bar #pg-now,
.admin-bar #pg-notes { padding-top: 86px !important; }
.admin-bar .now-hero { margin-top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
  .admin-bar #pg-home,
  .admin-bar #pg-timeline,
  .admin-bar #pg-gallery,
  .admin-bar #pg-places,
  .admin-bar #pg-now,
  .admin-bar #pg-notes { padding-top: 100px !important; }
  .admin-bar .now-hero { margin-top: 46px; }
}
.site-nav.scrolled {
  background: rgba(14,14,12,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; cursor: pointer; }
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(245,242,238,.5); transition: color .18s;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--accent); }
.nav-ham { display: none; flex-direction: column; gap: 5px;
           cursor: pointer; padding: 4px; background: none; border: none; }
.nav-ham span { display: block; width: 20px; height: 1.5px; background: var(--white); transition: .22s; }

/* ── Visitor bar ───────────────────────────────────── */
.visitor-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(14,14,12,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px var(--pad); align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--muted);
}
.visitor-bar.show { display: flex; }
.vbar-name { display: flex; align-items: center; gap: 8px; }
.vbar-dot  { width: 7px; height: 7px; border-radius: 50%; background: #4caf7d; }
.vbar-out  {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 12px; border-radius: 2px; cursor: pointer; transition: .15s;
}
.vbar-out:hover { border-color: rgba(245,242,238,.3); color: var(--white); }

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border); padding: 28px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; max-width: var(--max); margin: 0 auto;
}
.footer-name  { font-family: var(--serif); font-size: .88rem; color: var(--muted); font-style: italic; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); transition: color .18s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy  { width: 100%; font-size: .7rem; color: rgba(245,242,238,.15); margin-top: 4px; }

/* ── HOME ──────────────────────────────────────────── */
.home-greeting { padding: 80px var(--pad) 0; max-width: var(--max); margin: 0 auto; }
.home-greeting-date { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 18px; }
.home-greeting-name { font-family: var(--serif); font-size: clamp(2.4rem,5vw,4rem); font-weight: 300; line-height: 1.1; margin-bottom: 10px; }
.home-greeting-name em { font-style: italic; color: var(--accent); }
.home-greeting-sub { font-size: .92rem; color: rgba(245,242,238,.5); line-height: 1.8; max-width: 440px; margin-bottom: 28px; }
.home-nav-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.home-pill { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted);
             border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; cursor: pointer; transition: .15s; }
.home-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--soft); }

.home-latest { margin: 36px var(--pad) 0; max-width: var(--max); margin-left: auto; margin-right: auto;
               position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/7;
               background: #1a1816; cursor: pointer; }
.home-latest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-latest:hover .home-latest-img { transform: scale(1.03); }
.home-latest-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom,transparent 30%,rgba(14,14,12,.75) 75%,rgba(14,14,12,.95) 100%); }
.home-latest-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 28px; }
.home-latest-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); margin-bottom: 8px; }
.home-latest-title { font-family: var(--serif); font-size: clamp(1.3rem,3vw,2rem); font-weight: 300; line-height: 1.2; margin-bottom: 10px; }
.home-latest-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.home-latest-meta span { font-size: 11px; color: rgba(245,242,238,.55); display: flex; align-items: center; gap: 4px; }
.home-latest-meta svg { width: 11px; height: 11px; fill: currentColor; opacity: .7; }
.home-latest-hint { position: absolute; bottom: 24px; right: 28px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: rgba(245,242,238,.3); }
.home-latest-hint::after { content: ' →'; }

.home-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
             max-width: var(--max); margin: 4px auto 0; padding: 0 var(--pad); }
.hf-cell { position: relative; aspect-ratio: 1; overflow: hidden; background: #1a1816; cursor: pointer; }
.hf-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hf-cell:hover img { transform: scale(1.05); }
.hf-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom,transparent 45%,rgba(14,14,12,.82) 100%); }
.hf-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; transform: translateY(4px); opacity: 0; transition: .25s; }
.hf-cell:hover .hf-info { transform: none; opacity: 1; }
.hf-tag  { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 4px; }
.hf-title{ font-family: var(--serif); font-size: .9rem; font-weight: 300; color: var(--white); }
.hf-cell.big { aspect-ratio: auto; grid-row: span 2; }

.home-about { max-width: var(--max); margin: 4px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); padding: 0 var(--pad); }
.home-about-left, .home-about-right { background: var(--ink); padding: 40px 36px; }
.home-about-sig { font-family: var(--serif); font-size: clamp(2rem,4vw,3.2rem); font-weight: 300; line-height: 1.05; margin-bottom: 16px; }
.home-about-sig em { font-style: italic; color: var(--accent); }
.home-about-roles { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.home-about-role { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--border); padding: 4px 10px; border-radius: 1px; }
.home-about-bio { font-size: .88rem; color: rgba(245,242,238,.55); line-height: 1.9; margin-bottom: 22px; }
.home-about-links { display: flex; gap: 18px; flex-wrap: wrap; }
.home-about-link { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); border-bottom: 1px solid rgba(196,98,45,.3); padding-bottom: 2px; transition: border-color .18s; }
.home-about-link:hover { border-bottom-color: var(--accent); }
.home-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); height: 100%; }
.home-stat { background: var(--ink); padding: 24px 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.home-stat-n { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; line-height: 1; margin-bottom: 5px; }
.home-stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }

/* ── TIMELINE ──────────────────────────────────────── */
.tl-month-group { margin-bottom: 44px; }
.tl-month-label { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.tl-month-name  { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; color: var(--faint); }
.tl-month-line  { flex: 1; height: 1px; background: var(--border); }
.tl-month-count { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: rgba(136,135,132,.5); }

.tl-post { display: grid; grid-template-columns: 1px 1fr; gap: 0 26px; margin-bottom: 32px; }
.tl-post-spine { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.tl-post-dot   { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transition: transform .2s; cursor: pointer; margin-left: -5px; }
.tl-post:hover .tl-post-dot { transform: scale(1.4); }
.tl-post-spine-line { flex: 1; width: 1px; background: var(--border); min-height: 60px; margin-top: 6px; }
.tl-post-card { background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color .22s; }
.tl-post-card:hover { border-color: rgba(196,98,45,.3); }

.tl-post-media { position: relative; width: 100%; background: #1a1816; overflow: hidden; cursor: pointer; }
.tl-post-media.has-image { aspect-ratio: 16/7; }
.tl-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.tl-post-card:hover .tl-post-media img { transform: scale(1.03); }
.tl-post-media-type { position: absolute; bottom: 10px; right: 10px; background: rgba(14,14,12,.65); backdrop-filter: blur(4px); border: 1px solid rgba(245,242,238,.15); padding: 3px 9px; border-radius: 2px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: rgba(245,242,238,.7); }
.tl-post-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(14,14,12,.25); opacity: 0; transition: opacity .2s; }
.tl-post-card:hover .tl-post-play { opacity: 1; }
.tl-post-play-btn { width: 52px; height: 52px; border-radius: 50%; background: rgba(14,14,12,.6); border: 1.5px solid rgba(245,242,238,.3); display: flex; align-items: center; justify-content: center; transition: .18s; }
.tl-post-card:hover .tl-post-play-btn { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.tl-post-play-btn svg { fill: var(--white); width: 14px; height: 16px; margin-left: 3px; }
.tl-post-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.tl-post-dot-pip { width: 5px; height: 5px; border-radius: 50%; background: rgba(245,242,238,.5); }
.tl-post-dot-pip.active { background: var(--white); width: 14px; border-radius: 3px; }

.tl-post-body { padding: 16px 18px 14px; }
.tl-post-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tl-post-title  { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; line-height: 1.3; cursor: pointer; transition: color .18s; flex: 1; }
.tl-post-title:hover { color: var(--accent); }
.tl-post-title-hint { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); opacity: 0; transition: opacity .18s; white-space: nowrap; padding-top: 3px; }
.tl-post-card:hover .tl-post-title-hint { opacity: 1; }
.tl-post-desc { font-size: .84rem; color: rgba(245,242,238,.5); line-height: 1.8; margin-bottom: 12px; }
.tl-post-meta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tl-post-meta-item { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 3px; }
.tl-post-meta-item svg { width: 10px; height: 10px; fill: currentColor; }
.tl-post-reflection { font-family: var(--serif); font-style: italic; font-size: .88rem; color: rgba(245,242,238,.4); border-left: 2px solid rgba(196,98,45,.3); padding: 6px 0 6px 12px; margin-top: 10px; line-height: 1.6; }
.tl-post-reflection strong { display: block; font-family: var(--sans); font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; color: var(--accent); font-weight: 500; margin-bottom: 3px; }
.tl-post-card.note-type { background: rgba(196,98,45,.04); border-color: rgba(196,98,45,.15); }
.tl-post-card.note-type .tl-post-body { padding: 20px 22px; }
.note-quote { font-family: var(--serif); font-size: 1.15rem; font-style: italic; font-weight: 300; line-height: 1.5; color: rgba(245,242,238,.85); margin-bottom: 14px; }
.note-quote::before { content: '\201C'; font-size: 2rem; color: var(--accent); line-height: .5; vertical-align: -.4em; margin-right: 2px; }

/* ── LIKES + COMMENTS ──────────────────────────────── */
.post-like-btn { background: none; border: 1px solid var(--border); color: var(--muted); font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .15s; }
.post-like-btn:hover { border-color: rgba(196,98,45,.4); color: var(--accent); }
.post-like-btn.liked { border-color: #e05c6e; color: #e05c6e; }
.post-like-btn svg { fill: currentColor; width: 13px; height: 13px; }

.comments-section { border-top: 1px solid var(--border); padding: 28px 0 0; margin-top: 28px; }
.comments-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 20px; }
.comment-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.comment-item { display: flex; gap: 12px; }
.comment-item-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(245,242,238,.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.comment-item-body { flex: 1; }
.comment-item-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.comment-item-name { font-size: .82rem; font-weight: 500; color: rgba(245,242,238,.8); }
.comment-item-date { font-size: .72rem; color: rgba(245,242,238,.25); }
.comment-item-text { font-size: .84rem; color: rgba(245,242,238,.55); line-height: 1.7; }
.comment-form .comment-input-row { display: flex; gap: 10px; align-items: flex-start; }
.comment-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--serif); font-size: .85rem; color: var(--accent); font-style: italic; }
.comment-field-wrap { flex: 1; }
.comment-textarea { width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 3px; color: var(--white); font-family: var(--sans); font-size: .84rem; padding: 10px 12px; outline: none; resize: none; min-height: 52px; transition: border-color .18s, min-height .2s ease; line-height: 1.6; }
.comment-textarea:focus { border-color: rgba(196,98,45,.5); min-height: 80px; }
.comment-textarea::placeholder { color: rgba(245,242,238,.2); }
.comment-submit { background: var(--accent); color: var(--white); border: none; padding: 8px 18px; font-family: var(--sans); font-size: .78rem; font-weight: 500; border-radius: 2px; cursor: pointer; margin-top: 8px; transition: background .15s; float: right; }
.comment-submit:hover { background: #b5572a; }

/* ── GALLERY ───────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
.gallery-grid.list-mode { grid-template-columns: minmax(0,540px); justify-content: center; gap: 0; }
.gal-post { cursor: pointer; position: relative; }
.gal-post-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: #1a1816; }
.gal-post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-post:hover .gal-post-thumb img { transform: scale(1.05); }
.gal-post-type, .gal-post-play { position: absolute; bottom: 8px; right: 8px; }
.gal-post-type { background: rgba(14,14,12,.6); backdrop-filter: blur(4px); border: 1px solid rgba(245,242,238,.12); padding: 2px 7px; border-radius: 2px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: rgba(245,242,238,.65); }
.gal-post-play { width: 26px; height: 26px; border-radius: 50%; background: rgba(14,14,12,.65); border: 1px solid rgba(245,242,238,.2); display: flex; align-items: center; justify-content: center; }
.gal-post-play svg { fill: var(--white); width: 8px; height: 10px; margin-left: 1px; }
.gal-post-overlay { position: absolute; inset: 0; background: rgba(14,14,12,.55); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 12px; opacity: 0; transition: opacity .22s; }
.gal-post:hover .gal-post-overlay { opacity: 1; }
.gal-post-overlay-caption { font-size: .78rem; color: rgba(245,242,238,.85); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-post-overlay-loc { font-size: 10px; color: rgba(245,242,238,.45); margin-top: 4px; }
.gal-post-list-body { display: none; padding: 12px 2px 18px; border-bottom: 1px solid var(--border); }
.gallery-grid.list-mode .gal-post-thumb { aspect-ratio: 4/3; }
.gallery-grid.list-mode .gal-post-list-body { display: block; }
.gallery-grid.list-mode .gal-post-overlay { display: none; }
.gal-list-caption { font-size: .85rem; color: rgba(245,242,238,.7); line-height: 1.7; margin-bottom: 6px; }
.gal-list-footer { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }

/* ── NOW PAGE ──────────────────────────────────────── */
.now-hero { position: relative; width: 100%; height: 55vh; min-height: 400px; overflow: hidden; }
.now-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; background: #1a1816; }
.now-hero-slide.active { opacity: 1; }
.now-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.now-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(14,14,12,.25) 0%,rgba(14,14,12,.5) 60%,rgba(14,14,12,.95) 100%); }
.now-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 var(--pad) 36px; }
.now-hero-label { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); margin-bottom: 10px; }
.now-hero-title { font-family: var(--serif); font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 300; line-height: 1.15; margin-bottom: 12px; max-width: 560px; }
.now-hero-desc { font-size: .87rem; color: rgba(245,242,238,.6); line-height: 1.8; max-width: 480px; }
.now-hero-dots { position: absolute; bottom: 16px; right: var(--pad); display: flex; gap: 6px; }
.now-hero-pip { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,242,238,.25); cursor: pointer; transition: .2s; }
.now-hero-pip.active { background: var(--accent); width: 18px; border-radius: 3px; }
.now-body { max-width: var(--max); margin: 0 auto; padding: 44px var(--pad) 60px; }
.now-focus { border-left: 2px solid var(--accent); background: rgba(196,98,45,.04); border-radius: 0 4px 4px 0; padding: 20px 24px; margin-bottom: 36px; }
.now-focus-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .17em; color: var(--accent); margin-bottom: 10px; }
.now-focus-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; margin-bottom: 8px; }
.now-focus-text { font-size: .86rem; color: rgba(245,242,238,.55); line-height: 1.85; }
.now-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 36px; }
.now-card { border: 1px solid var(--border); border-radius: 4px; padding: 20px; transition: border-color .2s; }
.now-card:hover { border-color: rgba(196,98,45,.3); }
.now-card-icon { width: 30px; height: 30px; background: var(--soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.now-card-icon svg { width: 13px; height: 13px; fill: var(--accent); }
.now-card-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.now-card-val { font-family: var(--serif); font-size: .97rem; font-weight: 300; line-height: 1.4; margin-bottom: 3px; }
.now-card-sub { font-size: .75rem; color: var(--muted); }
.now-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.now-list-title { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 14px; }
.now-list { list-style: none; }
.now-list li { padding: 9px 0; border-bottom: 1px solid rgba(245,242,238,.04); font-size: .86rem; color: rgba(245,242,238,.6); display: flex; align-items: baseline; gap: 9px; }
.now-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-family: var(--serif); }
.now-list li:last-child { border-bottom: none; }

/* ── NOTES ─────────────────────────────────────────── */
.note-entry { padding: 28px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: border-color .2s; }
.note-entry:hover { border-bottom-color: rgba(196,98,45,.2); }
.note-entry:last-child { border-bottom: none; }
.note-entry-header { display: flex; gap: 20px; align-items: flex-start; }
.note-entry-date { font-family: var(--serif); font-size: .85rem; color: var(--muted); white-space: nowrap; padding-top: 2px; min-width: 70px; }
.note-entry-body { flex: 1; }
.note-entry-cat { display: inline-block; margin-bottom: 8px; }
.note-entry-title { font-family: var(--serif); font-size: 1.08rem; font-weight: 300; line-height: 1.35; margin-bottom: 8px; transition: color .18s; }
.note-entry:hover .note-entry-title { color: var(--accent); }
.note-entry-snippet { font-size: .84rem; color: rgba(245,242,238,.45); line-height: 1.85; }
.note-entry-quote { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: rgba(245,242,238,.8); line-height: 1.5; margin-bottom: 8px; }
.note-entry-quote::before { content: '\201C'; color: var(--accent); font-size: 1.6rem; line-height: .4; vertical-align: -.3em; margin-right: 2px; }
.note-entry-read { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-top: 10px; display: inline-block; }

/* ── PLACES ────────────────────────────────────────── */
.map-box { background: #161614; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.map-box svg { display: block; width: 100%; height: auto; }
.map-pin { cursor: pointer; }
.map-pin .pr { transition: r .18s; }
.map-pin:hover .pr { r: 11; }
.place-panel { background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 4px; padding: 20px 24px; margin-bottom: 18px; }
.place-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.place-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.place-nm  { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; }
.place-yr  { font-size: 10px; color: var(--muted); margin-left: auto; }
.place-data-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.place-data-item { background: rgba(255,255,255,.02); border-radius: 3px; padding: 12px; }
.place-data-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: 5px; }
.place-data-val { font-size: .82rem; color: rgba(245,242,238,.6); line-height: 1.5; }
.place-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pchip { font-size: 10px; background: transparent; border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; cursor: pointer; transition: .15s; color: var(--muted); }
.pchip:hover { border-color: rgba(196,98,45,.4); color: var(--accent); }
.pchip.active { border-color: var(--accent); color: var(--accent); background: var(--soft); }

/* ── LIGHTBOXES ────────────────────────────────────── */
.media-lb, .gallery-lb { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(14,14,12,.96); align-items: center; justify-content: center; padding: 20px; }
.media-lb.open, .gallery-lb.open { display: flex; animation: lbIn .2s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.media-lb-box { width: 100%; max-width: 860px; position: relative; }
.media-lb-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: rgba(245,242,238,.5); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; transition: color .15s; }
.media-lb-close:hover { color: var(--white); }
.media-lb-media { background: #0e0e0c; border-radius: 4px; overflow: hidden; position: relative; }
.media-lb-media img { width: 100%; max-height: 75vh; object-fit: contain; display: block; }
.media-lb-media iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.media-lb-nav { position: absolute; inset-y: 0; display: flex; align-items: center; padding: 0 12px; }
.media-lb-nav.prev { left: 0; }
.media-lb-nav.next { right: 0; }
.media-lb-nav-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(14,14,12,.6); border: 1px solid rgba(245,242,238,.15); color: rgba(245,242,238,.7); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .18s; }
.media-lb-nav-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.media-lb-caption { padding: 14px 4px 0; display: flex; justify-content: space-between; gap: 16px; }
.media-lb-caption-text { font-size: .84rem; color: rgba(245,242,238,.6); line-height: 1.65; flex: 1; }
.media-lb-counter { font-size: 11px; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.gallery-lb-box { display: grid; grid-template-columns: 1fr 340px; max-width: 1000px; width: 100%; background: #111110; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.gallery-lb-media { background: #0a0a09; position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.gallery-lb-media img { max-width: 100%; max-height: 85vh; object-fit: contain; display: block; }
.gallery-lb-media iframe { width: 100%; aspect-ratio: 16/9; border: none; }
.gallery-lb-sidebar { padding: 22px; display: flex; flex-direction: column; border-left: 1px solid var(--border); overflow-y: auto; max-height: 85vh; }
.gallery-lb-close { position: absolute; top: 12px; right: 12px; z-index: 10; background: rgba(14,14,12,.7); border: 1px solid var(--border); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(245,242,238,.6); transition: .18s; }
.gallery-lb-close:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.gallery-lb-caption { font-size: .88rem; color: rgba(245,242,238,.8); line-height: 1.75; margin-bottom: 12px; }
.gallery-lb-loc  { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.gallery-lb-date { font-size: .75rem; color: rgba(245,242,238,.3); }
.gallery-lb-actions { display: flex; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.gallery-lb-action { background: none; border: none; color: var(--muted); display: flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; transition: color .15s; }
.gallery-lb-action svg { fill: currentColor; width: 15px; height: 15px; }
.gallery-lb-action:hover { color: var(--accent); }
.gallery-lb-action.liked { color: #e05c6e; }
.gallery-lb-action.liked svg { fill: #e05c6e; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(14,14,12,.55); border: 1px solid rgba(245,242,238,.12); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(245,242,238,.6); font-size: 1rem; transition: .18s; z-index: 2; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-prev:hover, .lb-next:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.lb-counter { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 10px; color: rgba(245,242,238,.4); }

/* ── VIEW TOGGLE ───────────────────────────────────── */
.gallery-view-row { display: flex; align-items: center; gap: 8px; }
.view-btn { width: 30px; height: 30px; border-radius: 3px; background: transparent; border: 1px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; }
.view-btn svg { fill: currentColor; flex-shrink: 0; }
.view-btn:hover { border-color: rgba(245,242,238,.25); color: var(--white); }
.view-btn.on { border-color: var(--accent); color: var(--accent); background: var(--soft); }

/* ── ACCESS GATE ───────────────────────────────────── */
.gate { position: fixed; inset: 0; z-index: 99999; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 24px; transition: opacity .5s ease, visibility .5s ease; }
.gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
.gate-wrap { width: 100%; max-width: 480px; position: relative; }
.gate-bg-lines { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 999; }
.gate-bg-lines::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(245,242,238,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(245,242,238,.025) 1px,transparent 1px); background-size: 48px 48px; pointer-events: none; }
.gate-accent-bar { position: fixed; top: 0; left: var(--pad); width: 1px; height: 100%; background: linear-gradient(to bottom,transparent,rgba(196,98,45,.35) 30%,rgba(196,98,45,.35) 70%,transparent); pointer-events: none; z-index: 999; }
.gate-screen { display: none; }
.gate-screen.active { display: block; animation: gFade .35s ease; }
@keyframes gFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.gate-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 20px; }
.gate-title { font-family: var(--serif); font-size: clamp(2rem,5vw,3rem); font-weight: 300; line-height: 1.15; margin-bottom: 16px; }
.gate-title em { font-style: italic; color: var(--accent); }
.gate-desc { font-size: .9rem; color: rgba(245,242,238,.5); line-height: 1.85; margin-bottom: 32px; max-width: 380px; }
.gate-actions { display: flex; flex-direction: column; gap: 10px; }
.gate-btn-primary { background: var(--accent); color: var(--white); border: none; padding: 14px 28px; font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .04em; border-radius: 3px; cursor: pointer; transition: background .18s, transform .15s; width: 100%; }
.gate-btn-primary:hover { background: #b5572a; transform: translateY(-1px); }
.gate-btn-secondary { background: transparent; color: rgba(245,242,238,.55); border: 1px solid var(--border); padding: 13px 28px; font-family: var(--sans); font-size: .85rem; letter-spacing: .04em; border-radius: 3px; cursor: pointer; transition: .18s; width: 100%; }
.gate-btn-secondary:hover { border-color: rgba(245,242,238,.3); color: var(--white); }
.gate-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0; color: rgba(245,242,238,.2); font-size: 11px; }
.gate-divider::before, .gate-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.gate-back { background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; display: flex; align-items: center; gap: 6px; margin-bottom: 28px; padding: 0; transition: color .15s; }
.gate-back:hover { color: var(--white); }
.gate-form-title, .gate-login-title, .gate-success-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; margin-bottom: 6px; }
.gate-form-sub, .gate-login-sub { font-size: .84rem; color: rgba(245,242,238,.45); margin-bottom: 28px; line-height: 1.7; }
.gate-field { margin-bottom: 16px; }
.gate-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: 7px; }
.gate-input, .gate-textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 3px; color: var(--white); font-family: var(--sans); font-size: .88rem; padding: 12px 14px; outline: none; transition: border-color .18s, background .18s; }
.gate-input:focus, .gate-textarea:focus { border-color: rgba(196,98,45,.6); background: rgba(196,98,45,.04); }
.gate-input::placeholder, .gate-textarea::placeholder { color: rgba(245,242,238,.2); }
.gate-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.gate-submit { background: var(--accent); color: var(--white); border: none; padding: 14px 28px; font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .04em; border-radius: 3px; cursor: pointer; width: 100%; transition: background .18s; margin-top: 4px; }
.gate-submit:hover { background: #b5572a; }
.gate-submit:disabled { background: rgba(196,98,45,.3); cursor: not-allowed; }
.gate-success-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(196,98,45,.12); border: 1px solid rgba(196,98,45,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.gate-success-icon svg { fill: var(--accent); width: 24px; height: 24px; }
.gate-success-text { font-size: .88rem; color: rgba(245,242,238,.5); line-height: 1.85; margin-bottom: 28px; }
.gate-footer { margin-top: 36px; font-size: .75rem; color: rgba(245,242,238,.2); line-height: 1.7; }
.gate-footer a { color: rgba(196,98,45,.6); text-decoration: underline; cursor: pointer; }
#login-error { display: none; margin-bottom: 12px; font-size: .82rem; color: #e05c6e; padding: 10px 12px; background: rgba(224,92,110,.07); border-radius: 3px; border: 1px solid rgba(224,92,110,.2); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .site-nav { padding: 0 var(--pad); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 54px; left: 0; right: 0; background: rgba(14,14,12,.97); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav-ham { display: flex; }
  .home-about { grid-template-columns: 1fr; }
  .home-about-left, .home-about-right { padding: 28px var(--pad); }
  .home-stat-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid.list-mode { grid-template-columns: 1fr; }
  .gallery-lb-box { grid-template-columns: 1fr; }
  .gallery-lb-sidebar { max-height: 220px; border-left: none; border-top: 1px solid var(--border); }
  .now-cards { grid-template-columns: 1fr; }
  .now-lists { grid-template-columns: 1fr; }
  .place-data-grid { grid-template-columns: 1fr; }
  .note-entry-header { flex-direction: column; gap: 6px; }
  .note-entry-date { min-width: auto; }
  .tl-post { gap: 0 16px; }
  .media-lb-box { max-width: 100%; }
	
	/* ── PAGE SYSTEM ──────────────────────────────────── */
.pg { display: none !important; }
.pg.active { display: block !important; }
@keyframes pgFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.pg.active { animation: pgFade .28s ease; }
}
