:root {
    /* Warm charcoal palette — single CSS variable swap to retheme. */
    --bg: #f8f6f1;
    --bg-elev: #ffffff;
    --text: #1f1d1a;
    --text-muted: #6e6a64;
    --border: #e6e1d6;
    --accent: #3a3530;
    --accent-soft: rgba(58, 53, 48, 0.08);
    --accent-glow: rgba(58, 53, 48, 0.14);
    /* Sheets: the soft, slightly frosted surface text sits on, above the moving background. */
    --sheet: rgba(248, 246, 241, 0.9);

    --intro-width: 620px;
    --cards-width: 400px;
    --page-width: 960px;
    --nav-height: 3.5rem;
    --footer-height: 3.25rem;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;

    --shadow-soft: 0 1px 2px rgba(31, 29, 26, 0.04), 0 8px 24px rgba(31, 29, 26, 0.06);
    --shadow-lifted: 0 2px 6px rgba(31, 29, 26, 0.06), 0 18px 40px rgba(31, 29, 26, 0.10);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
    --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

    /* The music stage (hero on /music): the portrait is shot on black. */
    --stage-bg: #141518;
    --stage-text: #f3efe7;
    --stage-muted: #b9b2a6;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 17px;
    line-height: 1.6;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover { opacity: 0.7; }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
    margin-top: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p { margin: 0 0 var(--space-sm); }

/* Keyboard focus is always visible. */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mono-detail {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.6rem;
}

/* ============================================================
   Top navigation (all pages)
   ============================================================ */
.site-nav {
    position: relative;
    z-index: 5;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 1.25rem;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.site-nav .brand { display: inline-flex; align-items: center; }
.site-nav .brand img { height: 28px; width: auto; }

.nav-links {
    display: flex;
    gap: 1.25rem;
    margin-left: auto;
}

.site-nav a {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a:hover, .site-nav a.active { color: var(--text); opacity: 1; }

.lang-short { display: none; }

/* Phones: the logo and the language switch on the first row, the four links on a row of their own. */
@media (max-width: 560px) {
    .site-nav { flex-wrap: wrap; height: auto; padding: 0.6rem 0.9rem 0.2rem; row-gap: 0.35rem; }
    .site-nav .lang-link { margin-left: auto; }
    .nav-links { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.4rem; }
    .site-nav a { font-size: 0.72rem; letter-spacing: 0.05em; white-space: nowrap; }
    .lang-long { display: none; }
    .lang-short { display: inline; }
}
html, body { overflow-x: clip; }

.lang-link {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(248, 246, 241, 0.8);
    text-transform: none !important;
    letter-spacing: 0.02em !important;
}

/* ============================================================
   Animation hooks (home page)
   <html class="anim-ready"> is added in <head> unless the visitor
   prefers reduced motion. Only then are .anim elements hidden, and
   site.js (anime.js timeline) brings them in. When the entrance is
   done, site.js adds <html class="idle"> and the idle loops start.
   No JS → everything visible and still.
   ============================================================ */
.anim-ready .anim,
.anim-ready .logo { opacity: 0; }

.anim-ready .logo-mark { fill-opacity: 0; }

.idle .portrait-wrap { animation: float 6s ease-in-out infinite; }

.idle .logo-diamond-wrap {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 70s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   The stage — the home page on one screen (desktop)
   ============================================================ */
.site-main { flex: 1; display: flex; flex-direction: column; }

.stage {
    position: relative;
    min-height: calc(100vh - var(--nav-height) - 2rem);
    min-height: calc(100svh - var(--nav-height) - 2rem);
    display: grid;
    align-content: center;
    justify-items: center;
    row-gap: 1.5rem;
    padding: 1rem var(--space-sm) 2rem;
    overflow: hidden;
}

/* Site-wide particle field (canvas, drawn by particles.js): fixed behind every page. */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.site-nav, .site-main, .site-footer { position: relative; z-index: 1; }

/* Two soft light blobs that drift slowly behind everything. */
.glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.9;
}

.glow-a {
    width: 55vw;
    height: 55vw;
    max-width: 720px;
    max-height: 720px;
    top: -15%;
    left: 5%;
    background: radial-gradient(circle, var(--accent-glow), transparent 68%);
    animation: drift-a 22s ease-in-out infinite alternate;
}

.glow-b {
    width: 45vw;
    height: 45vw;
    max-width: 600px;
    max-height: 600px;
    bottom: -20%;
    right: 0;
    background: radial-gradient(circle, var(--accent-soft), transparent 68%);
    animation: drift-b 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(12vw, 8vh) scale(1.15); }
}

@keyframes drift-b {
    from { transform: translate(0, 0) scale(1.1); }
    to   { transform: translate(-10vw, -10vh) scale(0.95); }
}

.intro {
    position: relative;
    z-index: 1;
    max-width: var(--intro-width);
    width: 100%;
    text-align: center;
}

.media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.logo {
    height: 150px;
    width: auto;
    color: var(--accent);
    overflow: visible;
}

.logo-mark {
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 110;
    stroke-linejoin: round;
}

.logo-diamond {
    fill: none;
    stroke: currentColor;
    stroke-width: 170;
    stroke-linejoin: round;
}

.portrait-wrap {
    display: block;
    flex: none;
}

.portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-elev);
    box-shadow: var(--shadow-lifted);
    will-change: transform;
}

.name {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    perspective: 600px;
}

.word { display: inline-flex; }

.letter {
    display: inline-block;
    transform-origin: 50% 100%;
    will-change: transform, opacity;
    cursor: default;
}

.tagline {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    letter-spacing: 0.02em;
}

.quote {
    margin: 0 auto;
    max-width: 520px;
    padding: 0;
    border: 0;
    text-align: center;
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.quote p { margin: 0; }

/* ============================================================
   Home: the two doors (Technology / Music)
   ============================================================ */
.paths {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 820px;
}

.path {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.4rem 1.5rem 1.3rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.path:hover { transform: translateY(-4px); box-shadow: var(--shadow-lifted); border-color: var(--accent); opacity: 1; }

/* The music door is the dark stage of the music page, in miniature. */
.path-music { background: var(--stage-bg); color: var(--stage-text); border-color: var(--stage-bg); }
.path-music .path-eyebrow, .path-music .path-text { color: var(--stage-muted); }
.path-music:focus-visible { outline-color: var(--accent); }

.path-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.path-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.15;
}

.path-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; max-width: 30ch; }
.path-go { margin-top: 0.5rem; font-size: 0.88rem; font-weight: 500; }
.path-go::after { content: ""; display: inline-block; width: 1.4rem; height: 1px; margin-left: 0.5rem; vertical-align: middle; background: currentColor; transition: width 0.3s var(--ease-out); }
.path:hover .path-go::after { width: 2.2rem; }

.path-mark {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-family: var(--font-mono);
    font-size: 1.6rem;
    line-height: 1;
    opacity: 0.35;
}

/* ============================================================
   Home: about (bio in two columns + what they share)
   ============================================================ */
.about {
    position: relative;
    z-index: 1;
    width: calc(100% - 1.5rem);
    max-width: var(--page-width);
    margin: var(--space-md) auto var(--space-lg);
    padding: clamp(1.2rem, 4vw, 2.6rem);
}

