/* Design tokens: ink and gold leaf on paper */
:root {
    --paper: #f6f0e4;
    --paper-2: #efe6d4;
    --paper-3: #e4d6bb;
    --ink: #1c1612;
    --ink-2: #4a3d33;
    --ink-3: #6b5a4c;
    --gold: #c9a45c;        /* lines and ornaments only: too light for text */
    --gold-text: #7a5719;   /* gold for text, 5.3:1 or better on the paper colours */
    --night: #15100c;
    --parchment: #efe2c4;
    --line: rgba(28, 22, 18, .12);

    --font-display: 'Cormorant Garamond', 'Abhaya Libre', Georgia, serif;
    --font-body: 'DM Sans', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-si: 'Abhaya Libre', 'Noto Sans Sinhala', serif;
    --font-film: 'Instrument Serif', Georgia, serif;   /* one weight: always use 400 */

    --header-h: 76px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --max-width: 1240px;
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

/* The darker chapters (her words, her songs, the verses) dim the whole page: the colour tokens
   swap from ink-on-paper to parchment-on-ink and, where the browser can animate them, fade across */
@property --paper { syntax: '<color>'; inherits: true; initial-value: #f6f0e4; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #1c1612; }
@property --ink-2 { syntax: '<color>'; inherits: true; initial-value: #4a3d33; }
@property --ink-3 { syntax: '<color>'; inherits: true; initial-value: #6b5a4c; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(28, 22, 18, .12); }
@property --gold-text { syntax: '<color>'; inherits: true; initial-value: #7a5719; }
html {
    transition: --paper 1.1s ease, --ink 1.1s ease, --ink-2 1.1s ease, --ink-3 1.1s ease, --line 1.1s ease, --gold-text 1.1s ease;
}
html.is-dim {
    --paper: #15100c;
    --ink: #efe2c4;
    --ink-2: rgba(239, 226, 196, .8);
    --ink-3: rgba(239, 226, 196, .62);
    --line: rgba(239, 226, 196, .14);
    --gold-text: #d4b06a;
}
/* Fixed colours for things that stay paper whatever the page is doing */
:root {
    --sheet: #f6f0e4;
    --sheet-2: #fbf7ee;
    --sheet-ink: #1c1612;
    --sheet-ink-2: #4a3d33;
    --sheet-ink-3: #6b5a4c;
    --sheet-gold: #7a5719;
}

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(201, 164, 92, .16), rgba(201, 164, 92, 0) 70%),
        radial-gradient(700px 500px at -10% 110%, rgba(201, 164, 92, .08), rgba(201, 164, 92, 0) 70%),
        var(--paper);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

p {
    margin-bottom: 1rem;
}

:focus-visible {
    outline: 2px solid var(--gold-text);
    outline-offset: 3px;
    border-radius: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[hidden] { display: none !important; }

/* Layout */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .8rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .01em;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn-ink {
    background-color: var(--ink);
    color: var(--paper);
}
.btn-ink:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(28, 22, 18, .7);
}

.btn-gold {
    background-color: var(--gold-text);
    color: #fffdf8;
}
.btn-gold:hover {
    background-color: #5f4413;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(95, 68, 19, .8);
}

.btn-line {
    background-color: transparent;
    border-color: var(--ink);
    color: var(--ink);
}
.btn-line:hover {
    background-color: var(--ink);
    color: var(--paper);
}

.btn-sm {
    min-height: 42px;
    padding: .6rem 1.25rem;
    font-size: .88rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    font-weight: 500;
    color: var(--ink);
    background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 8px) / 100% 1px no-repeat;
}
button.link-arrow {
    padding: 0;
    border: 0;
    background-color: transparent;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: height .35s var(--ease-out), transform .7s var(--ease-in-out);
}
/* No transform unless hidden: a transform would trap the fixed-position mobile menu inside the header */
.site-header.is-away { transform: translateY(-110%); }
/* Opening the menu snaps the header back instantly (a transform mid-transition would trap the menu too) */
html.menu-open .site-header { transform: none; transition: height .35s var(--ease-out); }
.scroll-line {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 1;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: 0 50%;
    opacity: 0;
    transition: opacity .3s ease;
}
.site-header.is-scrolled .scroll-line { opacity: 1; }
/* The frosted background sits on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the header's box */
.site-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(246, 240, 228, .84);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transition: opacity .35s ease;
}
.site-header.is-scrolled { height: 64px; }
html.is-dim .site-header::before { background: rgba(21, 16, 12, .8); }
.site-header.is-scrolled::before { opacity: 1; }

.nav-container {
    position: relative;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--ink);
    transition: color .3s ease;
}
.monogram { width: 38px; height: 38px; fill: currentColor; flex-shrink: 0; }
.monogram-ring { stroke: var(--gold); }
.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.2vw, 2.25rem);
}
.nav-link {
    position: relative;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-2);
    padding: .4rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: transform .35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-num, .nav-foot { display: none; }

.nav-links .nav-cta {
    margin-left: .25rem;
    padding: .65rem 1.25rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    transition: background-color .25s ease, color .25s ease;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { background-color: var(--ink); color: var(--paper); }

.menu-toggle { display: none; }

/* Mobile and tablet: full-screen menu */
@media (max-width: 1023px) {
    .menu-toggle {
        position: relative;
        z-index: 2;
        display: inline-flex;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        background: none;
        border: 0;
        cursor: pointer;
        color: var(--ink);
        transition: color .3s ease;
    }
    .menu-toggle .bar {
        position: absolute;
        left: 11px; right: 11px;
        height: 1.5px;
        background-color: currentColor;
        transition: transform .45s var(--ease-out), top .45s var(--ease-out);
    }
    .menu-toggle .bar:nth-child(1) { top: 17px; }
    .menu-toggle .bar:nth-child(2) { top: 26px; }
    .menu-open .menu-toggle .bar:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
    .menu-open .menu-toggle .bar:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
        background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(96, 66, 38, .35), rgba(21, 16, 12, 0) 70%), var(--night);
        overflow-y: auto;
        -webkit-clip-path: circle(0 at var(--ox, 100%) var(--oy, 0));
        clip-path: circle(0 at var(--ox, 100%) var(--oy, 0));
        visibility: hidden;
        transition: -webkit-clip-path .8s var(--ease-in-out), clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
    }
    .menu-open .nav-links {
        -webkit-clip-path: circle(150vmax at var(--ox, 100%) var(--oy, 0));
        clip-path: circle(150vmax at var(--ox, 100%) var(--oy, 0));
        visibility: visible;
        transition: -webkit-clip-path .9s var(--ease-in-out), clip-path .9s var(--ease-in-out);
    }
    .menu-open .brand, .menu-open .menu-toggle { color: var(--parchment); }
    .menu-open .site-header::before { opacity: 0; }

    .nav-links .nav-link {
        display: flex;
        align-items: baseline;
        gap: 1.1rem;
        padding: .6rem 0;
        font-family: var(--font-display);
        font-size: clamp(2rem, 8vw, 2.8rem);
        font-weight: 500;
        line-height: 1.15;
        color: var(--parchment);
        border-bottom: 1px solid rgba(239, 226, 196, .1);
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .45s ease, transform .6s var(--ease-out), color .2s ease;
    }
    .menu-open .nav-links .nav-link {
        opacity: 1;
        transform: none;
        transition-delay: calc(.25s + var(--i) * 60ms);
    }
    .nav-links .nav-link::after { display: none; }
    .nav-links .nav-link.active { color: var(--gold); }
    .nav-num {
        display: inline;
        font-family: var(--font-body);
        font-size: .75rem;
        font-weight: 500;
        letter-spacing: .14em;
        color: var(--gold);
    }

    .nav-links .nav-cta {
        align-self: flex-start;
        margin: 2.25rem 0 0;
        padding: 1rem 1.75rem;
        font-family: var(--font-body);
        font-size: 1rem;
        border: 1px solid var(--gold);
        border-bottom: 1px solid var(--gold);
        color: var(--parchment);
    }
    .nav-links .nav-cta:hover, .nav-links .nav-cta.active { background-color: var(--gold); color: var(--night); }

    .nav-foot {
        display: block;
        margin-top: auto;
        padding-top: 2rem;
        font-family: var(--font-si);
        font-size: 1.25rem;
        color: rgba(239, 226, 196, .45);
        opacity: 0;
        transition: opacity .6s ease;
    }
    .menu-open .nav-foot { opacity: 1; transition-delay: .45s; }

    html.menu-open, html.menu-open body { overflow: hidden; }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 5rem;
    overflow: hidden;
}
/* A slow drift of warm light behind the portrait */
.hero::before {
    content: '';
    position: absolute;
    top: -25vw; right: -15vw;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(201, 164, 92, .2), rgba(201, 164, 92, 0) 62%);
    pointer-events: none;
    animation: glow-drift 22s ease-in-out infinite alternate;
}
@keyframes glow-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-12vw, 10vw) scale(1.15); }
}
.hero-inner {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 2rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.hero-eyebrow::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background-color: var(--gold);
}

