/* NOTTODAY - shared stylesheet for the album pages (collections/*.html, including /white).
   One copy for every album: the page-specific rules of /white stay inline on that page.
   Pages link this right after the Google Fonts stylesheet; the inline language script
   that flips lang/dir for /en runs before it. */

:root {
    --bg: #FAFAF8; --bg-surface: #F5F3F0; --text: #1A1A1A;
    --text-mid: #4A4A4A; --text-muted: #8C8C8C;
    --accent: #8C7B6B; --border: #E0DDD8;
    --font-display: 'Cormorant Garamond', 'Assistant', serif;
    --font-body: 'DM Sans', 'Assistant', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }

.album-nav {
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.album-nav__brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text);
}
.album-nav__back {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    transition: color 0.3s;
}
.album-nav__back:hover { color: var(--text); }

.album-header {
    max-width: 800px;
    margin: 80px auto 60px;
    padding: 0 48px;
    text-align: center;
}
.album-header h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.album-header__subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.album-header__desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.7;
}

.album-section-label {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 60px 0 24px;
}

.album-row {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 0 48px;
    display: grid;
    gap: 12px;
}
.album-cell { overflow: hidden; }
.album-cell img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.album-cell img:hover { transform: scale(1.02); }

.album-footer {
    padding: 60px 48px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}
.album-footer a {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.album-footer a:hover { color: var(--text); }

/* Lightbox */
.lightbox { position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(250,250,248,0.97); z-index:200; display:flex;
    align-items:center; justify-content:center; cursor:pointer;
    opacity:0; pointer-events:none; transition:opacity 0.4s ease; }
.lightbox--active { opacity:1; pointer-events:all; }
.lightbox img { max-width:90vw; max-height:90vh; object-fit:contain;
    cursor:default; box-shadow:0 8px 60px rgba(0,0,0,0.12);
    transform:scale(0.95); transition:transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.lightbox--active img { transform:scale(1); }
.lightbox__close { position:absolute; top:28px; right:36px;
    font-family:var(--font-display); font-size:2rem; font-weight:300;
    color:var(--text-muted); cursor:pointer; background:none; border:none;
    transition:color 0.3s,transform 0.3s; z-index:201; line-height:1; }
.lightbox__close:hover { color:var(--text); transform:scale(1.1); }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: none; font-size: 3rem; font-weight: 300;
    color: var(--text-muted); cursor: pointer; padding: 20px;
    transition: color 0.3s, opacity 0.3s; z-index: 201;
    font-family: var(--font-display); opacity: 0.6;
}
.lightbox__nav:hover { color: var(--text); opacity: 1; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }


.album-story {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 0 48px;
}
.album-story p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}
.album-story h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    margin: 28px 0 12px;
    letter-spacing: 0.01em;
}
.album-story h2:first-child { margin-top: 0; }
.album-story .album-credits {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.album-story a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}
.album-story a:hover {
    border-bottom-color: var(--accent);
}
.album-header__subtitle a {
    color: var(--text-muted);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}
.album-header__subtitle a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.album-footer__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.album-footer__prev, .album-footer__next {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    transition: color 0.3s;
}
.album-footer__home {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
}
.album-footer__prev:hover, .album-footer__next:hover, .album-footer__home:hover { color: var(--text); }

.album-separator {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 48px auto 0;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .album-nav { padding: 20px 28px; }
    .album-header { margin: 60px auto 40px; padding: 0 28px; }
    .album-header h1 { font-size: 1.8rem; }
    .album-row { padding: 0 20px; gap: 10px; }
    .album-story { padding: 0 28px; }
}
@media (max-width: 480px) {
    .album-nav { padding: 16px 20px; }
    .album-header { padding: 0 20px; }
    .album-header h1 { font-size: 1.5rem; }
    .album-row { padding: 0 16px; gap: 8px; }
    .album-story { padding: 0 20px; }
}
.album-video {
    width: 100%;
    display: block;
    background: #000;
    cursor: pointer;
}
.album-caption {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 0 48px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
}
@media (max-width: 768px) { .album-caption { padding: 0 20px; } }

.hebrew-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* - Hebrew / RTL -
   The display serif carries no Hebrew, so Hebrew falls back to the body
   sans (see --font-display) - and a sans has no italic face, which the
   browser would fake as a slant. Headings differ by weight instead. */
html[lang="he"] .album-nav__back { letter-spacing: 0.06em; }
html[lang="he"] .album-header__subtitle { letter-spacing: 0.02em; }
.album-header__all { margin-top: 14px; }
.album-header__all a { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--accent); } /* no uppercase: the brand is "NOTTODAY white" */
.album-header__all a:hover { color: var(--text); }
html[lang="he"] .album-section-label { letter-spacing: 0.14em; }
html[lang="he"] .album-footer a { letter-spacing: 0.06em; }
html[lang="he"] .album-header h1 { font-style: normal; font-weight: 200; }
html[lang="he"] .album-header__desc,
html[lang="he"] .album-caption { font-style: normal; }
html[lang="he"] .album-story h2 { font-style: normal; font-weight: 500; }