.bridge {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    margin: 0 auto var(--space-md);
    max-width: 36ch;
}

.bio-split { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }

.bio-col h2 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.9rem;
}

.bio-col p, .bio p { line-height: 1.65; font-size: 0.97rem; margin-bottom: 0.75rem; }

.bio-shared {
    max-width: 680px;
    margin: var(--space-md) auto var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin-top: var(--space-md); }
.social-links a { font-size: 0.88rem; color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
.social-links a:hover { color: var(--text); opacity: 1; }

/* ============================================================
   Staff divider: five lines that merge into one (code and music)
   ============================================================ */
.staff-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--border);
    margin: var(--space-md) 0;
}

.staff-divider svg { flex: 1; height: 28px; width: 100%; color: #cfc8ba; }

.staff-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ============================================================
   Link cards (Email, LinkedIn, Revolut)
   ============================================================ */
.link-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.link-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--space-sm);
    row-gap: 0.1rem;
    align-items: center;
    padding: 0.9rem 1.25rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lifted);
    border-color: var(--accent);
    opacity: 1;
}

.link-card-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 26px;
    height: 26px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.link-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.link-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.link-value {
    grid-column: 2;
    grid-row: 2;
    font-weight: 500;
    font-size: 0.93rem;
    word-break: break-word;
}

/* ============================================================
   Content pages (services, projects, contact, privacy)
   ============================================================ */
.page {
    width: calc(100% - 1.5rem);
    max-width: var(--page-width);
    margin: var(--space-sm) auto var(--space-lg);
    padding: clamp(1.2rem, 4vw, 2.6rem);
}

/* Every block of text sits on a sheet, so the drifting dots or notes never run behind the words. */
.page, .about, .showcase, .music-section {
    background: var(--sheet);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.page h1 {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-xs);
}

.page h2.section-title {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-weight: 500;
    font-size: 1.8rem;
    margin: var(--space-lg) 0 var(--space-sm);
}

.lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: var(--space-md);
}

.prose { max-width: 680px; }
.prose p { line-height: 1.7; }
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.crumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-xs); }
.crumb a { color: var(--text-muted); }

.service-head { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xs); }
.service-head h1 { margin-bottom: 0; }

.service-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.service-icon svg { width: 22px; height: 22px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-sm);
}

.card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.4rem 1.4rem 1.2rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

a.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lifted);
    border-color: var(--accent);
    opacity: 1;
}

.card h2 { font-size: 1.25rem; margin: 0.25rem 0 0; }