.hero-title {
    margin: 0 0 1.75rem;
    font-weight: 400;
}
.hero-si { display: block; }
/* The Sinhala name is SVG artwork (tools/build-name-art.mjs), sitting on the same stave as the preloader */
.hero-si-wrap {
    position: relative;
    display: block;
    max-width: 620px;
    color: var(--ink);
}
.hero-si-art {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    fill: currentColor;
    overflow: visible;
}
.hero-stave {
    position: absolute;
    top: 0; bottom: 0;
    left: -100vw;
    right: -14%;
    pointer-events: none;
}
/* Each line carries a narrow band of light that sweeps along it now and then, like gold leaf catching the light */
.hero-stave i {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    margin-top: -.5px;
    background:
        linear-gradient(90deg, rgba(255, 236, 190, 0), rgba(255, 236, 190, 1), rgba(255, 236, 190, 0)) no-repeat,
        linear-gradient(90deg, rgba(201, 164, 92, .5), rgba(201, 164, 92, .5) 86%, rgba(201, 164, 92, 0));
    background-size: 14% 100%, 100% 100%;
    background-position: -20% 0, 0 0;
    transform-origin: 100% 50%;
    animation: stave-shine 9s ease-in-out infinite;
    animation-delay: calc(4s + var(--n) * 140ms);
}
@keyframes stave-shine {
    0%, 60% { background-position: -20% 0, 0 0; }
    100% { background-position: 120% 0, 0 0; }
}
.hero-en {
    display: block;
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1.1;
    color: var(--ink-2);
}

.hero-tagline {
    max-width: 34ch;
    margin-bottom: 2.5rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-2);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
}

.hero-portrait {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 430px;
    margin: 0;
}
/* A second arch, drawn in gold and offset behind the photo */
.hero-portrait::before {
    content: '';
    position: absolute;
    top: -16px; right: -16px; bottom: 16px; left: 16px;
    border: 1px solid var(--gold);
    border-radius: 999px 999px 0 0;
    /* Moves against the portrait as the pointer moves, for depth */
    translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -14px);
}
.hero-arch {
    position: relative;
    overflow: hidden;
    padding-top: 128%;
    border-radius: 999px 999px 0 0;
    background-color: var(--paper-2);
}
.hero-arch-inner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-arch img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.hero-scroll i {
    position: relative;
    width: 1px;
    height: 44px;
    overflow: hidden;
    background-color: var(--line);
}
.hero-scroll i::after {
    content: '';
    position: absolute;
    left: 0; top: -40%;
    width: 1px;
    height: 40%;
    background-color: var(--ink-2);
    animation: scroll-cue 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
    0% { top: -40%; }
    65%, 100% { top: 100%; }
}

/* Hero entrance, choreographed with the preloader's exit (html.pl-exit): the gold name lands on the
   hero's name (html.pl-landed), the words rise from behind masks and the portrait is revealed in its arch.
   Without a preloader it all happens at once (html.is-ready). The failsafe animations reveal everything
   after 12s if the preloader script never ran (it gives up at 7s and takes 2s to exit). */
.js .hero [data-rise] {
    opacity: 0;
    transform: translateY(26px);
    animation: hero-failsafe 0s linear 12s forwards;
}
.pl-exit .hero [data-rise], .is-ready .hero [data-rise] {
    opacity: 1;
    transform: none;
    transition: opacity .9s ease, transform 1.2s var(--ease-out);
    transition-delay: calc(.7s + var(--r) * 110ms);
}
.hero-en { --hero-delay: .85s; }
.hero-tagline { --hero-delay: 1.05s; }
.js .hero .wi { transform: translateY(110%); animation: hero-failsafe 0s linear 12s forwards; }
.pl-exit .hero .wi, .is-ready .hero .wi {
    transform: none;
    transition: transform 1.2s var(--ease-out);
    transition-delay: calc(var(--hero-delay, 0s) + var(--wi) * 45ms);
}
.js .hero-si { opacity: 0; animation: hero-failsafe 0s linear 12s forwards; }
.pl-landed .hero-si, .is-ready .hero-si { opacity: 1; transition: opacity .7s ease; }
/* The stave extends from the name out to the edge of the page */
.js .hero-stave i { transform: scaleX(0); }
.pl-landed .hero-stave i, .is-ready .hero-stave i {
    transform: none;
    transition: transform 1.8s var(--ease-in-out);
    transition-delay: calc(var(--n) * 70ms);
}
.js .hero-arch {
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
    animation: arch-failsafe 0s linear 12s forwards;
}
.pl-exit .hero-arch, .is-ready .hero-arch {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    transition: -webkit-clip-path 1.5s var(--ease-in-out) .55s, clip-path 1.5s var(--ease-in-out) .55s;
}
.js .hero-arch img { transform: scale(1.18); }
.pl-exit .hero-arch img, .is-ready .hero-arch img { transform: none; transition: transform 2.6s var(--ease-out) .55s; }
.js .hero-portrait::before { opacity: 0; transform: translate(-10px, 10px); animation: hero-failsafe 0s linear 12s forwards; }
.pl-exit .hero-portrait::before, .is-ready .hero-portrait::before {
    opacity: 1;
    transform: none;
    transition: opacity 1s ease 1.5s, transform 1.4s var(--ease-out) 1.5s;
}
@keyframes hero-failsafe { to { opacity: 1; transform: none; } }
@keyframes arch-failsafe { to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }

@media (max-width: 1023px), (max-height: 700px) {
    .hero-scroll { display: none; }
}
@media (max-width: 900px) {
    .hero {
        min-height: 0;
        padding: calc(var(--header-h) + 2.5rem) 0 4rem;
    }
    .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero-portrait { justify-self: center; max-width: 360px; }
}
@media (max-width: 480px) {
    .brand-text { font-size: 1.25rem; }
    .monogram { width: 34px; height: 34px; }
    .hero-eyebrow { margin-bottom: 1.5rem; font-size: .72rem; }
    .hero-tagline { margin-bottom: 2rem; }
    .hero-portrait { max-width: 290px; }
    .hero-portrait::before { top: -12px; right: -12px; bottom: 12px; left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

/* Sections */
.section {
    position: relative;
    padding: clamp(5rem, 11vw, 9rem) 0;
}
.anchor-alias { position: absolute; top: 0; }

.sec-head {
    max-width: 44rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-kicker {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.sec-kicker::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background-color: var(--gold);
}
.sec-num {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .04em;
}
.sec-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 5.5vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    color: var(--ink);
}
.sec-intro {
    max-width: 36rem;
    margin: 1.25rem 0 0;
    font-size: 1.05rem;
    color: var(--ink-2);
}

/* Cormorant's old-style figures read like lowercase in dates; use lining figures for numbers */
.sec-num, .fact dd, .award-year, .step-num, .song-credits dd { font-variant-numeric: lining-nums; }

/* Scroll reveal (content only hides while JS is running) */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s ease, transform 1s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-smooth .cinema iframe { pointer-events: auto; }

/* Words that rise from behind a mask */
.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0 .08em .14em;
    margin: 0 -.08em -.14em;
}
.wi { display: inline-block; }
.js .reveal .wi {
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(.12s + var(--wi, 0) * 55ms);
}
.js .reveal.is-in .wi { transform: none; }
/* Containers whose words animate don't also fade as a block */
.js .reveal[data-split], .js .sec-head.reveal { opacity: 1; transform: none; }

/* Section headings: the kicker's line draws, the title rises word by word */
.js .sec-head .sec-kicker { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.js .sec-head .sec-kicker::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease-in-out) .1s; }
.js .sec-head .sec-intro { opacity: 0; transform: translateY(14px); transition: opacity .9s ease .4s, transform 1s var(--ease-out) .4s; }
.js .sec-head.is-in .sec-kicker, .js .sec-head.is-in .sec-intro { opacity: 1; transform: none; }
.js .sec-head.is-in .sec-kicker::before { transform: none; }

/* Scroll-lit paragraph: words brighten as you read (opacity is set per word by motion.js) */
.sw { transition: opacity .25s linear; }

/* Film grain, on larger screens with a mouse */
@media (hover: hover) and (pointer: fine) {
    body::after {
        content: '';
        position: fixed;
        top: -160px; left: -160px; right: -160px; bottom: -160px;
        z-index: 999;
        pointer-events: none;
        opacity: .07;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        animation: grain 1.1s steps(6) infinite;
    }
}
@keyframes grain {
    0% { transform: translate(0, 0); }
    17% { transform: translate(-60px, 40px); }
    33% { transform: translate(50px, -70px); }
    50% { transform: translate(-90px, 90px); }
    67% { transform: translate(110px, 30px); }
    83% { transform: translate(-30px, -120px); }
    100% { transform: translate(0, 0); }
}

/* Custom cursor */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto !important; }
.cursor {
    --c: var(--ink);
    position: fixed;
    top: 0; left: 0;
    z-index: 10001;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.cursor.is-on { opacity: 1; }
.cursor.on-dark { --c: var(--parchment); }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; will-change: transform; }
.cursor-dot::before {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background-color: var(--c);
    transition: opacity .2s ease, background-color .3s ease;
}
.cursor-ring::before {
    content: '';
    position: absolute;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid var(--c);
    border-radius: 50%;
    opacity: .45;
    transition: transform .45s var(--ease-out), background-color .3s ease, opacity .3s ease, border-color .3s ease;
}
.cursor.is-hover .cursor-ring::before { transform: scale(1.55); opacity: .85; }
.cursor.is-down .cursor-ring::before { transform: scale(.8); }
.cursor.has-label .cursor-ring::before { transform: scale(2.3); background-color: var(--c); border-color: var(--c); opacity: 1; }
.cursor.has-label .cursor-dot::before, .cursor.is-text .cursor-dot::before { opacity: 0; }
.cursor.is-text .cursor-ring::before { opacity: 0; }
.cursor-label {
    position: absolute;
    width: 80px;
    margin: -.45em 0 0 -40px;
    font-family: var(--font-body);
    font-style: normal;
    font-size: .66rem;
    font-weight: 600;
    line-height: .9;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0;
    transition: opacity .2s ease;
}
.cursor.on-dark .cursor-label { color: var(--night); }
.cursor.has-label .cursor-label { opacity: 1; transition-delay: .1s; }

/* Magnetic buttons ease back when released */
[data-magnetic] { transition: translate .7s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
[data-magnetic].is-magnet { transition: translate .18s linear, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn-ink[data-magnetic]:hover { transform: none; }

/* Ticker: her song titles drift one way, the first lines of her lyrics the other */
.ticker {
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.6rem) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}
.ticker-row { overflow: hidden; }
.ticker-track { display: inline-flex; will-change: transform; }
.ticker-set { display: inline-flex; align-items: center; flex-shrink: 0; }
.tick-si, .tick-en {
    padding: 0 .45em;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.3;
}
.tick-si { font-family: var(--font-si); font-weight: 600; color: var(--ink); }
.tick-en {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: transparent;
    -webkit-text-stroke: 1px var(--ink-2);
}
.tick-star { font-size: clamp(.9rem, 1.8vw, 1.4rem); color: var(--gold); }
.ticker-row--lines { margin-top: .35rem; }
.tick-line {
    padding: 0 1.1em;
    font-family: var(--font-si);
    font-size: clamp(1.05rem, 1.7vw, 1.4rem);
    line-height: 1.6;
    color: var(--ink-3);
}
.tick-dot { color: var(--gold); font-size: 1.4rem; }

/* Cinema: songs play full screen with letterbox bars */
html.cinema-open, html.cinema-open body { overflow: hidden; }
.cinema {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(12, 9, 7, 0);
    transition: background-color .6s ease;
}
.cinema.is-open { background-color: rgba(12, 9, 7, .97); }
.cinema-bars i {
    position: absolute;
    left: 0; right: 0;
    height: 8vh;
    background-color: #000;
    transform: scaleY(0);
    transition: transform .8s var(--ease-in-out);
}
.cinema-bars i:first-child { top: 0; transform-origin: 50% 0; }
.cinema-bars i:last-child { bottom: 0; transform-origin: 50% 100%; }
.cinema.is-open .cinema-bars i { transform: none; transition-delay: .15s; }
.cinema-close {
    position: absolute;
    top: calc(4vh - 22px); right: 1.25rem;
    z-index: 2;
    width: 44px; height: 44px;
    border: 1px solid rgba(239, 226, 196, .4);
    border-radius: 50%;
    background: none;
    color: var(--parchment);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .4s ease .4s, border-color .2s ease;
}
.cinema.is-open .cinema-close { opacity: 1; }
.cinema-close:hover { border-color: var(--gold); }
.cinema-stage {
    position: relative;
    /* Leaves room for the letterbox bars and the caption below the frame */
    width: min(1100px, calc(100% - 2 * var(--gutter)), calc((84vh - 13rem) * 16 / 9));
}
.cinema-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: #000;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
    transform-origin: 0 0;
    transition: transform .85s cubic-bezier(.7, 0, .2, 1);
}
.cinema-frame::before { content: ''; display: block; padding-top: 56.25%; }
.cinema-frame img, .cinema-frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    object-fit: cover;
}
.cinema-frame img { filter: brightness(.65); }
.cinema-meta {
    margin-top: 1.5rem;
    color: var(--parchment);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .8s var(--ease-out);
}
.cinema.is-open .cinema-meta { opacity: 1; transform: none; transition-delay: .55s; }
.cinema-kicker {
    margin-bottom: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
}
.cinema-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--parchment);
}
.cinema-title [lang="si"] { font-family: var(--font-si); font-weight: 600; }
.cinema-en { font-style: italic; font-size: .7em; color: rgba(239, 226, 196, .7); }
.cinema-credits { margin: .5rem 0 0; font-size: .92rem; color: rgba(239, 226, 196, .72); }
.cinema-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--parchment);
    border-bottom: 1px solid var(--gold);
}

/* Footer: her name as end credits */
.footer-mark { overflow: hidden; padding-top: clamp(3.5rem, 8vw, 7rem); }
.footer-art {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--parchment);
    overflow: visible;
    will-change: transform;
}