.service-card { position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lifted); border-color: var(--accent); }
.card-link { color: inherit; }
.card-link:hover { opacity: 1; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.service-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.card .card-extra { position: relative; z-index: 1; flex: 0; font-size: 0.88rem; color: var(--text); border-top: 1px dashed var(--border); padding-top: 0.6rem; }
.card-extra a { text-decoration: underline; text-underline-offset: 3px; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.card .price { font-weight: 500; margin-top: 0.4rem; }
.card .price small, .package .price small { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; margin-left: 0.3rem; }
.text-link { font-size: 0.9rem; font-weight: 500; }

.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.package {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.package h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.package .price {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.2;
}
.package .price-note { color: var(--text-muted); font-size: 0.85rem; margin: 0.15rem 0 0; }
.package dl { margin: var(--space-sm) 0 var(--space-sm); flex: 1; }
.package dt {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.8rem;
}
.package dd { margin: 0.2rem 0 0; font-size: 0.95rem; line-height: 1.5; }
.package dd ul { list-style: disc; padding-left: 1.1rem; }
.package dd li { margin-bottom: 0.15rem; }
.package .btn { align-self: flex-start; }

.btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-small { padding: 0.35rem 0.85rem; font-size: 0.82rem; }
/* "I want a site like this": the same warm button everywhere (also in the example websites' bar, tools/demos/build.py). */
.btn-want { background: #c9a46a; border-color: #c9a46a; color: #141518; font-weight: 600; }
.btn-want:hover { opacity: 1; background: #d6b37b; border-color: #d6b37b; }
.btn-light { background: var(--stage-text); border-color: var(--stage-text); color: var(--stage-bg); }
.btn-ghost { background: transparent; border-color: rgba(243, 239, 231, 0.45); color: var(--stage-text); }
.btn-light:focus-visible, .btn-ghost:focus-visible { outline-color: var(--stage-text); }

.cta-line {
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    color: var(--text-muted);
}

/* Call, Viber, WhatsApp in one tap (_QuickContact; only when links.phone is set). Big enough for a thumb. */
.quick-contact { list-style: none; padding: 0; margin: var(--space-sm) 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.quick-btn:hover { background: var(--accent); color: #fff; opacity: 1; }

/* Forms */
.form { max-width: 560px; }
.form [hidden] { display: none !important; }

/* Contact: the form, and beside it (below it on phones) the direct ways to reach me. */
.contact-layout { display: grid; gap: var(--space-md); }
.contact-aside { align-self: start; padding: 1.4rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; }
.contact-aside h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.6rem; }
.contact-aside h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; margin: var(--space-sm) 0 0.4rem; padding-top: var(--space-sm); border-top: 1px solid var(--border); }
.contact-aside p { margin-bottom: 0.6rem; }
.contact-email { font-size: 1rem; font-weight: 600; overflow-wrap: break-word; }
.contact-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.9rem; }
@media (min-width: 900px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
}
.form label { display: block; margin-bottom: 1.1rem; }
.form label > span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.form input, .form select, .form textarea {
    width: 100%;
    font: inherit;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elev);
    color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form textarea { resize: vertical; }
.form label.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; }
.form label.checkbox input { width: auto; margin-top: 0.3rem; }
.form label.checkbox > span { color: var(--text); font-size: 0.9rem; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .form-actions { margin-top: var(--space-sm); }
.field-error { display: block; color: #a33; font-size: 0.85rem; margin-top: 0.25rem; }
.field-error:empty { display: none; }
.validation-summary ul { list-style: disc; padding-left: 1.2rem; color: #a33; margin-bottom: var(--space-sm); }
.input-validation-error { border-color: #c66 !important; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    min-height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: 0.5rem var(--space-sm);
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.site-footer a { color: var(--text-muted); }

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 720px) {
    .paths { grid-template-columns: 1fr 1fr; }
    .bio-split { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}

@media (min-width: 1400px) {
    html { font-size: 18px; }
}

/* Short desktop viewports (a 768px laptop minus browser chrome): tighten
   the first screen so the two doors stay above the fold. */
@media (min-width: 720px) and (max-height: 800px) {
    .stage { row-gap: 1rem; padding-block: 0.5rem 1rem; }
    .name { font-size: 2.8rem; margin-bottom: 0.2rem; }
    .tagline { margin-bottom: 0.6rem; }
    .quote { font-size: 0.98rem; }
    .logo { height: 110px; }
    .portrait { width: 110px; height: 110px; }
    .path { padding: 1.1rem 1.3rem 1rem; }
    .path-title { font-size: 1.4rem; }
}

@media (max-width: 540px) {
    .site-nav { gap: var(--space-sm); padding: 0 var(--space-sm); }
    .nav-links { gap: 0.8rem; }
    .site-nav a { font-size: 0.72rem; }
    .media { gap: var(--space-sm); }
    .logo { height: 120px; }
    .portrait { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .glow-a, .glow-b,
    .idle .portrait-wrap,
    .idle .logo-diamond-wrap { animation: none; }
    .portrait { box-shadow: var(--shadow-soft); }
}

/* ============================================================
   Services: business chooser, stories, deliverables, timeline, FAQ
   ============================================================ */
.service-hero { display: flex; align-items: flex-start; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.service-hero .service-icon { margin-top: 0.4rem; }
.service-hero h1 { margin-bottom: 0.25rem; }
.service-hero .headline {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0;
}

.block { margin-top: var(--space-lg); }

.chooser-block { margin: var(--space-md) 0; }
.chooser-title { font-size: 1.1rem; margin-bottom: 0.15rem; }

.chooser { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem 0.45rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-elev);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.chip:hover { color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.chip.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.chip.active .biz-icon { color: #fff; }

.biz-icon { display: inline-flex; width: 22px; height: 22px; color: var(--accent); flex: none; }
.biz-icon svg { width: 100%; height: 100%; }

.stories { margin-top: var(--space-lg); }
.story-panels { margin-top: var(--space-sm); }
.story {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.6rem;
    margin-bottom: var(--space-sm);
}
.js-ready .story { display: none; }
.js-ready .story.active { display: block; }
.story-title {
    font-family: "Newsreader", "Source Serif Pro", Georgia, serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-sm); margin-bottom: var(--space-sm); }
.story-step { position: relative; padding-left: 1rem; border-left: 2px solid var(--border); }
.story-step:last-child { border-left-color: var(--accent); }
.story-step p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.step-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.card-story { min-height: 3.2em; }
.service-card.has-story .card-story { color: var(--text); }

.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.5rem 1.5rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; font-size: 0.97rem; }
.check-list .check { color: var(--accent); flex: none; font-weight: 600; }

.tagline-sm { color: var(--text-muted); margin: 0 0 0.25rem; font-size: 0.95rem; }

.timeline { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1rem; max-width: 720px; }
.timeline li { position: relative; padding-left: 3.2rem; }
.timeline li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.1rem;
}
.timeline h3 { font-size: 1.05rem; margin: 0.3rem 0 0.2rem; }
.timeline p { margin: 0; color: var(--text-muted); line-height: 1.55; }

.faq { max-width: 720px; }
.faq details { border-top: 1px solid var(--border); padding: 0.7rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-muted); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0.6rem 0 0; color: var(--text-muted); line-height: 1.6; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-pair:has(> [hidden]) { grid-template-columns: 1fr; }

/* Reveal on scroll (services.js adds .visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
html:not(.anim-ready) .reveal { opacity: 1; transform: none; }

@media (max-width: 600px) {
    .field-pair { grid-template-columns: 1fr; }
    .story { padding: 1.2rem; }
}


/* ============================================================
   Music page (/music): dark stage hero, then the light page
   ============================================================ */
.music { width: 100%; }

.music-hero {
    background: var(--stage-bg);
    color: var(--stage-text);
    overflow: hidden;
}

.music-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-sm) 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    gap: var(--space-sm);
}

.music-hero .mono-detail { color: var(--stage-muted); }

.music-hero h1 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 0.6rem;
}

.music-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--stage-muted);
    margin-bottom: var(--space-md);
}

.music-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }

/* The premiere photo fills the hero; a dark veil on the text side keeps the title readable. */
.music-hero { position: relative; isolation: isolate; }
.music-hero-inner { position: relative; z-index: 1; min-height: clamp(420px, 70vh, 640px); align-items: center; }
.music-hero-text { max-width: 34rem; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55); }
.music-hero-photo { position: absolute; inset: 0; z-index: 0; margin: 0; }
.music-hero-photo picture, .music-hero-photo img { display: block; width: 100%; height: 100%; }
.music-hero-photo img { object-fit: cover; object-position: 62% 40%; }
.music-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 15, 18, 0.92) 0%, rgba(14, 15, 18, 0.7) 38%, rgba(14, 15, 18, 0.15) 75%),
        linear-gradient(0deg, rgba(14, 15, 18, 0.85) 0%, transparent 35%);
}
.music-hero-photo figcaption { position: absolute; z-index: 1; right: var(--space-sm); bottom: 0.7rem; max-width: 28rem; font-size: 0.75rem; color: var(--stage-muted); text-align: right; }
@media (max-width: 899px) {
    .music-hero-inner { min-height: 0; padding-top: 42vw; }
    .music-hero-photo img { object-position: 50% 30%; }
    .music-hero-photo::after { background: linear-gradient(0deg, rgba(14, 15, 18, 0.97) 35%, rgba(14, 15, 18, 0.3) 75%, rgba(14, 15, 18, 0.1)); }
    .music-hero-photo figcaption { display: none; }
}

.music-body {
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-sm) var(--space-lg);
}

/* Each section sits on a soft, slightly frosted sheet, so the moving background never runs behind the text. */
.music-section {
    scroll-margin-top: 1rem;
    margin-bottom: var(--space-lg);
    padding: clamp(1.2rem, 4vw, 2.4rem);
}

.music-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: var(--space-sm);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.music .lead { max-width: 760px; }

.music-figure { margin: var(--space-md) 0 0; }
.music-figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-soft); }
.music-figure figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.credit { display: block; font-family: var(--font-mono); font-size: 0.74rem; margin-top: 0.15rem; }

/* Silence */
.silence-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); align-items: start; }

.lite-yt {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--stage-bg);
    box-shadow: var(--shadow-lifted);
}
.lite-yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.lite-yt:hover { opacity: 1; }
.lite-yt:hover img { transform: scale(1.03); }
.lite-yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.lite-yt-play svg { transition: transform 0.25s var(--ease-out); }
.lite-yt:hover .lite-yt-play svg, .lite-yt:focus-visible .lite-yt-play svg { transform: scale(1.1); }
.lite-yt-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cc-hint { margin-top: 0.6rem; }

.silence-text p { line-height: 1.7; }
.spotify-embed { border: 0; border-radius: 12px; margin-top: var(--space-sm); }
.spotify-soon { margin-top: var(--space-sm); }

/* The dream */
.dream-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); align-items: start; }
.dream-text p { line-height: 1.75; }
.dream-closing {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-top: var(--space-sm);
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}
.dream-photo { margin-top: 0; max-width: 420px; }
.dream-photo figcaption .mono-detail { display: inline; margin: 0 0.3rem 0 0; }
.dream-grid { margin-top: var(--space-md); align-items: center; }
.dt-what { font-size: 0.93rem; line-height: 1.55; margin-top: 0.2rem; }

/* Timeline: vertical on phones, horizontal on desktop */
.dream-timeline { list-style: none; padding: 0; margin: var(--space-sm) 0 0; position: relative; }
.dream-timeline li { position: relative; padding: 0 0 1.4rem 1.6rem; border-left: 1px solid var(--border); }
.dream-timeline li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.45rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--accent);
}
.dream-timeline li:last-child::before { background: var(--accent); }
.dt-when { display: block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-muted); }
.dt-what { display: block; font-size: 0.95rem; line-height: 1.5; }

/* About the song */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--space-sm); }
.part { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.4rem; }
.part-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.part-lyric { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; margin-bottom: 0.6rem; }
.part-text { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--text-muted); }
.about-closing { font-family: var(--font-serif); font-size: 1.2rem; margin-top: var(--space-md); max-width: 760px; }

/* The video, scene by scene */
.scenes { list-style: none; counter-reset: scene; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.6rem 2rem; }
.scenes li { counter-increment: scene; position: relative; padding: 0.55rem 0 0.55rem 2.6rem; border-top: 1px solid var(--border); line-height: 1.5; font-size: 0.95rem; }
.scenes li::before { content: counter(scene, decimal-leading-zero); position: absolute; left: 0; top: 0.62rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }

/* Lyrics: two columns on desktop, interleaved on phones */
.lyrics { max-width: 860px; }
.lyrics-head { display: none; }
.stanza { margin-bottom: var(--space-md); }
.stanza-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.lyric-line { margin: 0 0 0.55rem; display: grid; grid-template-columns: 1fr; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.35; }
.lyric-bg { font-style: italic; color: var(--text-muted); font-size: 1rem; }

/* How it was made: a quiet build log */
.build-log { list-style: none; padding: 0; margin: 0; max-width: 820px; border-top: 1px solid var(--border); }
.build-log li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.1rem 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.bl-step { grid-row: span 2; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); padding-top: 0.15rem; }
.bl-label { font-weight: 500; }
.bl-value { color: var(--text-muted); font-size: 0.95rem; }

/* Thanks */
.thanks-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); align-items: start; }
.thanks { list-style: none; padding: 0; }
.thanks li { padding: 0.55rem 0 0.55rem 1.4rem; position: relative; line-height: 1.55; border-bottom: 1px solid var(--border); }
.thanks li::before { content: "♪"; position: absolute; left: 0; top: 0.55rem; color: var(--text-muted); font-size: 0.85rem; }
.thanks-grid .music-figure { margin-top: 0; }
.singers-title { font-size: 1rem; font-weight: 500; margin: var(--space-md) 0 0.6rem; }
.facts.singers { margin-bottom: var(--space-sm); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-sm); }
.testimonial { margin: 0; padding: 1.4rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; }
.testimonial blockquote { margin: 0 0 0.8rem; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; }
.testimonial figcaption { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-video { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; color: var(--text); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease; }
.testimonial-video:hover { transform: translateY(-3px); box-shadow: var(--shadow-lifted); border-color: var(--accent); opacity: 1; }
.testimonial-who { font-family: var(--font-serif); font-size: 1.3rem; }
.testimonial-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; margin-bottom: 0.4rem; }
.facts.booking { margin-bottom: var(--space-sm); max-width: 640px; }
.press-quote { margin: 0 0 0.4rem; padding-left: 0.9rem; border-left: 2px solid var(--border); font-family: var(--font-serif); font-style: italic; }
.press-quote p { margin-bottom: 0.2rem; }
.press-quote footer { font-family: "Inter", sans-serif; font-style: normal; font-size: 0.85rem; color: var(--text-muted); }

/* Press kit */
.press h3 { font-size: 1.05rem; margin: var(--space-md) 0 0.7rem; }
.bios { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); align-items: start; }
.bio-box { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.3rem; }
.bio-box header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.bio-box h3 { margin: 0; font-size: 0.95rem; }
.bio-box h3 .muted { font-family: var(--font-mono); font-size: 0.72rem; margin-left: 0.3rem; }
.bio-box p { font-size: 0.93rem; line-height: 1.65; margin-bottom: 0.6rem; }
.bio-box p:last-child { margin-bottom: 0; }

.press-columns { display: grid; grid-template-columns: 1fr; gap: 0 var(--space-md); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.4rem 1.2rem; margin: 0; font-size: 0.93rem; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.press-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-sm); margin-bottom: var(--space-md); }
.press-photos li { display: flex; flex-direction: column; gap: 0.4rem; }
.press-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); align-items: start; }
.contact-grid .music-figure { margin-top: 0; max-width: 380px; }
.music-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: var(--space-sm); }
.music-links a { font-size: 0.92rem; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }

@media (min-width: 900px) {
    .music-hero-inner { grid-template-columns: 1.2fr 1fr; padding-top: var(--space-lg); gap: var(--space-md); }
    .music-hero-text { padding-bottom: var(--space-lg); }
    .silence-grid { grid-template-columns: 1.25fr 1fr; }
    .dream-grid { grid-template-columns: 1.4fr 1fr; }
    .thanks-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1.3fr 1fr; }
    .bios { grid-template-columns: 1fr 1fr; }
    .press-columns { grid-template-columns: 1fr 1fr; }

    .lyrics-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
        padding-bottom: 0.5rem;
        margin-bottom: var(--space-sm);
        border-bottom: 1px solid var(--border);
    }
    .lyric-line { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    .lyric-bg { font-size: 1.05rem; }

    /* The timeline runs across the page */
    .dream-timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.2rem; }
    .dream-timeline li { border-left: 0; padding: 0; }
    .dream-timeline li::before { left: 0; top: -1.2rem; transform: translateY(-50%); }
}

/* ============================================================
   Press kit one-pager (/music/press) and printing
   ============================================================ */
.press-sheet { max-width: 820px; }
.press-head { display: flex; gap: var(--space-md); align-items: center; margin-bottom: var(--space-md); }
.press-portrait { width: 140px; height: auto; border-radius: 12px; flex: none; }
.press-sheet h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.press-sheet h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; margin: var(--space-md) 0 0.5rem; }
.press-sheet p { line-height: 1.65; }
.press-list { list-style: disc; padding-left: 1.1rem; font-size: 0.93rem; line-height: 1.55; }
.press-list li { margin-bottom: 0.35rem; }
.press-cover { width: 100%; max-width: 360px; height: auto; border-radius: 10px; margin-bottom: 0.8rem; }

@media (max-width: 540px) {
    .press-head { flex-direction: column; align-items: flex-start; }
}