/* About */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-areas: "portrait copy";
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.about-portrait {
    grid-area: portrait;
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    z-index: 0;
    margin: 0 18px 18px 0;
}
.about-portrait::after {
    content: '';
    position: absolute;
    top: 18px; left: 18px; right: -18px; bottom: -18px;
    z-index: -1;
    border: 1px solid var(--gold);
    border-radius: 6px;
}
.about-frame {
    position: relative;
    overflow: hidden;
    padding-top: 128%;
    border-radius: 6px;
    background-color: var(--paper-2);
}
.about-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    scale: 1.16;
}
.js .about-portrait.reveal { opacity: 1; transform: none; }
.js .about-portrait .about-frame {
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    transition: -webkit-clip-path 1.5s var(--ease-in-out), clip-path 1.5s var(--ease-in-out);
}
.js .about-portrait.is-in .about-frame { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
.js .about-portrait .about-frame img { scale: 1.4; transition: scale 2.2s var(--ease-out); }
.js .about-portrait.is-in .about-frame img { scale: 1.16; }
.js .about-portrait::after { opacity: 0; translate: -12px -12px; transition: opacity 1s ease 1.2s, translate 1.4s var(--ease-out) 1.2s; }
.js .about-portrait.is-in::after { opacity: 1; translate: 0 0; }
.about-copy { grid-area: copy; }
.about-lead {
    margin-bottom: 1.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.4;
    color: var(--ink);
}
.about-body p {
    max-width: 38rem;
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    color: var(--ink-2);
}
.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.5rem 0 2rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.fact { padding: 1.25rem 1.25rem 1.25rem 0; }
.fact + .fact { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.fact dt {
    margin-bottom: .4rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.fact dd {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
}
.about-sign {
    margin: 0;
    font-family: var(--font-si);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-text);
}
/* With the pen-stroke artwork in place, the text stays for screen readers only */
.about-sign.has-art .sig-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.js .about-sign.reveal.has-art { opacity: 1; transform: none; }
.sig-art { display: block; width: 250px; max-width: 70%; height: auto; overflow: visible; }
.sig-fill { fill: currentColor; opacity: 0; }
.sig-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 10;
    stroke-linejoin: round;
    stroke-dasharray: var(--l);
    stroke-dashoffset: var(--l);
}
.about-sign.is-in .sig-stroke {
    animation: sig-write 1.1s cubic-bezier(.55, .1, .35, 1) forwards;
    animation-delay: calc(.3s + var(--i) * 110ms + var(--k) * 45ms);
}
.about-sign.is-in .sig-fill { animation: sig-ink .8s ease forwards; animation-delay: calc(1.1s + var(--i) * 110ms); }
@keyframes sig-write { to { stroke-dashoffset: 0; } }
@keyframes sig-ink { to { opacity: 1; } }

/* Awards */
.award-list { list-style: none; border-top: 1px solid var(--line); }
.award {
    display: grid;
    grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: start;
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-bottom: 1px solid var(--line);
}
.award { position: relative; }
.js .award.reveal::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.6s var(--ease-in-out) .2s;
}
.js .award.reveal.is-in::before { transform: scaleX(1); opacity: 0; transition: transform 1.6s var(--ease-in-out) .2s, opacity 1s ease 2s; }
.award-year {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--gold-text);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .award-year {
        color: transparent;
        -webkit-text-stroke: 1px var(--gold-text);
        background: linear-gradient(0deg, var(--gold-text) var(--fill, 100%), rgba(122, 87, 25, 0) var(--fill, 100%));
        -webkit-background-clip: text;
        background-clip: text;
    }
}
.award-title {
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
}
.award-cat {
    margin-bottom: 1rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.award-note { max-width: 34rem; margin-bottom: .75rem; color: var(--ink-2); }
.award-si { margin: -.15rem 0 .6rem; font-family: var(--font-si); font-size: 1.15rem; font-weight: 600; color: var(--ink-2); }
.award-note-si { font-family: var(--font-si); font-size: 1.05rem; line-height: 1.7; }

/* Gallery */
.gallery-grid { -webkit-columns: 3 280px; columns: 3 280px; -webkit-column-gap: 1.25rem; column-gap: 1.25rem; }
.shot { -webkit-column-break-inside: avoid; break-inside: avoid; margin: 0 0 1.25rem; }
.shot-btn {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: none;
    cursor: zoom-in;
}
.shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.shot-btn:hover img { transform: scale(1.03); }
.shot figcaption { margin-top: .6rem; font-size: .88rem; color: var(--ink-3); }

.lightbox {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem var(--gutter);
    background-color: rgba(21, 16, 12, .95);
    opacity: 0;
    transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 11rem); border-radius: 4px; }
.lightbox figcaption { margin-top: 1rem; font-size: .95rem; color: var(--parchment); }
.lb-btn {
    position: absolute;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 226, 196, .35);
    border-radius: 50%;
    background: none;
    color: var(--parchment);
    font-size: 1.3rem;
    cursor: pointer;
}
.lb-btn:hover { border-color: var(--gold); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* Commission */
.commission { color: var(--parchment); }
.commission-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: 28px 28px 0 0;
    background:
        radial-gradient(ellipse 45% 40% at var(--lx, 85%) var(--ly, 5%), rgba(118, 82, 46, .42), rgba(21, 16, 12, 0) 70%),
        var(--night);
    transform-origin: 50% 0;
    will-change: transform;
}
.commission .sec-kicker { color: var(--gold); }
.commission .sec-title { color: var(--parchment); }
.commission-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.commission-lead {
    max-width: 30rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    line-height: 1.45;
    color: var(--parchment);
}
.steps { list-style: none; display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.steps li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(239, 226, 196, .14);
}
.step-num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gold); }
.steps h3 {
    margin: 0 0 .25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--parchment);
}
.steps p { margin: 0; font-size: .95rem; color: rgba(239, 226, 196, .72); }
.channels { list-style: none; display: grid; gap: .7rem; font-size: .95rem; }
.channels li { color: var(--parchment); }
.channels span {
    display: inline-block;
    width: 6.5rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(239, 226, 196, .62);
}
.channels a { color: var(--parchment); border-bottom: 1px solid rgba(201, 164, 92, .55); }
.channels a:hover { border-bottom-color: var(--gold); }

.enquiry {
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: 12px;
    background-color: var(--paper);
    color: var(--ink);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.enquiry-pending h3 { margin-bottom: .5rem; font-size: 1.9rem; }
.enquiry-pending p { margin: 0; color: var(--ink-2); }
.enquiry-pending a { display: inline-block; padding: .5rem 0 .25rem; color: var(--ink); font-size: 1.25rem; line-height: 1.5; border-bottom: 1px solid rgba(201, 164, 92, .55); }
.enquiry-pending a + br + a { margin-top: .35rem; }
/* Phone numbers are tapped with a thumb: give each one a full-size target */
.channels a[href^="tel:"] { display: inline-block; padding: .55rem 0 .3rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;
    padding: .75rem .9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background-color: #fffcf6;
    border: 1px solid #d6c8ad;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3d33' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 18px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: #8d7e6f; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--gold-text);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, .28);
}
.field.has-error input, .field.has-error textarea { border-color: #a1362b; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: .92rem; color: var(--ink-2); }

/* Footer */
.site-footer {
    position: relative;
    padding-bottom: 2rem;
    background-color: var(--night);
    color: rgba(239, 226, 196, .72);
    border-top: 1px solid rgba(239, 226, 196, .1);
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2.5rem;
}
.footer-en { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .93rem;
    color: rgba(239, 226, 196, .82);
}
.footer-nav a:hover, .to-top:hover { color: var(--parchment); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(239, 226, 196, .12);
    font-size: .84rem;
    color: rgba(239, 226, 196, .62);
}
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; min-height: 44px; color: rgba(239, 226, 196, .82); }

/* Lyric reader */
html.reader-open, html.reader-open body { overflow: hidden; }
.reader {
    --r-bg: var(--sheet);
    --r-ink: var(--sheet-ink);
    --r-muted: var(--sheet-ink-2);
    --r-accent: var(--sheet-gold);
    --r-line: rgba(28, 22, 18, .12);
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    background-color: var(--r-bg);
    color: var(--r-ink);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .45s var(--ease-out), background-color .4s ease, color .4s ease;
}
.reader.is-open { opacity: 1; transform: none; }
.reader.is-night {
    --r-bg: var(--night);
    --r-ink: var(--parchment);
    --r-muted: rgba(239, 226, 196, .72);
    --r-accent: var(--gold);
    --r-line: rgba(239, 226, 196, .15);
}
.reader-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .6rem var(--gutter);
    border-bottom: 1px solid var(--r-line);
}
.reader-tools { display: flex; gap: .35rem; }
.reader-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 .7rem;
    border: 1px solid var(--r-line);
    border-radius: 999px;
    background: none;
    color: var(--r-ink);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.reader-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reader-btn:hover { border-color: var(--gold); }
.reader-btn:disabled { opacity: .35; cursor: default; border-color: var(--r-line); }
.reader-btn[aria-pressed="true"] { background-color: var(--gold); border-color: var(--gold); color: var(--night); }
.reader-close { padding-left: .45rem; border-color: transparent; }
.reader-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.reader-page {
    max-width: 40rem;
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 5rem;
    text-align: center;
}
.reader-kicker {
    margin: 0;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--r-accent);
}
.reader-title {
    margin: 1rem 0 .25rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    line-height: 1.25;
    color: var(--r-ink);
}
.reader-title [lang="si"] { font-family: var(--font-si); }
.reader-sub { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--r-muted); }
.reader-credits { margin: 1rem 0 0; font-size: .92rem; color: var(--r-muted); }
.reader-rule { position: relative; width: 96px; height: 25px; margin: 2.25rem auto; }
.reader-rule i { position: absolute; left: 0; right: 0; height: 1px; background-color: var(--gold); opacity: .55; }
.reader-rule i:nth-child(2) { top: 6px; }
.reader-rule i:nth-child(3) { top: 12px; }
.reader-rule i:nth-child(4) { top: 18px; }
.reader-rule i:nth-child(5) { top: 24px; }
.reader-lyrics {
    font-family: var(--font-si);
    font-size: var(--reader-size, 1.3rem);
    line-height: 2;
    color: var(--r-ink);
}
.reader-pending {
    padding: 2rem 1.5rem;
    border: 1px dashed var(--r-line);
    border-radius: 10px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--r-muted);
}
.reader-pending p { margin: 0; }
.reader-story { margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--r-line); text-align: left; }
.reader-story h3 { font-size: 1.5rem; color: var(--r-ink); }
.reader-story p { color: var(--r-muted); }
.reader-foot { margin-top: 3rem; }
.reader.is-night .btn-ink { background-color: var(--parchment); color: var(--night); }
.reader-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    max-width: calc(100vw - 2rem);
    padding: .7rem 1.2rem;
    border-radius: 999px;
    background-color: var(--ink);
    color: var(--paper);
    font-size: .88rem;
    overflow-wrap: anywhere;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity .25s ease, transform .3s var(--ease-out);
    pointer-events: none;
}
.reader-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ———————————————————————————————————————————————————————————————————————
   Her lyrics, at the heart of the site
   ——————————————————————————————————————————————————————————————————————— */

/* Hero: a line from one of her songs, changing every few seconds */
.hero-verse { max-width: 34rem; margin: 2.75rem 0 0; }
.hero-verse:empty { display: none; }
.hv-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.hv-label::before { content: ''; width: 1.6rem; height: 1px; background-color: var(--gold); }
.hv-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; color: var(--ink); }
.hv-mask { display: inline-block; overflow: hidden; padding: .12em 0 .2em; margin: -.12em 0 -.2em; }
.hv-line {
    display: inline-block;
    font-family: var(--font-si);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.5;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
    transition: transform .55s var(--ease-in-out), opacity .45s ease, background-size .5s var(--ease-out);
}
.hv-link:hover .hv-line, .hv-link:focus-visible .hv-line { background-size: 100% 1px; }
.hv-song { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-3); transition: opacity .45s ease; }
.hero-verse.is-out .hv-line { transform: translateY(-115%); opacity: 0; }
.hero-verse.is-out .hv-song { opacity: 0; }
.hero-verse.is-enter .hv-line { transform: translateY(115%); opacity: 0; transition: none; }

/* Her words: one sentence, lit word by word while the screen holds still */
.manifesto { position: relative; }
.manifesto-sticky { position: relative; padding: clamp(6rem, 14vw, 10rem) 0; overflow: hidden; }
.pin-manifesto .manifesto-pin { height: 280vh; }
.pin-manifesto .manifesto-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    padding: 0;
}
/* A faint stave runs behind the sentence */
.manifesto-sticky::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: clamp(2.5rem, 9vh, 6rem);
    height: 2.6rem;
    background: repeating-linear-gradient(180deg, rgba(201, 164, 92, .3) 0 1px, transparent 1px .65rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    pointer-events: none;
}
.manifesto-inner { position: relative; width: 100%; }
.manifesto-kicker {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.manifesto-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0; color: var(--gold); transform: translateY(.55rem); }
.manifesto-quote { margin: 0; }
.manifesto-si {
    max-width: 21em;
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
    font-family: var(--font-si);
    font-weight: 600;
    font-size: clamp(2rem, 5.2vw, 4.9rem);
    line-height: 1.34;
    color: var(--ink);
}
.manifesto-si .sw { transition: opacity .35s linear, color .5s ease; }
.manifesto-si .sw.is-now { color: var(--gold); }
.manifesto-en {
    max-width: 30rem;
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2.3vw, 1.9rem);
    line-height: 1.4;
    color: var(--ink-2);
}
.manifesto-sign {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 2rem 0 0;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.manifesto-sign::before { content: ''; width: 2.5rem; height: 1px; background-color: var(--gold); }
.pin-manifesto .manifesto-en, .pin-manifesto .manifesto-sign { opacity: 0; }

/* Verses: cards of her words that travel sideways */
.verses { position: relative; }
.verses-sticky { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; }
.verses-head .sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.verses-rail {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 1.25rem 0 2rem;
}
.verses-rail::-webkit-scrollbar { display: none; }
.verses-track {
    display: flex;
    gap: clamp(1rem, 2.2vw, 2rem);
    width: -webkit-max-content;
    width: max-content;
    list-style: none;
    padding: 0 max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
    will-change: transform;
}
.verse-card {
    flex: 0 0 auto;
    width: min(82vw, 29rem);
    scroll-snap-align: center;
}
.vc-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: clamp(23rem, 60vh, 33rem);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    overflow: hidden;
    border-radius: 18px;
    background-color: var(--sheet);
    color: var(--sheet-ink);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(28, 22, 18, .06);
    transition: transform .7s var(--ease-out), box-shadow .5s ease;
}
/* A stave in the corner of each sheet */
.vc-link::before {
    content: '';
    position: absolute;
    top: 1.4rem; right: -1rem;
    width: 9rem; height: 2.1rem;
    background: repeating-linear-gradient(180deg, rgba(201, 164, 92, .45) 0 1px, transparent 1px .5rem);
    opacity: .7;
}
.vc-link:hover { transform: translateY(-10px) rotate(-.6deg); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(201, 164, 92, .5); }
/* Every third card is ink instead of paper, for rhythm */
.verse-card:nth-child(3n + 2) .vc-link { background-color: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.verse-card:nth-child(3n + 2) .vc-en { color: var(--ink-3); }
.verse-card:nth-child(3n + 2) .vc-foot { border-top-color: var(--line); }
.verse-card:nth-child(3n + 2) .vc-num, .verse-card:nth-child(3n + 2) .vc-cta { color: var(--gold-text); }
.vc-num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; color: var(--sheet-gold); font-variant-numeric: lining-nums; }
.vc-lines {
    display: block;
    margin: auto 0;
    padding: 1.75rem 0;
    font-family: var(--font-si);
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.75;
    transform: translateX(calc(var(--par, 0) * -26px));
}
.vc-line { display: block; }
.vc-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(28, 22, 18, .12);
}
.vc-title { font-family: var(--font-si); font-weight: 600; font-size: 1.2rem; }
.vc-en { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--sheet-ink-3); }
.vc-cta { width: 100%; margin-top: .55rem; font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--sheet-gold); }
.vc-cta span { display: inline-block; transition: transform .3s var(--ease-out); }
.vc-link:hover .vc-cta span { transform: translateX(5px); }
.verses-progress { position: relative; height: 1px; margin-top: 1rem; }
.verses-progress::before { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background-color: var(--line); }
.verses-progress i {
    position: absolute;
    left: var(--gutter); right: var(--gutter); top: 0;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* Large screens: the row is pinned and the page's scroll moves it sideways */
.pin-verses .verses-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + .5rem) 0 2rem;
    overflow: hidden;
}
.pin-verses .verses-sticky > .wrap { width: 100%; }
.pin-verses .verses-rail { overflow: visible; scroll-snap-type: none; padding: .75rem 0 1.5rem; }
.pin-verses .verse-card { width: clamp(21rem, 29vw, 29rem); }
.pin-verses .vc-link { min-height: min(54vh, 32rem); }
@media (max-height: 820px) {
    .pin-verses .verses-head .sec-intro { display: none; }
    .pin-verses .verses-head .sec-head { margin-bottom: 1.25rem; }
}