@media print {
    @page { size: A4; margin: 16mm 16mm 14mm; }
    body { background: #fff; color: #000; font-size: 10.5pt; display: block; }
    .particles, .site-nav, .site-footer, .no-print, .staff-divider { display: none !important; }
    .page { padding: 0; max-width: none; }
    .page, .about, .showcase, .music-section { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; width: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .press-head { gap: 1.2rem; margin-bottom: 0.6rem; }
    .press-portrait { width: 30mm; }
    .press-sheet h2 { font-size: 13pt; margin: 0.9rem 0 0.3rem; break-after: avoid; }
    .press-sheet p { line-height: 1.45; margin-bottom: 0.4rem; }
    .press-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
    .facts { font-size: 9.5pt; gap: 0.15rem 0.8rem; }
    .press-list { font-size: 9.5pt; line-height: 1.4; }
    .press-list li { margin-bottom: 0.15rem; }
    .press-cover { max-width: 60mm; margin-bottom: 0.4rem; }
    .press-sheet section { break-inside: avoid; }
    .muted, .facts dt, .mono-detail { color: #444; }
    a { color: #000; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* Business focus: websites lead, music is a quiet aside on the home page */
.paths { grid-template-columns: minmax(0, 30rem); justify-content: center; }
.paths .path-tech { max-width: 30rem; }
.music-aside { margin-top: 1.4rem; font-size: 0.95rem; color: var(--stage-muted, var(--text-muted)); }
.music-aside a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Example websites: live demos (Demos/), on the portfolio page and the home page */
.showcase {
    position: relative;
    z-index: 1;
    width: calc(100% - 1.5rem);
    max-width: var(--page-width);
    margin: var(--space-md) auto 0;
    padding: clamp(1.2rem, 4vw, 2.6rem);
}
.showcase h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0.2rem 0 0.4rem; }
.showcase-text { color: var(--text-muted); margin-bottom: var(--space-sm); }
.showcase-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: var(--space-sm); }
.showcase-prices { color: var(--text-muted); font-size: 0.95rem; }
.showcase { max-width: 1240px; }
.about-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin: 0 auto var(--space-md); }

/* Example prices on the services page */
.price-block { margin: var(--space-md) 0 var(--space-md); }
.price-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.2rem; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; }
.price-card.featured { border-color: var(--accent); }
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price { font-size: 1.5rem; font-weight: 600; margin: 0.2rem 0 0; }
.price-badge { position: absolute; top: 0.9rem; right: 0.9rem; font-size: 0.75rem; font-weight: 600; color: var(--accent); }

/* Home: the first screen is just the name and the invitation, so the examples show right below it. */
.stage { min-height: auto; padding-block: clamp(2rem, 8vh, 5rem) clamp(1.5rem, 4vh, 2.5rem); }

/* ============================================================
   3D carousels of the example websites (carousel.js, _DemoCarousel)
   ============================================================ */
.carousel-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; margin: var(--space-md) 0 0.6rem; }
.carousel {
    --card-w: clamp(210px, 36vw, 400px);
    position: relative;
    margin: 0 calc(-1 * clamp(0.4rem, 2vw, 1.2rem));
    border-radius: 18px;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255, 244, 224, 0.13), transparent 70%),
        linear-gradient(180deg, #1b1c21 0%, var(--stage-bg) 62%, #0c0d0f 100%);
    color: var(--stage-text);
    overflow: hidden;
    outline: none;
}
/* The floor the cards stand on and are mirrored in. */
.carousel::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

/* Without JS: a plain row that scrolls sideways. */
.carousel-viewport { position: relative; }
.carousel-track { list-style: none; margin: 0; padding: 1.2rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.carousel-item { flex: 0 0 var(--card-w); width: var(--card-w); scroll-snap-align: center; }
.carousel-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    background: #2a2b30;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    -webkit-user-drag: none;
    user-select: none;
    backface-visibility: hidden;
    -webkit-box-reflect: below 3px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.2));
}
.carousel-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 0.8rem 0.6rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    line-height: 1.25;
}
.carousel-kind { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.carousel-brand { font-family: var(--font-serif); font-size: 1.25rem; }
.carousel-card:focus-visible { outline: 2px solid var(--stage-text); outline-offset: 3px; }

/* With JS: 3D. */
.carousel.is-3d .carousel-viewport {
    height: calc(var(--card-w) * 0.625 * 1.3 + 2.4rem);
    perspective: 1400px;
    perspective-origin: 50% 40%;
    touch-action: pan-y;
    cursor: grab;
}
.carousel.is-3d .carousel-viewport:active { cursor: grabbing; }
.carousel.is-3d .carousel-track { position: absolute; inset: 0; padding: 0; display: block; overflow: visible; transform-style: preserve-3d; pointer-events: none; }
/* The track plane would sit in front of the cards further back and catch their clicks. */
.carousel.is-3d .carousel-item { pointer-events: auto; }
.carousel.is-3d .carousel-item {
    position: absolute;
    top: 1.6rem;
    left: 50%;
    margin-left: calc(var(--card-w) / -2);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}
.carousel.is-3d .carousel-item.is-front .carousel-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.carousel.is-3d .carousel-item:not(.is-front) .carousel-caption { opacity: 0.75; }

.carousel-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 0.8rem 1rem;
}
.carousel:not(.is-3d) .carousel-controls { display: none; }
.carousel-btn {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: var(--stage-text);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s var(--ease-out);
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.06); }
.carousel-btn:focus-visible { outline: 2px solid var(--stage-text); outline-offset: 2px; }
.carousel-hint { font-size: 0.78rem; color: var(--stage-muted); text-align: center; }
@media (max-width: 560px) {
    .carousel { --card-w: 210px; margin-inline: -0.4rem; }
    .carousel-brand { font-size: 1.05rem; }
    .carousel-hint { display: none; }
    .carousel-controls { gap: 2.5rem; }
}

.services-demos { margin: var(--space-md) 0; }
.services-demos h2 { margin-bottom: 0.8rem; }

/* ============================================================
   Contact card: a slowly turning glow around the form, a small tilt
   toward the mouse, livelier fields and a paper plane on send (contact.js).
   ============================================================ */
@property --contact-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.contact-card {
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 0%;
    position: relative;
    isolation: isolate;
    max-width: 600px;
    padding: 3px;
    border-radius: 20px;
    background: conic-gradient(from var(--contact-angle), #c9a46a, #c46d4e, #6b4e8a, #2f6f73, #c9a46a);
    transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.5s var(--ease-out);
    animation: contact-turn 8s linear infinite;
}
/* The glow: the same colours, blurred, behind the card. */
.contact-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    z-index: -1;
    border-radius: inherit;
    background: inherit;
    filter: blur(24px);
    opacity: 0.55;
    transition: opacity 0.4s;
    animation: contact-turn 8s linear infinite;
}
.contact-card:hover::before, .contact-card:focus-within::before { opacity: 0.8; }
.contact-card .form {
    position: relative;
    max-width: none;
    padding: clamp(1.2rem, 4vw, 2.2rem);
    border-radius: 18px;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(201, 164, 106, 0.12), transparent 45%),
        var(--bg-elev);
}
@keyframes contact-turn { to { --contact-angle: 360deg; } }