/* In the making: unreleased lyrics on manuscript sheets */
.manuscripts { overflow: hidden; }
.ms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
    padding: 1.5rem 1rem 0;
}
.ms:nth-child(2) { margin-top: clamp(2.5rem, 8vw, 7rem); }
.ms-sheet {
    --lh: 2.15rem;
    --margin: clamp(4.4rem, 6.5vw, 5.4rem);
    position: relative;
    display: block;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.5rem) var(--margin);
    border-radius: 3px;
    background:
        linear-gradient(90deg, transparent calc(var(--margin) - .9rem), rgba(161, 54, 43, .2) calc(var(--margin) - .9rem), rgba(161, 54, 43, .2) calc(var(--margin) - .9rem + 1px), transparent calc(var(--margin) - .9rem + 1px)),
        var(--sheet-2);
    color: var(--sheet-ink);
    box-shadow: 0 1px 0 rgba(28, 22, 18, .05), 0 34px 60px -34px rgba(28, 22, 18, .45), 0 14px 22px -18px rgba(28, 22, 18, .3);
    transform: translateY(var(--lift, 0)) rotate(var(--tilt, -1deg));
    transition: transform .9s var(--ease-out), box-shadow .5s ease;
}
.ms:nth-child(2) .ms-sheet { --tilt: 1deg; }
.ms-sheet:hover { transform: translateY(calc(var(--lift, 0px) - 10px)) rotate(0deg); box-shadow: 0 1px 0 rgba(28, 22, 18, .05), 0 50px 80px -40px rgba(28, 22, 18, .5), 0 14px 22px -18px rgba(28, 22, 18, .3); }
.ms-label {
    display: block;
    margin-bottom: 1rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--sheet-gold);
}
.ms-title { display: block; font-family: var(--font-si); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.2; }
.ms-en { display: block; margin-top: .25rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--sheet-ink-3); }
.ms-en em { font-style: normal; }
/* Ruled lines, set to the lyric's line height so every line sits on one */
.ms-lyrics {
    display: block;
    margin-top: 1.75rem;
    font-family: var(--font-si);
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: var(--lh);
    background: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--lh) - 1px), rgba(122, 87, 25, .17) calc(var(--lh) - 1px), rgba(122, 87, 25, .17) var(--lh));
}
.ms-verse { position: relative; display: block; }
.ms-verse + .ms-verse { margin-top: var(--lh); }
.ms-margin {
    position: absolute;
    top: 0;
    right: calc(100% + 1.2rem);
    font-family: var(--font-display);
    font-style: italic;
    font-size: .82rem;
    line-height: var(--lh);
    text-align: right;
    color: var(--sheet-gold);
    white-space: nowrap;
}
.ms-line { display: block; }
.ms-more { display: inline-block; margin-top: 1.75rem; font-size: .88rem; font-weight: 600; color: var(--sheet-gold); }
.ms-more span { display: inline-block; transition: transform .3s var(--ease-out); }
.ms-sheet:hover .ms-more span { transform: translateX(5px); }
/* A slowly turning seal: given for composition, unreleased */
.ms-seal {
    position: absolute;
    top: -2.1rem; right: -1.6rem;
    width: 108px; height: 108px;
    color: var(--sheet-gold);
    animation: seal-turn 40s linear infinite;
}
.ms-seal-ring { fill: none; stroke: currentColor; stroke-width: 1; opacity: .55; }
.ms-seal text { fill: currentColor; font-family: var(--font-body); font-size: 8.6px; font-weight: 600; letter-spacing: .19em; }
.ms-seal .ms-seal-k { font-family: var(--font-si); font-size: 30px; font-weight: 600; letter-spacing: 0; }
@keyframes seal-turn { to { transform: rotate(360deg); } }