.contact-card .form label > span { transition: color 0.25s, transform 0.3s var(--ease-out); transform-origin: left; }
.contact-card .form label:focus-within > span { color: var(--text); transform: translateX(3px); }
.contact-card .form input, .contact-card .form select, .contact-card .form textarea {
    transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.contact-card .form input:focus, .contact-card .form select:focus, .contact-card .form textarea:focus {
    outline: none;
    border-color: #c9a46a;
    box-shadow: 0 0 0 3px rgba(201, 164, 106, 0.25), 0 8px 22px rgba(196, 109, 78, 0.12);
    transform: translateY(-1px);
}
.contact-card .form label.checkbox input:focus { transform: none; }

.btn-send { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; padding-inline: 1.5rem; overflow: hidden; }
.send-plane { transition: transform 0.3s var(--ease-out); }
.btn-send:hover .send-plane { transform: translate(3px, -3px) rotate(-8deg); }
.contact-card.is-sending .send-label { animation: send-label 0.7s var(--ease-out) forwards; }
.contact-card.is-sending .send-plane { animation: send-plane 0.75s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
.contact-card.is-sending::before { opacity: 0.9; }
@keyframes send-plane {
    30% { transform: translate(-6px, 4px) rotate(10deg); }
    100% { transform: translate(180px, -120px) rotate(-25deg) scale(0.6); opacity: 0; }
}
@keyframes send-label { to { opacity: 0; transform: translateY(-8px); } }

.contact-card.is-shaking { animation: contact-turn 8s linear infinite, contact-shake 0.45s; }
@keyframes contact-shake {
    20% { translate: -8px 0; }
    40% { translate: 7px 0; }
    60% { translate: -5px 0; }
    80% { translate: 3px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card, .contact-card::before, .contact-card.is-shaking { animation: none; transform: none; }
}

/* Menu: the logo and the word "Home" are one link, the only way back to the home page. */
.site-nav .brand { gap: 0.55rem; }
.site-nav .brand-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav .brand[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) {
    /* Five links on the second row. */
    .nav-links { gap: 0.3rem; }
    .site-nav .nav-links a { font-size: 0.66rem; letter-spacing: 0.02em; }
}

/* Footer: contacts and profiles as icons, then the small print. */
.site-footer { flex-direction: column; gap: 0.6rem; padding-block: 1.4rem 1rem; }
.site-footer .footer-small { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem var(--space-sm); }
.footer-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 0.4rem; }
/* Each link: the icon in a circle and its name under it. */
.footer-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 4.6rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}
.footer-icons svg {
    box-sizing: content-box;
    padding: 0.6rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.footer-icons a:hover, .footer-icons a:focus-visible { color: var(--text); opacity: 1; }
.footer-icons a:hover svg, .footer-icons a:focus-visible svg { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
@media (max-width: 560px) { .footer-icons a { width: 4.2rem; } }

/* About me: its own page. */
.about-head { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2rem); margin-bottom: var(--space-md); }
.about-head h1 { margin: 0 0 0.3rem; }
.about-head .lead { margin: 0; }
.about-portrait { width: clamp(96px, 18vw, 140px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-soft); flex: none; }
.about-page .bio-split { margin-top: var(--space-md); }
.about-page .cta-line { margin-top: var(--space-md); }

/* Contact: the example website the visitor came from, as a small card they can remove. */
.liked-example {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
    padding: 0.6rem 0.6rem 0.6rem 0.6rem;
    border: 1px solid rgba(201, 164, 106, 0.55);
    border-radius: 14px;
    background: rgba(201, 164, 106, 0.08);
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.liked-example.is-leaving { opacity: 0; transform: translateY(-6px) scale(0.98); }
.liked-example img { width: 96px; height: 60px; object-fit: cover; object-position: top; border-radius: 8px; flex: none; }
.liked-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.liked-eyebrow { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.liked-text a { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text); }
.liked-kind { font-size: 0.82rem; color: var(--text-muted); }
.liked-remove {
    margin-left: auto;
    align-self: flex-start;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text-muted);
    cursor: pointer;
    flex: none;
}
.liked-remove:hover { color: var(--text); border-color: var(--accent); }
.privacy-note { margin: 0.4rem 0 0; }

/* Music: the meaning of each part of the song, under its lines. */
.stanza-meaning { margin: 0.4rem 0 0; padding-left: 0.9rem; border-left: 2px solid var(--border); color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; max-width: 70ch; }
/* The story of the video, folded until asked for. */
.video-story { margin-top: var(--space-md); border-top: 1px solid var(--border); padding-top: 0.8rem; }
.video-story summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.2rem; list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.video-story summary::-webkit-details-marker { display: none; }
.video-story summary::before { content: "+"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--border); border-radius: 50%; font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); }
.video-story[open] summary::before { content: "-"; }
.video-story .scenes { margin-top: var(--space-sm); }

/* ---------- Services: the offer (Stage 2) ---------- */
.price-list-title { margin: 0.6rem 0 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.price-list { list-style: none; padding: 0; margin: 0.2rem 0 0; display: grid; gap: 0.3rem; font-size: 0.92rem; line-height: 1.45; }
.price-list li { position: relative; padding-left: 1.35rem; }
.price-list li::before { position: absolute; left: 0; top: 0; font-weight: 600; }
.price-in li::before { content: "✓"; color: var(--accent); }
.price-out li { color: var(--text-muted); }
.price-out li::before { content: "–"; color: var(--text-muted); }

.steps-block, .others-block, .faq-block { margin: var(--space-lg) 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { counter-increment: step; position: relative; padding: 1rem 1rem 1rem 3.2rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, 0.55); }
.step::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600; }
.step h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

.experience-note { max-width: 720px; margin: var(--space-md) 0; padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--text-muted); line-height: 1.6; }

.others { list-style: none; padding: 0; margin: 1rem 0 0.6rem; display: grid; gap: 0.8rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.others li { display: grid; gap: 0.15rem; }
.others span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
.price-card { justify-content: flex-start; gap: 0.35rem; }
.price-card p, .price-card .price { flex: 0 0 auto; }
.price-card .price { font-size: 1.5rem; font-weight: 600; color: var(--text); }

/* ============================================================
   Home, Stage 3: a compact first screen (portrait beside the name, roles on one line,
   the call to action above the examples, a Silence frame beside it), then the wide carousel.
   ============================================================ */
.stage.hero {
    min-height: auto;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(1.2rem, 4vh, 2.4rem) var(--space-sm) clamp(0.8rem, 2vh, 1.2rem);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    align-items: center;
    gap: 1.2rem 2.5rem;
    overflow: visible;
}
.hero-main { display: grid; gap: 0.9rem; }
.hero-id { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 1.6rem); }
.hero .portrait { width: clamp(76px, 14vw, 112px); height: clamp(76px, 14vw, 112px); }
.hero .intro { text-align: left; max-width: none; }
.hero .name { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.2rem; }
.hero .tagline { margin: 0; white-space: nowrap; font-size: clamp(0.92rem, 2.2vw, 1.1rem); }
.hero .quote { margin: 0; text-align: left; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; margin: 0.2rem 0 0; }

.silence-tile {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--stage-bg);
    color: var(--stage-text);
    box-shadow: var(--shadow-lifted);
}
.silence-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.silence-tile:hover { opacity: 1; }
.silence-tile:hover img { transform: scale(1.04); }
.silence-tile-text {
    position: absolute;
    inset: 0 0 auto 0;
    display: grid;
    gap: 0.15rem;
    padding: 0.9rem 1rem 2.2rem;
    background: linear-gradient(0deg, transparent, rgba(0, 0, 0, 0.7));
}
.silence-tile .eyebrow { color: rgba(243, 239, 231, 0.75); margin: 0; }
.silence-tile-title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; }
.silence-tile-play { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: rgba(243, 239, 231, 0.85); }