/* Awards: the winning words sit beside the award */
.award { grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr) minmax(0, 1fr); }
.award-links { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin: 0; }
.award-verse { margin: 0; padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--gold); }
.award-verse figcaption {
    margin-bottom: 1rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.award-verse blockquote { margin: 0; font-family: var(--font-si); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.9; color: var(--ink); }
.av-line { display: block; }

/* Lyrics: pauses, repeats and asides, as she marks them */
.ly-line { display: block; }
.ly-breath {
    display: inline-block;
    width: 1.3em;
    height: 1px;
    margin: 0 .2em;
    vertical-align: .32em;
    background: linear-gradient(90deg, rgba(201, 164, 92, 0), var(--gold) 30%, var(--gold) 70%, rgba(201, 164, 92, 0));
}
.ly-aside { opacity: .62; font-size: .9em; }
.ly-trail { margin-left: .08em; letter-spacing: .1em; color: var(--gold); }
.ly-x2 {
    display: inline-flex;
    align-items: center;
    margin-left: .55em;
    padding: .1em .5em;
    border: 1px solid var(--gold);
    border-radius: 99px;
    font-family: var(--font-body);
    font-size: .48em;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.4;
    vertical-align: .32em;
    color: var(--gold-text);
}

/* Lyric reader */
.reader {
    --ink: var(--r-ink);
    --ink-2: var(--r-muted);
    --ink-3: var(--r-muted);
    --paper: var(--r-bg);
    --line: var(--r-line);
    --gold-text: var(--r-accent);
}
.reader-page { max-width: 46rem; }
.reader-meaning { font-style: italic; }
.reader-play { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.75rem; }
.reader-play svg { width: 15px; height: 15px; margin-left: -.2rem; fill: currentColor; }
.reader-play .btn-ink[aria-pressed="true"] { background-color: var(--sheet-gold); color: #fffdf8; }
.reader.is-night .reader-play .btn-ink[aria-pressed="true"] { background-color: var(--gold); color: var(--night); }
.reader-lyrics { margin-top: .5rem; }
.stanza { margin: 0 0 1.9em; }
.stanza-lines { margin: 0; }
.stanza-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    margin: 0 0 .55em;
    font-family: var(--font-display);
    font-style: italic;
    font-size: .74em;
    letter-spacing: .03em;
    line-height: 1.5;
    color: var(--r-accent);
}
.stanza-label::before, .stanza-label::after { content: ''; width: 1.8em; height: 1px; background-color: var(--gold); opacity: .6; }
.reader.is-turning .stanza-label,
.reader.is-turning .ly-line {
    animation: line-in .85s var(--ease-out) both;
    animation-delay: calc(.2s + var(--v, 0) * 160ms + var(--l, 0) * 55ms);
}
@keyframes line-in { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } }
.reader-note {
    max-width: 30rem;
    margin: 2rem auto 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--r-muted);
}
.reader-credits { max-width: 32rem; margin: 3.25rem auto 0; border-top: 1px solid var(--r-line); text-align: left; }
.rc-row {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: .5rem 1.25rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--r-line);
}
.rc-row dt, .rc-row dd { display: flex; flex-direction: column; gap: .1rem; margin: 0; }
.rc-row dt [lang="si"] { font-family: var(--font-si); font-size: .95rem; color: var(--r-muted); }
.rc-row dd [lang="si"] { font-family: var(--font-si); font-size: 1.05rem; font-weight: 600; color: var(--r-ink); }
.rc-en { font-size: .78rem; color: var(--r-muted); }
.reader-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 3.25rem; text-align: left; }
.reader-nav a {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1.05rem 1.25rem;
    border: 1px solid var(--r-line);
    border-radius: 14px;
    transition: border-color .2s ease, transform .4s var(--ease-out);
}
.reader-nav a:hover { border-color: var(--gold); transform: translateY(-2px); }
.reader-nav .rn-next { grid-column: 2; text-align: right; }
.rn-dir { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--r-accent); }
.rn-title { font-size: 1.15rem; font-weight: 600; color: var(--r-ink); }
.rn-title[lang="si"] { font-family: var(--font-si); }
.reader-foot { display: none; }

/* Listen while you read: a small player in the corner of the reader */
.reader-dock {
    position: fixed;
    right: clamp(.75rem, 2vw, 1.5rem);
    bottom: clamp(.75rem, 2vw, 1.5rem);
    z-index: 3;
    width: min(360px, calc(100vw - 1.5rem));
    overflow: hidden;
    border-radius: 14px;
    background-color: #0d0a08;
    color: var(--parchment);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(239, 226, 196, .08);
    opacity: 0;
    transform: translateY(24px) scale(.97);
    transition: opacity .35s ease, transform .55s var(--ease-out);
}
.reader-dock.is-on { opacity: 1; transform: none; }
.dock-frame { position: relative; padding-top: 56.25%; background-color: #000; }
.dock-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.dock-meta { padding: .75rem 3.5rem .85rem 1rem; }
.dock-kicker { margin: 0; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dock-title { margin: .15rem 0 0; font-size: 1rem; line-height: 1.35; }
.dock-title [lang="si"] { font-family: var(--font-si); font-weight: 600; }
.dock-en { font-family: var(--font-display); font-style: italic; color: rgba(239, 226, 196, .7); }
.dock-close {
    position: absolute;
    right: .6rem; bottom: .6rem;
    width: 40px; height: 40px;
    border: 1px solid rgba(239, 226, 196, .3);
    border-radius: 50%;
    background: none;
    color: var(--parchment);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.dock-close:hover { border-color: var(--gold); }
.reader.has-dock .reader-page { padding-bottom: 20rem; }

@media (max-width: 1100px) {
    .award { grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); }
    .award-verse { grid-column: 2; }
}
@media (max-width: 900px) {
    .award-verse { grid-column: auto; margin-top: 1rem; }
    .ms-grid { grid-template-columns: 1fr; padding: 1rem .25rem 0; }
    .ms:nth-child(2) { margin-top: 0; }
    .songs-head { align-items: flex-start; }
}
@media (max-width: 600px) {
    .hero-verse { margin-top: 2.25rem; }
    .ms-sheet { --margin: 1.5rem; padding-left: var(--margin); padding-right: 1.25rem; }
    .ms-sheet { background: var(--sheet-2); }
    .ms-margin { position: static; display: block; width: auto; padding: 0; text-align: left; }
    .ms-seal { width: 86px; height: 86px; top: -1.6rem; right: -.9rem; }
    .reader-nav { grid-template-columns: 1fr; }
    .reader-nav .rn-next { grid-column: auto; }
    .rc-row { grid-template-columns: 1fr; }
    .reader-dock {
        left: .6rem; right: .6rem; bottom: .6rem;
        width: auto;
        display: grid;
        grid-template-columns: 136px minmax(0, 1fr);
        align-items: center;
    }
    .dock-frame { padding-top: 0; height: 77px; }
    .dock-meta { padding: .5rem 3.2rem .5rem .85rem; }
    .dock-title { font-size: .92rem; }
    .reader.has-dock .reader-page { padding-bottom: 9rem; }
}

.btn-light { background-color: var(--parchment); color: #15100c; }
.btn-light:hover { background-color: #fff8e6; transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); }

/* Songs: one scene for every song, changing as the page scrolls */
.songs { position: relative; }
.songs-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem 3rem;
    padding-top: clamp(5rem, 11vw, 9rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}
.songs-intro .sec-head { margin-bottom: 0; }
.songs-tally {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.songs-tally span { font-family: var(--font-film); font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: 0; color: var(--gold-text); font-variant-numeric: lining-nums; }
.songs-tally i { width: 1.6rem; height: 1px; margin: 0 .4rem; background-color: var(--gold); }

.stage-wrap { position: relative; height: calc(100vh + var(--n) * 78vh); height: calc(100svh + var(--n) * 78svh); }
.stage {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    color: var(--parchment);
}
/* Each song tints the room with its own picture, softly out of focus */
.stage-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.sbg {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    object-fit: cover;
    filter: blur(44px) saturate(1.3) brightness(.48);
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1.4s ease, transform 7s ease-out;
}
.sbg.is-active { opacity: .7; transform: scale(1); }
.stage::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 75% 70% at 50% 48%, rgba(10, 8, 6, 0) 45%, rgba(10, 8, 6, .55));
}
.stage-inner { position: relative; z-index: 1; height: 100%; }
.scenes { position: relative; height: 100%; }
.scene {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5.5rem);
    padding: calc(var(--header-h) + .5rem) 0 clamp(6rem, 13vh, 8rem);
    visibility: hidden;
    transition: visibility 0s linear .8s;
}
.scene.is-active { visibility: visible; transition-delay: 0s; }

/* Words rise into the scene from below and leave upwards (or the other way when scrolling back) */
.sc-si, .sc-en, .sc-l, .sc-soon { display: block; overflow: hidden; }
.sc-rise {
    display: inline-block;
    transform: translateY(108%);
    transition: transform .75s var(--ease-in-out);
}
.scene.is-past .sc-rise { transform: translateY(-108%); }
.scene.is-active .sc-rise { transform: none; transition: transform 1.05s var(--ease-out); }
.scene.is-active .sc-si .sc-rise { transition-delay: .18s; }
.scene.is-active .sc-en .sc-rise { transition-delay: .3s; }
.scene.is-active .sc-l .sc-rise, .scene.is-active .sc-soon .sc-rise { transition-delay: calc(.42s + var(--l, 0) * 75ms); }
.sc-num, .sc-award, .sc-credits, .sc-actions { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .6s var(--ease-out); }
.scene.is-active .sc-num, .scene.is-active .sc-award { opacity: 1; transform: none; transition-delay: .1s; }
.scene.is-active .sc-credits, .scene.is-active .sc-actions { opacity: 1; transform: none; transition-delay: .75s; }

.sc-num { font-weight: 400; display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; font-family: var(--font-film); font-size: 1.2rem; color: var(--gold); font-variant-numeric: lining-nums; }
.sc-num i { width: 3rem; height: 1px; background-color: rgba(239, 226, 196, .3); }
.sc-num span:last-child { color: rgba(239, 226, 196, .45); }
.sc-award {
    display: inline-flex;
    gap: .45rem;
    margin: 0 0 1rem;
    padding: .3rem .85rem;
    border: 1px solid rgba(201, 164, 92, .55);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--gold);
}
.sc-title { margin: 0 0 1.4rem; font-weight: 400; color: var(--parchment); }
.sc-si {
    padding: .1em 0 .24em;
    margin: -.1em 0 -.24em;
    font-family: var(--font-si);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.12;
}
.sc-si--latin { font-family: var(--font-film); font-weight: 400; font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: 1; letter-spacing: -.02em; padding-bottom: .12em; }
.sc-en { margin-top: .35rem; padding-bottom: .08em; font-family: var(--font-film); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.2; color: rgba(239, 226, 196, .78); }
.sc-en em { font-family: var(--font-body); font-style: normal; font-size: .52em; letter-spacing: .05em; vertical-align: .22em; color: rgba(239, 226, 196, .58); }
.sc-verse {
    margin: 0 0 1.5rem;
    padding-left: 1.1rem;
    border-left: 1px solid rgba(201, 164, 92, .45);
    font-family: var(--font-si);
    font-size: clamp(1.08rem, 1.45vw, 1.3rem);
    line-height: 1.7;
    color: rgba(239, 226, 196, .92);
}
.sc-l { padding: .06em 0 .16em; margin: -.06em 0 -.16em; }
.sc-soon { margin: 0 0 1.5rem; font-family: var(--font-film); font-style: italic; font-size: 1.5rem; color: rgba(239, 226, 196, .6); }
.sc-credits { max-width: 34rem; margin: 0 0 1.6rem; font-size: .86rem; color: rgba(239, 226, 196, .6); }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.sc-play svg { width: 15px; height: 15px; margin-left: -.15rem; fill: currentColor; }
.sc-read {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    font-weight: 500;
    color: var(--parchment);
    background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 9px) / 100% 1px no-repeat;
}
.sc-read span { transition: transform .3s var(--ease-out); }
.sc-read:hover span { transform: translateX(5px); }