@media (min-width: 900px) {
    .stage.hero { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
}
@media (max-width: 899px) {
    /* On a phone the frame is a slim strip, so the examples still show on the first screen. */
    .silence-tile { aspect-ratio: auto; height: 68px; }
    .silence-tile img { object-position: 50% 38%; }
    .silence-tile-text { inset: 0; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.15)); }
}
@media (max-width: 420px) {
    .hero .tagline { white-space: normal; }
}

/* The examples: wider, the front card bigger, less frame around them. */
.showcase.showcase-wide { max-width: 1400px; width: 100%; margin-top: 0; padding: 0 clamp(0.6rem, 2vw, 1.4rem) var(--space-md); background: none; border: 0; box-shadow: none; }
.showcase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; margin: 0 0 0.6rem; }
.showcase-wide h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0; }
.showcase-wide .showcase-text { margin: 0; font-size: 0.95rem; }
.showcase-wide .carousel { --card-w: clamp(240px, 46vw, 560px); margin-inline: 0; }
@media (max-width: 600px) {
    .showcase-wide .carousel { --card-w: 260px; }
}

/* About me, Stage 3: a large photo beside the text, "Off screen" in columns, a signature. */
.about-v2 { max-width: 1160px; }
.about-layout { display: grid; gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.about-photo { margin: 0; border-radius: 18px; overflow: hidden; background: var(--stage-bg); box-shadow: var(--shadow-lifted); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1713 / 2200; object-fit: cover; }
.about-text h1 { margin-top: 0; }
@media (min-width: 900px) {
    .about-layout { grid-template-columns: minmax(280px, 380px) 1fr; }
    .about-photo { position: sticky; top: calc(var(--nav-height) + 1rem); }
}
@media (max-width: 899px) {
    .about-photo { max-width: 420px; }
    .about-photo img { aspect-ratio: 4 / 3; object-position: 50% 18%; }
}
.offscreen { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border); }
.offscreen h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 1rem; }
.offscreen-columns { columns: 2 300px; column-gap: 2.5rem; }
.offscreen-columns p { break-inside: avoid; margin: 0 0 1rem; line-height: 1.65; }
.signature { margin: 1.4rem 0 0; text-align: right; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--accent); }

/* Stage 3: less padding, quieter decoration. */
.page { margin-bottom: var(--space-md); padding: clamp(1rem, 3vw, 2rem); }
.particles { opacity: 0.55; }
.glow { display: none; }

/* Website pages per trade (Stage 4). */
.industry-page section { margin-top: var(--space-md); }
.industry-needs { max-width: 640px; font-size: 1rem; }
.industry-story .story-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.industry-story .story-steps p { margin: 0.3rem 0 0; color: var(--text-muted); line-height: 1.6; }
.industry-example-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 340px)); margin-top: 0.8rem; }
.industry-example { gap: 0.3rem; padding: 0.7rem; }
.industry-example img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-radius: 10px; }
.industry-example .carousel-kind { color: var(--text-muted); }
.industry-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; color: var(--text-muted); margin: 0.6rem 0 0; }

/* Home: the carousel is the page. Full width, as tall as the first screen allows. */
.showcase.showcase-full { max-width: none; width: 100%; margin: 0; padding: clamp(0.6rem, 2vh, 1.2rem) 0 var(--space-md); background: none; border: 0; box-shadow: none; }
.showcase-full .showcase-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.2rem 1rem; padding: 0 var(--space-sm); margin: 0 0 0.6rem; text-align: center; }
.showcase-full h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin: 0; }
.showcase-full .showcase-text { margin: 0; font-size: 0.95rem; }
.showcase-full .carousel {
    /* Card width: as wide as the screen allows while the whole ribbon still fits under the menu. */
    --card-w: min(64vw, calc((100svh - 13.5rem) * 1.18), 1040px);
    margin: 0;
    border-radius: 0;
}
.showcase-full .showcase-actions { justify-content: center; padding: 0 var(--space-sm); }
@media (max-width: 700px) {
    .showcase-full .carousel { --card-w: min(84vw, 420px); }
}
/* Less floor under the cards on the home page, so the cards themselves get the height. */
.showcase-full .carousel { --card-w: min(68vw, calc((100svh - 12.5rem) / 0.72), 1100px); }
.showcase-full .carousel.is-3d .carousel-viewport { height: calc(var(--card-w) * 0.625 * 1.1 + 2rem); }
.showcase-full .carousel-controls { margin-top: -0.4rem; padding-bottom: 0.8rem; }
@media (max-width: 700px) {
    .showcase-full .carousel { --card-w: min(86vw, 440px); }
}

/* ============================================================
   Motion and light (motion.js). Only with html.anim-ready; reduced motion = static.
   ============================================================ */

/* Headings rise word by word out of a mask. */
.anim-ready .split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.anim-ready .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1); }
.anim-ready .split.in .w > span { transform: none; }

/* Grid items zoom in one after another (BeTheme zoomIn, softer). */
.anim-ready .pop { opacity: 0; transform: translateY(22px) scale(0.965); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.anim-ready .pop.in { opacity: 1; transform: none; }

/* A light that follows the pointer over cards, and a soft lift. */
.card, .step, .contact-card, .bio-box, .others li, .faq details { position: relative; }
.card::after, .step::after, .bio-box::after, .others li::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 0%), rgba(201, 164, 106, 0.16), transparent 45%);
}
.card:hover::after, .step:hover::after, .bio-box:hover::after, .others li:hover::after { opacity: 1; }
.card, .step { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease; }
.card:hover, .step:hover { transform: translateY(-3px); box-shadow: 0 2px 8px rgba(31, 29, 26, 0.06), 0 22px 48px rgba(31, 29, 26, 0.12); border-color: rgba(201, 164, 106, 0.55); }
.silence-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; background: radial-gradient(360px circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 240, 210, 0.22), transparent 50%); }
.silence-tile:hover::after { opacity: 1; }

/* Buttons: depth, a sheen that sweeps across on hover, a little magnetism, a press. */
.btn, .quick-btn { position: relative; overflow: hidden; isolation: isolate; transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.btn { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 18px rgba(31, 29, 26, 0.18); }
.btn::before, .quick-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out);
}
.btn:hover::before, .quick-btn:hover::before { transform: translateX(120%); }
.btn:hover { opacity: 1; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 28px rgba(31, 29, 26, 0.24); }
.btn:active, .quick-btn:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }
.btn-want { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(201, 164, 106, 0.45); }
.btn-want:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 34px rgba(201, 164, 106, 0.6); }
.btn-secondary, .btn-ghost { box-shadow: none; }

/* Parallax layers get a little room so their edges never show. */
[data-parallax] { will-change: transform; transform-origin: center; }

/* Reading progress: a thin warm line under the menu. */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #c9a46a, var(--accent)); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    .btn, .quick-btn, .card, .step { transition: none; transform: none !important; }
    .btn::before, .quick-btn::before { display: none; }
}
.music-hero-photo .parallax-frame { position: absolute; inset: 0; }
.music-hero-photo .parallax-frame picture, .music-hero-photo .parallax-frame img { width: 100%; height: 100%; }
.about-photo picture { display: block; }