/* The film still: wiped in from the right, out to the left, drifting slowly while the scene lasts */
.sc-still {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background-color: #000;
    cursor: pointer;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
    -webkit-clip-path: inset(0 0 0 100% round 10px);
    clip-path: inset(0 0 0 100% round 10px);
    transition: -webkit-clip-path .9s var(--ease-in-out), clip-path .9s var(--ease-in-out);
}
.scene.is-past .sc-still { -webkit-clip-path: inset(0 100% 0 0 round 10px); clip-path: inset(0 100% 0 0 round 10px); }
.scene.is-active .sc-still { -webkit-clip-path: inset(0 0 0 0 round 10px); clip-path: inset(0 0 0 0 round 10px); transition-delay: .2s; }
.sc-still img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    translate: 0 calc((var(--sp, .5) - .5) * -22px);
    transition: transform 1.6s var(--ease-out);
}
.scene.is-active .sc-still img { transform: scale(1.05); }
.sc-still-play {
    position: absolute;
    left: 50%; top: 50%;
    width: 76px; height: 76px;
    margin: -38px 0 0 -38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 226, 196, .7);
    border-radius: 50%;
    background-color: rgba(21, 16, 12, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--parchment);
    transition: transform .5s var(--ease-out), background-color .3s ease;
}
.sc-still-play svg { width: 24px; height: 24px; margin-left: 4px; fill: currentColor; }
.sc-still:hover .sc-still-play { transform: scale(1.12); background-color: rgba(201, 164, 92, .6); }

/* The reel: every song by number, the current one named */
.stage-index { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 2.6vh, 1.75rem); z-index: 2; }
.stage-progress { height: 1px; margin-bottom: .6rem; background-color: rgba(239, 226, 196, .16); }
.stage-progress i { display: block; height: 100%; background-color: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.stage-index ol { list-style: none; display: flex; justify-content: space-between; gap: .25rem; }
.stage-index button {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    min-height: 44px;
    padding: .35rem 0;
    border: 0;
    background: none;
    color: rgba(239, 226, 196, .42);
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
    transition: color .3s ease;
}
.si-n { font-weight: 400; font-family: var(--font-film); font-size: 1.05rem; font-variant-numeric: lining-nums; }
.si-t { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .7s var(--ease-out), opacity .4s ease; }
.stage-index button:hover { color: rgba(239, 226, 196, .8); }
.stage-index button.is-active { color: var(--parchment); }
.stage-index button.is-active .si-n { color: var(--gold); }
.stage-index button.is-active .si-t, .stage-index button:hover .si-t, .stage-index button:focus-visible .si-t { max-width: 16rem; opacity: 1; }

@media (max-height: 780px) and (min-width: 901px) {
    .sc-l:nth-child(n + 5) { display: none; }
    .sc-si { font-size: clamp(2.4rem, 5vw, 4.2rem); }
    .sc-title { margin-bottom: 1rem; }
}
@media (max-width: 900px) {
    .scene { grid-template-columns: 1fr; align-content: center; gap: 0; padding-bottom: 5.5rem; }
    .sc-still { display: none; }
    .sc-l:nth-child(n + 5) { display: none; }
    .sc-si { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
    .sc-si--latin { font-size: clamp(2.4rem, 11vw, 3.6rem); }
    .sc-verse { font-size: 1.05rem; }
    .sc-credits { font-size: .8rem; margin-bottom: 1.2rem; }
    .stage-index .si-t { display: none; }
    .stage-index button { justify-content: center; min-width: 36px; }
}
@media (max-width: 600px) {
    .songs-tally span { font-size: 2rem; }
}
@media (max-height: 640px) and (max-width: 900px) {
    .sc-l:nth-child(n + 4), .sc-credits, .sc-num { display: none; }
}

/* Header, from v2: the name set in the film typeface */
.brand-text { font-family: var(--font-film); font-weight: 400; font-size: 1.45rem; letter-spacing: 0; }
@media (max-width: 1023px) {
    .nav-links .nav-link { font-family: var(--font-film); font-weight: 400; }
    .nav-num { font-family: var(--font-film); font-size: .95rem; letter-spacing: .04em; }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "portrait";
        gap: 3.5rem;
    }
    .about-portrait { position: relative; top: 0; width: calc(100% - 18px); max-width: 400px; }
    .commission-grid { grid-template-columns: 1fr; }
    .award { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 600px) {
    .facts { grid-template-columns: 1fr; }
    .fact { padding: 1rem 0; }
    .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .reader-close span { display: none; }
    [data-reader="print"] { display: none; }
}

/* Print: with the reader open, print just the lyrics */
@media print {
    .pl, .site-header, .hero-scroll { display: none !important; }
    html.reader-open body > *:not(.reader) { display: none !important; }
    html.reader-open, html.reader-open body { overflow: visible; }
    .reader { position: static; opacity: 1; transform: none; background: #fff; color: #000; }
    .reader-bar, .reader-foot, .reader-toast, .reader-dock, .reader-play, .reader-nav { display: none !important; }
    .reader.is-turning .stanza-label, .reader.is-turning .ly-line { animation: none !important; }
    .reader-scroll { overflow: visible; }
    .reader-lyrics { font-size: 14pt; color: #000; }
    .js .reveal { opacity: 1; transform: none; }
}