/* Home: a soft stage light that drifts slowly across the carousel. */
.showcase-full .carousel::before {
    content: "";
    position: absolute;
    inset: -20% -10%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(40% 50% at 50% 35%, rgba(255, 236, 200, 0.16), transparent 70%);
    animation: stage-light 18s ease-in-out infinite alternate;
}
.showcase-full .carousel-viewport, .showcase-full .carousel-controls { position: relative; z-index: 1; }
@keyframes stage-light {
    from { transform: translateX(-18%); }
    to { transform: translateX(18%); }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-full .carousel::before { animation: none; }
}

/* Press kit page: the photos to download. */
.press-photo-grid { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.press-photo-grid a { display: grid; gap: 0.4rem; color: var(--text-muted); font-size: 0.82rem; }
.press-photo-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease-out); }
.press-photo-grid a:hover img { transform: scale(1.03); }
.press-teaser .music-actions { margin-top: 1rem; }

/* ============================================================
   Footer, Stage 4 look: a dark stage with an invitation and the way to everything.
   ============================================================ */
.site-footer.footer-stage {
    position: relative;
    overflow: hidden;
    display: block;
    margin-top: var(--space-lg);
    padding: clamp(2.5rem, 7vw, 4.5rem) var(--space-sm) 1.2rem;
    background: radial-gradient(120% 80% at 50% 0%, #22232a 0%, var(--stage-bg) 60%, #0c0d0f 100%);
    color: var(--stage-muted);
    font-size: 0.92rem;
    letter-spacing: 0;
}
.footer-light {
    position: absolute;
    inset: -40% -20% auto;
    height: 120%;
    pointer-events: none;
    background: radial-gradient(35% 45% at 50% 40%, rgba(201, 164, 106, 0.22), transparent 70%);
    animation: stage-light 22s ease-in-out infinite alternate;
}
.footer-inner { position: relative; max-width: 1160px; margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.1fr 1.4fr; align-items: start; } }
.footer-logo { filter: invert(1) brightness(1.6); opacity: 0.9; margin-bottom: 0.8rem; }
.footer-big { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; color: var(--stage-text); margin: 0 0 0.6rem; }
.footer-sub { margin: 0 0 1.2rem; max-width: 30rem; line-height: 1.6; }
.footer-actions { margin: 0 0 0.8rem; }
.footer-stage .quick-btn { color: var(--stage-text); border-color: rgba(243, 239, 231, 0.35); }
.footer-stage .quick-btn:hover { background: var(--stage-text); color: var(--stage-bg); }
.footer-cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-cols h2 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 239, 231, 0.55); margin: 0 0 0.8rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-stage a { color: var(--stage-text); }
.footer-cols a { position: relative; opacity: 0.85; }
.footer-cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #c9a46a; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.footer-cols a:hover { opacity: 1; }
.footer-cols a:hover::after { transform: scaleX(1); }
.footer-stage .footer-icons { position: relative; margin: 2.5rem auto 1.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(243, 239, 231, 0.12); max-width: 1160px; }
.footer-stage .footer-icons a { color: var(--stage-muted); }
.footer-stage .footer-icons svg { background: rgba(255, 255, 255, 0.04); border-color: rgba(243, 239, 231, 0.18); color: var(--stage-text); }
.footer-stage .footer-icons a:hover { color: var(--stage-text); }
.footer-stage .footer-icons a:hover svg { border-color: #c9a46a; box-shadow: 0 0 18px rgba(201, 164, 106, 0.35); }
.footer-stage .footer-small { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem var(--space-sm); font-size: 0.78rem; color: rgba(243, 239, 231, 0.5); }
.footer-stage .footer-small a { color: rgba(243, 239, 231, 0.65); }
@media (prefers-reduced-motion: reduce) { .footer-light { animation: none; } }

/* Page to page: a soft cross-fade with a small rise (cross-document view transitions). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.site-nav { view-transition-name: site-nav; }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}

/* The trades, flowing sideways. */
.marquee { overflow: hidden; margin: var(--space-md) 0 0; padding: 0.9rem 0; border-block: 1px solid var(--border); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 60s linear infinite; font-family: var(--font-serif); font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--text-muted); white-space: nowrap; }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: #c9a46a; align-self: center; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.showcase-full .marquee { margin-top: var(--space-md); }

/* Numbers that count up (services). */
.stats { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats li { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, 0.55); }
.stats strong { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; background: linear-gradient(120deg, var(--accent), #c9a46a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }

/* Services: the three steps; on wide screens the title stays in place while they pass by. */
@media (min-width: 900px) {
    .steps-block { display: grid; grid-template-columns: 0.8fr 2fr; gap: 2rem; align-items: start; }
    .steps-block h2 { position: sticky; top: calc(var(--nav-height) + 1.5rem); }
    .steps-block .steps { grid-template-columns: 1fr; margin-top: 0; }
    .steps-block .step { min-height: 9rem; }
}

/* ============================================================
   Background videos that follow the scroll (_ScrollVideo, scroll-video.js)
   ============================================================ */
.scroll-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--stage-bg); pointer-events: none; }
.scroll-video img, .scroll-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--video-pos, 50% 50%); }
.scroll-video video { opacity: 0; transition: opacity 0.8s ease; }
.scroll-video.is-playing video { opacity: 1; }
.scroll-video-veil { position: absolute; inset: 0; }

/* Home: the sea behind the carousel, darkened so the cards stay the stars. */
.carousel.has-video { background: var(--stage-bg); }
.carousel.has-video .scroll-video-veil { background: linear-gradient(180deg, rgba(14, 15, 18, 0.35), rgba(14, 15, 18, 0.15) 40%, rgba(14, 15, 18, 0.75)); }
.carousel.has-video::before { z-index: 1; }

/* A full-width dark band with a video behind its text (services top, music concerts). */
.video-band {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(360px, 62vh, 620px);
    display: grid;
    align-items: end;
    margin: 0 0 var(--space-md);
    color: var(--stage-text);
    overflow: hidden;
}
.video-band .scroll-video-veil { background: linear-gradient(90deg, rgba(14, 15, 18, 0.9) 0%, rgba(14, 15, 18, 0.6) 45%, rgba(14, 15, 18, 0.1) 80%), linear-gradient(0deg, rgba(14, 15, 18, 0.85), transparent 45%); }
.video-band-text { position: relative; z-index: 1; width: 100%; max-width: var(--page-width); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem); text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5); }
.video-band h1, .video-band h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 0.8rem; color: var(--stage-text); }
.video-band .lead { color: rgba(243, 239, 231, 0.85); max-width: 44rem; margin: 0; }
.video-band-stage { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
.video-band-stage h2 { max-width: 30rem; }
@media (max-width: 699px) {
    .video-band { min-height: 0; }
    .video-band .scroll-video-veil { background: linear-gradient(0deg, rgba(14, 15, 18, 0.95) 30%, rgba(14, 15, 18, 0.45)); }
    .video-band-text { padding-top: 38vw; }
}

/* Carousel pause button: pause icon while it turns, play icon once stopped. */
.carousel-pause .icon-play, .carousel.is-paused .carousel-pause .icon-pause { display: none; }
.carousel.is-paused .carousel-pause .icon-play { display: block; }
